/* ==========================================================================
   1. BRAND VARIABLES & CORE SETUP
   ========================================================================== */
:root {
    /* Primary Colors from Logo */
    --cs-blue: #0062AF;      /* Trust & Stability */
    --cs-orange: #F16522;    /* Innovation & Energy */
    
    /* UI Tones */
    --cs-light-bg: #F8F9FA;
    --cs-white: #FFFFFF;
    --cs-text-dark: #212529;
    --cs-text-muted: #6c757d;
    
    /* Effects */
    --cs-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --cs-shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --cs-transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: var(--cs-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--cs-white);
}

/* ==========================================================================
   2. TOP BAR & NAVIGATION (UPDATED)
   ========================================================================== */

/* Navbar Logo responsive height */
.navbar-logo {
    height: 55px;
    width: auto;
    transition: var(--cs-transition);
}

/* Navbar Link Styling */
.navbar-nav .nav-link {
    color: var(--cs-text-dark) !important;
    transition: var(--cs-transition);
    position: relative;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--cs-orange) !important;
}

/* Desktop Underline Effect */
@media (min-width: 992px) {
    .navbar-nav .nav-link::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: var(--cs-orange);
        transition: width .3s;
        position: absolute;
        bottom: 5px;
        left: 1rem;
    }
    .navbar-nav .nav-link:hover::after {
        width: calc(100% - 2rem);
    }
}

/* Apply Here Button Customization */
.btn-apply {
    background-color: var(--cs-orange) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 10px 25px !important;
    transition: var(--cs-transition) !important;
}

.btn-apply:hover {
    background-color: #d6551b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 101, 34, 0.4) !important;
}

/* ==========================================================================
   MOBILE-SPECIFIC OVERRIDES & INFO SECTION
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Logo scaling for mobile */
    .navbar-logo {
        height: 45px;
    }

    /* Mobile Dropdown Styling */
    .navbar-collapse {
        background-color: var(--cs-white);
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--cs-shadow-md);
    }

    /* Mobile Contact Info Styling */
    .text-orange {
        color: var(--cs-orange) !important;
    }

    .text-blue i {
        color: var(--cs-blue);
        transition: var(--cs-transition);
    }

    .text-blue i:hover {
        color: var(--cs-orange);
    }

    /* Menu Item Spacing */
    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    /* Full-width Apply Button on Mobile */
    .btn-apply {
        margin: 15px 0;
        width: 100%;
    }
}

/* ==========================================================================
   3. HERO & PARALLAX SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Basic Parallax */
    display: flex;
    align-items: center;
    color: white;
}

/* Dark overlay to make text readable on any image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 98, 175, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   4. UPDATED PROFESSIONAL FOOTER STYLING
   ========================================================================== */

.footer-section {
    background-color: #1a1a1a; /* Deep Charcoal from reference image */
    border-top: 4px solid var(--cs-orange);
    color: #ffffff;
}

/* Decorative Title Underlines */
.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
    color: #ffffff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--cs-orange);
    /* Soft glow effect for the line */
    box-shadow: 0 0 10px rgba(241, 101, 34, 0.5);
}

/* Link List Styling */
.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--cs-orange) !important;
    transform: translateX(8px); /* The slide effect from your reference */
}

.footer-links a:hover i {
    transform: scale(1.2);
}

/* Social Media Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--cs-orange);
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Info Blocks */
.footer-contact-block i {
    width: 25px;
    font-size: 1.1rem;
    /* Aligns icons with the Madhura Nagar address text */
}

/* ==========================================================================
   INTEGRATED FOOTER BOTTOM DESIGN (NO BLACK BOX)
   ========================================================================== */

/* Full-width clean separator line */
.footer-bottom-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1); /* Subtle white line */
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-legal-links {
        justify-content: flex-end;
    }
}

.legal-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--cs-orange) !important;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
    font-size: 0.8rem;
}

/* Responsive Handling */
@media (max-width: 767.98px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: none; /* Disables slide on mobile for better tap UX */
    }
    
    .footer-social-links {
        justify-content: center;
    }
}
/* ==========================================================================
   5. UTILITY CLASSES
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.text-orange { color: var(--cs-orange) !important; }
.text-blue { color: var(--cs-blue) !important; }

.cs-card {
    border: none;
    border-radius: 15px;
    background: var(--cs-white);
    box-shadow: var(--cs-shadow-sm);
    transition: var(--cs-transition);
    padding: 30px;
}

.cs-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--cs-shadow-md);
}

/* Icon box styling for services */
.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(241, 101, 34, 0.1);
    color: var(--cs-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

/*============================================================================================================*/

/* ------------------------------ Hero Section & 3D Logo ----------------------------------------- */


.hero-section {
    position: relative;
    padding: 180px 0;
    background-color: #001f3f; /* Deep Navy base fallback */
    background-image: linear-gradient(rgba(0, 98, 175, 0.9), rgba(0, 31, 63, 0.9)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
    min-height: 90vh;
}

.hero-3d-watermark {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%) perspective(1000px) rotateY(-30deg) rotateX(15deg) scale(1.4);
    width: 65%;
    opacity: 0.15; /* Barely visible for premium feel */
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 50px rgba(241, 101, 34, 0.2));
}

.bg-blue { background-color: var(--cs-blue); }
.ls-2 { letter-spacing: 2px; }

/* --- Simple Animations --- */
.animate-fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   3D HORIZONTAL SERVICES SCROLL STYLING
   ========================================================================== */

.services-3d-scroll-wrapper {
    background-color: #001f3f;
    padding: 50px 0;
    position: relative;
}

/* 1. Parallax Background Layer */
.services-scroll-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('../img/hero-bg.jpg'); 
    background-attachment: fixed; /* Creates Parallax Effect */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.services-scroll-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 98, 175, 0.94) 0%, rgba(0, 31, 63, 0.97) 100%);
    z-index: 2;
    text-size-adjust: 50px;
}

/* 2. 3D Viewport & Track Architecture */
/* 2. Enhanced Viewport Architecture - Manual-Auto Hybrid */
.services-3d-viewport {
    perspective: 2000px;
    overflow-x: auto; /* Required for manual scrolling */
    scroll-behavior: smooth; /* Smooth transitions for auto-reset */
    -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
    padding: 60px 80px;
    cursor: grab; /* Shows user they can drag */
}

.services-3d-viewport::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.services-scroll-track {
    display: flex;
    gap: 40px;
    width: max-content;
    padding: 0 50px;
    will-change: transform;
    /* REMOVED: CSS Animation removed to allow JS Control */
}

.services-3d-viewport:active {
    cursor: grabbing;
}

/* REMOVED: @keyframes serviceScroll { ... } */

/* Pause motion when user wants to read a service description */
.services-3d-viewport:hover .services-scroll-track {
    animation-play-state: paused;
}

/* 3. Service Card Design */
.service-scroll-card {
    width: 340px;
    min-height: 220px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icon Box for Services */
.service-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(241, 101, 34, 0.1);
    color: var(--cs-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 15px;
    transition: 0.5s ease;
}

/* 4. Info Reveal Logic (Paragraphs) */
.card-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.card-info p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 5. Hover Lift & 3D Expansion */
.service-scroll-card:hover {
    transform: translateZ(80px) translateY(-10px); /* Lifts card towards user */
    border: 1px solid var(--cs-orange);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.service-scroll-card:hover .card-info {
    max-height: 400px;
    opacity: 1;
}

.service-scroll-card:hover .service-icon-box {
    background: var(--cs-orange);
    color: white;
    transform: rotateY(360deg) scale(0.9);
}

/* Highlighted card (Programming) styling */
.highlighted-card {
    background: linear-gradient(to bottom, #ffffff, #f9fcff);
    border: 1px solid var(--cs-orange);
}

/* 6. Scrolling Animation */
@keyframes serviceScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-380px * 8)); } /* Card width + gap * total cards */
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .services-scroll-bg { background-attachment: scroll; }
    .services-3d-viewport { perspective: none; }
    .service-scroll-card { width: 300px; }
}

/* ==============================
   Arrow Navigation Styling
   ============================== */

.services-navigation-wrapper {
    position: relative;
    overflow: visible;
}

/* Arrow Button Base */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

/* Left & Right Position */
.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

/* Hover Effect */
.scroll-btn:hover {
    background: var(--cs-orange);
    transform: translateY(-50%) scale(1.1);
}

/* Disabled state */
.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
/*=============================================================================================================*/


/* ==========================================================================
   PARALLAX EXPERTISE STYLING
   ========================================================================== */

.expertise-parallax-wrapper {
    background-color: var(--cs-blue); /* Fallback color */
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* 1. Fixed background for the parallax effect */
.expertise-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a high-quality tech image for the parallax background */
    background-image: linear-gradient(rgba(0, 98, 175, 0.8), rgba(0, 31, 63, 0.8)), url('../img/hero-bg.jpg');
    background-attachment: fixed; /* Core Parallax Logic */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/* 2. Glassmorphism content box for readability */
.expertise-content-box {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--cs-transition);
}

.expertise-content-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(241, 101, 34, 0.3); /* Subtle Orange glow */
}

/* 3. Floating Experience Badge with Animation */
.experience-badge-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--cs-orange);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(241, 101, 34, 0.4);
    z-index: 4;
    animation: floatVertical 4s ease-in-out infinite;
    text-align: center;
}

/* 4. 3D Image Shadow for the Logo/Image */
.shadow-parallax {
    box-shadow: 25px 25px 60px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--cs-transition);
}

.shadow-parallax:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

/* 5. Interactive List Items */
.expertise-item {
    transition: transform 0.3s ease, color 0.3s ease;
}

.expertise-item:hover {
    transform: translateX(12px);
    color: var(--cs-orange) !important;
}

/* Animation Keyframes */
@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Fix for mobile parallax)
   ========================================================================== */
@media (max-width: 991px) {
    .expertise-parallax-bg {
        background-attachment: scroll; /* Fixed BG often glitches on mobile browsers */
    }

    .expertise-content-box {
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding: 0 !important;
    }

    .experience-badge-float {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -30px;
        transform: none !important;
        animation: none;
        display: inline-block;
        width: 100%;
    }
}

/*============================================================================================================*/

/* ==========================================================================
   VIDEO SHOWCASE SECTION
   ========================================================================== */

.video-container {
    position: relative;
    /* Custom orange glow to match brand */
    box-shadow: 0 20px 50px rgba(241, 101, 34, 0.15); 
    transition: var(--cs-transition);
    z-index: 1;
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(241, 101, 34, 0.25);
}

/* Glass effect for the video border */
.video-container.border-white {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   EXPANDING PARAGRAPH TECH STACK (UPDATED)
   ========================================================================== */

.tech-parallax-wrapper {
    background-color: #001f3f;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 1. The Fixed Background Layer */
.tech-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.jpg'); 
    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 2. Dark Blue Gradient Overlay */
.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 98, 175, 0.9) 0%, rgba(0, 31, 63, 0.95) 100%);
    z-index: 2;
}

/* 3. The Tech Cards - Added min-height for consistency */
.tech-box {
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 4;
    position: relative;
    overflow: hidden; /* Important for the expanding info */
    min-height: 180px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 4. Default state of the paragraph layer */
.info-layer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.info-layer p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

/* 5. Hover & Expansion Logic */
.tech-box:hover {
    transform: translateY(-15px);
    background-color: #ffffff;
    border-color: var(--cs-orange);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    justify-content: start; /* Moves content up to make room */
    padding-top: 30px !important;
}

/* Reveal the paragraph */
.tech-box:hover .info-layer {
    max-height: 250px; /* Large enough for the text */
    opacity: 1;
}

/* Shrink icon and reset grayscale */
.tech-box i {
    filter: grayscale(0%);
    opacity: 1  ;
    transition: all 0.4s ease;
}

.tech-box:hover i {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(0.8); /* Shrink icons to fit text better */
    margin-bottom: 5px !important;
}

.tech-box:hover h6 {
    color: var(--cs-blue);
}

/* ==========================================================================
   RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 991.98px) {
    .tech-parallax-bg {
        background-attachment: scroll;
    }
    
    .tech-box:hover {
        transform: translateY(-5px); /* Less movement on mobile */
    }

    .info-layer p {
        font-size: 0.8rem;
    }
}
/* ==========================================================================
   MOBILE OPTIMIZATION
   ========================================================================== */
@media (max-width: 991px) {
    .tech-parallax-bg {
        background-attachment: scroll; /* Performance fix for mobile */
    }

    .video-container iframe {
        height: 250px; /* Shorter video height for smaller screens */
    }

    .display-6 {
        font-size: 1.8rem;
    }
}




/* =================================================================================================================
                                                   ABOUT PAGE SPECIFIC STYLING
   ================================================================================================================= */

   /* ==========================================================================
   GLASS-PORTAL ABOUT HEADER STYLING
   ========================================================================== */

.about-hero-portal {
    min-height: 70vh;
    background-color: #001f3f; /* Deep Navy base */
    z-index: 1;
}

/* 1. Portal Mesh & Watermark Layers */
.portal-mesh-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Replace with your hero-bg or a tech-pattern */
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('../img/hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.portal-watermark {
    position: absolute;
    right: -5%;
    top: 10%;
    opacity: 0.05;
    transform: rotate(-15deg);
    z-index: 3;
}

.portal-watermark img {
    height: 400px;
    filter: brightness(0) invert(1);
}

/* 2. Glassmorphism Card Design */
.glass-header-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-radius: 40px !important;
}

/* 3. Text Glow & Typography */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 20px rgba(241, 101, 34, 0.4);
}

.ls-3 { letter-spacing: 3px; }

/* 4. Refined Breadcrumbs */
.custom-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--cs-transition);
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--cs-orange);
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* FontAwesome Chevron Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(241, 101, 34, 0.5);
    padding: 0 15px;
}

/* 5. Geometric SVG Divider */
.portal-bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.portal-bottom-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.portal-bottom-divider .shape-fill {
    fill: #ffffff; /* Matches the next section background */
}

/* 6. Simple Entrance Animations */
.animate-slideUp {
    animation: slideUpFade 1s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 1.2s ease forwards;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .about-hero-portal { min-height: 50vh; }
    .display-3 { font-size: 2.5rem; }
    .portal-mesh-bg { background-attachment: scroll; }
    .portal-watermark { display: none; }
}

/*==============================================================================================================*/


/* ==========================================================================
   INNOVATION FLOW: PARALLAX IDENTITY STYLING
   ========================================================================== */

.identity-parallax-flow {
    background-color: #ffffff;
}

/* 1. Sticky Branding Logic */
.sticky-brand-box {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Adjust based on your navbar height */
    z-index: 10;
}

/* 2. Multi-Layered Image Parallax */
.image-parallax-stack {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 50px;
}

.stack-layer {
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.layer-bg {
    width: 80%;
    height: 80%;
    background: var(--cs-blue);
    opacity: 0.1;
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}

.layer-mid {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.05);
}

.layer-mid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reusing your floating badge with local positioning */
.image-parallax-stack .experience-badge-float {
    position: absolute;
    bottom: -10px;
    right: 0;
    z-index: 5;
}

/* 3. Narrative Segment Styling */
.narrative-scroll-box {
    padding-left: 20px;
}

.narrative-segment {
    position: relative;
    padding-left: 40px;
    transition: opacity 0.5s ease;
}

/* Vertical Progress Line */
.segment-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(0, 98, 175, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.segment-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--cs-orange);
    transition: height 0.8s ease;
}

/* Glow effect when reading (active state) */
.narrative-segment:hover .segment-line::after {
    height: 100%;
}

.narrative-segment:hover h4 {
    color: var(--cs-orange) !important;
    transition: 0.3s;
}

/* 4. Icon Interaction */
.icon-stat-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.icon-stat-item:hover {
    border-color: var(--cs-orange);
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 5. Parallax Background Shapes */
.parallax-shapes .shape {
    position: absolute;
    background: var(--cs-blue);
    opacity: 0.03;
    border-radius: 50%;
    z-index: 1;
}

.s-1 { width: 300px; height: 300px; top: -10%; right: -5%; }
.s-2 { width: 200px; height: 200px; bottom: 10%; left: -5%; }

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .sticky-brand-box {
        position: relative;
        top: 0;
    }
    .image-parallax-stack {
        height: 300px;
        margin-bottom: 40px;
    }
    .narrative-scroll-box {
        padding-left: 0;
    }
}

/* ==========================================================================
   SEQUENTIAL MILESTONE STYLING (UPDATED)
   ========================================================================== */

.milestone-section {
    position: relative;
    padding: 100px 0;
    background-color: #ffffff;
}

/* 1. The Central Progress Backbone */
.milestone-backbone {
    position: absolute;
    left: 50%;
    top: 200px;
    bottom: 100px;
    width: 2px;
    background: rgba(0, 98, 175, 0.1);
    transform: translateX(-50%);
    z-index: 1;
}

.backbone-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0; /* Animated via scroll or hover */
    background: var(--cs-orange);
    box-shadow: 0 0 15px var(--cs-orange);
    transition: height 0.5s ease-out;
}

/* 2. Content Rows and Tiles */
.milestone-row {
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.milestone-content {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(0, 31, 63, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.milestone-content:hover {
    transform: translateY(-10px);
    border-color: var(--cs-orange);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.08);
}

/* 3. Floating Background Numbers */
.m-number {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 31, 63, 0.03);
    top: -30px;
    z-index: -1;
    transition: all 0.5s ease;
}

.text-lg-end .m-number { right: 20px; }
.text-lg-start .m-number { left: 20px; }

.milestone-content:hover .m-number {
    color: rgba(241, 101, 34, 0.08);
    transform: scale(1.1);
}

/* 4. Interactive Center Dots */
.milestone-dot {
    width: 65px;
    height: 65px;
    background: #ffffff;
    border: 2px solid var(--cs-orange);
    color: var(--cs-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
    transition: all 0.5s ease;
}

.milestone-row:hover .milestone-dot {
    background: var(--cs-orange);
    color: #ffffff;
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 20px rgba(241, 101, 34, 0.4);
}

/* 5. Spacing and Utility */
.mb-100 { margin-bottom: 100px; }

/* 6. Responsive Fixes */
@media (max-width: 991.98px) {
    .milestone-backbone {
        display: none;
    }
    .text-lg-end {
        text-align: center !important;
    }
    .milestone-content {
        margin-bottom: 30px;
        text-align: center;
    }
    .m-number {
        font-size: 4rem;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   HEXAGONAL PILLARS: CORE VALUES HUB STYLING
   ========================================================================== */

.values-hub-section {
    background-color: #ffffff;
    padding-bottom: 100px;
}

/* 1. Parallax Watermark */
.values-watermark {
    position: absolute;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 31, 63, 0.02);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 50px;
    z-index: 1;
    pointer-events: none;
}

/* 2. Hexagonal Grid Layout */
.hex-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.hex-item-wrap {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
    transition: all 0.5s ease;
}

/* The Hexagon Shape */
.hex-item {
    width: 250px;
    height: 280px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(0, 98, 175, 0.1);
    position: relative;
    transition: all 0.5s ease;
}

/* 3. Hexagon Content and Hover Effects */
.hex-content {
    z-index: 10;
}

.hex-icon {
    font-size: 40px;
    color: var(--cs-blue);
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.hex-desc {
    font-size: 0.85rem;
    color: #666;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    margin-top: 10px;
}

/* Hover State: The Digital Pulse */
.hex-item-wrap:hover {
    transform: translateY(-15px) scale(1.05);
    z-index: 20;
}

.hex-item-wrap:hover .hex-item {
    background: var(--cs-blue);
    color: #ffffff;
}

.hex-item-wrap:hover .hex-icon {
    color: var(--cs-orange);
    transform: scale(1.2);
}

.hex-item-wrap:hover .hex-desc {
    opacity: 1;
    color: rgba(255,255,255,0.8);
    transform: translateY(0);
}

/* Featured Hex (Innovation) Permanent Glow */
.featured-hex {
    border: 2px solid rgba(241, 101, 34, 0.3);
}

.featured-hex::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(241, 101, 34, 0.1);
}

/* 4. Section Header Line */
.header-line {
    width: 60px;
    height: 3px;
    background: var(--cs-orange);
    margin-top: 15px;
}

/* Responsive Hex Grid */
@media (max-width: 991px) {
    .hex-grid-container {
        gap: 10px;
    }
    .hex-item {
        width: 220px;
        height: 250px;
    }
    .values-watermark {
        font-size: 8rem;
        letter-spacing: 20px;
    }
}



/* ============================================================================================================
                                          SERVICES PAGE SPECIFIC STYLING
   ============================================================================================================ */

/* ==========================================================================
   UPDATED DEEP FOCUS: SERVICES HERO STYLING (FIXED ALIGNMENT)
   ========================================================================== */

.about-hero-portal {
    min-height: 85vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    background-color: #001f3f; /* Deep Navy Base */
}

/* 1. Stacking Control: Background Universe */
.watermark-universe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1 !important; /* Force to bottom layer */
    pointer-events: none; /* Critical: allows clicking through to links */
}

/* 2. Content Wrapper: Foreground */
.hero-content-wrap {
    z-index: 10 !important; /* Force to top layer */
    position: relative;
    width: 100%;
}

/* 3. Glass Pills & Wrappers */
.glass-pill {
    background: rgba(241, 101, 34, 0.15);
    border: 1px solid rgba(241, 101, 34, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(241, 101, 34, 0.1);
}

.breadcrumb-glass-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--cs-transition);
}

/* 4. Enhanced Glass Card centering */
.glass-header-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Ensure it stays centered in its column */
}

/* Inner glow overlay */
.glass-header-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(241, 101, 34, 0.08), transparent 50%);
    pointer-events: none;
}

/* 5. Tech Watermark Items (Z-index correction) */
.wm-code-1, .wm-code-2 {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 2; /* Sits behind text but can be visible */
    animation: floatTech 12s ease-in-out infinite;
}

@keyframes floatTech {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.08; }
}

/* 6. Text Glow Customization */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 30px rgba(241, 101, 34, 0.6);
    font-weight: 800;
}

/* 7. Mobile Refinements */
@media (max-width: 991px) {
    .about-hero-portal { min-height: 70vh; }
    .display-3 { font-size: 2.5rem; }
    .wm-item, .wm-code-1, .wm-code-2 { display: none; } /* Clean view for small screens */
    .glass-header-card { padding: 40px 20px !important; }
}

/* ==========================================================================
   DYNAMIC FEATURE MATRIX: 8-CARD GRID STYLING
   ========================================================================== */

/* 1. The Card Container */
.service-matrix-card {
    background: #ffffff;
    border: 1px solid rgba(0, 98, 175, 0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 2. Icon Box Styling */
.service-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 98, 175, 0.05);
    color: var(--cs-blue);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

/* 3. Tech-Stack Mini Footer */
.tech-stack-mini {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cs-orange);
    background: rgba(241, 101, 34, 0.05);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* 4. Hover Interactions (The Elevation) */
.service-matrix-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--cs-orange);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.1) !important;
    background: #ffffff;
}

.service-matrix-card:hover .service-icon-box {
    background: var(--cs-orange);
    color: #ffffff;
    transform: rotateY(360deg);
}

.service-matrix-card:hover .tech-stack-mini {
    opacity: 1;
    background: var(--cs-orange);
    color: #ffffff;
    transform: translateY(-3px);
}

/* 5. Decorative Background Accent */
.service-matrix-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(0, 98, 175, 0.02);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.service-matrix-card:hover::after {
    background: rgba(241, 101, 34, 0.1);
    transform: scale(3);
}

/* 6. Responsive Adjustments */
@media (max-width: 991px) {
    .service-matrix-card {
        padding: 30px 20px !important;
    }
}

/* ==========================================================================
   PRODUCTION VELOCITY: INFINITE MARQUEE STYLING
   ========================================================================== */

.methodology-velocity {
    background-color: var(--cs-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    position: relative;
}

/* 1. The Container and Track */
.velocity-container {
    display: flex;
    width: max-content;
}

.marquee-track {
    display: flex;
    align-items: center;
    animation: scrollVelocity 40s linear infinite;
}

/* 2. Item & Divider Styling */
.m-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.m-divider {
    color: var(--cs-orange);
    font-size: 1.2rem;
    opacity: 0.6;
}

/* 3. Interactive Hover State */
.methodology-velocity:hover .marquee-track {
    animation-play-state: paused; /* Allows clients to read each step */
}

.m-item:hover {
    color: var(--cs-orange);
    transform: scale(1.1);
    cursor: default;
}

/* 4. Infinite Animation Logic */
@keyframes scrollVelocity {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Halfway through, the second track takes over */
}

/* 5. Edge Fader Overlays (The Glass Mask) */
.marquee-fader {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.fader-left {
    left: 0;
    background: linear-gradient(to right, var(--cs-blue) 0%, transparent 100%);
}

.fader-right {
    right: 0;
    background: linear-gradient(to left, var(--cs-blue) 0%, transparent 100%);
}

/* 6. Responsive Tuning */
@media (max-width: 768px) {
    .m-item { font-size: 0.9rem; padding: 0 20px; }
    .marquee-track { animation-duration: 25s; } /* Faster scroll for mobile attention */
}



/* ============================================================================================================
                                          TRAINING PAGE SPECIFIC STYLING
   ============================================================================================================ */


   /* ==========================================================================
   SKILLS-PORTAL: TRAINING HERO STYLING
   ========================================================================== */

/* 1. Deep Blur Glassmorphism */
.glass-header-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

/* 2. Specialized Training Watermarks */
.wm-code-1, .wm-code-2 {
    position: absolute;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.04);
    z-index: 2;
    animation: floatKnowledge 15s ease-in-out infinite;
    pointer-events: none;
}

/* Position adjustment for Training icons */
.wm-code-1 { top: 20%; left: 15%; animation-delay: 0s; }
.wm-code-2 { bottom: 30%; right: 15%; animation-delay: 4s; }

@keyframes floatKnowledge {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
    50% { transform: translateY(-40px) rotate(15deg); opacity: 0.08; }
}

/* 3. Text & Glow Effects */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 25px rgba(241, 101, 34, 0.6),
                 0 0 50px rgba(241, 101, 34, 0.3);
}

/* 4. Glass Navigation Pill */
.breadcrumb-glass-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 5. Mobile Optimization for Hero */
@media (max-width: 991px) {
    .wm-code-1, .wm-code-2 {
        display: none; /* Keep mobile view clean and fast */
    }
    .display-3 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* ==========================================================================
   PARALLAX TRAINING HUB STYLING
   ========================================================================== */

.parallax-training-hub {
    background: #f8f9fa;
    background-attachment: fixed; /* Fallback for older browsers */
    padding-bottom: 80px; /* add breathing room */
}

/* 1. Ghost Text Layer */
.parallax-bg-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25rem;
    font-weight: 900;
    color: rgba(0, 98, 175, 0.03);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* 2. Floating Card Logic */
.learning-track-card {
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02) !important;
    
    /* ADD THESE THREE LINES */
    min-height: 320px;       /* Gives a consistent base height */
    overflow: visible;       /* Ensures buttons aren't clipped */
    padding-bottom: 2.5rem !important; /* Space for the button */
}

/* Ensure the button is forced to the bottom */
.learning-track-card .btn {
    margin-top: auto !important;
}

.learning-track-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.15) !important;
}

/* 3. Featured Card (CareerBoost) Higher Stacking */
.featured-track {
    border: 1px solid rgba(241, 101, 34, 0.2) !important;
    position: relative;
}

.featured-track::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cs-orange);   
    color: white;
    font-size: 0.7rem;
    padding: 2px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* 4. Background Node Animation */
.parallax-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 98, 175, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
}

/* Mobile: Disable complex parallax for performance */
@media (max-width: 991px) {
    .parallax-bg-text { display: none; }
    .parallax-card { transform: none !important; }
}

/*================================================================================================================*/

/* ==========================================================================
                            METHDOLOGY 
   ========================================================================== */

   /* ==========================================================================
   METHODOLOGY-SYNC: VERTICAL TIMELINE STYLING
   ========================================================================== */

.methodology-sync-section {
    background-color: #ffffff;
    padding-bottom: 100px;
}

/* 1. The Glowing Spine */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 98, 175, 0.1) 0%, 
        var(--cs-orange) 20%, 
        var(--cs-orange) 80%, 
        rgba(0, 98, 175, 0.1) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-spine {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 100%;
    background: rgba(0, 98, 175, 0.03);
    transform: translateX(-50%);
    border-radius: 10px;
}

/* 2. Sync Icon Boxes */
.sync-icon-box {
    width: 60px;
    height: 60px;
    background: var(--cs-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 20px rgba(0, 98, 175, 0.2);
    transition: all 0.4s ease;
}

.bg-orange-light {
    background-color: rgba(241, 101, 34, 0.1) !important;
}

/* 3. Phase Badges */
.phase-badge {
    display: inline-block;
    padding: 3px 15px;
    background: rgba(241, 101, 34, 0.1);
    color: var(--cs-orange);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* 4. Timeline Row Interactions */
.timeline-row {
    transition: all 0.5s ease;
    opacity: 0.9;
}

.timeline-row:hover {
    opacity: 1;
    transform: scale(1.02);
}

.timeline-row:hover .sync-icon-box {
    background: var(--cs-orange);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(241, 101, 34, 0.4);
    transform: rotate(360deg);
}

/* 5. Mobile Adjustments */
@media (max-width: 767px) {
    .timeline-container::before, .timeline-spine {
        left: 20px;
    }
    .sync-icon-box {
        margin: 0;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .timeline-content.left, .timeline-content.right {
        text-align: left !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
    }
}

/*===========================================================================================================*/

/*===============================================Tech-Stack Marquee==============================================================*/

/* ==========================================================================
   TECH-STACK MARQUEE: DUAL-TRACK ANIMATION
   ========================================================================== */

.tech-marquee-section {
    padding: 60px 0;
    background: #ffffff;
}

/* 1. Track Container Logic */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 30px;
}

.marquee-track {
    display: flex;
    flex-shrink: 0;
    gap: 30px;
    min-width: 100%;
}

/* 2. Opposing Scroll Keyframes */
.track-left {
    animation: scroll-left 30s linear infinite;
}

.track-right {
    animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* 3. Tech Card Styling (Monochrome-to-Vivid) */
.tech-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid rgba(0, 98, 175, 0.05);
    transition: all 0.3s ease;
}

.tech-card i {
    font-size: 1.8rem;
    filter: grayscale(0%) opacity(1); /* Start monochrome */
    transition: all 0.3s ease;
}

.tech-card span {
    font-weight: 700;
    color: var(--cs-blue);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* 4. Interaction States */
.tech-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.08);
    transform: translateY(-5px);
    border-color: var(--cs-orange);
}

.tech-card:hover i {
    filter: grayscale(0%) opacity(1); /* Reveal brand colors */
    transform: scale(1.1);
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused; /* Pause to allow inspection */
}

/* 5. Glass Shield Masks (The Faders) */
.marquee-fader {
    position: absolute;
    top: 0;
    z-index: 10;
    width: 15%;
    height: 100%;
    pointer-events: none;
}

.fader-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.fader-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}



/*===============================================Tech-Stack Marquee-Ended==============================================================*/

/*===============================================================================================================================*?

/*===========================================================================================================================
                                    CAREER BOOST: CAREER ACCELERATION HUB STYLING
   ========================================================================================================================= */

   /*================================================HERO-SECTION==============================================================*/

   /* ==========================================================================
   AMBITION-GLASS: CAREERS HERO STYLING
   ========================================================================== */

/* 1. Specialized Career Watermarks */
.wm-career-1, .wm-career-2 {
    position: absolute;
    font-size: 5.5rem;
    color: rgba(255, 255, 255, 0.04);
    z-index: 2;
    animation: growthPulse 18s ease-in-out infinite;
    pointer-events: none;
}

/* Positioning for Career Icons */
.wm-career-1 { top: 25%; left: 10%; animation-delay: 0s; }
.wm-career-2 { bottom: 35%; right: 12%; animation-delay: 5s; }

@keyframes growthPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.04; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.07; }
}

/* 2. Glass Navigation Pill (Inside Hero) */
.glass-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-pill:hover {
    border-color: var(--cs-orange);
    box-shadow: 0 0 15px rgba(241, 101, 34, 0.2);
}

/* 3. Text & Call-to-Action Styling */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 20px rgba(241, 101, 34, 0.5);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* 4. Mobile Responsiveness for Careers */
@media (max-width: 768px) {
    .wm-career-1, .wm-career-2 {
        display: none; /* Keep mobile viewport clean for applicants */
    }
    
    .display-3 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
}

/*================================================HERO-SECTION-ENDED==============================================================*/

/* ==========================================================================
   CULTURE-PULSE: INTERACTIVE GRID STYLING
   ========================================================================== */

.culture-card {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 98, 175, 0.05) !important;
    position: relative;
    z-index: 5;
}

/* 1. Soft-Lift Hover Effect */
.culture-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.1) !important;
    border-color: rgba(241, 101, 34, 0.2) !important;
}

/* 2. Pulse Icon Framework */
.pulse-icon-box {
    width: 70px;
    height: 70px;
    background: var(--cs-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
    position: relative;
}

/* The Pulse Ripple Animation */
.pulse-icon-box::before,
.pulse-icon-box::after {
    content: '';
    position: absolute;
    border: 1px solid var(--cs-blue);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: culturePulse 2.5s linear infinite;
    opacity: 0;
}

.pulse-icon-box::after {
    animation-delay: 1.25s;
}

/* Color Variant for Orange Icons */
.bg-orange-light .fas {
    color: var(--cs-orange);
}

.bg-orange-light::before,
.bg-orange-light::after {
    border-color: var(--cs-orange);
}

@keyframes culturePulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* 3. Typography Refinement */
.culture-card h5 {
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.culture-card p {
    line-height: 1.6;
}

/* 4. Background Enhancement */
.opacity-25 {
    opacity: 0.25 !important;
}

/*================================================================================================================================*/

/* ==========================================================================
   SYNC-PATH: RECRUITMENT TIMELINE STYLING
   ========================================================================== */

.sync-path-wrapper {
    position: relative;
    padding: 40px 0;
}

/* 1. The Horizontal Connector (Desktop) */
.path-line {
    position: absolute;
    top: 25px; /* Aligns with the middle of the nodes */
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(0, 98, 175, 0.1);
    z-index: 1;
}

/* 2. Interactive Sync Nodes */
.sync-node {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid rgba(0, 98, 175, 0.15);
    color: var(--cs-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active and Hover States */
.sync-node.active, 
.col-md-2:hover .sync-node {
    background: var(--cs-orange);
    border-color: var(--cs-orange);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(241, 101, 34, 0.4);
    transform: scale(1.2);
}

/* 3. Typography & Spacing */
.path-content h6 {
    margin-top: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.col-md-2:hover .path-content h6 {
    color: var(--cs-orange);
}

.x-small {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ==========================================================================
   UPDATED MOBILE SYNC-PATH (767px and below)
   ========================================================================== */
@media (max-width: 767px) {
    .sync-path-wrapper {
        padding-left: 20px;
        padding-right: 10px;
    }

    /* 1. Improved Vertical Spine */
    .sync-path-wrapper::before {
        content: '';
        position: absolute;
        left: 40px; /* Aligns exactly with the center of nodes */
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, 
            transparent, 
            rgba(241, 101, 34, 0.3) 10%, 
            rgba(241, 101, 34, 0.3) 90%, 
            transparent);
        z-index: 1;
    }

    /* 2. Container for each Step */
    .col-md-2 {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        margin-bottom: 40px;
        position: relative;
        z-index: 2;
    }

    /* 3. Node Positioning */
    .sync-node {
        margin: 0 !important;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        z-index: 3;
        background: #ffffff; /* Prevents line from showing through node */
    }

    /* 4. Text Content Alignment */
    .path-content {
        padding-left: 20px !important;
        margin-top: 5px !important; /* Vertically centers text with node top */
        padding-bottom: 0 !important;
        text-align: left !important;
    }

    .path-content h6 {
        margin-top: 0 !important;
        margin-bottom: 5px;
    }

    .x-small {
        font-size: 0.85rem; /* Slightly larger for better mobile readability */
        display: block;
    }

    /* Hide the horizontal line on mobile */
    .path-line {
        display: none !important;
    }
}

/*================================================================================================================================*/


/*=============================================OPPERTUNITY-SECTION==============================================================*/

/* ==========================================================================
   OPPORTUNITY-MATRIX: JOB BOARD STYLING
   ========================================================================== */

.job-card {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 98, 175, 0.05) !important;
    display: flex;
    flex-direction: column;
}

/* 1. Matrix Hover Elevation */
.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.08) !important;
    border-color: rgba(0, 98, 175, 0.1) !important;
}

/* 2. Featured/Immediate Role Styling */
.featured-job {
    border: 1px solid rgba(241, 101, 34, 0.2) !important;
    background: linear-gradient(to bottom, #ffffff, #fffaf8);
}

.featured-job:hover {
    border-color: var(--cs-orange) !important;
    box-shadow: 0 20px 40px rgba(241, 101, 34, 0.1) !important;
}

/* 3. Status Badges & Tech Chips */
.job-badge {
    padding: 4px 12px;
    background: #f1f7fd;
    color: var(--cs-blue);
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-orange {
    background-color: var(--cs-orange) !important;
}

.tech-stack-badges .stack-item {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    transition: all 0.3s ease;
}

.job-card:hover .stack-item {
    background: var(--cs-blue);
    color: #ffffff;
    border-color: var(--cs-blue);
}

/* 4. Filter Pill Styling */
.bg-blue-light {
    background-color: rgba(0, 98, 175, 0.1) !important;
}

.ls-3 {
    letter-spacing: 3px;
}

/* Ensure equal height buttons */
.job-card .mt-auto {
    margin-top: auto !important;
}

/*=======================================================================================================================*/

/*========================================================TALENT-SECTION==============================================================*/
/* ==========================================================================
   TALENT-NEXUS: DYNAMIC CTA STYLING
   ========================================================================== */

.talent-nexus-section {
    min-height: 500px;
    background-color: var(--cs-blue); /* Fallback */
}

/* 1. Animated Mesh Gradient Background */
.nexus-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001f3f 0%, #0062AF 50%, #F16522 100%);
    background-size: 400% 400%;
    animation: nexusGradientMove 15s ease infinite;
    z-index: 1;
}

@keyframes nexusGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Nexus Glass Card */
.nexus-glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.nexus-icon {
    font-size: 3.5rem;
    color: var(--cs-orange);
    text-shadow: 0 0 30px rgba(241, 101, 34, 0.4);
}

/* 3. Specialized Glass Buttons */
.btn-glass-blue, .btn-glass-orange {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-glass-blue:hover {
    background: #0062AF;
    border-color: #0062AF;
    box-shadow: 0 0 20px rgba(0, 98, 175, 0.5);
    transform: translateY(-3px);
    color: #ffffff;
}

.btn-glass-orange:hover {
    background: var(--cs-orange);
    border-color: var(--cs-orange);
    box-shadow: 0 0 20px rgba(241, 101, 34, 0.5);
    transform: translateY(-3px);
    color: #ffffff;
}

/* 4. Nexus Components */
.nexus-separator {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.text-white-50 a:hover {
    color: var(--cs-orange) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nexus-glass-card {
        padding: 40px 20px !important;
    }
    .display-5 {
        font-size: 1.8rem;
    }
}

/*==========================================================TALENT-SECTION-ENDED==============================================================*/

/*============================================================================================================================
                                              CONTACT PAGE SPECIFIC STYLING
   ============================================================================================================================ */

   /* ==========================================================================
   CRYSTAL-PATH: CONTACT HERO STYLING
   ========================================================================== */

/* 1. Refractive Contact Watermarks */
.wm-contact-1, .wm-contact-2 {
    position: absolute;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.04);
    z-index: 2;
    animation: contactFloat 20s ease-in-out infinite;
    pointer-events: none;
}

/* Positioning for Communication Icons */
.wm-contact-1 { top: 20%; right: 15%; animation-delay: 0s; }
.wm-contact-2 { bottom: 25%; left: 10%; animation-delay: 10s; }

@keyframes contactFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.04; }
    33% { transform: translate(30px, -20px) rotate(5deg); opacity: 0.06; }
    66% { transform: translate(-20px, 15px) rotate(-5deg); opacity: 0.05; }
}

/* 2. Crystal Breadcrumb Logic */
.glass-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cs-orange);
    box-shadow: 0 0 20px rgba(241, 101, 34, 0.25);
    transform: scale(1.02);
}

/* 3. Hero Typography Refinement */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 25px rgba(241, 101, 34, 0.4);
}

/* 4. Responsive Optimization for Contact Hero */
@media (max-width: 991px) {
    .wm-contact-1, .wm-contact-2 {
        font-size: 4rem;
        opacity: 0.03;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .wm-contact-1, .wm-contact-2 {
        display: none; /* Keeps the view clean for mobile inquiries */
    }
}

/*================================================================================================================*/

/* ==========================================================================
   NEXUS-INFO: CONTACT CARD INTERACTION
   ========================================================================== */

.nexus-card {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 98, 175, 0.05) !important;
    position: relative;
    overflow: hidden;
}

/* 1. Soft-Lift & Spark Border Interaction */
.nexus-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.1) !important;
    border-bottom: 3px solid var(--cs-orange) !important;
}

/* 2. Sync-Pulse Icon Framework */
.sync-pulse-icon {
    width: 70px;
    height: 70px;
    background: var(--cs-blue);
    color: #ffffff;
    border-radius: 20px; /* Matching the rounded-5 theme subtly */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

/* The Pulse Ripple Animation */
.sync-pulse-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: inherit;
    z-index: -1;
    opacity: 0.5;
    animation: iconPulse 2s ease-out infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* 3. Color Variant for Center Card (Orange Theme) */
.bg-orange-light {
    background-color: rgba(241, 101, 34, 0.1) !important;
}

.bg-orange-light .fas {
    color: var(--cs-orange);
}

.bg-orange-light::before {
    background: var(--cs-orange);
}

/* 4. Link Interaction */
.nexus-card a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nexus-card a:hover {
    color: var(--cs-orange) !important;
    transform: scale(1.05);
}

/*================================================================================================================*/

/* ==========================================================================
   INTEL-INQUIRY: FORM & FAQ STYLING
   ========================================================================== */

/* 1. Floating Label & Input Customization */
.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 98, 175, 0.2) !important;
    box-shadow: 0 5px 15px rgba(0, 98, 175, 0.05);
}

.form-floating > label {
    padding-left: 1.25rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    color: var(--cs-orange) !important;
    font-weight: 700;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* 2. Custom FAQ Accordion */
.custom-faq .accordion-button::after {
    background-image: none;
    font-family: "Font Awesome 5 Free";
    content: "\f067"; /* Plus Icon */
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--cs-orange);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-faq .accordion-button:not(.collapsed)::after {
    content: "\f068"; /* Minus Icon */
    transform: rotate(180deg);
    color: var(--cs-blue);
}

.custom-faq .accordion-button:not(.collapsed) {
    color: var(--cs-orange) !important;
}

/* 3. Utility Classes for Portal */
.border-orange {
    border-color: var(--cs-orange) !important;
}

.x-small {
    font-size: 0.75rem;
}

/* 4. Responsive Form Adjustments */
@media (max-width: 768px) {
    .border-orange {
        border-left: 0 !important;
        border-top: 4px solid var(--cs-orange) !important;
    }
}

/* ==========================================================================
   INTEL-INQUIRY: SUCCESS SYNC MODAL STYLING
   ========================================================================== */

/* 1. Modal Content Chassis */
#successModal .modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 5px solid var(--cs-orange) !important; /* Brand sync */
}

/* 2. Success Icon Levitation */
#successModal .fa-check-circle {
    filter: drop-shadow(0 10px 15px rgba(241, 101, 34, 0.2));
    animation: levitate 5s ease-in-out infinite; /* Matches project card float */
}

/* 3. Typography Sync */
#successModal h3 {
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

#successModal p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* 4. Action Button: Close Node */
.btn-blue {
    background-color: var(--cs-blue);
    color: #ffffff;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-blue:hover {
    background-color: #004d8a;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 31, 63, 0.15);
}

/* 5. Entrance Animation */
#successModal.show .modal-dialog {
    animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/*================================================================================================================*/

/* ==========================================================================
   GEOSPATIAL-ANCHOR: MAP & HUB STYLING
   ========================================================================== */

.map-anchor-section {
    height: 450px;
    background: #f8f9fa;
}

/* 1. Map Filter Logic */
.map-container iframe {
    filter: grayscale(0.2) contrast(1.1) brightness(0.95);
    transition: filter 0.5s ease;
}

.map-anchor-section:hover .map-container iframe {
    filter: grayscale(0) contrast(1) brightness(1);
}

/* 2. Map Glass Control-Hub */
.map-glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 98, 175, 0.1);
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.15);
}

/* 3. Live-Status Pulse */
.live-status-dot {
    width: 10px;
    height: 10px;
    background-color: #28a745; /* Success Green */
    border-radius: 50%;
    position: relative;
}

.live-status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #28a745;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* 4. Layout Corrections */
.ls-1 {
    letter-spacing: 1.5px;
}

@media (max-width: 991px) {
    .map-anchor-section {
        height: 350px;
    }
    .map-container iframe {
        height: 350px;
    }
}

/*================================================================================================================*/

/*==================================================================================================================
                                  APPLY NOW PAGE SPECIFIC STYLING                          
 ==================================================================================================================*/
 
 /* ==========================================================================
   AMBITION-SYNC: APPLICATION HERO STYLING
   ========================================================================== */

/* 1. Intake-Specific Watermarks */
.wm-item i {
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.wm-1 { top: 15%; left: 10%; transform: rotate(-15deg); }
.wm-2 { bottom: 20%; right: 12%; transform: rotate(20deg); }

/* 2. Spark-Flicker Headline Animation */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 20px rgba(241, 101, 34, 0.5);
    animation: sparkFlicker 4s infinite alternate;
}

@keyframes sparkFlicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(241, 101, 34, 0.5); }
    50% { opacity: 0.8; text-shadow: 0 0 40px rgba(241, 101, 34, 0.8); }
    55% { opacity: 1; }
}

/* 3. Gravity-Scroll Animation */
.animate-bounce {
    animation: gravityScroll 2s infinite;
}

@keyframes gravityScroll {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 4. Glass-Pill Refinement for Apply Page */
.glass-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* 5. Mobile Accessibility */
@media (max-width: 768px) {
    .wm-item i {
        font-size: 4rem;
        opacity: 0.02;
    }
    .display-3 {
        font-size: 2.8rem;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   NEXUS-INTAKE: SCROLL-SAFE VERSION
   ========================================================================== */

.intake-glass-portal {
    background: #ffffff;
    border: 1px solid rgba(0, 98, 175, 0.1);
    min-height: 800px;
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.1);
    overflow: visible; /* IMPORTANT */
}

/* Loader Overlay */
.intake-loader-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 10;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Hidden state after iframe loads */
.intake-loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loader Progress */
.loader-progress-track {
    width: 200px;
    height: 4px;
    background: rgba(0, 98, 175, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-orange));
    animation: loadingProgress 2s infinite ease-in-out;
}

@keyframes loadingProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Iframe Wrapper */
.iframe-responsive-wrapper {
    width: 100%;
    overflow: visible;
}

/* Iframe */
.google-form-iframe {
    width: 100%;
    height: 1600px;
    border: none;
    display: block;
}

/* Badge */
.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1);
}

.text-success {
    color: #28a745;
}

/* Letter spacing */
.ls-1 {
    letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 768px) {
    .intake-glass-portal {
        border-radius: 24px;
        margin: 0 5px;
    }

    .intake-footer-bar {
        text-align: center;
    }

    .intake-loader-overlay h5 {
        font-size: 1.1rem;
    }

    .google-form-iframe {
        height: 1800px;
    }
}


/*=================================================================================================================*/

/* ==========================================================================
   SUCCESS-PATHWAY: SUPPORT NODE STYLING
   ========================================================================== */

.support-node {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
}

/* 1. Interactive Lift & Shadow */
.support-node:hover {
    top: -5px;
    box-shadow: 0 15px 30px rgba(0, 31, 63, 0.08) !important;
}

/* 2. Custom Checklist Icon Styling */
.support-node ul li {
    position: relative;
    transition: transform 0.2s ease;
}

.support-node ul li:hover {
    transform: translateX(5px);
}

.support-node .fa-check {
    font-size: 0.85rem;
    filter: drop-shadow(0 0 5px rgba(241, 101, 34, 0.2));
}

/* 3. Node Icon Frame */
.node-icon-sm {
    width: 45px;
    height: 45px;
    background: rgba(0, 98, 175, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-blue {
    border-color: var(--cs-blue) !important;
}

/* 4. Support Button Customization */
.btn-outline-blue {
    border: 2px solid var(--cs-blue);
    color: var(--cs-blue);
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background: var(--cs-blue);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 98, 175, 0.3);
}

/* Mobile Alignment */
@media (max-width: 991px) {
    .support-node {
        text-align: center;
    }
    .support-node .d-flex {
        flex-direction: column;
        justify-content: center;
    }
    .support-node .node-icon-sm {
        margin: 0 auto 15px !important;
    }
    .support-node ul {
        text-align: left;
        display: inline-block;
    }
}

/*=================================================================================================================*/

/*=====================================================================================================================
                                 PRIVACY POLICY & TERMS PAGE SPECIFIC STYLING
======================================================================================================================*/

/* ==========================================================================
   TRANSPARENCY-SYNC: LEGAL HERO STYLING
   ========================================================================== */

/* 1. Security-Specific Watermarks */
.wm-item i {
    font-size: 6.5rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s ease;
}

/* Stable Floating Animation for Legal Context */
.wm-item.wm-1 { 
    top: 15%; 
    right: 12%; 
    animation: legalFloat 18s ease-in-out infinite; 
}

.wm-item.wm-2 { 
    bottom: 25%; 
    left: 10%; 
    animation: legalFloat 22s ease-in-out infinite reverse; 
}

@keyframes legalFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -15px) rotate(5deg); }
}

/* 2. Quality Stamp Styling */
.bg-white.rounded-pill.shadow-sm {
    border: 1px solid rgba(0, 98, 175, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-pill.shadow-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 31, 63, 0.1) !important;
}

/* 3. Legal Breadcrumb Refinement */
.glass-pill {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* 4. Document-Specific Typography */
.display-4 {
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Mobile Adjustments for Legal Hero */
@media (max-width: 768px) {
    .wm-item i {
        font-size: 4rem;
        opacity: 0.02;
    }
    .display-4 {
        font-size: 2.2rem;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   POLICY-MATRIX: SIDEBAR & CONTENT STYLING
   ========================================================================== */

/* 1. Sticky Sidebar Navigation */
.sticky-sidebar {
    position: sticky;
    top: 100px; /* Adjust based on your navbar height */
    z-index: 10;
    transition: all 0.3s ease;
}

#privacy-nav .nav-link {
    color: var(--cs-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

#privacy-nav .nav-link:hover {
    color: var(--cs-orange);
    padding-left: 8px;
}

#privacy-nav .nav-link.active {
    color: var(--cs-orange);
    font-weight: 700;
    background: rgba(241, 101, 34, 0.05);
    border-right: 3px solid var(--cs-orange);
}

/* 2. Modular Content Typography */
.policy-content-wrap h3 {
    position: relative;
    padding-bottom: 10px;
}

.policy-content-wrap p {
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 3. Section Spark Divider */
.section-spark-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 98, 175, 0.1), var(--cs-orange), rgba(0, 98, 175, 0.1), transparent);
    margin: 40px 0;
}

/* 4. Desktop-Only Enhancements */
@media (min-width: 992px) {
    .policy-content-wrap {
        padding-left: 20px;
        border-left: 1px solid rgba(0, 0, 0, 0.03);
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   GUARDIAN-CONTACT: VAULT & GLOW STYLING
   ========================================================================== */

/* 1. The Guardian Glass Card (Dark Refractive) */
.guardian-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.guardian-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(241, 101, 34, 0.3);
}

/* 2. Guardian Icon Pulse & Glow */
.guardian-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(241, 101, 34, 0.1);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(241, 101, 34, 0.1);
}

.guardian-icon-wrap i {
    filter: drop-shadow(0 0 10px rgba(241, 101, 34, 0.5));
}

.animate-pulse {
    animation: shieldPulse 2s infinite;
}

@keyframes shieldPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* 3. Button & Link Refinements */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--cs-blue) !important;
    border-color: #ffffff;
}

/* 4. Background Utility */
.bg-blue {
    background-color: #001f3f; /* Deep Navy for Vault feel */
    background-image: radial-gradient(circle at 50% 100%, rgba(241, 101, 34, 0.15), transparent);
}

/* Mobile Alignment for Guardian Section */
@media (max-width: 768px) {
    .guardian-glass-card {
        padding: 30px 20px !important;
    }
    .guardian-icon-wrap {
        width: 65px;
        height: 65px;
    }
}

/*=================================================================================================================*/

/*===================================================================================================================
                                                 TERMS & CONDITIONS PAGE SPECIFIC STYLING
=====================================================================================================================*/

/* ==========================================================================
   GOVERNANCE-SYNC: TERMS HERO STYLING
   ========================================================================== */

/* 1. Operational Watermarks (Legal Stability) */
.wm-item i {
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* Stable-Motion Animation: Signals Fixed Protocols */
.wm-item.wm-1 { 
    top: 20%; 
    right: 15%; 
    animation: governanceFloat 25s ease-in-out infinite; 
}

.wm-item.wm-2 { 
    bottom: 30%; 
    left: 12%; 
    animation: governanceFloat 30s ease-in-out infinite reverse; 
}

@keyframes governanceFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -10px) scale(1.02); }
}

/* 2. Governance Header Card (Refractive Depth) */
.glass-header-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.4s ease;
}

/* 3. Text-Glow Optimization */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 15px rgba(241, 101, 34, 0.4);
    font-weight: 800;
}

/* 4. Breadcrumb Sync */
.glass-pill {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile Integrity */
@media (max-width: 768px) {
    .wm-item i {
        font-size: 4.5rem;
    }
    .display-4 {
        font-size: 2.4rem;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   CLAUSE-MATRIX: PROTOCOL NAV & CONTENT STYLING
   ========================================================================== */

/* 1. Sticky Protocol Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px; /* Aligns below your sticky navbar */
    z-index: 10;
    transition: all 0.3s ease;
}

#terms-nav .nav-link {
    color: var(--cs-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

#terms-nav .nav-link:hover {
    color: var(--cs-orange);
    padding-left: 8px;
}

/* Active State: Signals current position in the framework */
#terms-nav .nav-link.active {
    color: var(--cs-orange);
    font-weight: 700;
    background: rgba(241, 101, 34, 0.05);
    border-right: 3px solid var(--cs-orange);
}

/* 2. Protocol Content Layout */
.clause-content-wrap h3 {
    position: relative;
    padding-bottom: 10px;
}

.clause-content-wrap p {
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 3. Operational Detail Callout (Sandbox Logic) */
.border-start.border-blue.border-4 {
    background: #f8faff;
    transition: transform 0.3s ease;
}

.border-start.border-blue.border-4:hover {
    transform: scale(1.01);
}

/* 4. Refractive Divider */
.section-spark-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 98, 175, 0.1), var(--cs-orange), rgba(0, 98, 175, 0.1), transparent);
}

/* Desktop-Only Layout Integrity */
@media (min-width: 992px) {
    .clause-content-wrap {
        padding-left: 20px;
        border-left: 1px solid rgba(0, 0, 0, 0.03);
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   AGREEMENT-NODE: VAULT & SIGNATURE STYLING
   ========================================================================== */

/* 1. The Agreement Glass Card (Dark Refractive) */
.agreement-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agreement-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(241, 101, 34, 0.4);
}

/* 2. Protocol Icon Wrap & Pulse */
.protocol-icon-wrap {
    width: 85px;
    height: 85px;
    background: rgba(241, 101, 34, 0.12);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 35px rgba(241, 101, 34, 0.1);
}

.protocol-icon-wrap i {
    filter: drop-shadow(0 0 12px rgba(241, 101, 34, 0.6));
}

/* Signature Pulse: Signals an active legal agreement */
.animate-pulse {
    animation: protocolPulse 2s infinite ease-in-out;
}

@keyframes protocolPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; filter: brightness(1.2); }
}

/* 3. Deep-Vault Background */
.bg-blue {
    background-color: #001a35; /* Darker than primary blue for depth */
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 98, 175, 0.2), transparent 70%);
}

/* 4. Action Node Enhancements */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--cs-blue) !important;
    transform: translateY(-2px);
}

/* Mobile Alignment */
@media (max-width: 768px) {
    .agreement-glass-card {
        padding: 35px 25px !important;
    }
}

/*=================================================================================================================*/

/*==================================================================================================================
                                 ATTENDENCE PAGE SECTION SPECIFIC STYLING
===================================================================================================================*/

/* ==========================================================================
   DAILY-SYNC: ATTENDANCE HERO STYLING
   ========================================================================== */

/* 1. Operational Watermarks (Attendance Focus) */
.wm-item i {
    font-size: 7.5rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* Operational Pulse: Slow, steady movement for professional stability */
.wm-item.wm-1 { 
    top: 15%; 
    left: 10%; 
    animation: operationalFloat 20s ease-in-out infinite; 
}

.wm-item.wm-2 { 
    bottom: 25%; 
    right: 12%; 
    animation: operationalFloat 25s ease-in-out infinite reverse; 
}

@keyframes operationalFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 15px) rotate(5deg); }
}

/* 2. Glass Header Card (Attendance Refraction) */
.glass-header-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.2);
}

/* 3. Operational Glow Sync */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 20px rgba(241, 101, 34, 0.4);
    font-weight: 800;
}

/* 4. Breadcrumb Logic */
.glass-pill {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "›"; /* Subtle technical arrow */
}

/* Mobile Integrity */
@media (max-width: 768px) {
    .wm-item i {
        font-size: 5rem;
    }
    .display-4 {
        font-size: 2.2rem;
    }
}

/* ========================================================================================================================= */

/* ==========================================================================
   NEXUS-ATTENDANCE: TIGHT-SYNC PORTAL STYLING
   ========================================================================== */

/* 1. The Glass Portal Chassis */
.intake-glass-portal {
    background: #ffffff;
    border: 1px solid rgba(0, 98, 175, 0.1);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.1);
    overflow: visible; 
}

/* Specific Override for the Attendance Portal */
.attendance-portal-fix {
    min-height: auto !important; /* Removes the forced 800px void */
}

/* 2. Branded Sync Loader */
.intake-loader-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 100;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.intake-loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Progress Track Visuals */
.loader-progress-track {
    width: 200px;
    height: 4px;
    background: rgba(0, 98, 175, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-orange));
    animation: loadingProgress 2s infinite ease-in-out;
}

@keyframes loadingProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 3. Iframe & Scroll Fluidity */
.iframe-responsive-wrapper {
    width: 100%;
    overflow: visible; 
}

/* Targeted height for the short Attendance form */
.attendance-height-fix {
    width: 100%;
    height: 850px !important; /* Reduced from 1600px to eliminate space */
    border: none;
    display: block;
    background: transparent;
    margin-bottom: -10px; /* Pulls footer up slightly for a tighter fit */
}

/* 4. QA Status Badge */
.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1);
}

.text-success {
    color: #28a745;
}

/* Mobile Operational Adjustments */
@media (max-width: 768px) {
    .intake-glass-portal {
        border-radius: 24px;
        margin: 0 5px;
    }

    .attendance-height-fix {
        height: 1100px !important; /* Keeps extra room for mobile stacking */
    }
}

/*=================================================================================================================*/

/*====================================================================================================================
                                        ONLINE-TESTING PAGE SPECIFIC STYLING                                         
=====================================================================================================================*/

/* ==========================================================================
   INTEGRITY-SYNC: ONLINE ASSESSMENT HERO STYLING
   ========================================================================== */

/* 1. Protocol Watermarks (Technical Integrity) */
.wm-item i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* Stable-State Animation: Signals a secure, locked-in environment */
.wm-item.wm-1 { 
    top: 10%; 
    left: 8%; 
    animation: integrityFloat 22s ease-in-out infinite; 
}

.wm-item.wm-2 { 
    bottom: 20%; 
    right: 10%; 
    animation: integrityFloat 28s ease-in-out infinite reverse; 
}

@keyframes integrityFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -15px) scale(1.05); }
}

/* 2. Integrity Header Card (High-Refraction) */
.glass-header-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); /* Deeper blur for maximum focus */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

/* 3. Validation Glow Sync */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 25px rgba(241, 101, 34, 0.5);
    font-weight: 800;
}

/* 4. Breadcrumb Refinement */
.glass-pill {
    background: rgba(0, 26, 53, 0.4); /* Darker base for assessment focus */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
    content: "|"; /* Clean separator for formal evaluation */
}

/* Mobile Integrity */
@media (max-width: 768px) {
    .wm-item i {
        font-size: 5.5rem;
    }
    .display-4 {
        font-size: 2.1rem;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   NEXUS-EXAM: TIGHT-SYNC ASSESSMENT STYLING
   ========================================================================== */

/* 1. The Exam Vault Chassis */
.intake-glass-portal {
    background: #ffffff;
    border: 1px solid rgba(0, 98, 175, 0.1);
    box-shadow: 0 20px 45px rgba(0, 31, 63, 0.15);
    overflow: visible; 
}

/* Specific Override for Online Test */
.test-portal-fix {
    min-height: auto !important; /* Removes the 800px void */
}

/* 2. Branded Assessment Loader */
.intake-loader-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 100;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.intake-loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Progress Track Visuals */
.loader-progress-track {
    width: 220px;
    height: 4px;
    background: rgba(0, 98, 175, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-orange));
    animation: assessmentSyncProgress 2.5s infinite ease-in-out;
}

@keyframes assessmentSyncProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 3. Iframe & Scroll Fluidity */
.iframe-responsive-wrapper {
    width: 100%;
    overflow: visible; 
}

/* Targeted height for the Online Test form */
.test-height-fix {
    width: 100%;
    height: 1000px !important; /* Reduced from 1600px to remove white space */
    border: none;
    display: block;
    background: transparent;
    margin-bottom: -20px; /* Pulls footer up for a cleaner finish */
}

/* 4. Synchronized Status Badge */
.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1);
}

.text-success {
    color: #28a745;
}

/* Mobile Assessment Optimization */
@media (max-width: 768px) {
    .intake-glass-portal {
        border-radius: 20px;
        margin: 0 8px;
    }

    .test-height-fix {
        height: 1400px !important; /* Mobile stacking still needs some extra room */
    }
}


/*=================================================================================================================*/

/* ===============================================================================================================
                                  PORTFOLIO-PAGE-STYLES
================================================================================================================= 

/* ==========================================================================
   ACHIEVEMENT-SYNC: PORTFOLIO HERO STYLING
   ========================================================================== */

/* 1. Matrix Watermarks (Technical Depth & Verification) */
.wm-item i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* Precise-Float Animation: Signals structural integrity */
.wm-item.wm-1 { 
    top: 12%; 
    left: 7%; 
    animation: achievementFloat 24s ease-in-out infinite; 
}

.wm-item.wm-2 { 
    bottom: 18%; 
    right: 9%; 
    animation: achievementFloat 30s ease-in-out infinite reverse; 
}

@keyframes achievementFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, 15px) rotate(-3deg); }
}

/* 2. Achievement Header Card (Gallery Refraction) */
.glass-header-card {
    background: rgba(255, 255, 255, 0.06); /* Balanced transparency for project focus */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.3);
}

/* 3. Sync Glow & Branding */
.text-glow-orange {
    color: var(--cs-orange);
    text-shadow: 0 0 20px rgba(241, 101, 34, 0.4);
    font-weight: 800;
}

/* 4. Portfolio Breadcrumb Path */
.glass-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Portfolio Optimization */
@media (max-width: 768px) {
    .wm-item i {
        font-size: 5.5rem;
    }
    .display-4 {
        font-size: 2.3rem;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   DISCOVERY-ENGINE: MULTI-VECTOR STYLING (UPDATED)
   ========================================================================== */

/* 1. Discovery Bar Base */
.discovery-engine-bar {
    z-index: 99;
    box-shadow: 0 4px 25px rgba(0, 31, 63, 0.1);
    background: #ffffff;
}

.sticky-top-offset {
    position: sticky;
    top: 75px; /* Adjust based on your actual navbar height */
    background: white;
}

/* Update the button container to handle spacing */
#alphabet-sync-node {
    display: flex;
    gap: 12px; /* Precise spacing between buttons */
    padding: 5px 0;
}

/* 2. Vector Input Nodes (Search & Select) */
.border-blue-soft {
    border: 1.5px solid rgba(0, 98, 175, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Handle long category text from your 110+ list */
.form-select {
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

/* Focus Engine: High-Definition Glow */
.form-control:focus, .form-select:focus {
    border-color: var(--cs-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 98, 175, 0.08) !important;
    outline: none;
}

.search-query-node input:focus {
    padding-left: 3.5rem !important; /* Enhanced shift for better UX */
}

/* 3. Discovery Logic Nodes (Enhanced for Desktop) */
.btn-az {
    padding: 10px 24px; /* Increased from 8px 20px for better desktop presence */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Increased from 13px for improved readability */
    font-weight: 600;
    color: var(--cs-blue);
    background: #ffffff;
    border: 1.5px solid rgba(0, 98, 175, 0.1);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
}

.btn-az:hover {
    background: #ffffff;
    color: var(--cs-orange);
    border-color: var(--cs-orange);
    transform: translateY(-3px); /* Stronger lift on desktop */
    box-shadow: 0 6px 15px rgba(0, 31, 63, 0.08);
}

/* The Active Filter Sync */
.btn-az.active {
    background: var(--cs-orange);
    color: #ffffff;
    border-color: var(--cs-orange);
    box-shadow: 0 8px 20px rgba(241, 101, 34, 0.35); /* Enhanced achievement glow */
}

/* 4. Results Animation Node */
.animate-fadeIn {
    animation: portfolioFade 0.5s ease forwards;
}

@keyframes portfolioFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 5. Mobile & Scroll Optimization */
.custom-scrollbar::-webkit-scrollbar { height: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(241, 101, 34, 0.2); /* Matching brand orange */
    border-radius: 10px;
}

@media (max-width: 991px) {
    .sticky-top-offset { position: relative; top: 0; } /* Unstick on mobile for better space */
}

@media (max-width: 768px) {
    /* Tighten the gap for smaller mobile screens */
    #alphabet-sync-node {
        gap: 8px; 
    }
    .btn-az { 
        padding: 7px 16px; 
        height: auto;
        min-width: auto;
        font-size: 11px; 
    }
    .x-small { font-size: 10px; }
}
/*=================================================================================================================*/

/* ==========================================================================
   ENHANCED BATCH-SYNC: PAGINATION & NULL-STATE STYLING
   ========================================================================== */

/* 1. Null-State (No Results) Design */
.null-icon-wrap {
    display: inline-block;
    animation: levitate 5s ease-in-out infinite; /* Syncs with project levitation */
    filter: drop-shadow(0 0 15px rgba(0, 98, 175, 0.2));
}

#no-results-node h3 {
    color: var(--cs-blue);
    letter-spacing: 1px;
}

/* 2. Enhanced Pagination Nodes (Glass-Elevation) */
.pagination .page-item .page-link {
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 98, 175, 0.1);
    color: var(--cs-blue);
    font-weight: 700;
    border-radius: 12px !important; /* Squircle design */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 3. Navigation Icon Styling (First, Prev, Next, Last) */
.pagination .page-item .page-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background: #ffffff;
    border-color: var(--cs-orange);
    color: var(--cs-orange);
    transform: translateY(-5px); /* Stronger lift for navigation */
    box-shadow: 0 8px 20px rgba(241, 101, 34, 0.15);
}

.pagination .page-item .page-link:hover i {
    transform: scale(1.2);
}

/* 4. Active-Sync State (Orange Achievement Glow) */
.pagination .page-item.active .page-link {
    background: var(--cs-orange);
    border-color: var(--cs-orange);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(241, 101, 34, 0.4);
}

/* 5. Disabled State (Logic-Guard) */
.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none; /* Add this to prevent accidental clicks */
    background: #f8f9fa;
    transform: none;
}

/* 6. Mobile Optimization */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    .pagination .page-item .page-link {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 12px;
    }
}

/*=================================================================================================================*/

/* ==========================================================================
   INNOVATION-GRID: MAGNETIC-LEVITATION & FIT-SYNC
   ========================================================================== */

/* 1. Perspective Stage */
#project-sync-node {
    perspective: 2000px; 
}

/* 2. Levitation Animation Logic */
@keyframes magneticFloat {
    0% { transform: translateY(0) rotateX(0); }
    50% { transform: translateY(-15px) rotateX(2deg); }
    100% { transform: translateY(0) rotateX(0); }
}

/* 3. The Floating Chassis */
.portfolio-parallax-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 98, 175, 0.1);
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    height: 100%;
    animation: magneticFloat 5s ease-in-out infinite;
}

/* 4. Hover State: Break the Levitation & Deep Zoom */
.portfolio-parallax-card:hover {
    animation-play-state: paused; 
    transform: scale(1.05) translateZ(50px) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.15);
    border-color: var(--cs-orange);
}

/* 5. Fit-Sync Visual Engine */
.card-visual-engine {
    position: relative;
    height: 280px; 
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; 
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    /* Grayscale Filter Removed: Images are now full color by default */
}

/* 🚀 INCREASED ZOOM: Shows significant difference on hover */
.portfolio-parallax-card:hover .parallax-img {
    transform: scale(1.30) translateZ(60px); 
}

/* 6. Minimalist Info Node - UPDATED for Project Brief */
.card-info-node {
    background: #ffffff;
    padding: 25px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px; /* Ensures all cards stay the same height even with text */
}

/* The new 2-3 line info style */
.project-brief-text {
    font-size: 13px;
    color: #6c757d; /* Soft muted grey */
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 15px;
    display: -webkit-box;
    line-clamp: 3; /* Strictly limits to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-blue {
    color: var(--cs-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

/* --- UPDATED REVEAL & LIVE REDIRECTION LOGIC --- */

/* 1. The Interaction Layer: Diagonal Sweep */
.interaction-overlay {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 0 0, 0 0); 
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    pointer-events: none; /* Allows clicks to pass through to the main card modal */
}

.portfolio-parallax-card:hover .interaction-overlay {
    clip-path: polygon(0 0, 200% 0, 0 200%); 
}

/* 2. Functional LIVE Redirection Link */
.live-status-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #00ff00;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    z-index: 20;
    pointer-events: auto; /* Makes this specific button clickable on hover */
    transition: all 0.4s ease 0.4s;
    border: 1px solid rgba(0, 255, 0, 0.5);
}

.portfolio-parallax-card:hover .live-status-link {
    opacity: 1;
}

.live-status-link:hover {
    background: #00ff00;
    color: #000;
    transform: scale(1.1);
}

.blink-dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; box-shadow: 0 0 20px #00ff00; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .portfolio-parallax-card { animation: none; } 
    .card-visual-engine { height: 220px; }
    /* Ensure info node expands naturally on mobile */
    .card-info-node { min-height: auto; padding: 20px !important; }
}

/* ==========================================================================
   PORTFOLIO-VIEW: MODAL CHASSIS STYLING
   ========================================================================== */
.portfolio-modal-overlay {
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(0, 31, 63, 0.9); 
    backdrop-filter: blur(15px); 
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portfolio-modal-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    border: 4px solid white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    background: white;
}

.portfolio-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
}

.portfolio-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--cs-orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(241, 101, 34, 0.4);
}

