/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
   :root {
    --brand-red: #D32F2F;
    --text-dark: #1d1d1f;
    --text-gray: #515154;
    --bg-light: #fcfcfc;
}

/* Forces Apple System Font & Transparent Background */
body, html:root {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding-top: 100px;
    background-color: transparent !important; 
    color: #333;
}

html { scroll-behavior: smooth; }
.brand-red { color: var(--brand-red); font-weight: bold; }

/* ==========================================================================
   2. UTILITIES & ANIMATIONS
   ========================================================================== */
#projector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1 !important; 
    background-color: #f5f5f7 !important; /* Base Apple Grey */
    pointer-events: none;
}

.ind-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f8f8;
    color: var(--brand-red);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--brand-red);
}

.btn-primary, .btn-secondary {
    padding: 16px 35px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary { background-color: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.btn-primary:hover { background-color: #000; border-color: #000; transform: translateY(-3px); }

.btn-secondary { border-color: #000; color: #000; }
.btn-secondary:hover { background-color: #000; color: #fff; transform: translateY(-3px); }

/* --- Standard Reveals --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98); /* Smoothed Apple style */
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden; 
}
.reveal.slide-right { transform: translateX(100px); }
.reveal.slide-left { transform: translateX(-100px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1); 
    visibility: visible;
}

.delay-1 { transition-delay: 0.5s; }
.delay-2 { transition-delay: 0.7s; }
.delay-3 { transition-delay: 0.9s; }
.delay-4 { transition-delay: 1.1s; }

.pulse-letter { display: inline-block; margin-left: 5px; transform-origin: center; }
.reveal.active .pulse-letter { animation: wordPulse 2.5s ease-in-out infinite; }

@keyframes wordPulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 0px rgba(211, 47, 47, 0); }
    50% { transform: scale(1.08); text-shadow: 0 0 20px rgba(211, 47, 47, 0.3); color: #ff1a1a; }
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
body header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 2000px;
    width: 100%;
    height: 100px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed !important; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
}

.logo, .supplier-logo { height: 100%; display: flex; align-items: center; z-index: 1002; }
.logo img { height: 70px; width: auto; object-fit: contain; }
.principal-row { display: flex; flex-direction: row; align-items: center; gap: 20px; }
.principal-row img { height: 50px; width: auto; object-fit: contain; }

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 1001;
}

nav ul { display: flex; flex-direction: row; gap: 40px; list-style: none; margin: 0; padding: 0; }
nav li { display: inline-flex; flex-direction: column; align-items: center; }
nav li::after { display: block; content: attr(data-text); font-weight: bold; height: 0; overflow: hidden; visibility: hidden; }

nav a, nav .active span, nav span.active { text-decoration: none; font-size: 16px; white-space: nowrap; color: #000; transition: color 0.3s ease; }
nav .active, nav span.active { color: var(--brand-red); font-weight: bold; }
nav a:hover { color: var(--brand-red); }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 2001; padding: 10px; }
.bar { width: 25px; height: 2px; background-color: #333; margin: 4px 0; transition: 0.4s; }

/* --- NAVIGATION DROPDOWN (APPLE GLASS) --- */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    list-style: none; padding: 8px 0; min-width: 260px; opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; z-index: 2000;
}

.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li { display: block; width: 100%; padding: 0; }
.dropdown-menu li::after { display: none; } 
.dropdown-menu a {
    display: flex; align-items: center; justify-content: center; padding: 8px 24px; 
    font-size: 13px; font-weight: 700; color: #1d1d1f !important; text-transform: uppercase; 
    letter-spacing: 0.5px; text-decoration: none; transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover { background: rgba(211, 47, 47, 0.05); color: var(--brand-red) !important; }
.dropdown-flag { width: 20px; height: 14px; object-fit: cover; margin-right: 10px; border-radius: 2px; }

/* ==========================================================================
   4. HERO SECTION 
   ========================================================================== */
   .hero { 
    position: relative; 
    width: 100%; 
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    background: transparent; 
    margin-top: -100px; /* Pulls the background image to the very top edge of the screen */
    padding-top: 100px; /* Pushes the text safely below the header so it remains readable */
}

   /* The right-aligned image that fades out on the left */
    .hero-bg-image { 
        position: absolute; 
        top: 0; right: 0; 
        width: 65%; height: 100%; 
        opacity: 1; /* FIXED: Made completely solid! */
        z-index: 1; 
        mask-image: linear-gradient(to left, black 30%, transparent 100%); /* Fades out smoothly to the left */
        -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%); 
    }
   .hero-bg-image img { width: 100%; height: 100%; object-fit: cover; }
   
   .hero-container { position: relative; z-index: 10; max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 40px; display: flex; align-items: center; }
   .hero-text { max-width: 750px; padding-top: 50px; }
   
   .hero-text h1 { 
       margin-top: 0; 
       font-size: clamp(2.8rem, 6vw, 4.5rem); 
       font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; 
       color: var(--text-dark); 
       line-height: 1.05; 
       margin-bottom: 25px; 
       font-weight: 700; 
       letter-spacing: -0.02em; 
   }
   .hero-text h1 span { color: var(--brand-red); }
   .hero-text p { font-size: 1.15rem; line-height: 1.7; color: #515154; max-width: 650px; margin-top: 20px; margin-bottom: 35px; font-weight: 500; }
   
   .hero-specialties-table { border-collapse: collapse; margin: 30px 0 45px 0; width: auto; }
   .hero-specialties-table td { padding-bottom: 20px; vertical-align: top; font-size: 1.1rem; line-height: 1.4; color: #1d1d1f; }
   .bullet-cell { width: 25px; padding-top: 6px; }
   .bullet-cell::before { content: ""; display: block; width: 8px; height: 8px; background-color: var(--brand-red); border-radius: 50%; }
   .spec-header { width: 220px; padding-right: 20px; font-weight: 700; white-space: nowrap; }
   .spec-desc { color: #515154; max-width: 400px; font-weight: 500; }
   .hero-btns { display: flex; gap: 20px; margin-top: 40px; }

/* ==========================================================================
   5. WHY CHOOSE US
   ========================================================================== */
   .why-choose-us { padding: 120px 0; background-color: transparent; width: 100%; position: relative; z-index: 10; }
   .why-choose-us .benefits-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; }
   .benefits-header { width: 100%; text-align: center; margin-bottom: 80px; }
   .benefits-header h2 { font-size: 42px; font-weight: 500; margin-top: 20px; color: #1d1d1f; letter-spacing: -0.02em; }
   .benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; width: 100%; }
   
   .benefit-card.apple-style { 
       position: relative; height: 450px; border-radius: 24px; overflow: hidden; background: #ffffff; 
       border: 1px solid rgba(0,0,0,0.05); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
       transition: transform 0.4s ease, box-shadow 0.4s ease; 
   }
   .benefit-card.apple-style:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
   
   .card-bg { position: absolute; inset: 0; z-index: 1; }
   .card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
   .benefit-card.apple-style:hover .card-bg img { transform: scale(1.08); }
   
   /* Small Title Pill (Visible normally) */
   .card-title-pill { 
       position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); 
       background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
       padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; color: #1d1d1f; 
       z-index: 5; transition: opacity 0.4s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
       white-space: nowrap; border: 1px solid rgba(255,255,255,0.5); 
   }
   .benefit-card.apple-style:hover .card-title-pill { opacity: 0; }
   
   /* Frosted Glass Overlay (Visible on Hover) */
   .card-glass-hover { 
       position: absolute; inset: 0; background: rgba(255, 255, 255, 0.75); 
       backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 10; 
       display: flex; flex-direction: column; align-items: center; justify-content: center; 
       padding: 40px; text-align: center; opacity: 0; transition: opacity 0.5s ease; 
   }
   .benefit-card.apple-style:hover .card-glass-hover { opacity: 1; }
   
   /* Small Centered Icon */
   .card-glass-hover .benefit-icon { width: 60px; height: 60px; color: var(--brand-red); margin-bottom: 25px; filter: drop-shadow(0 4px 10px rgba(211, 47, 47, 0.2)); }
   .card-glass-hover h3 { font-size: 24px; font-weight: 800; color: #1d1d1f; margin: 0 0 15px 0; letter-spacing: -0.01em; }
   .card-glass-hover p { font-size: 15px; font-weight: 500; color: #515154; line-height: 1.6; margin: 0; }

   /* ==========================================================================
   MINIMALIST WHY CHOOSE US (BORDERLESS GRID)
   ========================================================================== */
.clean-edge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
    gap: 60px 80px; /* Large spacing for a clean, breathable look */
}

.clean-edge-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.clean-edge-icon {
    width: 45px;
    height: 45px;
    color: var(--brand-red);
    margin-bottom: 25px;
}

.clean-edge-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 15px 0;
    letter-spacing: -0.01em;
}

.clean-edge-item p {
    font-size: 16px;
    font-weight: 400;
    color: #515154;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .clean-edge-grid {
        grid-template-columns: 1fr; /* Stacks to a single column on mobile */
        gap: 50px;
    }
}

/* ==========================================================================
   6. VALUE PROPOSITION 
   ========================================================================== */
   .benefits { padding: 100px 0 120px 0; background-color: transparent; position: relative; z-index: 10; }
   .benefits-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
   
   /* The Glass Card Container */
   .value-card {
       position: relative;
       height: 420px; /* CRITICAL: Forces all cards to be the exact same size */
       background: rgba(255, 255, 255, 0.4) !important; /* Soft transparent glass */
       backdrop-filter: blur(15px);
       -webkit-backdrop-filter: blur(15px);
       border: 1px solid rgba(255, 255, 255, 0.8);
       border-radius: 24px;
       overflow: hidden; /* CRITICAL: Prevents images from spilling out and hides the text! */
       cursor: pointer;
       box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
       transition: transform 0.4s ease, box-shadow 0.4s ease;
   }
   
   .value-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 20px 50px rgba(211, 47, 47, 0.15);
       border-color: rgba(211, 47, 47, 0.3);
   }
   
   /* The Large Transparent Floating Image */
   .value-pic {
       position: absolute;
       top: 0; left: 0;
       width: 100%;
       height: 100%;
       display: flex;
       align-items: center;
       justify-content: center;
       padding: 50px; /* Padding keeps the image from touching the edges */
       box-sizing: border-box;
       transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
       z-index: 1;
   }
   
   .value-pic img {
       width: 100%;
       height: 100%;
       object-fit: contain; /* Keeps image perfectly proportioned */
       mix-blend-mode: multiply; /* MAGIC FIX: Makes solid white backgrounds on your images instantly disappear! */
       filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); /* Adds depth */
   }
   
   /* Move the image up smoothly on hover to make room for text */
   .value-card:hover .value-pic {
       transform: scale(1.05) translateY(-40px); 
   }
   
   /* The Frosted Glass Content that Slides Up */
   .glass-content {
       position: absolute;
       bottom: 0; left: 0;
       width: 100%;
       background: rgba(255, 255, 255, 0.85); /* Solid frosted glass so text is easy to read */
       backdrop-filter: blur(20px) saturate(150%);
       -webkit-backdrop-filter: blur(20px) saturate(150%);
       border-top: 1px solid rgba(255, 255, 255, 0.9);
       padding: 35px 30px;
       box-sizing: border-box;
       transform: translateY(101%); /* Hidden completely below the card initially */
       transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
       z-index: 10;
       text-align: center;
   }
   
   /* Triggers the slide-up animation on hover */
   .value-card:hover .glass-content {
       transform: translateY(0); 
   }
   
   /* Slide-up Typography */
   .glass-content h3 {
       font-size: 22px;
       font-weight: 700;
       color: #1d1d1f;
       margin: 0 0 12px 0;
   }
   
   .glass-content p {
       font-size: 15px;
       color: #515154;
       line-height: 1.6;
       margin: 0;
       font-weight: 500;
   }
/* ==========================================================================
   7. GLOBAL PRINCIPALS HUB 
   ========================================================================== */
.principals-hub {
    position: relative;
    z-index: 10;
    padding: 0 0 100px 0; 
    margin-top: -10px; 
    min-height: 70vh;
    display: block; 
}

.principals-container { max-width: 2000px; margin: 0 auto; padding: 0 20px; }
.principals-header { text-align: center; margin-bottom: 70px; }

/* --- CINEMATIC REVEAL ANIMATIONS --- */
.cinematic-rise {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(4px);
    display: inline-block; 
    animation: cinematicRiseAnim 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; 
}
@keyframes cinematicRiseAnim { 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }

.principals-header h2, .industry-hero h2 { 
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 56px; 
    font-weight: 600; 
    letter-spacing: 1px; 
    color: #1d1d1f; 
    margin: 15px 0 20px 0;
}

.fade-in-front {
    opacity: 0;
    transform: scale(0.95); 
    display: block;
    margin: 10px auto 0 auto;
    color: #515154;
    font-size: 20px; 
    font-weight: 400;
    animation: fadeFrontAnim 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes fadeFrontAnim { 100% { opacity: 1; transform: scale(1); } }

.principal-link { text-decoration: none !important; color: inherit; display: block; }
.principals-grid { display: flex; justify-content: center; gap: 40px; margin-top: 40px; }

/* FROSTED GLASS CARDS */
.principal-box, .waas-card {
    flex: 1; max-width: 500px; 
    background: rgba(255, 255, 255, 0.4) !important; 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6); 
    border-radius: 24px; 
    padding: 50px 30px;
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative; 
    overflow: hidden; 
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, background 0.4s ease;
}
.principal-box:hover, .waas-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }

/* --- CUSTOM FROSTED GLOWS --- */
.hover-manvia:hover { background: rgba(211, 47, 47, 0.12) !important; box-shadow: 0 20px 50px rgba(211, 47, 47, 0.1) !important; border-color: rgba(211, 47, 47, 0.2) !important; }
.hover-waas:hover { background: rgba(0, 113, 227, 0.12) !important; box-shadow: 0 20px 50px rgba(0, 113, 227, 0.1) !important; border-color: rgba(0, 113, 227, 0.2) !important; }
.hover-zuno:hover { background: rgba(52, 199, 89, 0.12) !important; box-shadow: 0 20px 50px rgba(52, 199, 89, 0.1) !important; border-color: rgba(52, 199, 89, 0.2) !important; }

.principal-logo-wrap { height: 100px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.principal-logo-wrap img { max-height: 100%; max-width: 85%; }

.principal-country { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 15px auto 20px auto; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dark); }
.principal-country img { width: 40px; height: auto; border-radius: 2px; border: none; box-shadow: none; }
.principal-box p { line-height: 1.6; color: #86868b; font-size: 15px; font-weight: 500; margin: 0 auto; max-width: 90%; }

/* Add this right below your existing .delay-1, .delay-2, .delay-3 classes in the UTILITIES section */
.delay-1s { transition-delay: 1s; }
.delay-2s { transition-delay: 2s; }

/* ==========================================================================
   RESTORED HANDSHAKE BANNER (UNCROPPED & EDGE-TO-EDGE)
   ========================================================================== */
.handshake-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; 
    z-index: 10;
}

.handshake-banner img {
    width: 100%;
    height: auto; /* Allows the image to scale naturally without any cropping */
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.08)); 
}

/* ==========================================================================
   8. INDUSTRIES PAGE (INTEGRATED)
   ========================================================================== */
.industry-hero { position: relative; z-index: 10; padding: 0 0 60px 0; margin-top: 20px; text-align: center; display: block; }
.industry-header-text { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.industry-header-text .ind-tag { background: transparent !important; padding: 0 0 0 12px !important; margin-bottom: 15px !important; font-size: 12px; }
.industry-hero h2 { font-size: 42px; font-weight: 700; letter-spacing: 0px; }

.industry-grid-section { padding-bottom: 120px; position: relative; z-index: 10; }
.industry-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.industry-card {
    width: calc((100% - 80px) / 3); 
    background: #ffffff !important; 
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    text-decoration: none !important; color: inherit; box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); cursor: pointer; width: 100%;
}
.industry-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important; border-color: rgba(211, 47, 47, 0.3) !important; }

.ind-image { height: 260px; width: 100%; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 30px; box-sizing: border-box; }
.ind-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.industry-card:hover .ind-image img { transform: scale(1.05); }

.ind-content { padding: 0 35px 35px 35px; flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: #ffffff; }
.ind-content h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px 0; color: #1d1d1f; letter-spacing: -0.01em; }
.ind-content p { color: #515154; line-height: 1.6; margin: 0 0 25px 0; font-size: 14px; font-weight: 500; flex-grow: 1; }
.ind-content .ind-tag { background: transparent !important; padding: 0 0 0 12px !important; margin: 0; border-left: 3px solid var(--brand-red) !important; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--brand-red); text-transform: uppercase; }

/* ==========================================================================
   9. GLOBAL FOOTER
   ========================================================================== */
.apple-footer {
    position: relative; z-index: 10; background-color: #f5f5f7; padding: 60px 20px;
    border-top: 1px solid #d2d2d7; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-logo { height: 100px; margin-bottom: 15px; }
.footer-label { font-size: 12px; font-weight: 600; color: #1d1d1f; margin-bottom: 15px; display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { font-size: 12px; color: #424245; margin-bottom: 10px; }
.footer-links a { color: #424245; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #000; }
.footer-toggle { display: none; }
.copyright-text { font-size: 12px; color: #86868b; margin-top: 20px; }
.mobile-only { display: none; }

/* ==========================================================================
   10. CONTACT PAGE AESTHETICS 
   ========================================================================== */
.contact-main { position: relative; z-index: 10; padding-bottom: 100px; }
.contact-container { max-width: 1100px; margin: 0 auto; padding: 60px 40px; }
.contact-hero-image { text-align: center; margin-bottom: 20px; }
.contact-hero-image img { max-width: 480px; height: auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .ind-tag { background: transparent; padding-left: 10px; padding-right: 0; margin-bottom: 10px; }
.section-header h2 { font-size: 46px; font-weight: 800; color: #1d1d1f; margin: 10px 0; text-transform: uppercase; letter-spacing: -0.02em; }
.section-header p { color: #515154; font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }

.clean-form-box, .swas-form-box { 
    background: rgba(255, 255, 255, 0.75) !important; backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); 
}
.clean-input, .swas-form input, .swas-form select, .swas-form textarea { 
    background: rgba(255, 255, 255, 0.6) !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; border-radius: 6px; 
    padding: 16px 20px; font-size: 13px; color: #1d1d1f; transition: all 0.3s ease; width: 100%; box-sizing: border-box; margin-bottom: 15px; 
}
.clean-input:focus, .swas-form input:focus, .swas-form select:focus, .swas-form textarea:focus { border-color: var(--brand-red) !important; outline: none; box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1); }
.pdpa-group { display: flex; align-items: center; gap: 10px; margin-top: 10px; margin-bottom: 20px; }
.pdpa-group input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }
.pdpa-text { font-size: 11px; color: #888; }
.clean-submit-btn { background: #e0e0e0; color: #888; border-radius: 50px; padding: 16px; font-size: 13px; font-weight: 700; border: none; transition: all 0.2s; text-transform: uppercase; letter-spacing: 1px; width: 100%; margin-top: 10px; cursor: not-allowed; }
.clean-submit-btn.active-btn { background: var(--brand-red); color: white; cursor: pointer; }
.clean-submit-btn.active-btn:hover { background: #000; }

.info-card { margin-bottom: 35px; }
.info-card h4 { color: var(--brand-red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.info-card p { color: #1d1d1f; font-size: 14px; line-height: 1.6; margin: 0; }
.map-box { background: rgba(248, 248, 248, 0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; height: 250px; display: flex; align-items: center; justify-content: center; color: #86868b; font-size: 12px; overflow: hidden; }

/* ==========================================================================
   11. SERVICES PAGE (INTEGRATED)
   ========================================================================== */
.services-main {
    position: relative;
    z-index: 10;
    padding-top: 20px; 
}

.waas-utility-section, 
.service-row {
    width: 100%;
    background-color: transparent !important; /* Lets ambient canvas show */
    border: none !important;
    margin: 0;
    padding: 100px 0;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* WaaS Hero */
.services-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
}

@keyframes appleFadeIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-text {
    display: block;
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 25px;
    opacity: 0;
    animation: appleFadeIn 1.2s ease-out forwards;
}

.brand-badge {
    max-width: 100%;
    height: 200px;
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}

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

/* WaaS Glass Cards (Shared styling with Principal Box) */
.waas-card {
    padding: 40px 30px !important; 
    text-align: left;
}

.waas-card .card-number {
    font-size: 56px !important;     
    font-weight: 600 !important;    
    color: #1d1d1f !important;      
    margin-bottom: 10px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important; 
    display: inline-block !important;
    transform: scaleY(1.3) !important;
    transform-origin: bottom left !important;
}

.waas-card .card-number::first-letter { color: #D32F2F !important; }

.waas-card h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px !important;
}

.waas-card p {
    font-size: 16px !important;
    color: #515154 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.waas-card h3 .red-cap { color: #D32F2F !important; }

/* Service Product Rows */
.row-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.row-flex.reverse { flex-direction: row-reverse; }
.row-image, .row-text { flex: 1; }

.row-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.1));
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.service-tag {
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;         
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid #d70707;
    padding: 6px 16px;
    border-radius: 50px;
}

.row-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.row-text h4 { font-size: 1.15rem; font-weight: 500; line-height: 1.6; color: #000000; margin-bottom: 20px; }
.row-text p { font-size: 1.15rem; line-height: 1.6; color: #424245; margin-bottom: 20px; }

.row-list li {
    font-size: 1.1rem;
    color: #424245;
    padding: 12px 0;
    display: flex;
    align-items: center;
}
.row-list li::before { content: "✓"; color: #d70707; font-weight: bold; margin-right: 15px; font-size: 1.5rem; }

.waas-grid.reveal.active { transition-delay: 0.8s; }
.service-row .row-image.reveal.active { transition-delay: 0.3s; }
.service-row .row-text.reveal.active { transition-delay: 0.6s; }

.large-img-row { display: flex; align-items: center; gap: 40px; }
.large-img-row .row-image { flex: 1.6; }
.large-img-row .row-text { flex: 1; }

@media (min-width: 1200px) {
    .row-flex:not(.reverse) .row-image { margin-left: -60px; }
    .row-flex.reverse .row-image { margin-right: -60px; }
}

/* ==========================================================================
   12. INDIVIDUAL PRODUCT PAGE AESTHETICS
   ========================================================================== */
.product-hero { position: sticky; top: 100px; z-index: 900; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05); padding: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.product-brand-logo { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.product-brand-logo .main-logo { height: 100px !important; width: auto; margin: 15px 0; }
.product-nav-thumbnails { display: flex; gap: 20px; overflow-x: auto; align-items: flex-end; -ms-overflow-style: none; scrollbar-width: none; padding-top: 35px; padding-bottom: 15px; }
.product-nav-thumbnails::-webkit-scrollbar { display: none; }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #515154; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; min-width: 80px; }
.nav-item img { height: 100px !important; width: auto; margin-bottom: 8px; opacity: 0.7; transform-origin: bottom center; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.nav-item:hover { color: var(--brand-red); }
.nav-item:hover img { opacity: 1; transform: translateY(-12px) scale(1.25); }

.product-row { padding: 100px 0; border-bottom: 1px solid rgba(0,0,0,0.05); background: transparent; scroll-margin-top: 240px; }
.product-row .product-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 80px; }
.product-row.reverse .product-container { flex-direction: row-reverse; }
.product-info { flex: 1.1; }
.product-visual { flex: 0.9; text-align: center; display: flex; justify-content: center; align-items: center; }
.product-visual img { max-width: 100%; height: auto; max-height: 600px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08)); }

.product-info .ind-tag { background: transparent; padding-left: 10px; padding-top: 0; padding-bottom: 0; margin-bottom: 15px; font-size: 12px; }
.product-info h3 { font-size: 42px; font-weight: 800; color: #1d1d1f; margin: 0 0 20px 0; letter-spacing: -0.01em; line-height: 1.2; }
.product-info p { font-size: 17px; line-height: 1.7; color: #444; margin-bottom: 30px; }
.product-features p strong { font-size: 16px; color: #1d1d1f; display: block; margin-bottom: 12px; }
.product-features ul { list-style: none; padding: 0; margin: 0 0 35px 0; }
.product-features li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: #800000; }
.product-features li::before { content: "■"; position: absolute; left: 0; top: 2px; color: #FF0000; font-size: 10px; }

/* Custom SWAS Section */
.custom-swas { padding: 100px 0; background-color: transparent; }
.custom-swas .product-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.swas-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; color: #1d1d1f; }
.swas-content p { font-size: 16px; line-height: 1.6; color: #515154; margin-bottom: 30px; }
.swas-checklist { list-style: none; padding: 0; }
.swas-checklist li { position: relative; padding-left: 25px; margin-bottom: 15px; font-weight: 600; color: #1d1d1f; }
.swas-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-red); font-weight: bold; }

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1400px) {
    header { padding: 0 20px; height: 80px; }
    body, html:root { padding-top: 80px; } 
    .menu-toggle { display: flex; }
    .supplier-logo { display: none; }
    
    body header { top: 0; left: 0; width: 100%; height: 80px; }
    nav {
        position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); 
        background: white; transform: translateX(100%); transition: transform 0.4s ease;
        display: block !important; padding: 60px 0; z-index: 2000;
    }
    nav.show { transform: translateX(0); }
    nav ul { flex-direction: column; gap: 30px; }
    .product-hero { top: 80px; }
}

@media (max-width: 1024px) {
    .principals-grid { display: block !important; }
    .principal-box { margin-bottom: 30px; max-width: 100%; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .benefits-grid, .principals-grid, .contact-grid { grid-template-columns: 1fr; display: block; }
    .benefit-card, .principal-box, .clean-form-box { margin-bottom: 40px; width: 100%; box-sizing: border-box;}
    .industry-grid { grid-template-columns: 1fr; }

    .product-brand-logo { flex-direction: column; gap: 20px; }
    .product-row .product-container, .product-row.reverse .product-container { flex-direction: column !important; gap: 40px; text-align: center; }
    .product-visual { order: 1; width: 100%; }
    .product-info { order: 2; width: 100%; }
    .custom-swas .product-container { grid-template-columns: 1fr; flex-direction: column !important; }
    .hero-bg-image { width: 100%; opacity: 0.1; mask-image: none; -webkit-mask-image: none; }
}

@media (max-width: 900px) {
    .row-flex, .row-flex.reverse, .large-img-row { flex-direction: column !important; gap: 50px; text-align: center; }
    .row-text h2 { font-size: 2.2rem; }
    .row-list li { justify-content: center; }
    .large-img-row .row-image img { transform: scale(1); margin-left: 0; margin-right: 0; }
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 0; }
    .footer-col { border-bottom: 1px solid #d2d2d7; padding: 15px 0; }
    .logo-col { border-bottom: none; }
    .footer-label { margin-bottom: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .footer-label::after { content: '+'; font-size: 16px; transition: transform 0.3s ease; }
    .footer-links { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; }
    .footer-toggle:checked ~ .footer-links { max-height: 200px; padding-top: 15px; }
    .footer-toggle:checked ~ .footer-label::after { transform: rotate(45deg); }
    .desktop-only { display: none; }
    .mobile-only { display: block; text-align: left; padding-top: 30px; border-top: none; }
    
    .principals-header h2, .industry-hero h2 { font-size: 32px; letter-spacing: 1px; }
    .fade-in-front { font-size: 16px; padding: 0 15px; }
    
    .services-main { padding-top: 50px; }
    .brand-badge { height: 120px; }
    .services-section-header h2 { font-size: 1.8rem; }
    .intro-text { font-size: 18px; }
}

@media (min-width: 601px) and (max-width: 992px) {
    .benefits-header { display: grid !important; grid-template-columns: 1fr 1fr; align-items: end; text-align: left !important; gap: 20px; padding: 0 40px; margin-bottom: 60px; }
    .benefits-header .ind-tag { grid-column: span 2; width: fit-content; }
    .benefits-header h2 { margin: 0; padding-right: 20px; font-size: 32px; }
}

@media (max-width: 600px) {
    .section-header h2 { font-size: 32px; }
    .benefits-container, .services-container { padding: 0 20px; display: flex; flex-direction: column; gap: 20px; }
}

/* ==========================================================================
   WAAS PRODUCT PAGE OVERRIDES & EFFECTS
   ========================================================================== */

/* 1. Integrated WaaS Logo Styling */
.origin-waas-logo {
    height: 120px; /* Size of the logo */
    width: auto;
    display: block;
    margin-bottom: 30px; /* Spacing between the logo and the Corporate Heritage tag */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05)); /* Subtle depth */
}

/* 2. Ekopak HQ Right-Aligned Fade Effect */
.origin-section {
    position: relative;
    width: 100%;
    min-height: 80vh; 
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
    margin-top: -100px; /* CRITICAL: This negative margin pulls the image up behind the header */
    padding: 180px 0 60px 0; /* Adjusted slightly to give the WaaS logo perfect breathing room */
}

.origin-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%; /* Covers the right side, starting near the middle */
    height: 100%;
    z-index: 1;
    /* Fades the image out smoothly from right to left */
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.origin-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Anchors the building to the right edge */
}

.origin-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.origin-text {
    max-width: 600px; /* Keeps the text safely on the left side */
}

/* ==========================================================================
   GLOBAL PRESENCE (OFFICES) SECTION
   ========================================================================== */
   .country-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Splits the countries into two neat columns */
    gap: 15px 30px;
}

.country-list li {
    font-size: 18px;
    font-weight: 700;
    color: #003399; /* Matches the deep blue from the reference image */
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 15px;
}

/* Adds a small aesthetic dot before each country */
.country-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--brand-red);
    border-radius: 50%;
}

/* Responsive Stacking */
@media (max-width: 992px) {
    .global-presence-section .product-container {
        flex-direction: column !important;
        text-align: center;
    }
    .country-list {
        text-align: left; /* Keeps the list readable when stacked */
        max-width: 400px;
        margin: 0 auto 40px auto !important;
    }
    .stock-ticker {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    .world-map-visual {
        text-align: center !important;
        margin-top: 40px;
    }
}

/* ==========================================================================
   GLOBAL PRESENCE - RECESSED SHADOW & APPLE BLACK OVERRIDES
   ========================================================================== */

/* Overrides the previous blue color for an Apple dark aesthetic */
.country-list.apple-dark li {
    color: #1d1d1f !important;
}

/* Creates the optical illusion that the section is pushed inward (recessed) */
.recessed-shadow {
    box-shadow: inset 0px 20px 20px -20px rgba(0,0,0,0.12), 
                inset 0px -20px 20px -20px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ==========================================================================
   WAAS EFFLUENT RECLAMATION DIAGRAM (SECTION 2.5)
   ========================================================================== */
   .process-diagram-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Slightly wider to accommodate the full diagram */
    margin: 0 auto;
    padding-top: 40px; /* Creates breathing room for the top headers */
}

.process-base-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.05)); /* Adds slight depth to the transparent icons */
}

/* Base class for all floating labels */
.p-lbl {
    position: absolute;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-size: clamp(10px, 1.2vw, 15px);
    font-weight: 600;
    color: #515154;
    white-space: nowrap;
    transform: translate(-50%, -50%); /* Centers the text perfectly on its coordinate */
    z-index: 5;
}

/* The 3 large column headers */
.p-lbl.header-lbl {
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 800;
    color: #003399; /* WaaS Blue */
}

/* The label on the pipe */
.p-lbl.white-text {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Legend Styling */
.p-legend {
    position: absolute;
    text-align: left;
    font-size: clamp(10px, 1vw, 13px);
    color: #515154;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.legend-item .box {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 3px;
}

.legend-item .box.gray { background-color: #9d9d9c; }
.legend-item .box.blue { background-color: #003399; }

/* Hide the mobile text on Desktop */
.mobile-process-text { display: none; }

/* --- MOBILE FALLBACK --- */
@media (max-width: 768px) {
    .desktop-labels { display: none; } /* Hides floating labels on small screens so they don't crash */
    .process-diagram-wrapper { padding-top: 0; margin-bottom: 30px; }
    
    .mobile-process-text {
        display: block;
        text-align: left;
        background: #ffffff;
        padding: 30px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid rgba(0,0,0,0.05);
        margin-top: 20px;
    }
    .mobile-process-text h4 { color: #003399; font-size: 18px; margin-bottom: 10px; font-weight: 800; }
    .mobile-process-text ul { padding-left: 20px; color: #515154; font-size: 15px; margin-bottom: 25px; line-height: 1.6; }
}