html {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
}

body {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    max-width: 100vw;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header & Navigation */
header {
    background-color: #fff;
    padding: 1rem 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    will-change: transform;
}

header.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 0;
}

.navbar {
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #2C3E50;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger .close-icon {
    display: none;
    font-size: 28px;
    font-weight: bold;
    color: #2C3E50;
    line-height: 1;
}

.hamburger.active .bar {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A7BA7;
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4A7BA7;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-selector {
    position: relative;
}

.btn-language {
    background-color: #4A7BA7;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-language:hover {
    background-color: #3A6485;
    transform: translateY(-2px);
}

.btn-language .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.language-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin: 0;
}

.language-dropdown a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #333;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.language-dropdown a::after {
    content: none !important;
}

.language-dropdown a:hover {
    background-color: #f5f7fa;
    color: #4A7BA7;
}

/* ========================================
   HERO GALLERY SECTION  
   ======================================== */
.hero-gallery {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 6rem 0 8rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74, 123, 167, 0.1) 0%, transparent 50%);
}

.hero-gallery .container {
    position: relative;
    z-index: 1;
}

.hero-gallery h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-gallery p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.btn-leadership {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-leadership:hover {
    background: white;
    color: #2C3E50;
}

/* ========================================
   GALLERY CAROUSEL SECTION
   ======================================== */
.gallery-carousel {
    margin-top: -4rem;
    padding: 0 0 5rem 0;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-wrapper {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 2rem 0;
}

.gallery-item {
    min-width: calc(25% - 1.5rem);
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #4A7BA7;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #4A7BA7;
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #34495E;
    color: white;
    padding: 0;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: #4A7BA7;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-social a:hover {
    background: #4A7BA7;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

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

@media (max-width: 1024px) {
    .gallery-item {
        min-width: calc(33.333% - 1.33rem);
    }
}

@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px 30px;
        gap: 1.5rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1rem;
    }

    .language-dropdown {
        position: relative;
        top: 0;
        box-shadow: none;
        margin-top: 0.5rem;
    }

    /* Hero Gallery Mobile */
    .hero-gallery {
        padding: 4rem 0 6rem 0;
    }

    .hero-gallery h1 {
        font-size: 2rem;
    }

    .hero-gallery p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .btn-leadership {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    /* Gallery Carousel Mobile */
    .gallery-item {
        min-width: calc(100% - 2rem);
    }

    .gallery-item img {
        height: 250px;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn i {
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-right {
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 1.2rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 16px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-gallery h1 {
        font-size: 2.5rem;
    }

    .footer-main {
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
    }
}