/* ===== VARIABLES ===== */
:root {
    --primary-color: #c9a961;
    --secondary-color: #1a1a1a;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --border-color: #e0e0e0;
    --accent-luxury: #374151;
    --gradient-gold: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header glass + sizing */
    --header-height-desktop: 64px;
    --header-height-mobile: 56px;
    --header-pad-x: 1rem;
    --header-pad-y: 0.5rem;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: 1px solid rgba(0, 0, 0, 0.06);
    --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --motion-fast: 180ms;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Constrain navbar content a bit more for a slimmer look */
.navbar .container {
    max-width: 980px;
    padding-left: 16px;
    padding-right: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.title-line {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--secondary-color);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    padding-bottom: 8px; /* extend bar slightly downward without moving content */
    transition: background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--glass-shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* align content lower to reduce perceived height */
    padding: 0 calc(var(--header-pad-x) + 0.5rem);
    padding-bottom: 8px; /* slight lift (+/- few px) */
    max-width: 960px;
    margin: 0 auto;
    min-height: var(--header-height-desktop);
    position: relative;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    z-index: 1001;
    line-height: 1;
    display: flex;
    align-items: flex-end; /* sit lower visually */
    height: calc(var(--header-height-desktop) - 10px);
    justify-content: flex-start;
}

.logo::after {
    content: '.';
    color: var(--primary-color);
}

/* Keep logo in a single line across locales and prevent shrink */
.logo {
    white-space: nowrap;
    min-width: max-content;
}

/* Optically align the dot and keep a small gap from the wordmark */
.logo::after {
    position: relative;
    top: -0.08em;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    align-items: flex-end; /* align links with logo baseline */
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: calc(var(--header-height-desktop) - 10px);
    position: relative;
    flex-wrap: nowrap;
    margin-left: clamp(24px, 4vw, 48px); /* constant gap from logo across locales */
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: color var(--motion-fast) ease;
    white-space: nowrap;
    line-height: 1;
    display: flex;
    align-items: flex-end; /* sit on the bottom edge */
    padding: 0 0 1px; /* tiny bottom pad for optical alignment */
    height: 100%;
    justify-content: center;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--motion-fast) ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--secondary-color);
    transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease, background-color var(--motion-fast) ease;
    border-radius: 1px;
}

/* Make hamburger a proper button */
.hamburger {
    background: transparent;
    border: 0;
    appearance: none;
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

.nav-link:focus-visible,
.dropdown-item:focus-visible,
.lang-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    background-image: url('../images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.9) contrast(1.1);
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(26, 26, 26, 0.2) 100%),
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    text-align: center;
    color: var(--text-white);
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    display: block;
}

.line-2 {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 25px;
    opacity: 0.7;
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--text-white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
    border-radius: 12px;
}

.image-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-frame {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 3px solid var(--primary-color);
    z-index: -1;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-text .subtitle {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.team-member {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.team-member:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.member-info {
    margin-bottom: 20px;
}

.member-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.member-info .subtitle {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--text-white);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: translateX(-100%);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== AGENCY SECTION ===== */
.agency {
    padding: 100px 0;
    background: var(--bg-light);
}

.agency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.agency-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.agency-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.agency-features {
    display: grid;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.feature span {
    font-weight: 500;
}

.agency-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.info-item h4 {
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 2.2rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

.social-link:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Instagram button */
@media (max-width: 768px) {
    .social-link {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.contact-form {
    background: var(--text-white);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 8px;
}

.phone-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.country-code {
    min-width: 120px;
    max-width: 120px;
    padding: 15px 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.phone-number {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 8px;
}

.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select {
    background: var(--bg-light) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 15px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.country-code:focus,
.phone-number:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--text-white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--text-white) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 15px center;
    background-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* ===== COURSE IMPORTANT SECTIONS ===== */
.course-important {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-color);
}

.course-important p {
    margin-bottom: 10px;
}

.course-important p:last-child {
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-tagline {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE DESIGN ===== */

/* Large screens */
@media (min-width: 1200px) {
    .navbar .container { max-width: 1040px; }
    .nav-wrapper {
        padding: var(--header-pad-y) 1.5rem;
        max-width: 980px;
        min-height: var(--header-height-desktop);
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .logo {
        font-size: 2.2rem;
    }
}

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
    .nav-wrapper {
        align-items: flex-end;
        padding: 0 1.25rem;
        padding-bottom: 8px;
        min-height: var(--header-height-mobile);
    }
    .nav-menu { height: calc(var(--header-height-mobile) - 10px); align-items: flex-end; }
    .nav-link { padding-bottom: 1px; }
    /* Mobile/Tablet overlay navigation */
    .nav-menu {
        position: fixed;
        inset: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        transition: left var(--motion-fast) ease, opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
        z-index: 999;
        padding-top: calc(var(--header-height-mobile) + 24px);
        opacity: 0;
        transform: translateY(-4px);
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .nav-menu {
        gap: 1.25rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .logo {
        font-size: 1.9rem;
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    /* Ensure logo stays in top-left when menu is open */
    .navbar .nav-wrapper {
        position: relative;
    }
    
    .navbar .logo {
        position: relative;
        z-index: 1001;
        height: calc(var(--header-height-mobile) - 13px);
        align-items: flex-end;
    }
    
    .navbar .hamburger {
        position: relative;
        z-index: 1001;
    }
    /* Container adjustments */
    .container {
        padding: 0 20px;
    }

    /* Typography scaling */
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Navigation improvements */
    .nav-wrapper {
        padding: 0.5rem 1rem;
        position: relative;
    }
    
    .logo {
        position: relative;
        z-index: 1001;
        height: calc(var(--header-height-mobile) - 8px);
        align-items: flex-end;
    }
    
    .nav-menu {
        position: fixed;
        inset: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        transition: left var(--motion-fast) ease, opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
        z-index: 999;
        padding-top: calc(var(--header-height-mobile) + 24px);
        opacity: 0;
        transform: translateY(-4px);
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu .nav-link {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 0.75rem 1.5rem;
        margin: 0;
        border: none;
        border-radius: 8px;
        width: 100%;
        text-align: center;
        max-width: 280px;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--primary-color);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero section optimization */
    .hero {
        min-height: 80vh;
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-title .line-1 {
        font-size: 2.2rem;
    }

    .hero-title .line-2 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* About section improvements */
    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .image-frame {
        display: none;
    }

    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .about-text .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .stat {
        text-align: center;
        padding: 20px;
        background: var(--bg-light);
        border-radius: 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Services section optimization */
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 30px 25px;
        margin: 0;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    /* Courses section */
    .courses {
        padding: 60px 0;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-content: center;
    }

    .course-card {
        padding: 30px 25px;
        max-width: 100%;
    }

    .course-card h3 {
        font-size: 1.3rem;
    }

    .course-card p {
        font-size: 0.95rem;
    }

    /* Portfolio section */
    .portfolio {
        padding: 60px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item {
        aspect-ratio: 4/3;
    }

    .portfolio-overlay h4 {
        font-size: 1.2rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
    }

    /* Contact section */
    .contact {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 25px;
    }
    
    .phone-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .country-code {
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        padding: 15px;
        font-size: 1rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* Agency section */
    .agency {
        padding: 60px 0;
    }

    .agency-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agency-text h3 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .agency-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .agency-features {
        gap: 15px;
    }

    .feature {
        gap: 12px;
    }

    .feature i {
        font-size: 1.1rem;
    }

    .feature span {
        font-size: 0.95rem;
    }

    .agency-image img {
        height: 300px;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2000;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    margin-top: 20px;
    color: var(--text-white);
}

.lightbox-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.lightbox-caption p {
    color: var(--primary-color);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* ===== ACTIVE NAV LINK ===== */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::before {
    content: '▾';
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-toggle::before {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 8px 0;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure dropdown stays open when hovering over menu items */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

/* Desktop: remove rounded corners on first/last language options for a cleaner list */
@media (min-width: 769px) {
    .language-dropdown .dropdown-item:first-child,
    .language-dropdown .dropdown-item:last-child {
        border-radius: 0 !important;
    }
}

/* ===== LANGUAGE SWITCHER ===== */
.language-dropdown {
    position: relative;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 6px;
    font-family: inherit;
    text-align: center;
    line-height: 1;
}

.lang-toggle:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

.lang-toggle .flag-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-toggle .lang-text {
    font-weight: 500;
}

.lang-toggle.active {
    color: var(--primary-color);
    background: rgba(201, 169, 97, 0.1);
}

.lang-menu {
    min-width: 180px;
    right: 0;
    left: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.lang-option.active:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.lang-option .flag-icon {
    font-size: 1.1rem;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--text-white);
    position: relative;
}

.lang-option.active::after {
    content: '✓';
    position: absolute;
    right: 16px;
    font-weight: bold;
    font-size: 1rem;
}

/* Legacy language switcher styles for backward compatibility */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 3px;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--primary-color);
    background: rgba(201, 169, 97, 0.1);
}

@media (max-width: 768px) {
    .language-dropdown {
        margin: 20px 0 10px;
        padding: 10px 20px;
        border: none;
        width: 100%;
        position: relative;
        z-index: 1001;
        display: flex;
        justify-content: center;
        order: -1;
        background: rgba(0, 0, 0, 0.02);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 12px;
    }
    
    .lang-toggle {
        display: none;
    }
    
    .lang-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        border-radius: 0;
        display: flex;
        flex-direction: row;
        gap: 8px;
        min-width: auto;
        right: auto;
        left: auto;
        z-index: 1002;
        width: auto;
        max-width: none;
        justify-content: center;
        align-items: center;
    }
    

    
    .lang-option {
        padding: 8px 10px;
        border: none;
        text-align: center;
        justify-content: center;
        align-items: center;
        border-radius: 10px !important;
        flex-shrink: 0;
        width: auto;
        min-width: 44px;
        font-size: 12px;
        background: transparent;
        transition: all 0.2s ease;
        box-shadow: none;
        font-weight: 600;
        color: var(--text-light);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .lang-option .flag-icon {
        font-size: 18px;
        margin: 0;
        line-height: 1;
    }
    
    .lang-option span:not(.flag-icon) {
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1;
    }
    
    .lang-option:hover {
        background: rgba(0, 0, 0, 0.05);
        transform: scale(1.05);
        color: var(--text-dark);
        border-radius: 10px !important;
    }
    
    .lang-option.active {
        background: rgba(201, 169, 97, 0.1);
        color: var(--primary-color);
        transform: scale(1.05);
        border-radius: 10px !important;
    }
    
    .lang-option.active .flag-icon {
        filter: brightness(1.1) saturate(1.2);
    }
    
    .lang-option.active:hover {
        background: var(--primary-color);
        color: var(--text-white);
        border-radius: 10px !important;
    }
    
    .language-dropdown .lang-menu {
        display: flex !important; /* Vždy zobrazeno na mobilu */
    }
    
    .language-dropdown.active .lang-menu {
        display: flex; /* Vždy zobrazeno na mobilu */
    }
    
    /* Legacy language switcher styles for backward compatibility */
    .language-switcher {
        margin: 20px 0;
        padding: 20px 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        justify-content: center;
    }
    
    /* Mobile dropdown styles */
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-toggle::before {
        margin-left: auto;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        display: none; /* Hide by default on mobile */
    }
    
    .dropdown-item {
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Show dropdown menu when parent is active */
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 100px 0;
    background: var(--bg-white);
}
/* ===== REFERENCES SECTION (Luxury Testimonials Carousel) ===== */
.references {
    padding: 100px 0;
    background: var(--bg-white);
}

.references-carousel {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.references-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    animation: refs-marquee var(--marquee-duration, 18s) linear infinite;
}

.reference-card {
    min-width: 320px;
    max-width: 420px;
    flex: 0 0 auto;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom-color: var(--border-color); /* ensure visible bottom edge */
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06), inset 0 -1px rgba(0,0,0,0.08);
}

.reference-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.brand-badge {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    font-weight: 600;
    color: var(--text-dark);
}

.reference-rating {
    color: #d4af37;
    margin-bottom: 10px;
}

.reference-text {
    color: var(--text-dark);
    line-height: 1.8;
}

.reference-author {
    margin-top: 14px;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes refs-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

@media (max-width: 768px) {
    .references {
        padding: 60px 0;
    }
    .references-track {
        gap: 16px;
    }
    .reference-card {
        min-width: 260px;
        padding: 18px 16px;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 12px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== COURSES SECTION ===== */
.courses {
    padding: 100px 0;
    background: var(--bg-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
    gap: 40px;
    margin-top: 60px;
    justify-content: center;
}

.course-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: var(--gradient-gold);
    color: var(--text-white);
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.course-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Course card disabled state for CS and EN languages */
.course-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
    filter: grayscale(0.3);
}

.course-card.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 12px;
    pointer-events: none;
}

.course-card.disabled .course-icon {
    opacity: 0.7;
}

.course-card.disabled h3 {
    text-decoration: none;
}

.course-card .language-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: none !important;
    background: var(--gradient-gold);
    color: var(--text-white);
}

.course-card.disabled .language-indicator {
    opacity: 1;
    display: block !important;
}

.course-card.disabled .language-indicator::before {
    content: '';
}

.course-card.available .language-indicator::before {
    content: '✅';
    margin-right: 4px;
    font-size: 0.8rem;
}

/* Hide language indicator by default */
.course-card .language-indicator {
    display: none !important;
}

/* Show language indicator for disabled courses */
.course-card.disabled .language-indicator {
    display: block !important;
    opacity: 1;
}

/* Show language indicator for available courses */
.course-card.available .language-indicator {
    display: none !important;
    opacity: 1;
}

/* Available courses for RU and UK languages */
.course-card.available .language-indicator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--text-white);
    opacity: 1;
    display: none !important;
}

.course-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.course-card.disabled:hover::before {
    transform: scaleX(0);
}

.course-card.disabled:hover .course-icon {
    background: var(--bg-light);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-detail {
    padding: 100px 0;
    background: var(--bg-white);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.service-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-text li {
    padding: 10px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.service-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cta {
    margin-top: 40px;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-text h2 {
        font-size: 2rem;
    }
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 6px;
}

.breadcrumb-item:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
    background: none;
}

.breadcrumb-separator {
    color: var(--text-light);
    font-size: 0.8rem;
}

.breadcrumb-item i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .breadcrumb-item {
        padding: 4px 8px;
    }
    
    .breadcrumb-item span {
        display: none;
    }
    
    .breadcrumb-item i {
        font-size: 1rem;
    }
} 

/* ===== ADVANCED MOBILE OPTIMIZATION ===== */
@media (max-width: 480px) {
    /* Extra small devices */
    .nav-wrapper {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-menu {
        padding-top: 70px;
    }
    
    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        max-width: 260px;
    }
    
    .lang-toggle {
        max-width: none;
    }
    
    .lang-menu {
        max-width: none;
        gap: 4px;
        padding: 0;
    }
    
    .lang-option {
        padding: 6px 8px;
        min-width: 40px;
        border-radius: 8px !important;
    }
    
    .lang-option:hover {
        border-radius: 8px !important;
    }
    
    .lang-option.active {
        border-radius: 8px !important;
    }
    
    .lang-option.active:hover {
        border-radius: 8px !important;
    }
    
    .lang-option .flag-icon {
        font-size: 16px;
    }
    
    .lang-option span:not(.flag-icon) {
        font-size: 9px;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title .line-1 {
        font-size: 1.8rem;
    }

    .hero-title .line-2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .course-card {
        padding: 25px 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .portfolio-grid {
        gap: 15px;
    }

    .contact-form {
        padding: 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    /* Mobile checkbox adjustments */
    .checkbox-group {
        margin-bottom: 15px;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile privacy modal */
    .privacy-modal-content {
        max-width: 95%;
        max-height: 85vh;
        padding: 30px 25px;
    }
    
    .privacy-section h4 {
        font-size: 1.1rem;
    }
    
    .privacy-section p {
        font-size: 0.9rem;
    }

    /* Course important sections mobile */
    .course-important {
        padding: 15px;
        margin-top: 20px;
        border-radius: 10px;
    }

    .course-important p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Footer mobile */
    .footer {
        padding: 40px 0 30px;
    }

    .footer-content p {
        font-size: 0.9rem;
    }

    .footer-tagline {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group select {
        padding: 12px;
        padding-right: 40px;
        font-size: 16px; /* Prevents zoom on iOS */
        background-size: 14px !important;
        background-position: right 12px center !important;
    }
}

/* ===== TOUCH OPTIMIZATION ===== */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .nav-link,
    .dropdown-item,
    .btn,
    .service-card,
    .course-card,
    .form-group select {
        min-height: 44px;
        touch-action: manipulation;
    }

    .service-card:hover,
    .course-card:hover {
        transform: none;
    }

    .service-card:active,
    .course-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.95);
    }

    /* Remove hover effects on touch devices */
    .nav-link:hover::after,
    .service-card:hover::before,
    .course-card:hover::before {
        display: none;
    }
}

/* ===== SAFE AREA SUPPORT ===== */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .nav-wrapper {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .nav-menu {
        padding-top: max(80px, env(safe-area-inset-top) + 60px);
    }

    .hero {
        padding-top: max(80px, env(safe-area-inset-top) + 60px);
    }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        padding-top: 60px;
        gap: 1rem;
    }
    
    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        max-width: 240px;
    }
}

/* ===== PERFORMANCE OPTIMIZATION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .service-card,
    .course-card {
        border: 2px solid var(--text-dark);
    }

    .btn {
        border: 2px solid currentColor;
    }
    
    .form-group select {
        border: 2px solid var(--text-dark);
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1a1a1a;
        --bg-light: #2a2a2a;
        --text-dark: #ffffff;
        --text-light: #cccccc;
        --border-color: #444444;
        --text-white: #ffffff;
        --secondary-color: #ffffff;
        --accent-luxury: #7dd3fc;
        --shadow-sm: 0 2px 10px rgba(255, 255, 255, 0.08);
        --shadow-md: 0 5px 20px rgba(255, 255, 255, 0.1);
        --shadow-lg: 0 10px 40px rgba(255, 255, 255, 0.15);
    }

    /* Body and main backgrounds */
    body {
        background-color: var(--bg-white) !important;
        color: var(--text-dark) !important;
    }

    /* Navigation */
    .navbar {
        background: rgba(26, 26, 26, 0.98) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
    
    .navbar.is-scrolled {
        background: rgba(26, 26, 26, 0.85) !important;
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08) !important;
    }

    .nav-menu {
        background: rgba(26, 26, 26, 0.98) !important;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
    }
    
    .logo {
        color: var(--text-dark) !important;
    }

    /* Sections with light backgrounds */
    .about,
    .agency,
    .contact {
        background: var(--bg-light) !important;
    }
    
    .portfolio {
        background: var(--bg-white) !important;
    }
    
    .services {
        background: var(--bg-white) !important;
    }
    
    .courses {
        background: var(--bg-light) !important;
    }

    /* Cards */
    .service-card,
    .course-card {
        background: var(--bg-light) !important;
        border: 1px solid var(--border-color) !important;
        color: var(--text-dark) !important;
    }
    
    .service-card h3,
    .course-card h3 {
        color: var(--text-dark) !important;
    }
    
    .service-card p,
    .course-card p {
        color: var(--text-light) !important;
    }

    /* Forms */
    .contact-form {
        background: var(--bg-light) !important;
        border: 1px solid var(--border-color) !important;
    }
    
    .form-title {
        color: var(--text-dark) !important;
    }
    
    .form-group input,
    .form-group textarea,
    .country-code,
    .phone-number {
        background: var(--bg-white) !important;
        border: 1px solid var(--border-color) !important;
        color: var(--text-dark) !important;
    }
    
    .form-group select {
        background: var(--bg-white) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 15px center !important;
        background-size: 16px !important;
        border: 1px solid var(--border-color) !important;
        color: var(--text-dark) !important;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .country-code:focus,
    .phone-number:focus {
        background: var(--bg-white) !important;
        border-color: var(--primary-color) !important;
    }
    
    .form-group select:focus {
        background: var(--bg-white) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 15px center !important;
        background-size: 16px !important;
        border-color: var(--primary-color) !important;
        outline: none !important;
    }

    /* Service icons and course icons */
    .service-icon,
    .course-icon {
        background: var(--bg-white) !important;
        color: var(--primary-color) !important;
    }
    
    .service-card:hover .service-icon,
    .course-card:hover .course-icon {
        background: var(--gradient-gold) !important;
        color: var(--text-white) !important;
    }

    /* About section */
    .about-text h3,
    .agency-text h3 {
        color: var(--text-dark) !important;
    }
    
    .about-text p,
    .agency-text p {
        color: var(--text-light) !important;
    }
    
    .member-info h3 {
        color: var(--text-dark) !important;
    }

    /* Stats */
    .stat {
        background: var(--bg-white) !important;
        border: 1px solid var(--border-color) !important;
    }

    /* Agency image */
    .agency-image img {
        border: 1px solid var(--border-color) !important;
    }

    /* Lightbox */
    .lightbox {
        background: rgba(0, 0, 0, 0.95) !important;
    }

    /* Breadcrumbs */
    .breadcrumb {
        background: var(--bg-light) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
    
    .breadcrumb-item {
        color: var(--text-light) !important;
    }
    
    .breadcrumb-item.active {
        color: var(--text-dark) !important;
    }

    /* Dropdown menus */
    .dropdown-menu {
        background: rgba(26, 26, 26, 0.98) !important;
        border: 1px solid var(--border-color) !important;
    }
    
    .dropdown-item {
        color: var(--text-dark) !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--primary-color) !important;
    }

    /* Language options */
    .language-dropdown {
        background: rgba(255, 255, 255, 0.05) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
    }
    
    .lang-menu {
        background: transparent !important;
        border: none !important;
    }
    
    .lang-option {
        background: transparent !important;
        color: var(--text-light) !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 10px !important;
    }
    
    .lang-option:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--text-dark) !important;
        border-radius: 10px !important;
    }
    
    .lang-option.active {
        background: rgba(201, 169, 97, 0.2) !important;
        color: var(--primary-color) !important;
        border-radius: 10px !important;
    }
    
    .lang-option.active .flag-icon {
        filter: brightness(1.1) saturate(1.2) !important;
    }

    /* Service detail pages */
    .service-detail {
        background: var(--bg-white) !important;
    }
    
    .service-text h2,
    .service-text h3 {
        color: var(--text-dark) !important;
    }
    
    .service-text p,
    .service-text li {
        color: var(--text-light) !important;
    }

    /* Course specific styles */
    .course-hero {
        background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%) !important;
        color: var(--text-dark) !important;
    }
    
    .course-content {
        background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%) !important;
    }
    
    .course-section {
        background: var(--bg-light) !important;
        border: 1px solid var(--border-color) !important;
        color: var(--text-dark) !important;
    }
    
    .course-section h2,
    .course-section h3,
    .course-section h4 {
        color: var(--text-dark) !important;
    }
    
    .course-section p,
    .course-section li {
        color: var(--text-light) !important;
    }

    /* Pricing cards in courses */
    .pricing-card {
        background: var(--bg-light) !important;
        border: 1px solid var(--border-color) !important;
        color: var(--text-dark) !important;
    }
    
    .pricing-card.featured {
        border: 3px solid var(--primary-color) !important;
        background: var(--bg-white) !important;
    }
    
    .pricing-card h3 {
        color: var(--primary-color) !important;
    }
    
    .pricing-card .price {
        color: var(--primary-color) !important;
    }
    
    .pricing-card p[style*="color: var(--text-light)"],
    .pricing-card p[style*="font-style: italic"],
    .pricing-card p[data-i18n*="description"] {
        color: #999999 !important;
    }
    
    .feature-list li,
    .module-list li {
        color: var(--text-dark) !important;
    }
    
    .buy-button {
        background: var(--primary-color) !important;
        color: var(--text-white) !important;
    }
    
    .buy-button:hover {
        background: #b8964d !important;
    }

    /* Course important sections */
    .course-important {
        background: var(--bg-white) !important;
        border: 1px solid var(--border-color) !important;
        color: var(--text-dark) !important;
        border-left: 4px solid var(--primary-color) !important;
    }

    /* Footer dark mode */
    .footer {
        background: var(--bg-dark) !important;
        color: var(--text-dark) !important;
        border-top: 1px solid var(--border-color) !important;
    }

    .footer-content p {
        opacity: 0.9 !important;
    }

    .footer-tagline {
        color: var(--primary-color) !important;
    }

    /* Gallery */
    .gallery-overlay h4 {
        color: var(--text-white) !important;
    }
    
    .portfolio-overlay h4 {
        color: var(--text-white) !important;
    }

    /* Ensure text contrast */
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-dark) !important;
    }
    
    p {
        color: var(--text-light) !important;
    }

    /* Override inline styles for course pages and similar content */
    [style*="background: white"],
    [style*="background:white"],
    [style*="background-color: white"],
    [style*="background-color:white"],
    [style*="background: #fff"],
    [style*="background:#fff"],
    [style*="background-color: #fff"],
    [style*="background-color:#fff"],
    [style*="background: #ffffff"],
    [style*="background:#ffffff"],
    [style*="background-color: #ffffff"],
    [style*="background-color:#ffffff"] {
        background: var(--bg-light) !important;
    }

    [style*="color: black"],
    [style*="color:black"],
    [style*="color: #000"],
    [style*="color:#000"],
    [style*="color: #000000"],
    [style*="color:#000000"] {
        color: var(--text-dark) !important;
    }

    /* Course page specific overrides */
    .course-hero[style],
    .course-content[style],
    .course-section[style] {
        background: var(--bg-light) !important;
        color: var(--text-dark) !important;
    }

    /* Any element with light background gradient */
    [style*="linear-gradient"][style*="#f8f9fa"],
    [style*="linear-gradient"][style*="#f1f3f4"] {
        background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%) !important;
    }
}

/* ===== ADDITIONAL iOS DARK MODE SUPPORT ===== */
@supports (-webkit-appearance: none) {
    @media (prefers-color-scheme: dark) {
        /* Specific iOS/WebKit support */
        html {
            color-scheme: dark;
        }
        
        body {
            appearance: none;
            -webkit-appearance: none;
        }
        
        /* Ensure forms work properly in iOS dark mode */
        input, textarea, select {
            color-scheme: dark;
        }
        
        /* Fix for iOS Safari specific issues */
        .navbar,
        .nav-menu,
        .dropdown-menu {
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
        }
    }
}

/* Contact Form UX Enhancements */
.btn.loading {
    pointer-events: none;
    color: transparent !important;
    position: relative;
}

.btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn.success {
    background: #28a745 !important;
    transform: scale(1.05);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.success-modal.show {
    display: flex;
}

.modal-content {
    background: var(--text-white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: modalPop 0.4s ease forwards;
}

.modal-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
    animation: bounce 0.6s ease;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-close {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.modal-close:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalPop {
    0% { 
        transform: scale(0.8);
        opacity: 0;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Privacy Policy Modal */
.privacy-modal-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.privacy-content {
    text-align: left;
    margin-bottom: 30px;
}

.privacy-section {
    margin-bottom: 25px;
}

.privacy-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.privacy-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Custom Checkboxes */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-light);
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 10px;
    border: solid var(--text-white);
    border-width: 0 2px 2px 0;
    transform-origin: center;
    transition: var(--transition);
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-input:checked + .checkbox-custom::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--primary-color);
}

.checkbox-text {
    flex: 1;
    user-select: none;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.privacy-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Checkbox validation states */
.checkbox-label.error .checkbox-custom {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    animation: shake 0.5s ease-in-out;
}

.checkbox-label.error .checkbox-text {
    color: #dc3545;
}

.checkbox-label.error .privacy-link {
    color: #dc3545;
}

.checkbox-label.error .privacy-link:hover {
    color: #a71e2a;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Form field validation states */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    animation: shake 0.5s ease-in-out;
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Dark mode for checkboxes */
@media (prefers-color-scheme: dark) {
    .checkbox-custom {
        background: var(--bg-white) !important;
        border-color: var(--border-color) !important;
    }
    
    .checkbox-input:checked + .checkbox-custom {
        background: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }
    
    .checkbox-text {
        color: var(--text-light) !important;
    }
}

/* Dark mode for modal */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: var(--bg-light) !important;
        border: 1px solid var(--border-color) !important;
    }
    
    .modal-title {
        color: var(--text-dark) !important;
    }
    
    .modal-message {
        color: var(--text-light) !important;
    }
    
    .privacy-section h4 {
        color: var(--primary-color) !important;
    }
    
    .privacy-section p {
        color: var(--text-light) !important;
    }
    
    .privacy-link {
        color: var(--primary-color) !important;
    }
    
    .privacy-link:hover {
        color: var(--secondary-color) !important;
    }
    
    /* Dark mode for checkbox error states */
    .checkbox-label.error .checkbox-custom {
        border-color: #dc3545 !important;
        background: rgba(220, 53, 69, 0.2) !important;
    }
    
    .checkbox-label.error .checkbox-text {
        color: #ff6b6b !important;
    }
    
    .checkbox-label.error .privacy-link {
        color: #ff6b6b !important;
    }
    
    .checkbox-label.error .privacy-link:hover {
        color: #ff5252 !important;
    }
    
    /* Dark mode for form field error states */
    .form-group.error input,
    .form-group.error textarea,
    .form-group.error select {
        border-color: #dc3545 !important;
        background: rgba(220, 53, 69, 0.2) !important;
    }
    
    .form-group.error input:focus,
    .form-group.error textarea:focus,
    .form-group.error select:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
    }
} 

.course-card.disabled .course-icon {
	opacity: 0.7;
	position: relative;
}

.course-card.disabled .course-icon::after {
	content: '';
	position: absolute;
	top: -10%;
	left: 50%;
	width: 2px;
	height: 120%;
	background: rgba(201, 169, 97, 0.75);
	transform: translateX(-50%) rotate(35deg);
	border-radius: 2px;
	pointer-events: none;
}

.course-card.disabled h3 {
	position: relative;
	text-decoration: none;
}

.course-card.disabled h3::after {
	content: '';
	position: absolute;
	left: -8px;
	right: -8px;
	top: 52%;
	height: 2px;
	background: rgba(201, 169, 97, 0.65);
	transform: translateY(-50%);
	border-radius: 2px;
}