/* ==========================================================================
   GLOBAL SETTINGS & RESET
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #fff;
    color: #111;
    overflow-x: hidden;
}

/* ==========================================================================
   NAVBAR & HEADER LOGO
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 95px; 
    z-index: 999;
    /* Clean, saturated glass base for perfect text contrast without shadows */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav {
    width: 90%;
    max-width: 1200px;
    height: 95px; 
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo {
    height: 70px; 
    max-height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #001f42; /* Deep corporate navy */
    font-weight: 600;
    font-size: 15px;
    position: relative;
    text-shadow: none; /* Clean text, no outlines needed */
    transition: 0.3s ease;
}

.menu a:hover {
    color: #0057b8;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #0057b8;
    transition: 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION (DYNAMIC SLIDESHOW EDITION)
   ========================================================================== */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #001f42;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    animation: premiumHeroFade 18s linear infinite;
}

.hero-slide:nth-child(1) {
    background-image: url("images/hero1.jpg");
    animation-delay: 0s;
}
.hero-slide:nth-child(2) {
    background-image: url("images/hero2.jpg");
    animation-delay: 6s;
}
.hero-slide:nth-child(3) {
    background-image: url("images/hero3.jpg");
    animation-delay: 12s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fades completely into transparent at the bottom for the seamless mask blend */
    background: linear-gradient(
        to bottom, 
        rgba(0, 15, 30, 0.8) 0%, 
        rgba(0, 15, 30, 0.5) 60%, 
        rgba(0, 15, 30, 0) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    margin: auto;
    padding-top: 95px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(25px);
    animation: heroTextReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s;
}

.hero-actions {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(15px);
    animation: heroTextReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.6s;
}

.btn {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.primary {
    background: #0057b8;
    color: #ffffff;
    border: 1px solid #0057b8;
}

.primary:hover {
    background: #004494;
    border-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 87, 184, 0.3);
}

.outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}

/* ==========================================================================
   UNIFIED GLASS FLOW CONTAINER (THE SEAMLESS BLEND)
   ========================================================================== */
.glass-flow-container {
    position: relative;
    z-index: 10;
    margin-top: -180px; 
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Feathers the top edge perfectly into the hero image without harsh lines */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 180px);
    mask-image: linear-gradient(to bottom, transparent 0px, black 180px);
    
    border: none;
    box-shadow: none;
}

/* ABOUT SECTION INTERIOR */
.about {
    /* Safe padding so text starts securely below the gradient mask blend */
    padding: 160px 0 80px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.tag {
    font-size: 11px;
    letter-spacing: 3px;
    color: #0057b8;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.about-text h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 10px 0 25px 0;
    color: #001f42; 
    line-height: 1.25;
}

.about-text p {
    color: #1a1a1a; 
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.7; 
    font-size: 16px; 
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5), 0 0 1px rgba(255, 255, 255, 0.3);
}

.quote-box {
    margin-top: 35px;
    padding: 24px;
    border-left: 4px solid #0057b8;
    background: rgba(255, 255, 255, 0.45); 
    border-radius: 0 8px 8px 0;
}

.quote {
    font-style: italic;
    color: #111111;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.author {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #555555;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-image {
    position: relative;
    text-align: center; 
}

.about-image img {
    width: 100%;
    max-width: 320px; 
    margin: 0 auto;  
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.chairman-title {
    margin-top: 20px;
    text-align: center; 
}

.chairman-title h4 {
    color: #0057b8;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.chairman-title p {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* STATS ELEMENT */
.stats {
    padding: 60px 0;
    background: #ffffff; /* Solid ground to end the blend */
    border-top: 1px solid rgba(0, 0, 0, 0.05); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat {
    flex: 1;
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Crisp vertical dividers */
.stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    width: 1px;
    height: 70%;
    background: rgba(0, 31, 66, 0.15); 
}

.stat h2 {
    color: #0057b8;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.stat p {
    color: #4a5568;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat.animated-in {
    opacity: 1;
    transform: translateY(0);
}

.stats-grid .stat:nth-child(1) { transition-delay: 0.1s; }
.stats-grid .stat:nth-child(2) { transition-delay: 0.2s; }
.stats-grid .stat:nth-child(3) { transition-delay: 0.3s; }
.stats-grid .stat:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================================================
   OUR BUSINESS SECTORS
   ========================================================================== */
.section {
    padding: 90px 0;
}

.alt {
    background: #f7f9fc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #111;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    position: relative;
    height: 320px; 
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; 
    padding: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    background-color: #fff;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0) 70%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

.card:hover .card-overlay {
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.5) 40%, 
        rgba(0, 0, 0, 0.05) 70%
    );
}

.card-content {
    position: relative;
    z-index: 2; 
    text-align: left;
    width: 100%;
}

.card-content h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sector-food::before { background-image: url("images/food.jpg"); }
.sector-agriculture::before { background-image: url("images/agriculture.jpg"); }
.sector-fashion::before { background-image: url("images/fashion.jpg"); }
.sector-logistics::before { background-image: url("images/logistics.jpg"); }
.sector-realestate::before { background-image: url("images/realestate.jpg"); }
.sector-investment::before { background-image: url("images/investment.jpg"); }

/* ==========================================================================
   INFINITE PORTFOLIO LOGO SLIDER
   ========================================================================== */
#brands {
    background-color: #f7f9fc;
    padding: 100px 0;
}

.logo-slider {
    overflow: hidden;
    padding: 20px 0 60px 0; 
    position: relative;
    width: 100%;
    margin-top: 30px; 
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;    
    width: calc(380px * 30); 
    transform: translateX(calc(-380px * 15)); 
    animation: scrollLogosRight 40s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-slider .slide {
    width: 350px; 
    height: 190px; 
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04); 
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 15px 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-slider .slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.logo-slider .slide img {
    width: 100%;
    height: 100%;
    max-height: 150px; 
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-slider .slide:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
    box-sizing: border-box;
}

.contact-info-panel h2 {
    font-size: 32px;
    color: #001f42;
    margin: 10px 0 15px 0;
    font-weight: 700;
}

.section-subtitle-text {
    color: #666;
    font-size: 15px;
    margin: 10px 0 35px 0;
    line-height: 1.5;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.office-card {
    background: #f7f9fc;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 24px;
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border-color: rgba(0, 87, 184, 0.15);
}

.office-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.country-flag {
    width: 28px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    object-fit: contain;
}

.office-card h3 {
    font-size: 16px;
    color: #111;
    font-weight: 600;
    margin: 0;
}

.office-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.contact-form-panel {
    width: 100%;
}

.form-box {
    background: #001f42;
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 31, 66, 0.15);
    box-sizing: border-box;
}

.form-box h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form input::placeholder,
.form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form input:focus,
.form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #0057b8;
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.25);
}

.form button {
    background: #0057b8;
    color: #ffffff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    box-sizing: border-box;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form button:hover {
    background: #004494;
    transform: translateY(-2px);
}

/* ==========================================================================
   GLOBAL SITE FOOTER
   ========================================================================== */
.site-footer {
    display: block !important;
    width: 100% !important;
    background-color: #001f42 !important;
    padding: 35px 0;
    box-sizing: border-box !important;
    clear: both !important;
    margin-top: 50px;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center !important;    
    justify-content: center !important;
    text-align: center !important;
    gap: 8px;           
    padding: 0 20px;
    box-sizing: border-box !important;
}

.copyright {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    margin: 0 !important;
    letter-spacing: 0.3px;
    text-align: center !important;
}

.footer-link {
    color: #0057b8 !important;         
    font-size: 14px !important;
    text-decoration: none !important;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
    text-align: center !important;
}

.footer-link:hover {
    color: #ffffff !important;         
    text-decoration: underline !important;
}

/* ==========================================================================
   KEYFRAME ENGINES
   ========================================================================== */
@keyframes premiumHeroFade {
    0% { opacity: 0; transform: scale(1.06); }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 0; }
}

@keyframes heroTextReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLogosRight {
    0% { transform: translateX(calc(-380px * 15)); }
    100% { transform: translateX(0); }
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    
    .stats-grid { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px 0; 
    }
    .stat::after { display: none !important; } /* Removes lines on mobile layout */
    
    .grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .navbar, .nav { height: 75px; }
    .menu { display: none; }
    .logo { height: 52px; max-height: 52px; }
    .hero h1 { font-size: 32px; line-height: 1.3; }
    .hero p { font-size: 15px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .btn { width: 100%; text-align: center; }
    
    /* Reset mask blend for simple mobile layout */
    .glass-flow-container { 
        margin-top: 0; 
        background: rgba(255, 255, 255, 0.95);
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    .about { padding: 60px 0 30px 0; }
    .stats { padding: 30px 0 60px 0; }
    .about-text h2 { font-size: 28px; }
    .grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    
    /* LOGO SLIDER ON MOBILE */
    .logo-track {
        width: calc(260px * 30);
        transform: translateX(calc(-260px * 15));
    }
    .logo-slider .slide {
        width: 240px; 
        height: 140px; 
        margin: 0 10px;
        padding: 10px 15px;
    }
    .logo-slider .slide img {
        max-height: 110px; 
        width: 100%;
        height: 100%;
    }
    @keyframes scrollLogosRight {
        0% { transform: translateX(calc(-260px * 15)); }
        100% { transform: translateX(0); }
    }
    
    /* MOBILE CONTACT CONTAINER FIXES */
    .contact-section {
        padding: 50px 0;
    }
    .contact-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 15px !important;
    }
    .offices-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .contact-info-panel, 
    .contact-form-panel {
        width: 100% !important;
    }
    .contact-info-panel h2,
    .contact-info-panel .tag,
    .section-subtitle-text {
        text-align: center !important;
        display: block;
    }
    .section-subtitle-text {
        margin-bottom: 30px !important;
    }
    .form-box {
        padding: 25px 20px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 14px; }
    .section-title { font-size: 24px; }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: #0057b8;
    color: white;
    border: none;
    outline: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background-color: #004494;
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   MOBILE MENU TOGGLE INTERFACES
   ========================================================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #001f42; 
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px 40px 40px;
        gap: 35px;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        font-size: 18px;
        font-weight: 600;
        width: 100%;
        text-shadow: none;
    }
    
    .menu a::after {
        display: none;
    }
}
/* ==========================================================================
   OUR JOURNEY TIMELINE STYLES
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Central spine of the timeline */
.timeline-line {
    position: absolute;
    width: 4px;
    background-color: rgba(0, 87, 184, 0.15);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
    opacity: 1; /* Ready for instant visualization */
}

/* Left & Right orientation */
.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Interactive floating content blocks */
.timeline-content {
    background: #f7f9fc;
    padding: 25px 30px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 87, 184, 0.08);
    background: #ffffff;
    border-color: rgba(0, 87, 184, 0.2);
}

/* Timeline Indicators / Nodes */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: 4px solid #0057b8;
    border-radius: 50%;
    top: 40px;
    z-index: 5;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: #0057b8;
    transform: scale(1.2);
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

/* Typography inside cards */
.timeline-date {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #0057b8;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.timeline-content h3 {
    font-size: 20px;
    color: #001f42;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   TIMELINE RESPONSIVE DESIGN (MOBILE ADAPTATION)
   ========================================================================== */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px; /* Snaps the line to the left edge on mobile profiles */
    }
    
    .timeline-item {
        width: 100%;
        padding: 15px 0 15px 45px;
        left: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 12px;
        right: auto;
    }
    
    .timeline-content {
        padding: 20px;
    }
}