﻿* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
        }

        /* Fixed Navigation */
        nav {
            position: fixed;
            right: 0;
            top: 0;
            height: 100vh;
            width: 120px;
            background: #5b9bd5;
            padding: 2rem 0;
            box-shadow: -2px 0 10px rgba(0,0,0,0.15);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        nav ul {
            display: flex;
            flex-direction: column;
            justify-content: center;
            list-style: none;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        nav a {
            color: #f0f8ff;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: bold;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s;
            text-align: center;
            display: block;
        }

        nav a:hover {
            background: #3a7abf;
            transform: translateX(-5px);
        }

        nav a.active {
            background: #3a7abf;
            font-weight: bold;
        }

        /* Sections */
        section {
            padding: 4rem calc(120px + 2rem) 4rem 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            background: #f0f8ff;
            color: #5b9bd5;
        }

        section h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        #contact h1 {
            margin-bottom: 3rem;
        }

        section p {
            font-size: 1.2rem;
            max-width: 800px;
            text-align: center;
        }

        #home > p {
            max-width: 1100px;
        }

        /* Carousel Styles */
        .carousel-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 1200px;
            position: relative;
            margin-top: 1rem;
        }

        .carousel-wrapper {
            overflow: hidden;
            width: 100%;
        }

        .carousel-slide,
        .carousel-slide-instructors,
        .carousel-slide-events {
            display: none;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem 2rem;
            animation: fadeIn 0.5s ease-in-out;
        }

        .carousel-slide.active,
        .carousel-slide-instructors.active,
        .carousel-slide-events.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .carousel-slide h2,
        .carousel-slide-instructors h2,
        .carousel-slide-events h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .carousel-slide .slide-text {
            font-size: 1.1rem;
            max-width: 1000px;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .carousel-btn {
            background: #c8e0f4;
            border: none;
            color: #5b9bd5;
            font-size: 2rem;
            padding: 1rem;
            cursor: pointer;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
            flex-shrink: 0;
        }

        .carousel-btn:hover {
            background: #5b9bd5;
            color: #f0f8ff;
        }

        .carousel-dots,
        .carousel-dots-instructors,
        .carousel-dots-events {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1.5rem;
        }

        .dot,
        .dot-instructors,
        .dot-events {
            width: 12px;
            height: 12px;
            background: #c8e0f4;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }

        .dot.active, .dot:hover,
        .dot-instructors.active, .dot-instructors:hover,
        .dot-events.active, .dot-events:hover {
            background: #5b9bd5;
        }

        /* Training Schedule Table */
        .schedule-container {
            max-width: 1000px;
            width: 95%;
            margin: 2rem auto 0;
        }

        .schedule-table {
            width: 100%;
            border-collapse: collapse;
            background: #f0f8ff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(91,155,213,0.2);
        }

        .schedule-table th {
            background: #5b9bd5;
            color: #f0f8ff;
            padding: 1rem;
            font-size: 1.1rem;
            text-align: center;
            font-weight: bold;
        }

        .schedule-table td {
            padding: 1rem;
            text-align: center;
            border: 1px solid #c8e0f4;
            color: #5b9bd5;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .schedule-table tr:hover td {
            background: rgba(91, 155, 213, 0.1);
        }

        .legend {
            margin-top: 1.5rem;
            padding: 1.5rem;
            background: transparent;
            color: #5b9bd5;
            width: 100%;
            text-align: left;
            font-weight: 500;
        }

        .legend p {
            margin-bottom: 0.5rem;
            font-size: 1.05rem;
            line-height: 1.6;
            text-align: left;
        }


        /* Contact Section Styles */
        .contact-container {
            display: flex;
            gap: 3rem;
            max-width: 1200px;
            width: 100%;
            align-items: center;
        }

        .map-container {
            width: 600px;
            height: 600px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            flex-shrink: 0;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .contact-info {
            position: relative;
            width: 400px;
            height: 600px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
        }

        .social-links {
            display: flex;
            gap: 2rem;
            justify-content: center;
            align-items: center;
            margin-bottom: 2rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            background: transparent;
            border-radius: 50%;
            transition: transform 0.3s;
        }

        .social-links a:hover {
            transform: scale(1.3);
        }

        .social-links svg {
            width: 45px;
            height: 45px;
            fill: #5b9bd5;
        }

        .contact-bottom-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            align-items: center;
        }

        .address-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 1.3rem;
        }

        .address-item svg {
            width: 35px;
            height: 35px;
            fill: #5b9bd5;
        }

        .address-item .main-address {
            color: #5b9bd5;
            font-weight: bold;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 1.4rem;
        }

        .contact-item svg {
            width: 40px;
            height: 40px;
            fill: #5b9bd5;
        }

        .contact-item a {
            color: #5b9bd5;
            text-decoration: none;
            transition: all 0.3s;
            font-weight: bold;
        }

        .contact-item a:hover {
            color: #3a7abf;
        }

        /* Hamburger button — hidden on desktop */
        .nav-toggle {
            display: none;
        }

        /* Nav overlay — hidden on desktop */
        .nav-overlay {
            display: none;
        }

        @media (max-width: 768px) {

            /* ── Hamburger button ── */
            .nav-toggle {
                display: flex;
                position: fixed;
                top: 1rem;
                right: 1rem;
                z-index: 1100;
                background: #5b9bd5;
                border: none;
                border-radius: 10px;
                width: 46px;
                height: 46px;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                box-shadow: 0 3px 12px rgba(91,155,213,0.5);
                transition: background 0.2s, transform 0.2s;
            }

            .nav-toggle:active {
                transform: scale(0.93);
            }

            /* ── Nav overlay ── */
            .nav-overlay {
                display: block;
                position: fixed;
                inset: 0;
                background: rgba(0,0,0,0.45);
                z-index: 999;
                backdrop-filter: blur(3px);
                -webkit-backdrop-filter: blur(3px);
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s;
            }

            .nav-overlay.active {
                opacity: 1;
                pointer-events: auto;
            }

            /* ── Nav: slide-in panel from right ── */
            nav {
                width: 240px;
                height: 100vh;
                right: -240px;
                top: 0;
                padding: 5rem 0 2rem;
                transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: -4px 0 24px rgba(0,0,0,0.25);
            }

            nav.open {
                right: 0;
            }

            nav ul {
                gap: 0.4rem;
                padding: 0 1rem;
                align-items: stretch;
            }

            nav a {
                font-size: 1.05rem;
                padding: 0.8rem 1.2rem;
                border-radius: 8px;
                text-align: left;
            }

            /* ── Sections ── */
            section {
                padding: 3rem 1.25rem 3rem 1.25rem;
                align-items: flex-start;
            }

            section h1 {
                font-size: 1.8rem;
                text-align: left;
            }

            section p {
                font-size: 1rem;
                text-align: left;
            }

            /* ── Carousel ── */
            .carousel-slide,
            .carousel-slide-instructors,
            .carousel-slide-events {
                text-align: left;
                align-items: flex-start;
            }

            .carousel-slide h2,
            .carousel-slide-instructors h2,
            .carousel-slide-events h2 {
                font-size: 1.4rem;
                text-align: left;
            }

            .carousel-slide .slide-text,
            .instructor-content .slide-text,
            .event-content .slide-text {
                font-size: 1rem;
                text-align: left;
            }

            .carousel-btn {
                width: 38px;
                height: 38px;
                font-size: 1.3rem;
                padding: 0.5rem;
                flex-shrink: 0;
            }

            .dot, .dot-instructors, .dot-events {
                width: 10px;
                height: 10px;
            }

            /* ── Carousel dots stay centered ── */
            .carousel-dots,
            .carousel-dots-instructors,
            .carousel-dots-events {
                align-self: center;
            }

            /* ── Home ── */
            .logo-container {
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: center;
                align-self: center;
            }

            .home-logo {
                width: 120px;
            }

            .home-logo:first-child {
                width: 140px;
            }

            .video-container iframe {
                min-height: unset;
            }

            /* ── Supervisor cards ── */
            .supervisors-container {
                flex-direction: column;
                gap: 2.5rem;
                align-items: center;
                width: 100%;
            }

            .supervisor-card {
                max-width: 100%;
                width: 100%;
            }

            .supervisor-card img {
                width: 60%;
                max-width: 240px;
                height: auto;
                aspect-ratio: 1 / 1;
                object-fit: cover;
            }

            .supervisor-card .supervisor-text {
                max-width: 100%;
                font-size: 0.95rem;
                text-align: left;
            }

            /* ── Instructors & events ── */
            .instructor-content,
            .event-content {
                flex-direction: column;
                align-items: center;
                width: 100%;
            }

            .instructor-content .slide-image,
            .event-content .slide-image {
                width: 100%;
                max-width: 100%;
            }

            .instructor-content .slide-image img,
            .event-content .slide-image img {
                width: 100%;
                height: auto;
            }

            ul.slide-text, ul.supervisor-text {
                font-size: 1rem;
                max-width: 100%;
            }

            /* ── Event images grid ── */
            .event-images-grid {
                width: 100%;
                max-width: 100%;
            }

            .event-images-grid .slide-image img {
                width: 100%;
                height: auto;
                aspect-ratio: 4 / 3;
                object-fit: cover;
            }

            /* ── Schedule table (horizontal scroll) ── */
            .schedule-container {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .schedule-table {
                min-width: 480px;
            }

            .schedule-table th,
            .schedule-table td {
                padding: 0.6rem 0.4rem;
                font-size: 0.8rem;
            }

            .legend p {
                font-size: 0.9rem;
            }

            /* ── Contact ── */
            .contact-container {
                flex-direction: column;
            }

            .map-container {
                width: 100%;
                height: 300px;
                flex-shrink: unset;
            }

            .contact-info {
                width: 100%;
                height: auto;
            }

            /* ── Summer school ── */
            .summer-school-container {
                flex-direction: column;
                align-items: center;
            }

            .summer-school-text {
                min-width: unset;
                width: 100%;
                padding: 0.5rem 0;
                text-align: left;
            }

            .summer-school-images {
                width: 100%;
            }

            .summer-school-images img {
                width: 100%;
                height: auto;
                aspect-ratio: 1 / 1;
                object-fit: cover;
            }

            /* ── Language toggle ── */
            .lang-toggle {
                top: 1rem;
                left: 1rem;
            }

            /* ── Modals ── */
            .modal-content {
                padding: 1.5rem 1rem;
            }

            /* ── Book button ── */
            .book-btn {
                font-size: 1rem;
                padding: 0.85rem 1.75rem;
            }
        }

        /* Smooth scroll behavior */
        html {
            scroll-behavior: smooth;
        }

        /* Home logo container */
        .logo-container {
            display: flex;
            gap: 2rem;
            align-items: center;
            margin-bottom: 2rem;
        }

        /* Home logo */
        .home-logo {
            width: 200px;
            height: auto;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
        }

        .home-logo:first-child {
            width: 220px;
        }

        /* Video container */
        .video-section {
            position: relative;
            width: 90%;
            max-width: 1000px;
            margin-top: 2rem;
        }

        .video-container {
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .video-container iframe {
            width: 100%;
            height: 100%;
            min-height: 500px;
            aspect-ratio: 16 / 9;
            border: none;
        }

        /* Slide image - same width as video */
        .slide-image {
            width: 90%;
            max-width: 1000px;
            margin-top: 1.5rem;
        }

        .slide-image img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        /* Supervisor cards */
        .supervisors-container {
            display: flex;
            gap: 4rem;
            justify-content: center;
            margin-top: 1.5rem;
        }

        .supervisor-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 500px;
        }

        .supervisor-card img {
            width: 350px;
            height: 350px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .supervisor-card .supervisor-text {
            margin-top: 1rem;
            text-align: center;
            font-size: 1rem;
            line-height: 1.5;
            max-width: 450px;
        }

        /* Instructors & Events carousel content */
        .instructor-content,
        .event-content {
            display: flex;
            align-items: flex-start;
            gap: 2rem;
            max-width: 1000px;
        }

        .instructor-content .slide-image,
        .event-content .slide-image {
            width: 350px;
            flex-shrink: 0;
        }

        .instructor-content .slide-image img,
        .event-content .slide-image img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .instructor-content .slide-text,
        .event-content .slide-text {
            text-align: left;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-top: 2rem;
        }

        /* Multiple images layout for events */
        .event-images-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            flex-shrink: 0;
            width: 580px;
        }

        .event-images-grid .slide-image {
            width: 100%;
        }

        .event-images-grid .slide-image img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        /* Summer School Layout */
        .summer-school-container {
            display: flex;
            align-items: center;
            gap: 3rem;
            max-width: 1400px;
            width: 100%;
        }

        .summer-school-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .summer-school-images img {
            width: 200px;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .summer-school-text {
            text-align: center;
            padding: 1rem 2rem;
            flex: 1;
            min-width: 300px;
        }

        .summer-school-text p {
            font-size: 1.1rem;
            line-height: 1.6;
            text-align: left;
        }

        /* Unordered list styling for sections */
        ul.slide-text, ul.supervisor-text {
            list-style-type: disc;
            text-align: left;
            padding-left: 1.5rem;
            font-size: 1.1rem;
            max-width: 1000px;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        ul.slide-text li, ul.supervisor-text li {
            margin-bottom: 0.5rem;
        }

        .summer-school-text ul {
            list-style-type: disc;
            text-align: left;
            padding-left: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .summer-school-text ul li {
            margin-bottom: 0.5rem;
        }

        .summer-school-text ul ul {
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
        }

        /* Book your spot button */
        .book-btn {
            margin-top: 2rem;
            padding: 1rem 2.5rem;
            font-size: 1.2rem;
            font-weight: bold;
            color: #5b9bd5;
            background: transparent;
            border: 3px solid #5b9bd5;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .book-btn:hover {
            background: #5b9bd5;
            color: #f0f8ff;
        }

        .book-btn.book-btn-inverted {
            background: #5b9bd5;
            color: #f0f8ff;
            border-color: #5b9bd5;
            text-decoration: none;
        }

        .book-btn.book-btn-inverted:hover {
            background: transparent;
            color: #5b9bd5;
        }

        /* Language toggle */
        .lang-toggle {
            position: fixed;
            top: 1rem;
            left: 1rem;
            z-index: 2000;
        }

        .lang-selected {
            background: rgba(255,255,255,0.15);
            border: 2px solid rgba(255,255,255,0.5);
            border-radius: 10px;
            padding: 0.55rem 0.9rem;
            cursor: pointer;
            font-size: 1.6rem;
            line-height: 1;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            backdrop-filter: blur(6px);
            transition: background 0.2s, border-color 0.2s;
            user-select: none;
        }

        .lang-selected:hover {
            background: rgba(255,255,255,0.25);
            border-color: rgba(255,255,255,0.8);
        }

        .lang-selected .chevron {
            font-size: 0.9rem;
            opacity: 0.8;
            transition: transform 0.2s;
        }

        .lang-toggle.open .chevron {
            transform: rotate(180deg);
        }

        .lang-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 0.4rem);
            left: 0;
            background: rgba(30, 60, 100, 0.95);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0,0,0,0.3);
            backdrop-filter: blur(8px);
            min-width: 100%;
        }

        .lang-toggle.open .lang-dropdown {
            display: block;
        }

        .lang-btn {
            background: transparent;
            border: none;
            color: #f0f8ff;
            padding: 0.65rem 1.1rem;
            cursor: pointer;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 0.7rem;
            width: 100%;
            white-space: nowrap;
            transition: background 0.15s;
        }

        .lang-btn:hover {
            background: rgba(255,255,255,0.15);
        }

        .lang-btn.active-lang {
            background: rgba(58, 122, 191, 0.6);
        }

        .lang-btn .lang-label {
            font-size: 0.95rem;
            font-weight: bold;
            opacity: 0.85;
        }

        /* Modal styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #5b9bd5;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: #3a7abf;
        }

        .modal-content h2 {
            color: #5b9bd5;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .modal-step {
            display: none;
        }

        .modal-step.active {
            display: block;
        }

        /* Schedule selection */
        .schedule-options {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 400px;
            overflow-y: auto;
        }

        .schedule-option {
            padding: 1rem;
            border: 2px solid #c8e0f4;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            background: #f0f8ff;
        }

        .schedule-option:hover {
            border-color: #5b9bd5;
            background: #e0f0fc;
        }

        .schedule-option.selected {
            border-color: #5b9bd5;
            background: #5b9bd5;
            color: #f0f8ff;
        }

        .schedule-option .day {
            font-weight: bold;
            color: inherit;
        }

        .schedule-option .class-name {
            font-size: 1.1rem;
            margin-top: 0.25rem;
        }

        .schedule-option .time {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Booking form */
        .booking-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            font-weight: bold;
            color: #5b9bd5;
        }

        .form-group input {
            padding: 0.75rem;
            border: 2px solid #c8e0f4;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus {
            outline: none;
            border-color: #5b9bd5;
        }

        .selected-class-display {
            background: #5b9bd5;
            color: #f0f8ff;
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-weight: bold;
            text-align: center;
        }

        .modal-btn {
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: bold;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .modal-btn-primary {
            background: #5b9bd5;
            color: #f0f8ff;
        }

        .modal-btn-primary:hover {
            background: #3a7abf;
        }

        .modal-btn-secondary {
            background: transparent;
            border: 2px solid #5b9bd5;
            color: #5b9bd5;
        }

        .modal-btn-secondary:hover {
            background: #5b9bd5;
            color: #f0f8ff;
        }

        .modal-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            justify-content: center;
        }

        /* Success message */
        .success-message {
            text-align: center;
            padding: 2rem;
        }

        .success-message svg {
            width: 80px;
            height: 80px;
            fill: #5b9bd5;
            margin-bottom: 1rem;
        }

        .success-message h3 {
            color: #5b9bd5;
            margin-bottom: 0.5rem;
        }

        .success-message p {
            color: #5b9bd5;
        }