/* ==========================================================================
   IT ADVISER - MAIN STYLESHEET (ELITE AGENCY EDITION)
   Table of Contents:
   1. CSS Variables
   2. Base & Typography
   3. Global Utilities
   4. Buttons
   5. Navbar & Header
   6. Hero Section & Badges
   7. Premium Features & Core Capabilities
   8. Discover & Stats Section
   9. Strategic Feedback (Testimonials & Slider)
   10. Enterprise Partners (Logo Marquee)
   11. Strategic Perspectives (Blog)
   12. Frequent Inquiries (Premium Accordion)
   13. Footer Variants (Dark Executive, Seamless, Light)
   14. Sticky Contact Icons
   15. Global Media Queries
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --brand-primary: #22aa86;
    --brand-primary-hover: #1b8a6c;
    --brand-secondary: #0e314c;
    --brand-light: #f7fafd;
    --brand-accent: #c679e3;
    
    /* Hero Gradient Colors */
    --hero-grad-1: #071826;
    --hero-grad-2: #0a2e3f;
    --hero-grad-3: #15735b;
}

/* ==========================================================================
   2. BASE & TYPOGRAPHY
   ========================================================================== */
html, body {
    font-family: 'Poppins', sans-serif;
    color: #4a6f8a;
    background-color: #ffffff;
    
    /* CRITICAL BUG FIX: Kills right-side white space on mobile */
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-secondary);
    font-weight: 600;
}

p {
    line-height: 1.8;
}

a {
    transition: all 0.3s ease;
}

/* Typography Enhancements */
.text-gradient-primary {
    background: linear-gradient(135deg, #43e794 0%, #22aa86 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tracking-wide { 
    letter-spacing: 2px; 
}

/* ==========================================================================
   3. GLOBAL UTILITIES
   ========================================================================== */
.text-primary-brand { color: var(--brand-primary) !important; }
.bg-primary-brand { background-color: var(--brand-primary) !important; }
.bg-secondary-brand { background-color: var(--brand-secondary) !important; }
.bg-light-brand { background-color: var(--brand-light) !important; }

.max-w-700 { max-width: 700px; }
.line-height-tight { line-height: 1.2 !important; }
.line-height-lg { line-height: 1.8; }
.border-white-subtle { border-color: rgba(255, 255, 255, 0.1) !important; }

/* The little green bar under standard section titles */
.title-bar { 
    width: 60px; 
    height: 4px; 
    background-color: var(--brand-primary);
    border-radius: 4px;
}

/* Premium Badges */
.hero-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    background: rgba(255, 255, 255, 0.1); /* Slightly brighter fill */
    backdrop-filter: blur(12px); /* Authentic glassmorphism blur */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25); /* Crisper border */
    padding: 8px 18px; 
    border-radius: 50px; 
    color: #ffffff; /* Pure white for maximum visibility */
    font-size: 13px; 
    font-weight: 600; /* Bolder text */
    letter-spacing: 0.5px; /* Slight tracking for a high-end feel */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Drops a tiny shadow to separate it from the background */
}

.badge-pulse {
    width: 8px; 
    height: 8px; 
    background: #43e794; 
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(67, 231, 148, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(67, 231, 148, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(67, 231, 148, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(67, 231, 148, 0); }
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn-brand {
    background-color: var(--brand-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-brand:hover {
    background-color: var(--brand-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 49, 76, 0.15);
}

.btn-outline-light:hover {
    color: var(--brand-secondary);
}

.btn-premium {
    background: linear-gradient(135deg, #22aa86 0%, #15735b 100%);
    color: white; 
    border: none; 
    border-radius: 8px;
    padding: 14px 32px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(34, 170, 134, 0.3);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-3px); 
    box-shadow: 0 15px 25px rgba(34, 170, 134, 0.4); 
    color: white;
}

.view-all-insights-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--brand-primary);
    background: transparent;
    border: 2px solid rgba(34, 170, 134, 0.2);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.view-all-insights-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.view-all-insights-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 10px 20px rgba(34, 170, 134, 0.2);
}

.view-all-insights-btn:hover i {
    transform: translateX(4px);
}
/* Enterprise Outline Button (Secondary CTA) */
.btn-outline-navy {
    color: #0e314c;
    background-color: transparent;
    border: 2px solid rgba(14, 49, 76, 0.2);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-navy:hover {
    background-color: #0e314c;
    color: #ffffff;
    border-color: #0e314c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 49, 76, 0.15);
}
/* Sleek, non-bulky Client Login button */
.btn-client-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 6px 16px; /* Slim vertical padding keeps it thin and neat */
    border-radius: 6px;
    transition: all 0.25s ease;
}

.btn-client-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Ensure inner icon matches the clean text size */
.btn-client-login i {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ==========================================================================
   5. NAVBAR & HEADER
   ========================================================================== */
.transition-all {
    transition: all 0.3s ease-in-out;
}

.navbar { 
    padding-top: 20px; 
    padding-bottom: 20px; 
}

/* Dark mode (Transparent over Hero) */
.navbar-dark .nav-link { 
    color: rgba(255,255,255,0.85) !important; 
    font-weight: 500; 
}
.navbar-dark .nav-link:hover, 
.navbar-dark .nav-link.active { 
    color: #ffffff !important; 
}
.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}
/* Scrolled mode (Solid White) */
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding-top: 12px; 
    padding-bottom: 12px;
}
.navbar.scrolled .nav-link { 
    color: var(--brand-secondary) !important; 
}
.navbar.scrolled .nav-link:hover, 
.navbar.scrolled .nav-link.active { 
    color: var(--brand-primary) !important; 
}
.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
}

/* Dropdown tweaks */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}
.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #4a6f8a;
}
.dropdown-item:hover {
    background-color: rgba(34, 170, 134, 0.05);
    color: var(--brand-primary);
}

.btn-consult-now {
    background-color: var(--brand-primary);
    color: #ffffff;
    padding: 8px 20px;       /* Reduced padding for a sleek, professional look */
    border-radius: 6px;      /* Slightly sharper corners for enterprise look */
    font-size: 0.9rem;       /* Reduced font size to match menu links */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-consult-now:hover {
    background-color: var(--brand-secondary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 170, 134, 0.2);
}
@media (min-width: 992px) {
    /* Show dropdown on parent hover */
    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Smooth fade and slide animation */
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
        pointer-events: none;
    }

    /* Prevents menu from closing when moving cursor between link and menu */
    .navbar-expand-lg .navbar-nav .nav-item.dropdown {
        position: relative;
        padding-bottom: 8px;
        margin-bottom: -8px;
    }
}

/* ==========================================================================
   6. HERO SECTION (Premium Cinematic Layout)
   ========================================================================== */
.hero-section {
    background: #050a10; 
    padding: 0; 
    color: white;
}

.premium-hero {
    /* Combined color fallback and image with the correct relative path */
    background: #050a10 url('../img/hero-image-itadviser.webp') center/cover no-repeat !important;
    
    position: relative;
    min-height: 100vh; /* Forces the section to fill the screen */
    padding: 100px 0;
    overflow: hidden;
}

/* Cinematic Vignette Overlay (Darkens edges to make white text pop) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 10, 16, 0.4) 0%, rgba(5, 10, 16, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* True Glassmorphism Trust Indicators (Centered & Stationary) */
.glass-panel-dark {
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 35px; 
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

/* High-End Glass Icons */
.glass-icon, .glass-icon-dark {
    width: 45px; height: 45px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.glass-icon { background: rgba(34, 170, 134, 0.15); color: #22aa86; }
.glass-icon-dark { background: rgba(255, 255, 255, 0.05); color: #ffffff; border: 1px solid rgba(255,255,255,0.1); }

/* ==========================================================================
   7. CORE CAPABILITIES (PREMIUM SERVICE CARDS) - UNIFIED DESIGN
   ========================================================================== */
.bg-light-brand {
    background-color: #f4f9f8 !important; 
}

.premium-service-card {
    background: #ffffff;
    border: 1px solid rgba(14, 49, 76, 0.08);
    border-top: 3px solid #15735b; 
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(14, 49, 76, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.premium-service-card:hover {
    border-color: rgba(21, 115, 91, 0.3);
    box-shadow: 0 20px 40px rgba(14, 49, 76, 0.1);
    transform: translateY(-6px);
}

.premium-service-icon {
    width: 55px;
    height: 55px;
    background: rgba(21, 115, 91, 0.08); 
    border: 1px solid rgba(21, 115, 91, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.premium-service-icon i {
    color: #15735b !important; 
    font-size: 1.4rem !important;
    line-height: 1;
}

.premium-service-card:hover .premium-service-icon {
    background: #15735b;
    border-color: #15735b;
}

.premium-service-card:hover .premium-service-icon i {
    color: #ffffff !important;
}

.premium-service-card h4 a {
    color: #0e314c !important; 
    transition: color 0.2s ease;
}

.premium-service-card:hover h4 a {
    color: #15735b !important; 
}

.premium-service-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #15735b !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap 0.2s ease;
}

.premium-service-link i {
    transition: transform 0.2s ease;
}

.premium-service-card:hover .premium-service-link i {
    transform: translateX(4px);
}
/* ==========================================================================
   8. DISCOVER & STATS SECTION
   ========================================================================== */
/* Blends seamlessly with the new obsidian hero background */
.premium-dark-section {
    background-color: #050a10;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Add the glow back in, but updated to a subtle brand green */
.hero-glow-2 {
    position: absolute; bottom: -10%; left: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34,170,134,0.08) 0%, rgba(0,0,0,0) 70%);
}

/* Authentic glassmorphism for the 15+ years badge */
.experience-badge {
    position: absolute;
    top: 20px; 
    left: -20px;
    bottom: auto; 
    right: auto;
    z-index: 5;
    padding: 20px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: none !important; 
}

.discover-image-wrapper {
    position: relative;
    padding-bottom: 60px;
    z-index: 10;
}

.main-discover-img {
    border: 1px solid rgba(255,255,255,0.1);
    width: 85%;
    object-fit: cover;
}

.overlap-discover-img {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 55%;
    border: 8px solid #071826;
    border-radius: 20px !important;
    z-index: 2;
    box-shadow: -15px -15px 40px rgba(0,0,0,0.3) !important;
}

/* Stats Section Backgrounds */
.stats-section {
    background-color: #071826;
    background-image: radial-gradient(rgba(34, 170, 134, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    padding-bottom: 100px !important; 
}

.stats-grid-wrapper {
    background: rgba(14, 49, 76, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

.stat-card {
    transition: background 0.3s ease;
    padding-bottom: 60px !important; 
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-card h3 { letter-spacing: -2px; }
.stat-card p { font-weight: 500; letter-spacing: 1.5px; }

/* Contact CTA Panel */
.contact-cta-panel {
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(14, 49, 76, 0.8), rgba(21, 115, 91, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Overlap fix for the element entering the next section */
.stats-cta-overlap {
    position: relative;
    margin-top: -30px; 
    z-index: 30;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    min-height: 120px; 
}

/* ==========================================================================
   9. STRATEGIC FEEDBACK (Testimonials & Slider)
   ========================================================================== */
.testimonial-soft-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 170, 134, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

/* Slick Slider Settings */
.testimonial-slider .slick-list {
    padding: 20px 0 50px 0 !important; 
    margin: -20px 0 -50px 0;
}

.testimonial-slide {
    padding: 0 15px; 
    outline: none !important;
    height: auto; 
}

.testimonial-slide > div {
    height: 100%; 
}

.testimonial-slider .slick-dots { bottom: -30px; }
.testimonial-slider .slick-dots li button:before {
    font-size: 12px;
    color: #0e314c;
    opacity: 0.2;
    transition: all 0.3s ease;
}
.testimonial-slider .slick-dots li.slick-active button:before {
    color: var(--brand-primary);
    opacity: 1;
    font-size: 14px;
}

/* Executive Card Styling */
.executive-quote-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.executive-quote-card:hover, .active-quote {
    background: #ffffff;
    border-color: rgba(34, 170, 134, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 49, 76, 0.08);
    z-index: 10;
}

.active-quote {
    transform: scale(1.03);
    border-color: rgba(34, 170, 134, 0.1);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.executive-quote-card .quote-icon {
    font-size: 40px;
    color: var(--brand-primary);
    opacity: 0.2;
    margin-bottom: -15px;
    line-height: 1;
}

.rating-stars {
    color: #ffb400;
    font-size: 13px;
    display: flex;
    gap: 2px;
    margin-top: 10px;
}

.executive-quote-card .quote-text {
    font-style: italic;
    color: #4a6f8a;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(34, 170, 134, 0.2);
}

/* ==========================================================================
   MARQUEE EDGE FADES (Used for Industry Track)
   ========================================================================== */
.marquee-fade-left, .marquee-fade-right {
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, rgba(244, 249, 248, 1) 0%, rgba(244, 249, 248, 0) 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(244, 249, 248, 1) 0%, rgba(244, 249, 248, 0) 100%);
}
/* ==========================================================================
   INDUSTRY EXPERTISE MARQUEE
   ========================================================================== */
.industry-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0 40px 0;
}

.industry-track {
    display: flex;
    gap: 24px;
    width: max-content;
    /* 40s is a smooth, readable speed. Adjust if needed */
    animation: scrollIndustries 40s linear infinite; 
}

/* Pause the animation when an executive hovers to read */
.industry-track:hover {
    animation-play-state: paused;
}

.industry-card {
    background: #ffffff;
    /* Slightly more visible default border */
    border: 1px solid rgba(14, 49, 76, 0.08);
    /* The Brand Anchor Line */
    border-top: 3px solid #15735b; 
    /* Slightly sharper corners for a corporate feel */
    border-radius: 8px; 
    padding: 35px 30px;
    width: 320px;
    min-width: 320px;
    /* Stronger, richer ambient shadow to cure the "flatness" */
    box-shadow: 0 10px 30px rgba(14, 49, 76, 0.06); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: default;
}

.industry-card:hover {
    /* Subtle green border glow on hover */
    border-color: rgba(21, 115, 91, 0.3); 
    /* Deepen the shadow drastically to lift the card */
    box-shadow: 0 20px 40px rgba(14, 49, 76, 0.12); 
    transform: translateY(-8px);
}

/* Engineered Icon Containers */
.industry-icon {
    font-size: 1.5rem;
    color: #15735b; /* Brand Green */
    background: rgba(21, 115, 91, 0.08); /* 8% opacity brand green background */
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* Squircle shape */
    margin-bottom: 5px;
    border: 1px solid rgba(21, 115, 91, 0.15); /* Subtle inner border */
}

.industry-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0e314c; /* Brand Navy */
    margin: 0;
    letter-spacing: -0.3px;
}

.industry-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}
/* The Infinite Scroll Math */
@keyframes scrollIndustries {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* Shifts exactly 50% of the total width minus half the gap */
        transform: translateX(calc(-50% - 12px)); 
    }
}

/* Ensure mobile screens handle the width correctly */
@media (max-width: 768px) {
    .industry-card {
        width: 280px;
        min-width: 280px;
        padding: 25px 20px;
    }
}

/* ==========================================================================
   11. STRATEGIC PERSPECTIVES (Blog Section)
   ========================================================================== */
.insight-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 49, 76, 0.08);
    border-color: rgba(34, 170, 134, 0.2);
}

.insight-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2; 
}

.insight-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.insight-card:hover .insight-image-wrap img {
    transform: scale(1.08);
}

.insight-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #0e314c;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.insight-body .text-hover-primary { transition: color 0.3s ease; }
.insight-body .text-hover-primary:hover { color: var(--brand-primary) !important; }

.insight-read-link {
    color: var(--brand-secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex; 
    align-items: center;
    transition: color 0.3s ease;
}

.insight-read-link i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.insight-card:hover .insight-read-link { color: var(--brand-primary); }
.insight-card:hover .insight-read-link i { transform: translateX(6px); }

/* ==========================================================================
   12. FREQUENT INQUIRIES (Premium Accordion)
   ========================================================================== */
.premium-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08); 
    margin-bottom: 0;
    border-radius: 0 !important;
}

.premium-accordion .accordion-item:last-child {
    border-bottom: none;
}

.premium-accordion .accordion-button {
    background: transparent !important; 
    color: #0e314c;
    font-size: 1.15rem;
    padding: 1.8rem 0; 
    box-shadow: none !important; 
    transition: color 0.3s ease;
}

.premium-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-primary);
}

.premium-accordion .accordion-body {
    padding: 0 0 2rem 0; 
    font-size: 1.05rem;
    background: transparent;
}

.premium-accordion .accordion-button::after {
    background-image: none !important; 
    content: '+'; 
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--brand-primary);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.premium-accordion .accordion-button:not(.collapsed):after {
    content: '−'; 
    transform: rotate(180deg);
}

/* ==========================================================================
   13. FOOTER VARIANTS (Tier-1 Executive Design System)
   ========================================================================== */

/* --- A. Dark Executive Footer (Primary) --- */
.dark-executive-footer {
    background: linear-gradient(180deg, #0a192f 0%, #060f1e 100%);
    color: #ffffff;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

/* Subtle Architectural Tech-Grid Overlay */
.dark-executive-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(rgba(34, 170, 134, 0.15) 1px, transparent 1px), 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px, 64px 64px, 64px 64px;
    pointer-events: none;
    z-index: 0;
}

/* Center Radial Glow */
.dark-executive-footer::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle at center, rgba(34, 170, 134, 0.06) 0%, rgba(10, 25, 47, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.dark-executive-footer .container {
    position: relative;
    z-index: 1;
}

/* Typography & Headings */
.footer-heading-dark {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading-dark::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 24px; height: 2px;
    background-color: var(--brand-primary, #22aa86);
    border-radius: 2px;
}

.footer-text-dark {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.8;
}

.dark-executive-footer .lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Interactive Navigation Links (Fixed Arrow Spacing) */
.footer-link-dark {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-link-dark::before {
    content: '→';
    font-family: monospace;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.25s ease;
    font-size: 1.1rem;
    color: var(--brand-primary, #22aa86);
    display: inline-block;
}

.footer-link-dark:hover {
    color: #ffffff !important;
    transform: translateX(4px);
    text-shadow: 0 0 12px rgba(34, 170, 134, 0.3);
}

.footer-link-dark:hover::before {
    opacity: 1;
    max-width: 20px;
    margin-right: 6px;
}

/* Executive Social Circles */
.social-circle-dark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-circle-dark:hover {
    background: var(--brand-primary, #22aa86);
    border-color: var(--brand-primary, #22aa86);
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(34, 170, 134, 0.3);
}

/* C-Suite Newsletter Card */
.footer-newsletter-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.footer-newsletter-card input[type="email"]:focus {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border-color: var(--brand-primary, #22aa86) !important;
    box-shadow: 0 0 0 0.2rem rgba(34, 170, 134, 0.25) !important;
    color: #ffffff !important;
    outline: none;
}

/* Bottom Copyright & Legal */
.footer-bottom-dark { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
}

.footer-copyright-dark { 
    color: rgba(255, 255, 255, 0.5); 
    font-size: 0.85rem; 
}

.footer-legal-links-dark a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s ease;
}

.footer-legal-links-dark a:hover { 
    color: var(--brand-primary, #22aa86); 
}

.footer-contact-list-dark a.footer-link-dark::before { 
    display: none; 
}

.footer-contact-list-dark a.footer-link-dark:hover {
    transform: none;
    color: var(--brand-primary, #22aa86) !important;
}

/* --- B. Seamless Premium Footer (Alternative Light) --- */
.seamless-premium-footer, .light-premium-footer {
    background-color: #ffffff; 
    position: relative;
    overflow: hidden;
}
.light-premium-footer { background-color: #f8fafc; }

.footer-texture-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(14, 49, 76, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
}
.footer-heading, .footer-heading-light {
    color: #0e314c;
    font-size: 1.1rem;
    font-weight: 700;
}
.footer-text, .footer-text-light {
    color: #4a6f8a; 
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-link, .footer-link-light {
    color: #4a6f8a; 
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
}
.footer-link:hover, .footer-link-light:hover {
    color: var(--brand-primary, #22aa86);
    transform: translateX(4px);
}
.social-circle, .social-circle-light {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: transparent;
    color: #4a6f8a; 
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid rgba(74, 111, 138, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.social-circle:hover, .social-circle-light:hover {
    background: var(--brand-primary, #22aa86);
    border-color: var(--brand-primary, #22aa86);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(34, 170, 134, 0.15);
}
.footer-bottom, .footer-bottom-light { border-top: 1px solid rgba(0, 0, 0, 0.05); }
.footer-copyright, .footer-copyright-light { color: #839bb0; font-size: 0.85rem; font-weight: 500; }
.footer-legal-links a, .footer-legal-links-light a {
    color: #839bb0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-legal-links a:hover, .footer-legal-links-light a:hover { color: #0e314c; }
/* ==========================================================================
   14. STICKY CONTACT ICONS
   ========================================================================== */
.sticky-icon {
   display: none !important;
}

/* ==========================================================================
   15. GLOBAL MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    /* Hero & Structure */
    .hero-section { padding: 140px 0 80px; }
    .banner-features { margin-top: 0px; }
    .navbar.scrolled { padding-top: 10px; padding-bottom: 10px; }
    
    /* Overlapping Stats & Grid */
    .feature-grid-wrapper .border-end {
        border-right: none !important; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; 
    }
    .stats-cta-overlap { width: 100%; }
    .active-quote { transform: scale(1); }
    
    /* Logos Grid Fallback */
    .client-logo-box.border-end { border-right: none !important; }
    .client-logo-box { border-bottom: 1px solid rgba(0,0,0,0.05) !important; }
    .trust-grid-wrapper .col:nth-last-child(-n+2) { border-bottom: none !important; }
/* ==========================================================================
   ULTIMATE MOBILE STICKY BAR (Force Centered & Button-Like - COMPACT)
   ========================================================================== */
    .sticky-icon {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 45px !important; /* Reduced from 75px for a compact feel */
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(15px) !important; /* The "Glass" effect */
        -webkit-backdrop-filter: blur(15px) !important;
        border-top: 1px solid rgba(0,0,0,0.08) !important;
        padding: 0 !important; /* Removed vertical padding to tighten space */
        z-index: 9999 !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.08) !important;
    }

    .sticky-icon a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        flex: 1 !important;
        color: #0e314c !important; /* Dark Navy for text */
        gap: 3px !important; /* Reduced from 5px to pull text closer to icon */
        transition: opacity 0.2s ease !important;
    }

    .sticky-icon a:active {
        opacity: 0.6;
    }

    /* Hero Icons */
    .sticky-icon a i {
        display: block !important;
        font-size: 20px !important; /* Shrunk slightly from 22px to save space */
        color: #15735b !important; /* Your primary brand green */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Premium Labels */
    .sticky-icon a::after {
        content: attr(data-label); /* Uses data-label attribute below */
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 767px) {
    /* Discover Overlays */
    .discover-overlay-img { display: none; }
    
    /* Stats & Overlaps */
    .stats-grid-wrapper .border-end { border-right: none !important; }
    .stats-grid-wrapper .col-6:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.1) !important; }
    .stats-grid-wrapper .col-6:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; }
    
    .stats-cta-overlap {
        margin-top: 20px; 
        width: 100%;
    }
    .stat-card { padding-bottom: 30px !important; }

    /* Client Logos */
    .trust-grid-wrapper .col:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,0.05) !important; }
    .trust-grid-wrapper .col:last-child { border-bottom: none !important; }
    
    .logo-marquee-item { width: 180px; padding: 0 20px; }
    .premium-client-logo { max-height: 40px; }
    .marquee-fade-left, .marquee-fade-right { width: 20%; }
    
    /* ==========================================================================
       Mobile App-Drawer Fixes (Android Safe)
       ========================================================================== */
    #navbarNav.offcanvas {
        background-color: #0a192f !important;
        color-scheme: dark; 
        visibility: visible !important;
    }
    
    #navbarNav .nav-link,
    #navbarNav .dropdown-toggle {
        color: #ffffff !important;
        font-size: 1.1rem;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    #navbarNav .nav-link:hover,
    #navbarNav .nav-link.active {
        color: #43e794 !important;
        background-color: rgba(34, 170, 134, 0.1) !important;
    }
    
    #navbarNav .dropdown-menu {
        background-color: rgba(255,255,255,0.03) !important;
        border: none !important;
        margin-top: 0;
        padding-bottom: 15px;
    }
    
    #navbarNav .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
        padding: 10px 30px;
    }
    
    #navbarNav .dropdown-item:hover {
        color: #43e794 !important;
        background-color: transparent !important;
    }
    
    #navbarNav .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%) !important;
    }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 2.5rem; }
    /* Legacy sticky icon colors have been completely removed from here to prevent overriding the clean white action bar */
}/* ==========================================================================
   Premium Dark Form Inputs (For Modal)
   ========================================================================== */
.premium-dark-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.premium-dark-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 170, 134, 0.15);
}

.premium-dark-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Custom Invalid State for Dark Mode */
.premium-dark-input.is-invalid {
    border-color: #dc3545;
    background-image: none; /* Removes Bootstrap's default red icon which looks bad on dark */
}

.invalid-feedback {
    font-size: 0.8rem;
    color: #ff6b6b; /* Softer red for dark mode */
}
/* ==========================================================================
   Premium Light Form Inputs (For Modal)
   ========================================================================== */
.premium-light-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0e314c;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.premium-light-input:focus {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(34, 170, 134, 0.1);
    color: #0e314c;
}

.premium-light-input::placeholder {
    color: #94a3b8;
}
/* ==========================================================================
   ABOUT PAGE & INTERNAL GLOBAL STYLES
   ========================================================================== */

/* --- 1. Utilities & Typography --- */
.tracking-wide { letter-spacing: 2px; }
.tracking-widest { letter-spacing: 3px; }
.line-height-lg { line-height: 1.8; }
.bg-light-brand { background-color: rgba(34, 170, 134, 0.1); }
.border-5 { border-width: 8px !important; }
.ms-n3 { margin-left: -1.5rem !important; }

.hover-text-white:hover { 
    color: #ffffff !important; 
}
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* --- 2. Navbar & Breadcrumbs --- */
.navbar:not(.navbar-dark) .nav-link,
.navbar.scrolled .nav-link {
    color: #0e314c !important; /* Force dark blue on white backgrounds */
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3); /* Softens the '/' separator in hero */
}

/* --- 3. Hero Sections --- */
.inner-hero {
    min-height: 400px; /* Set to the largest value for better impact */
    display: flex;
    align-items: center;
}

/* --- 4. UI Components & Elements --- */
.bar {
    width: 60px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 2px;
}
.icon-circle-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- 5. Cards (Value & Mission/Vision) --- */
.value-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-primary) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}

.mv-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.mission-vision-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #edf2f7 !important;
}
.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}
.featured-mv-card {
    border-top: 5px solid var(--brand-primary) !important;
}

/* --- 6. Modern Z-Pattern Layout & Images --- */
.main-img-wrap {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.main-img-wrap:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.experience-badge-light {
    min-width: 180px;
}
.experience-floating-card {
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, #0a192f 0%, #22aa86 100%) !important;
}

/* Ensure the floating card doesn't break mobile layouts */
@media (max-width: 991px) {
    .experience-floating-card {
        bottom: 10px;
        right: 10px;
    }
    /* ==========================================================================
       Mobile App-Drawer Fixes (Android Safe)
       ========================================================================== */
    #navbarNav.offcanvas {
        background-color: #0a192f !important;
        color-scheme: dark; /* Prevents Android auto-inverting */
        visibility: visible !important;
    }
    
    #navbarNav .nav-link,
    #navbarNav .dropdown-toggle {
        color: #ffffff !important;
        font-size: 1.1rem;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    #navbarNav .nav-link:hover,
    #navbarNav .nav-link.active {
        color: #43e794 !important;
        background-color: rgba(34, 170, 134, 0.1) !important;
    }
    
    #navbarNav .dropdown-menu {
        background-color: rgba(255,255,255,0.03) !important;
        border: none !important;
        margin-top: 0;
        padding-bottom: 15px;
    }
    
    #navbarNav .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
        padding: 10px 30px;
    }
    
    #navbarNav .dropdown-item:hover {
        color: #43e794 !important;
        background-color: transparent !important;
    }
    
    #navbarNav .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%) !important;
    }
}
/* Form Input Styling for Contact Page */
.premium-light-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0e314c;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.premium-light-input:focus {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(34, 170, 134, 0.1);
    color: #0e314c;
    outline: none;
}

.form-select.premium-light-input {
    cursor: pointer;
}

.hover-text-primary:hover {
    color: var(--brand-primary) !important;
}
/* ==========================================================================
   Custom Blog Pagination Styles
   ========================================================================== */
.custom-pagination .page-link {
    color: #0e314c;
    border: none;
    margin: 0 4px;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.custom-pagination .page-link:hover {
    background-color: rgba(34, 170, 134, 0.1);
    color: var(--brand-primary);
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(34, 170, 134, 0.3);
}

.custom-pagination .page-item.disabled .page-link {
    color: #a0aec0;
    background-color: transparent;
}
/* ==========================================================================
   Enterprise Article Typography (.article-body)
   ========================================================================== */
.article-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #334155;
    font-family: 'Poppins', sans-serif;
}

.article-body p {
    margin-bottom: 1.75rem;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0e314c;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0e314c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--brand-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #0e314c;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.article-body strong {
    color: #0e314c;
    font-weight: 600;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}