:root {
    --color-white: #FFFFFF;
    --color-gold: #D4AF37;
    --color-navy: #001F3F;
    --color-text: #333333;
    --color-off-black: #1A1A1A;
    --transition: all 0.3s ease;
    --header-height: 90px;
    --footer-height: 80px;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --backdrop-blur: blur(10px);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'EB Garamond', serif;
}

/* Hide scrollbar for all elements */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
*::-webkit-scrollbar {
    display: none;
}

/* Header Styles - Consistent across all pages */
#header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.site-header {
    width: 100%;
    padding: 15px 0;
    transition: all 0.3s ease;
    position: relative;
    background-color: var(--color-navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    margin: 0;
    padding: 0 15px; /* Consistent padding between items */
}

.nav-link {
    color: var(--color-white) !important; /* Force white color */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-gold) !important; /* Force gold color on hover/active */
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

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

/* Logo styles - ensure consistent sizing */
.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

/* Specific logo sizes for different contexts */
.site-header .logo-img {
    height: 60px; /* Larger size for header */
}

.footer .logo-img {
    height: 50px; /* Slightly smaller for footer */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-header .logo-img {
        height: 50px;
    }
    
    .footer .logo-img {
        height: 45px;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

/* Mobile menu */
.hamburger {
    display: none;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-box {
    width: 24px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

.hamburger.is-active .hamburger-inner {
    background: transparent;
}

.hamburger.is-active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998; /* Below menu but above other content */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through when not active */
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Block clicks when active */
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important; /* Force display on mobile */
        position: relative;
        z-index: 1000;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger-box {
        width: 30px;
        height: 24px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner {
        display: block;
        top: 50%;
        margin-top: -2px;
    }

    .hamburger-inner, 
    .hamburger-inner::before, 
    .hamburger-inner::after {
        width: 30px;
        height: 2px;
        background-color: var(--color-white);
        border-radius: 4px;
        position: absolute;
        transition: transform 0.15s ease;
    }

    .hamburger-inner::before, 
    .hamburger-inner::after {
        content: '';
        display: block;
    }

    .hamburger-inner::before {
        top: -8px;
    }

    .hamburger-inner::after {
        bottom: -8px;
    }

    .hamburger.active .hamburger-inner {
        transform: rotate(45deg);
    }

    .hamburger.active .hamburger-inner::before {
        transform: translateY(8px) rotate(0);
        opacity: 0;
    }

    .hamburger.active .hamburger-inner::after {
        transform: translateY(-8px) rotate(-90deg);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--color-navy);
        padding: 100px 30px 30px;
        transition: right 0.4s ease;
        z-index: 1000; /* Above overlay */
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        pointer-events: auto; /* Ensure menu is clickable */
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .main-nav.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger the menu items */
    .main-nav.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.active .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.active .nav-item:nth-child(4) { transition-delay: 0.25s; }

    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        color: var(--color-white) !important;
        position: relative;
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: var(--color-gold) !important;
    }

    .nav-link:after {
        display: none;
    }
}

/* Footer Styles */
.footer {
    background: var(--color-navy);
    color: white;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer__logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer__right {
    flex: 1;
    max-width: 800px;
}

.footer__links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer__link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-gold);
}

.footer__website {
    margin-bottom: 1rem;
}

.footer__copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .nav-item {
        margin: 0 0 1.5rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .footer__content {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-off-black);
    letter-spacing: -0.5px;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Loading screen styles */

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.loading-pattern {
    /* Pattern styles */
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, transparent 75%, transparent),
        var(--color-navy);
    background-size: 30px 30px;
    animation: movePattern 10s linear infinite;
    opacity: 0.5;
}

.loading-content {
    /* Content styles */
    position: relative;
    z-index: 2;
    text-align: center;
}

.loading-text {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-line {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    margin: 10px 0;
}

.text-line:nth-child(1) { animation-delay: 0.3s; }
.text-line:nth-child(2) { animation-delay: 0.6s; }
.text-line:nth-child(3) { animation-delay: 0.9s; }

.rainbow-text {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 400% 100%;
    animation: rainbow 8s linear infinite;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-navy);
    z-index: 3;
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.loading-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-navy);
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1) 0.2s;
}

.loading-screen.hide .loading-overlay {
    transform: translateY(-100%);
}

.loading-screen.hide .loading-overlay::after {
    transform: translateY(100%);
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
    background: transparent;
}

.hero .container {
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    padding: 20px 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Image - Clean and minimal styling */
.hero__image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.hero__image img {
    display: block;
    height: 90vh;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 50%;
    padding: 40px 0;
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
        text-align: center;
        display: block;
    }

    .hero .container {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        display: flex;
    }

    .hero__content {
        max-width: 100%;
        padding: 0;
        margin-bottom: 40px;
        order: 1;
    }
    
    .hero__image {
        position: relative;
        width: 100%;
        margin: 40px 0 0;
        order: 2;
        text-align: center;
    }
    
    .hero__image img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 60vh;
        margin: 0 auto;
        object-fit: contain;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .hero__image {
        position: relative;
        width: 80%;
        margin: 40px auto 0;
        order: 2;
        text-align: center;
    }
    
    .hero__image img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 70vh;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .hero__image {
        position: relative;
        width: 90%;
        margin: 30px auto 0;
        order: 2;
    }
    
    .hero__image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        max-height: 60vh;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 30px;
    }

    .hero__image img {
        max-height: 50vh;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 20px;
    }

    .hero__image img {
        max-height: 45vh;
    }
}

/* ==========================================================================
   #HEADER & NAVIGATION
   ========================================================================== */

/* Header styles are now defined above */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Desktop Navigation - consolidated with main nav styles */

/* Mobile Navigation */
.hamburger {
    display: none;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-box {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 24px;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform 0.15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Active state for hamburger */
.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
    transform: rotate(-90deg) translate3d(-8px, 0, 0);
    opacity: 0;
}

.hamburger.is-active .hamburger-inner::after {
    transform: rotate(-90deg) translate3d(8px, 0, 0);
}

/* Mobile menu overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--color-navy);
        padding: 7rem 2rem 2rem;
        z-index: 999;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }
}

/* Adjust header height on mobile */
@media (max-width: 767px) {
    :root {
        --header-height: 70px;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        height: 60px;
    }
}

/* Header Styles */
/* Header Container */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
    width: 100%;
    align-items: center;
    position: relative;
}

/* Logo styles */
.logo-img {
    width: auto;
    transition: var(--transition);
}

/* Header logo */
.header .logo-img {
    height: 80px;
}

/* Footer logo */
.footer .logo-img {
    height: 140px;
    margin-bottom: 30px;
    max-width: 100%;
}

/* Mobile logo */
@media (max-width: 767px) {
    .header .logo-img {
        height: 65px;
    }
}

.menu-btn {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
    cursor: pointer;
}

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-navy);
    transition: var(--transition);
}

.menu-btn__lines {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.menu-btn__lines::before,
.menu-btn__lines::after {
    content: '';
    left: 0;
}

.menu-btn__lines::before {
    top: -8px;
}

.menu-btn__lines::after {
    top: 8px;
}

.menu-btn.active .menu-btn__lines {
    background: transparent;
}

.menu-btn.active .menu-btn__lines::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active .menu-btn__lines::after {
    transform: translateY(-8px) rotate(-45deg);
}

.nav {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin-left: auto;
}

.nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
    height: 100%;
    gap: 15px; /* Increased gap between nav items */
}

.nav__item {
    display: flex;
    align-items: stretch;
    height: 100%;
    position: relative;
}

.nav__item:first-child {
    margin-left: 0;
}

.nav__link {
    font-weight: 500;
    color: var(--color-white);
    padding: 0 30px;
    transition: all 0.3s ease;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--color-navy);
    border: none;
    height: 100%;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--font-primary);
    border-radius: 0;
}

.nav__link span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-white);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav__link:hover,
.nav__link.active {
    background: var(--color-white);
    color: var(--color-navy);
    text-decoration: none;
    box-shadow: 0 0 0 2px var(--color-white);
}

.nav__link:hover::before,
.nav__link.active::before {
    width: 100%;
}

.nav__link:hover,
.nav__link.active {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px; /* Adjusted padding */
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 40px;
}

.hero__content {
    max-width: 600px;
    z-index: 2;
    padding-right: 20px;
}

.hero__image {
    position: relative;
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero__title {
    font-size: 64px;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--color-navy);
}

.hero__title-line {
    display: block;
}

.hero__title-line.script {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 72px;
    color: var(--color-gold);
    margin-top: 10px;
}

.hero__subtitle {
    font-size: 24px;
    margin-bottom: 35px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
}

.hero__cta .btn {
    margin-right: 15px;
    transition: all 0.3s ease;
}

.hero__cta .btn--gold:hover {
    background: transparent;
    color: var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero__cta .btn--outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-navy);
        padding: 100px 30px 30px;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .nav__item {
        width: 100%;
        height: auto;
        margin: 0;
    }
    
    .nav__link {
        padding: 15px 20px;
        width: 100%;
        border-radius: 5px;
        margin: 5px 0;
    }
    
    .nav__link::before {
        display: none;
    }
    
    .menu-btn__lines {
        display: block;
        position: relative;
        width: 30px;
        height: 2px;
        background: var(--color-white);
        transition: all 0.3s ease;
    }
    
    .menu-btn__lines::before,
    .menu-btn__lines::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--color-white);
        left: 0;
        transition: all 0.3s ease;
    }
    
    .menu-btn__lines::before {
        top: -8px;
    }
    
    .menu-btn__lines::after {
        bottom: -8px;
    }
    
    .menu-btn.active .menu-btn__lines {
        background: transparent;
    }
    
    .menu-btn.active .menu-btn__lines::before {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-btn.active .menu-btn__lines::after {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 0; /* Square corners */
    background-color: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
    text-align: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-white);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover::before {
    width: 100%;
}

.btn--navy {
    background-color: var(--color-navy);
    color: var(--color-white) !important;
    border: 2px solid var(--color-navy) !important;
}

.btn--navy:hover {
    background-color: transparent !important;
    color: var(--color-navy) !important;
    border-color: var(--color-navy) !important;
}

/* Section Spacing */
.hero {
    padding: 120px 0 80px; /* Adjusted padding */
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 40px;
}

.partners {
    padding: 0; /* Removed padding as it's now handled internally */
}

.factoid {
    padding: 80px 0; /* Adjusted padding */
}

/* Partners Section */
.partners {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px 0; /* Add padding to prevent content from touching edges */
}

.partners .container {
    max-width: 100%;
    padding: 0 20px; /* Add horizontal padding */
}

.partners__content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.partners {
    padding: 60px 0;
    background-color: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.partners__title {
    font-size: 2.2rem;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-weight: 500;
    position: relative;
    padding: 2rem;
    max-width: 800px;
    text-transform: none;
    font-variant: normal;
    font-style: normal;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 31, 63, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.partners__title i {
    font-style: italic;
    text-transform: capitalize;
}

.partners__title::first-letter,
.partners__title i::first-letter {
    text-transform: uppercase;
}

.partners__title::after {
    display: none;
}

.partners__title i {
    color: var(--color-gold);
    font-style: italic;
}

.partners__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.partners__track {
    display: flex;
    padding: 40px 0;
    animation: scroll 30s linear infinite;
    width: max-content;
    align-items: center;
}

.partners__track:hover {
    animation-play-state: paused;
}

.partner-logo-container {
    flex: 0 0 auto;
    width: 190px; /* Increased from 160px */
    height: 190px; /* Increased from 160px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 25px;
    background: transparent;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
    position: relative;
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: 10;
    padding: 0 20px;
    height: 100%;
    background: transparent;
    margin-right: 20px;
}

.header__logo img {
    height: 58px; /* Increased size */
    width: auto;
    display: block;
}

.partner-logo {
    max-width: 120%;
    max-height: 120%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8) contrast(0.9) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, filter, opacity;
}

.partner-logo-container:hover {
    transform: scale(1.08);
}

.partner-logo-container:hover .partner-logo {
    filter: grayscale(100%) brightness(3) contrast(1) opacity(0.8);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 6)); /* Adjusted for logo containers */
    }
}

/* Factoid Section */
.factoid {
    padding: 120px 0;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.factoid__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.factoid__title {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--color-navy);
    line-height: 1.3;
}

.factoid__divider {
    width: 100px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto 30px;
    position: relative;
}

.factoid__divider::before,
.factoid__divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.factoid__divider::before {
    left: -15px;
}

.factoid__divider::after {
    right: -15px;
}

.factoid__text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

/* Factoid Section - Original Style */
.factoid {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

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

.factoid__title {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.factoid__divider {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto 30px;
}

.factoid__text {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--color-navy);
    color: var(--color-white);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.testimonials-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto 30px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 3px solid var(--color-gold);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    flex: 1;
    margin-bottom: 25px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    position: relative;
    padding: 0 10px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 60px;
    color: var(--color-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author h4 {
    margin: 0 0 5px;
    color: var(--color-gold);
    font-size: 1.2rem;
}

.testimonial-author p {
    margin: 0;
}

.testimonials-cta {
    margin-top: 40px;
    text-align: center;
}

.testimonials-cta .btn--gold {
    background: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.testimonials-cta .btn--gold:hover {
    background: transparent;
    color: var(--color-gold);
}

.btn--gold:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn--gold:hover {
    background-color: #c19a2a;
    color: white;
}

/* Diversity Section */
.diversity-section {
    padding: 120px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.diversity-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.diversity-text {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.diversity-subtitle {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: var(--font-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.diversity-title {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(
        90deg, 
        #FF0000, #FF7F00, #FFFF00, 
        #00FF00, #0000FF, #4B0082, 
        #8B00FF, #FF0000
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 2.5rem 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    font-family: 'Montserrat', sans-serif;
    animation: rainbow 8s linear infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.diversity-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--color-navy);
}

.diversity-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.3s ease;
    z-index: -1;
}

.diversity-link:hover {
    color: var(--color-navy);
}

.diversity-link:hover::before {
    width: 100%;
}

.diversity-link svg {
    margin-left: 12px;
    transition: transform 0.3s ease;
    stroke-width: 2.5px;
}

.diversity-link:hover svg {
    transform: translateX(5px);
}

.diversity-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.diversity-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.diversity-shape-1 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #FF0000, #FF7F00);
    top: 20px;
    right: 50px;
    animation: float 8s ease-in-out infinite, colorShift1 12s ease-in-out infinite;
    opacity: 0.8;
    filter: blur(25px);
}

.diversity-shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #FFFF00, #00FF00);
    bottom: 40px;
    right: 20px;
    animation: float 10s ease-in-out infinite 1s, colorShift2 15s ease-in-out infinite 2s;
    opacity: 0.7;
    filter: blur(22px);
}

.diversity-shape-3 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #0000FF, #4B0082);
    bottom: 20px;
    right: 220px;
    animation: float 12s ease-in-out infinite 0.5s, colorShift3 14s ease-in-out infinite 1s;
    opacity: 0.75;
    filter: blur(20px);
}

.diversity-shape-4 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #8B00FF, #FF00FF);
    top: 120px;
    right: 180px;
    animation: float 9s ease-in-out infinite 1.5s, colorShift4 13s ease-in-out infinite 0.5s;
    opacity: 0.8;
    filter: blur(18px);
}

@keyframes colorShift1 {
    0%, 100% { background: linear-gradient(135deg, #FF0000, #FF7F00); }
    50% { background: linear-gradient(135deg, #FF7F00, #FF0000); }
}

@keyframes colorShift2 {
    0%, 100% { background: linear-gradient(135deg, #FFFF00, #00FF00); }
    50% { background: linear-gradient(135deg, #00FF00, #00FFFF); }
}

@keyframes colorShift3 {
    0%, 100% { background: linear-gradient(135deg, #0000FF, #4B0082); }
    50% { background: linear-gradient(135deg, #4B0082, #8B00FF); }
}

@keyframes colorShift4 {
    0%, 100% { background: linear-gradient(135deg, #8B00FF, #FF00FF); }
    50% { background: linear-gradient(135deg, #FF00FF, #FF1493); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@media (max-width: 1024px) {
    .diversity-content {
        flex-direction: column;
        text-align: center;
    }
    
    .diversity-text {
        margin-bottom: 4rem;
    }
    
    .diversity-title {
        font-size: 4rem;
    }
    
    .diversity-link {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .diversity-title {
        font-size: 3rem;
    }
    
    .diversity-visual {
        width: 300px;
        height: 300px;
    }
    
    .diversity-shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .diversity-shape-2 {
        width: 120px;
        height: 120px;
    }
    
    .diversity-shape-3 {
        width: 80px;
        height: 80px;
    }
    
    .diversity-shape-4 {
        width: 60px;
        height: 60px;
    }
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.footer__logo {
    margin-bottom: 20px;
    text-align: center;
}

.footer__logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer__nav {
    width: 100%;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__link {
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 5px 10px;
    opacity: 0.8;
    transition: var(--transition);
    white-space: nowrap;
}

.footer__link:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer__bottom {
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

.footer__copyright {
    font-size: 0.7rem;
    opacity: 0.6;
    margin: 0;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer__links {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .footer__link {
        font-size: 0.65rem;
        padding: 5px 8px;
    }
    
    .footer__logo img {
        height: 50px;
    }
    
    .footer__copyright {
        font-size: 0.65rem;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 56px;
    }
    
    .hero__title-line.script {
        font-size: 64px;
    }
    
    .factoid__title {
        font-size: 36px;
    }
}

/* Partners Section Responsive */
@media (max-width: 1200px) {
    .partners__title {
        font-size: 32px;
    }
    
    .partner-logo {
        height: 50px;
    }
}

@media (max-width: 991.98px) {
    .nav-item {
        margin: 0.5rem 0;
        padding: 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        display: block;
    }
}

@media (max-width: 991.98px) {
    .partners {
        padding: 40px 0;
    }
    
    .partners__title {
        font-size: 24px;
        margin: 0 20px 30px;
        padding: 15px;
        border-width: 1px;
    }
    
    .partner-logo-container {
        width: 150px;
        height: 150px;
        margin: 0 15px;
    }
    
    .partner-logo {
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .partners__title {
        font-size: 22px;
        margin: 0 15px 25px;
        padding: 12px;
    }
    
    .partner-logo-container {
        width: 120px;
        height: 120px;
        margin: 0 12px;
    }
}

@media (max-width: 576px) {
    .partners {
        padding: 30px 0;
    }
    
    .partners__title {
        font-size: 20px;
        margin: 0 10px 20px;
        padding: 10px;
    }
    
    .partner-logo-container {
        width: 100px;
        height: 100px;
        margin: 0 10px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 6)); /* Adjusted for smaller logo containers */
        }
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero__content {
        margin: 0 auto 30px;
        max-width: 100%;
    }
    
    .hero__image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .factoid {
        padding: 80px 0;
    }
    
    .factoid__title {
        font-size: 32px;
    }
    
    .factoid__text {
        font-size: 16px;
    }
    
    .footer__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer__right {
        margin-left: 0;
    }
    
    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: var(--backdrop-blur);
        -webkit-backdrop-filter: var(--backdrop-blur);
        padding: 100px 30px 30px;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav__link {
        display: block;
        padding: 12px 20px;
        text-align: left;
        border-radius: 8px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero__title {
        font-size: 42px;
    }
    
    .hero__title-line.script {
        font-size: 48px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .factoid {
        padding: 60px 0;
    }
    
    .factoid__title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 36px;
    }
    
    .hero__title-line.script {
        font-size: 40px;
    }
    
    .hero__subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 15px;
    }
    
    .factoid__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .factoid__divider {
        margin-bottom: 20px;
    }
    
    .factoid__text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    .footer__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .footer__right {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .footer__links {
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 25px;
    }
    
    .footer__copyright {
        margin-top: 10px;
    }
}

/* Page Transition Overlay - Optimized for Performance */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
    will-change: opacity; /* Hint to browser for optimization */
    opacity: 1;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother timing function */
    /* Force hardware acceleration */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.page-transition-overlay.fade-out {
    opacity: 0;
}

.transition-word {
    color: var(--color-white);
    font-size: clamp(1.5rem, 8vw, 3rem); /* Responsive font size */
    font-weight: 500;
    font-family: var(--font-primary);
    text-align: center;
    padding: 1rem 2rem;
    will-change: transform, opacity;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    /* Force hardware acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    /* Ensure text wraps properly */
    max-width: 90%;
    word-wrap: break-word;
    line-height: 1.2;
}

.page-transition-overlay.fade-out .transition-word {
    transform: translate3d(0, -10px, 0) scale(0.98);
    opacity: 0;
}
