/* =========================================
   Corporate Cloud - Light Design System (Final Polish)
   ========================================= */

/* =========================================
   Local Fonts (Removed to fix 404 errors)
   ========================================= */
/* Using external Google Fonts via frontend.blade.php or system UI fonts to prevent missing file errors */

/* AOS Animation Library Support */
[data-aos] {
    pointer-events: auto;
}
.aos-animate {
    pointer-events: auto;
}

:root {
    /* === Emerald Excellence - Professional Navy, Emerald, and Slate Design System === */

    /* Core Palette - Royal Navy & Emerald Green */
    --color-primary: #1B3A8C;       /* Royal Navy Blue */
    --color-primary-dark: #0F172A;  /* Deep Midnight */
    --color-accent: #3b82f6;        /* Bright Electric Blue - Primary Accent */
    --color-accent-dark: #2563eb;   /* Darker Blue */
    --color-success: #3b82f6;       /* Success State */
    
    /* Backgrounds */
    --bg-body: #FFFFFF;             /* Crisp White Foundation */
    --bg-surface: #F8FAFC;          /* Soft Light Surface */
    --bg-surface-hover: #F1F5F9;

    /* Gradients (Blue-Green Hybrid) */
    --primary-gradient: linear-gradient(135deg, #1B3A8C 0%, #2550c0 100%);
    --accent-gradient: linear-gradient(135deg, #1B3A8C 0%, #3b82f6 100%); /* Hybrid Blue-Blue */
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    --text-gradient: linear-gradient(to right, #1B3A8C, #3b82f6);

    /* --- FLUID TYPOGRAPHY SYSTEM (Emerald Excellence 2.0) --- */
    --fs-base: 1rem;
    --fs-h1: clamp(2.5rem, 6vw, 3.5rem);
    --fs-h2: clamp(2.0rem, 5vw, 2.8rem);
    --fs-h3: clamp(1.75rem, 4vw, 2.4rem);
    --fs-h4: clamp(1.5rem, 3.5vw, 2.0rem);
    --fs-h5: 1.3rem;
    --fs-h6: 1.1rem;
    --fs-lead: clamp(1.1rem, 1.8vw, 1.35rem);
    --fs-small: 0.9rem;

    /* EMERALD EXCELLENCE DESIGN SYSTEM — FULL OPTIMIZATIONG TOKENS --- */
    --space-section: clamp(4rem, 8vw, 6.5rem);
    --space-card: clamp(2rem, 4vw, 3rem);
    --space-gap: clamp(1.5rem, 3vw, 2.5rem);
    
    /* Layout Details */
    --navbar-height: 80px; /* Standardize for fixed-top */
    --glass-blur: blur(12px);
    --transition-premium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Global Reset & Typography
   ========================================= */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--color-text-main);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: var(--navbar-height);
    font-size: var(--fs-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: #000000 !important;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p { margin-bottom: 1.25rem; opacity: 0.9; }

.lead { font-size: var(--fs-lead) !important; font-weight: 400; line-height: 1.7; color: var(--color-text-muted); }
.small, small { font-size: var(--fs-small); }

/* Unified Excellence Classes */
.text-title-premium {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.text-hero-premium {
    font-size: clamp(1.8rem, 4.5vw, 2.75rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--color-primary);
}

a:hover {
    color: #1d4ed8;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.display-1 { font-size: clamp(3rem, 8vw, 4.5rem) !important; line-height: 1; letter-spacing: -0.06em; font-weight: 950; }
.display-2 { font-size: clamp(2.5rem, 6vw, 3.8rem) !important; line-height: 1.05; letter-spacing: -0.05em; font-weight: 900; }
.display-3 { font-size: clamp(2rem, 5vw, 3rem) !important; line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
.display-4 { font-size: clamp(1.8rem, 4vw, 2.5rem) !important; line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }

.shadow-luxury {
    box-shadow: var(--shadow-luxury) !important;
    transition: all 0.3s ease !important;
}

.shadow-luxury:hover {
    box-shadow: var(--shadow-luxury-hover) !important;
    transform: translateY(-5px);
}

.text-gradient {
    color: var(--color-primary);
    /* Fallback */
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.5) 0%, rgba(27, 58, 140, 0.5) 100%) !important;
    color: white !important;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    filter: brightness(1.1);
    color: white !important;
}

.btn-outline-premium {
    background: white;
    color: var(--color-text-main);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-premium:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f8fafc;
    box-shadow: var(--shadow-md);
}

/* =========================================
   Navigation
   ========================================= */

/* =========================================
   Top Bar (Enterprise Utility)
   ========================================= */

.top-bar {
    background: var(--color-primary-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.top-bar-info span {
    font-size: 0.82rem;
    transition: var(--transition-premium);
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition-premium);
}

.top-bar-social a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* =========================================
   Navigation (Nebula Glassmorphism)
   ========================================= */

.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 18px 0 !important;
    transition: var(--transition-premium);
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 12px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Nav Brand & Logo */
.brand-logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition-premium);
}

.brand-badge {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.05em;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
    font-size: 1.4rem;
}

/* Nav Links Micro-interactions */
.navbar .nav-link {
    color: var(--color-text-main) !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    padding: 8px 20px !important;
    position: relative;
    transition: var(--transition-premium);
    letter-spacing: 0.02em;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.95) 0%, rgba(27, 58, 140, 0.95) 100%) !important;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5) !important; /* Brighter shadow/glow */
    transform: scaleX(0);
    transition: var(--transition-premium);
    transform-origin: right;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.95) 0%, rgba(27, 58, 140, 0.95) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    text-shadow: 0 0 15px rgba(211, 47, 47, 0.3); /* Brighten the text presence */
}

/* Dropdown Premium Menu */
.dropdown-menu {
    border-radius: 18px !important;
    padding: 15px !important;
    margin-top: 15px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.dropdown-item {
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: var(--transition-premium) !important;
    color: var(--color-text-main) !important;
    padding: 10px 20px !important;
}

.dropdown-item:hover {
    background: var(--bg-surface) !important;
    color: var(--color-accent) !important;
    padding-left: 25px !important;
}

/* Navbar Toggler (Premium Animated Toggler) */
.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #ffffff !important;
    border: 2px solid var(--color-primary) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    z-index: 1060;
}

.navbar-toggler[aria-expanded="true"] {
    background: var(--bg-surface) !important;
}

.navbar-toggler .navbar-toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-primary) !important;
    background-image: none !important;
    position: relative;
    transition: var(--transition-premium);
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    content: '';
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
    transition: var(--transition-premium);
}

.navbar-toggler .navbar-toggler-icon::before { top: -7px; }
.navbar-toggler .navbar-toggler-icon::after { bottom: 7px; }

/* Toggler Transform to X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Specific Header CTA refinement (Small & Elegant) */
.btn-header-cta {
    padding: 8px 18px !important;
    font-size: 0.75rem !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    background: var(--accent-gradient) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
    border: none !important;
    transition: var(--transition-premium);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3) !important;
    color: white !important;
}

/* Mission & Vision Identity Boxes */
.identity-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 74, 153, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.identity-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), #003366);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.identity-box:hover {
    transform: translateY(-10px);
    color: #ffffff;
}

.identity-box:hover::before {
    opacity: 1;
}

.identity-box .box-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.mission-box .box-icon {
    background: rgba(255, 122, 0, 0.1);
    color: var(--color-accent);
}

.identity-box:hover .box-icon {
    background: #ffffff;
    transform: rotate(360deg);
}

.mission-box:hover .box-icon {
    color: var(--color-accent);
}

.vision-box:hover .box-icon {
    color: var(--color-primary);
}

.identity-box h3 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.identity-box:hover h3 {
    color: #ffffff;
}

.identity-box p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    transition: color 0.4s ease;
}

.identity-box:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   Page Header (Internal Pages)
   ========================================= */

.page-header {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(239, 246, 255, 0.85) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0 40px;
    min-height: 250px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.ngo-hero-premium {
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(239, 246, 255, 0.85) 100%);
    border-bottom: 1px solid var(--color-border);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-header h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 12px;
    color: var(--color-text-main);
    font-weight: 700;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.breadcrumb-item a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: var(--color-primary);
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #cbd5e1;
}

/* =========================================
   Hero Section
   ========================================= */

/* =========================================
   Hero Slider (Responsive)
   ========================================= */

.hero-slider {
    position: relative;
    overflow: hidden;
    /* No padding needed for slider, it handles its own height */
}

/* Base Desktop Height */
.carousel-item {
    height: 75vh;
    min-height: 550px;
    max-height: 800px;
    background-color: #0f172a;
    /* Fallback */
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Darken Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
    z-index: 5;
}

.carousel-caption {
    z-index: 20;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
    /* Check this if indicators overlap */
}

.hero-slider-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-slider h1 {
    font-size: var(--fs-h1);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.hero-slider p {
    font-size: 1rem;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        /* Smaller on mobile */
        min-height: 450px;
    }

    .hero-slider h1 {
        font-size: 2.2rem;
    }

    .hero-slider p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-lg {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    margin-bottom: 18px;
    line-height: 1.2;
    color: var(--color-text-main);
    font-weight: 700;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    max-width: 540px;
    line-height: 1.65;
}

.stat h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.stat p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

/* =========================================
   Cards (Unified)
   ========================================= */

.section {
    padding: var(--space-section) 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03); /* Subtle middle separation gap */
}

/* Alternate Section Backgrounds for Separation */
.section:nth-of-type(even) {
    background-color: var(--bg-surface);
}

/* Premium Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    /* Ensure positioning context */
}

.section-title h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

/* Gradient Underline */
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.5) 0%, rgba(27, 58, 140, 0.5) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.service-card,
.project-card,
.team-card,
.mission-card,
.vision-card,
.contact-card,
.benefit-card,
.role-card,
.process-card,
.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--space-card);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

/* Unified Project Card Styling */
.project-card .card-img-top {
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-border);
}

.project-card .card-body {
    display: flex;
    flex-direction: column;
}

.project-card .btn-link {
    margin-top: auto;
    /* Pushes button to bottom */
}

/* Hover Effect: Lift & Shadow */
.service-card:hover,
.project-card:hover,
.process-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.service-icon,
.process-icon,
.contact-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    /* Blue 50 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: white;
}

.service-card h3,
.process-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.service-link {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
}

/* Mission & Vision */
.mission-vision-section {
    background: #f8fafc;
}

.mission-card,
.vision-card {
    background: white;
    padding: var(--space-card);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover,
.vision-card:hover,
.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.mission-icon,
.vision-icon,
.goal-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

/* Specialized for NGO - Luxury Overhaul */
.specialized-ngo-section {
    padding: var(--space-section) 0;
    background: #0b1120;
    /* Ultra Deep Navy */
    position: relative;
    overflow: hidden;
    color: white;
}

.specialized-ngo-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.specialized-content-luxury {
    position: relative;
    z-index: 2;
}

.promo-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(211, 47, 47, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.section-title-luxury h2 {
    font-size: var(--fs-display-1);
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-luxury p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

/* Asymmetric Tile Cards */
.spec-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.spec-tile {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    color: white;
}

.spec-tile:nth-child(even) {
    margin-top: 40px;
}

.spec-tile:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(211, 47, 47, 0.3);
}

.tile-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.spec-tile:hover .tile-icon {
    background: var(--color-accent);
    color: white;
    transform: rotateY(180deg);
}

.spec-card-luxury {
    background: var(--primary-gradient);
    padding: 60px 45px;
    border-radius: 40px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 40px 80px -15px rgba(27, 58, 140, 0.3);
    position: relative;
    overflow: hidden;
}

.spec-card-luxury h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.spec-card-luxury p {
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Header Styling - Luxury White Theme */
.top-bar {
    background: #f8fafc !important;
    color: #64748b !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-info span {
    color: #64748b !important;
}

.top-bar-social a {
    color: #94a3b8 !important;
    transition: color 0.3s;
}

/* Navbar Global - Nebula Glassmorphism */
.navbar {
    background: rgba(10, 15, 30, 0.8) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 15px 0 !important;
    transition: var(--transition-premium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(10, 15, 30, 0.95) !important;
    padding: 10px 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.navbar .nav-link {
    color: var(--color-text-main) !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 10px 18px !important;
    transition: var(--transition-premium);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-accent) !important;
    text-shadow: 0 0 10px var(--color-accent-glow);
}

/* Footer - Luxury Light */
.footer {
    background: #0f172a !important;
    /* Premium Light Black (Slate 900) */
    color: #ffffff !important;
    /* White text */
    padding: var(--space-section) 0 calc(var(--space-section) / 2) !important;
    /* border-top removed */
    position: relative;
    z-index: 10;
}

.footer-map-wrap {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-map-wrap:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.footer .widget-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    font-family: 'Outfit', sans-serif !important;
    position: relative;
    padding-bottom: 12px;
}

.footer .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #2563eb;
}

.footer p {
    color: #ffffff !important;
    /* White text */
    line-height: 1.8;
}

.footer-links,
.contact-info {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links a {
    color: #ffffff !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.75rem;
    margin-right: 10px;
    opacity: 0.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: #f1f5f9 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.9rem;
}

.social-link:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    border-color: #2563eb !important;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info li i {
    color: #2563eb !important;
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-info span {
    color: #ffffff !important;
    flex: 1;
    line-height: 1.6;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 40px 0;
    opacity: 1;
}

.copyright-separator {
    border-top: 2px solid rgba(255, 255, 255, 0.05) !important;
    margin: 30px 0;
    width: 100%;
}

.copyright {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.footer-bottom-links a:hover {
    color: #ffffff !important;
}

.newsletter h5 {
    color: #0f172a !important;
}

.newsletter p {
    color: #64748b !important;
}

.newsletter-form .form-control {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
}

.newsletter-form .form-control::placeholder {
    color: #94a3b8 !important;
}

/* Mission/Vision/Goal Card Polish */
.mission-card,
.vision-card,
.goal-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: white;
    padding: 40px 35px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mission-card::after,
.vision-card::after,
.goal-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mission-card:hover::after,
.vision-card:hover::after,
.goal-card:hover::after {
    transform: scaleX(1);
}

.mission-icon,
.vision-icon,
.goal-icon,
.mission-card .service-icon,
.vision-card .service-icon,
.goal-card .service-icon {
    width: 70px;
    height: 70px;
    background: #f0f7ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.mission-card:hover .service-icon,
.vision-card:hover .service-icon,
.goal-card:hover .service-icon {
    background: var(--color-primary);
    color: white;
    transform: rotateY(180deg);
}

/* =========================================
   Project Section (Simple Box Grid)
   ========================================= */

.project-slider-section {
    background: #f8fafc;
    padding: 60px 0;
}

.project-card {
    padding: 0;
    /* Override base padding */
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Ensure image zoom stays inside */
    background: white;
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Floating Badge */
.project-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.project-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-specs {
    margin-top: auto;
    /* Push to bottom if content varies */
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-specs span {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 600;
    background: var(--bg-body);
    padding: 6px 14px;
    border-radius: 6px;
}

.project-link {
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.project-link i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Partners Section */
.partners-section {
    background: #f8fafc;
    border-top: 1px solid var(--color-border);
}

.partner-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    max-height: 40px;
    width: auto;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

/* Tech Stack */
.tech-stack {
    padding: 60px 0;
    margin-bottom: 0;
    /* Removed negative margin issues if any */
    background: white;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 10;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tech-item i {
    font-size: 2.5rem;
    color: #94a3b8;
    /* Slate 400 */
    transition: all 0.3s ease;
}

.tech-item:hover i {
    color: var(--color-text-main);
    transform: scale(1.1);
}

/* Process Section */
.process-number {
    font-size: 4rem;
    font-weight: 800;
    color: #f1f5f9;
    /* Slate 100 */
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Testimonials */
.testimonial-card {
    background: #ffffff;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-main);
    font-weight: 500;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
}

.client-name h5 {
    color: var(--color-text-main);
    font-size: 1rem;
    margin-bottom: 0;
}

.client-name span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* =========================================
   CTA Section
   ========================================= */

.cta-section {
    background: #0f172a;
    /* Dark Slate 900 */
    padding: 60px 0 !important;
    /* Force reduction */
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: #cbd5e1;
    /* Slate 300 */
    font-size: 1.15rem;
}

/* =========================================
   Footer Base
   ========================================= */


/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #1d4ed8;
    color: white;
}

/* =========================================
   Home Page New Sections
   ========================================= */

/* About Section Home */
.about-section-home {
    background-color: var(--bg-surface);
}

.about-section-home img {
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* Our Messages */
.messages-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.message-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.message-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--bg-surface);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message-content {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.message-author h5 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--color-text-main);
}

.message-author span {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Specialized NGO Section */
.specialized-ngo-section {
    background: #0f172a;
    /* Dark background */
    color: white;
    padding: 80px 0;
}

.specialized-ngo-section h2 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.specialized-ngo-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.specialized-ngo-section p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--color-border);
}

.client-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.client-logo {
    max-height: 50px;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Goal Card */
.goal-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

/* =========================================
   Logo Slider (Marquee)
   ========================================= */
.logo-slider-container {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

/* Better Gradient Fade Edges */
.logo-slider-container::before,
.logo-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.logo-slider-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-slider-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Gray Section Fade */
.clients-section-sep .logo-slider-container::before {
    background: linear-gradient(to right, #f8fafc, transparent);
}

.clients-section-sep .logo-slider-container::after {
    background: linear-gradient(to left, #f8fafc, transparent);
}

.logo-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content;
    gap: 80px;
    align-items: center;
    will-change: transform;
}

/* Left to Right Scrolling - Smoother logic */
@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.scroll-right {
    animation: scroll-right 40s linear infinite !important;
}

.logo-slider-item {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 200px;
    /* Fixed width for consistent spacing */
}

.logo-slider-item img {
    max-height: 45px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.logo-slider-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Section styling */
.partner-section,
.clients-section-sep {
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    background: white;
}

.clients-section-sep {
    background: #ffffff;
}

/* Storytelling Sections for Specialized Page */
.story-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.story-section:nth-child(even) {
    background: #f8fafc;
}

.story-number {
    font-size: 15rem;
    font-weight: 900;
    position: absolute;
    top: -50px;
    left: -20px;
    opacity: 0.03;
    color: var(--color-text-main);
    z-index: 0;
    line-height: 1;
}

.story-section:nth-child(even) .story-number {
    left: auto;
    right: -20px;
}

.story-content {
    position: relative;
    z-index: 1;
}

.story-image-wrap {
    position: relative;
    z-index: 1;
}

.story-image-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 30px;
    z-index: -1;
}

.story-section:nth-child(even) .story-image-wrap::before {
    left: auto;
    right: -20px;
}

.eco-list {
    margin-top: 30px;
}

.eco-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.eco-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(10px);
}

.eco-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-right: 15px;
    flex-shrink: 0;
}

/* Light Theme Premium Hero for NGO Page */
.ngo-hero-premium {
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(239, 246, 255, 0.9) 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
}

.ngo-hero-premium .container {
    z-index: 2;
}

/* =========================================
   Premium Consolidated Modules
   (NGO, Stats, Identity, CTA)
   ========================================= */

/* NGO Specialization */
.ngo-specialization-section {
    background: #0a111f;
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}

.specialization-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.specialization-item-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-8px);
    border-color: rgba(0, 168, 107, 0.3);
}

.featured-innovation-panel {
    background: linear-gradient(135deg, #00a86b 0%, #008f5d 100%);
    position: relative;
    z-index: 2;
}

.text-gradient-green {
    background: linear-gradient(135deg, #00ffaa 0%, #00a86b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Identity & Core DNA Cards */
.identity-card-premium {
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    box-shadow: var(--shadow-luxury);
    transition: all 0.5s ease;
    border: 1px solid var(--color-border);
    height: 100%;
}

.identity-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.12);
}

.identity-icon-ring {
    width: 120px;
    height: 120px;
    background: rgba(0, 74, 153, 0.05);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.identity-card-premium:hover .identity-icon-ring {
    background: var(--color-primary);
    color: #fff !important;
    transform: scale(1.1) rotate(10deg);
}

/* Stats & Counters - Bold Impact */
.stats-card-modern {
    background: #fff;
    border-radius: 35px;
    padding: 50px;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.05);
}

.stats-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--color-primary);
}

/* Final Dynamic CTA - Power Impact */
.cta-premium-wrapper {
    min-height: 500px;
    background: #001a33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.cta-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #001a33, #004a99, #0072ff, #001a33);
    background-size: 400% 400%;
    animation: ctaGradientMain 15s ease infinite;
    z-index: 1;
}

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

.cta-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: inline-block;
}

.btn-cta-primary {
    background: #ffffff;
    color: #004a99;
    border: none;
    transition: all 0.4s ease;
}

.btn-cta-primary:hover {
    transform: scale(1.08) translateY(-5px);
    background: #0072ff;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 114, 255, 0.4);
}

.btn-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.btn-cta-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* About Page Specific - Journey & Experience */
.experience-floating-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    padding: 35px;
    border-radius: 40px;
    border-bottom-left-radius: 0;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: center;
    width: 220px;
}

.about-journey-visual {
    position: relative;
    padding-left: 40px;
    padding-top: 40px;
}

.lead-sm {
    font-size: 1.45rem;
    line-height: 1.85;
}

.about-rich-text p {
    margin-bottom: 2rem;
}

.tracking-widest {
    letter-spacing: 0.25em !important;
}

.stat-premium {
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

.stat-premium:hover {
    transform: scale(1.05);
}

.process-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--color-primary) !important;
}

/* Contact Page - High Impact Interaction */
.contact-hero {
    padding: 120px 0;
}

.form-control-premium {
    width: 100%;
    background: #ffffff;
    border: 3px solid #edf2f7;
    padding: 22px 30px;
    border-radius: 25px;
    font-size: 1.35rem;
    font-weight: 600;
    transition: all 0.4s ease;
    color: #1a202c;
}

.form-control-premium:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(0, 74, 153, 0.12);
    transform: translateY(-2px);
}

.contact-method-card {
    border-left: 8px solid var(--color-primary) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-method-card:hover {
    background: #f8fafc !important;
    transform: translateX(10px);
    box-shadow: var(--shadow-luxury);
}

.social-ring {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.social-ring:hover {
    background: #ffffff;
    color: var(--color-primary);
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.map-container-premium iframe {
    width: 100%;
    height: 600px;
    border: 0;
    display: block;
}

.method-icon-ring {
    transition: all 0.4s ease;
}

.contact-method-card:hover .method-icon-ring {
    background: var(--color-primary) !important;
    color: #fff !important;
    transform: rotate(360deg);
}

/* =========================================
   Responsive Optimization (Extreme v6.0)
   ========================================= */

/* Tablets & Small Laptops (992px - 1199px) */
@media (max-width: 1199.98px) {
    html { font-size: 115%; }
    .display-1 { font-size: 5.5rem !important; }
    .display-2 { font-size: 4.5rem !important; }
}

/* Tablets (Portrait) (768px - 991px) */
@media (max-width: 991.98px) {
    html { font-size: 110%; }
    .display-1 { font-size: 4.5rem !important; }
    .display-2 { font-size: 3.5rem !important; }
    .section { padding: 80px 0 !important; }
    .navbar { padding: 12px 0 !important; }
    
    /* Mobile Menu Hardening */
    .navbar-collapse {
        background: #ffffff !important;
        padding: 25px !important;
        border-radius: 20px !important;
        margin-top: 20px !important;
        box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
        border: 1px solid var(--color-border) !important;
    }
    
    .nav-item .btn-premium { width: 100% !important; margin-top: 15px !important; padding: 15px !important; }
    .identity-card-premium { padding: 40px !important; }
    .cta-premium-wrapper { min-height: 450px !important; border-radius: 35px !important; }
    .experience-floating-card { position: static !important; width: 100% !important; margin-bottom: 20px !important; padding: 30px !important; }
    .map-container-premium iframe { height: 400px !important; }
    .form-control-premium { padding: 18px 25px !important; font-size: 1.2rem !important; }
}

/* Mobile Devices (L) (576px - 767px) */
@media (max-width: 767.98px) {
    .section-global-title { font-size: 3rem !important; }
    .display-1 { font-size: 3.5rem !important; }
    .display-2 { font-size: 2.75rem !important; }
    .section { padding: 60px 0 !important; }
    .hero-image { margin-top: 40px !important; }
    
    /* Mobile Logo & Nav Refinement */
    .brand-logo-img { height: 60px !important; }
    .nav-link { 
        font-size: 1.15rem !important; 
        padding: 12px 15px !important; 
        margin-left: 0 !important;
        border-bottom: 1px solid var(--color-border);
    }
}

/* Small Mobile (320px - 575px) */
@media (max-width: 575.98px) {
    html { font-size: 100%; }
    .brand-logo-img { height: 50px !important; }
    .display-1 { font-size: 2.75rem !important; }
    .display-2 { font-size: 2.25rem !important; }
    .cta-premium-wrapper { padding: 40px 20px !important; }
    .social-ring { width: 50px !important; height: 50px !important; font-size: 1.2rem !important; }
    .hero-buttons .btn { width: 100% !important; margin-bottom: 12px !important; margin-left: 0 !important; }
}

/* Height-based fixes */
@media (max-height: 600px) {
    .navbar { padding: 8px 0 !important; }
    body { padding-top: 80px !important; }
    .carousel-item { height: 85vh !important; min-height: 400px !important; }
}

/* =========================================
   UI Stabilization Classes (v6.4)
   ========================================= */

/* Hero & Slider */
.header-slider-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* About Section */
.about-description-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
    line-height: 1.8;
}

.hero-intro-img {
    border: 1px solid rgba(0, 74, 153, 0.1);
}

/* Stats & Cards */
.card-stat-value {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 900;
}

.icon-fixed-size-xs {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
}

/* Identity Cards */
.identity-card-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.identity-card-text {
    font-size: clamp(1.1rem, 2vw, 1.25rem) !important;
}

/* NGO Specialization */
.ngo-specialization-section {
    background: #0a111f !important;
    color: #fff !important;
    overflow: hidden;
}

.ngo-hero-description {
    max-width: 700px;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
    line-height: 1.7;
}

.card-item-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
}

.card-item-text {
    font-size: clamp(1.05rem, 2vw, 1.15rem) !important;
}

.featured-innovation-panel {
    background: linear-gradient(135deg, #00a86b 0%, #008f5d 100%) !important;
    min-height: 450px !important;
}

.cta-lead-text {
    line-height: 1.6;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
}

/* Leadership Spotlight */
.md-overlay-info {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
}

.md-spotlight-title {
    font-size: clamp(2.5rem, 6vw, 3.75rem) !important;
}

.md-spotlight-designation {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
}

/* About Page Specifics */
.about-hero-description {
    max-width: 900px;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
}

.floating-experience-number {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
}

.floating-experience-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
    line-height: 1.2;
}

.hero-about-img {
    min-height: 500px;
    object-fit: cover;
}

.decorative-pulse-circle {
    width: 250px;
    height: 250px;
}

.section-tag-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
}

.strength-item-title {
    font-size: clamp(1.25rem, 3vw, 1.6rem) !important;
}

.strength-item-text {
    font-size: clamp(1.05rem, 2vw, 1.2rem) !important;
}

.stat-premium-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
}

.section-subtitle-text {
    max-width: 800px;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
}

.icon-fixed-size-lg {
    width: 90px !important;
    height: 90px !important;
    flex-shrink: 0;
}

/* Global Section Polish */
.section-standard-py {
    padding: clamp(40px, 6vw, 70px) 0 !important; /* Tightened from 80px */
}

.section-compact-py {
    padding: clamp(20px, 4vw, 40px) 0 !important; /* Tightened from 50px */
}

/* Detail Page Readability Enhancement */
.detail-text-premium {
    font-size: 1.1rem !important;
    line-height: 1.85 !important;
    color: var(--color-text-main);
    letter-spacing: 0.01em;
}

.detail-text-premium p {
    margin-bottom: 2rem;
}

.detail-text-premium h2, 
.detail-text-premium h3 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

/* Service Page Specifics */
.service-card-title {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.service-card-description {
    font-size: clamp(1.1rem, 2vw, 1.45rem) !important;
    line-height: 1.8;
}

.service-card-link {
    font-size: clamp(1rem, 2vw, 1.1rem) !important;
}

/* Contact Page Specifics */
.contact-hero-description {
    max-width: 700px;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
}

.contact-method-icon {
    width: 60px !important;
    height: 60px !important;
    border: 2px solid var(--color-primary);
}

.contact-form-message {
    min-height: 150px;
}

/* Career Page Specifics */
.career-card-premium {
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.career-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-luxury);
}

.career-card-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
}

.career-card-meta {
    font-size: clamp(1rem, 2vw, 1.25rem) !important;
}

.career-card-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
    line-height: 1.8;
}

/* Project Page Specifics */
.project-card-img-wrapper {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-title {
    font-size: clamp(1.35rem, 3vw, 2rem) !important;
}

.project-card-description {
    font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
}

.project-card-btn {
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
}

/* Project Details Specifics */
.project-challenge-text {
    font-size: clamp(1.2rem, 2.5vw, 1.65rem) !important;
    line-height: 1.8;
}

.project-solution-text {
    font-size: clamp(1.15rem, 2.5vw, 1.6rem) !important;
    line-height: 1.8;
}

.solution-highlight-icon {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0;
}

.solution-highlight-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
}

.project-gallery-title {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.project-main-img {
    border-radius: 1rem;
}

.sidebar-sticky-offset {
    top: 100px !important;
}

.project-context-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
}

.project-context-value {
    font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
    display: block;
}

.project-context-cta {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
}

.project-testimonial-text {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem) !important;
}

.project-testimonial-author {
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
}

.sidebar-banner-item {
    height: 200px !important;
}

.sidebar-banner-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent) !important;
}

.sidebar-banner-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
}

.sidebar-banner-promo-bg {
    background: rgba(0,74,153,0.85) !important;
}

.sidebar-banner-promo-text {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem) !important;
}

.browse-more-btn {
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
}

.related-project-img {
    height: 200px !important;
    object-fit: cover !important;
}

/* Service Details Specifics */
.service-details-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
}

.service-details-description {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important;
    line-height: 1.8;
}

.roadmap-step-icon {
    width: 100px !important;
    height: 100px !important;
    background: #eff6ff !important;
    border: 2px solid #dbeafe !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    color: var(--color-primary) !important;
    font-size: 2rem !important;
}

.roadmap-step-title {
    font-size: clamp(1.15rem, 3vw, 1.4rem) !important;
}

.roadmap-step-desc {
    font-size: clamp(0.95rem, 2vw, 1.15rem) !important;
}

.service-cta-card {
    background: #fff !important;
}

.service-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.service-cta-text {
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
}

.service-cta-btn {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem) !important;
}

.related-success-story-img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
}

/* Career Details Specifics */
.career-details-summary-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.career-details-description {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem) !important;
    line-height: 1.8;
}

.career-details-benefits-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
}

.career-details-benefit-item {
    font-size: clamp(1.05rem, 2vw, 1.3rem) !important;
}

.career-info-card {
    background: #fff !important;
}

.career-info-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
}

.career-info-value {
    font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
}

.career-apply-btn {
    font-size: clamp(1.1rem, 2vw, 1.25rem) !important;
}

/* Vendor & Product Catalog Specifics */
.vendor-top {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0;
}

.category-sidebar {
    background: white;
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.nav-category .nav-link {
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid transparent;
    color: var(--text-muted) !important;
}

.nav-category .nav-link.active {
    background: #eff6ff;
    color: var(--color-primary) !important;
    border-color: #dbeafe;
}

.product-image-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card-premium:hover .product-image-box img {
    transform: scale(1.1);
}

.price-tag {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--color-primary);
}

.product-category-badge-offset {
    top: 15px !important;
    right: 15px !important;
}

.product-card-mini-btn {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Product Page Specifics */
.product-page-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
}

.product-img-featured {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    height: 100%;
}

.product-featured-image-scaling {
    max-height: 500px !important;
}

.product-info-box {
    padding: clamp(20px, 5vw, 60px);
}

.product-description-scaling {
    font-size: clamp(1.1rem, 2vw, 1.25rem) !important;
    line-height: 1.8;
}

.qty-input {
    width: 120px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    padding: 10px 20px;
}

.btn-cart {
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.15rem) !important;
    transition: all 0.3s;
    border: none;
}

.btn-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}