/* ===============================================================
   Web Tech - Full Website Reformation & Responsive Redesign
   (Super Premium, Glassmorphism, Advanced Animations)
   =============================================================== */

/* =========================================
   1. Universal Core & Body Elements
   ========================================= */
:root {
    --nav-height: 70px;
    --section-py: clamp(4rem, 8vw, 6.5rem);

    --shadow-luxury: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    --transition-premium: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    --fs-display-1: clamp(2.8rem, 7vw, 4.2rem);
    --fs-display-2: clamp(2.2rem, 6vw, 3.5rem);
    --fs-h1: clamp(2.4rem, 5.5vw, 3.2rem);
    --fs-h2: clamp(2.0rem, 4.5vw, 2.8rem);
    --fs-h3: clamp(1.6rem, 3.5vw, 2.2rem);

    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --transition-premium: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-underline {
    width: 70px;
    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: 1.5rem auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.section-title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    animation: underline-shine 3s infinite;
}

@keyframes underline-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    /* Fixed from missing DM Sans */
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Offset for fixed header on subpages */
body:not(.home-page-active) #main {
    padding-top: var(--nav-height);
}

.internal-page-header {
    padding-top: clamp(10rem, 18vw, 14rem) !important;
    padding-bottom: clamp(6rem, 12vw, 9rem) !important;
}

::selection {
    background: rgba(0, 74, 153, 0.2);
    color: var(--color-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Core Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.display-1 {
    font-size: var(--fs-display-1) !important;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.display-2 {
    font-size: var(--fs-display-2) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--fs-h2) !important;
}

h3 {
    font-size: var(--fs-h3) !important;
}

/* --- MISSION, VISION, GOAL CARDS --- */
.mvg-card {
    transition: var(--transition-premium);
    z-index: 1;
}

.mvg-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
    border-color: #1B3A8C !important;
}

.mvg-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    opacity: 0.8;
}

.mvg-card:hover .icon-box-premium {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mvg-card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.03;
    transform: rotate(-15deg);
    z-index: -1;
    transition: var(--transition-premium);
}

.mvg-card:hover .mvg-card-bg-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.05;
}

.fw-black {
    font-weight: 950;
}

.text-navy {
    color: #0f172a;
}

@media (max-width: 991px) {
    .section-mission-vision {
        margin-top: 0 !important;
        margin-bottom: 40px !important;
        padding-top: 40px !important;
    }
}

/* --- LEADERSHIP CARD ULTRA V2 --- */
.leadership-card-ultra {
    transition: var(--transition-premium);
    overflow: visible !important;
}

.leadership-card-ultra:hover {
    transform: translateY(-20px);
    box-shadow: 0 50px 100px rgba(15, 23, 42, 0.1) !important;
    border-color: #1B3A8C !important;
}

.watermark-quote {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 18rem;
    font-family: serif;
    color: #f1f5f9;
    line-height: 0.5;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition-premium);
}

.leadership-card-ultra:hover .watermark-quote {
    color: rgba(27, 58, 140, 0.05);
    transform: translateX(10px) rotate(5deg);
}

.leader-avatar-premium {
    position: relative;
    z-index: 2;
}

.avatar-shimmer {
    position: absolute;
    inset: -5px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    animation: avatarPulse 2s infinite;
}

@keyframes avatarPulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.fw-950 {
    font-weight: 950;
}


.ls-2 {
    letter-spacing: 2px !important;
}

/* --- PROJECT CARD ULTRA --- */
.project-card-ultra {
    transition: var(--transition-premium);
}

.project-card-ultra:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.12) !important;
}

.project-card-ultra:hover img {
    transform: scale(1.1);
}

.project-overlay-v2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
    opacity: 0;
    transition: var(--transition-premium);
}

.project-card-ultra:hover .project-overlay-v2 {
    opacity: 1;
}

.project-card-ultra:hover .fa-arrow-right {
    transform: translateX(10px);
}

.text-muted-premium {
    color: #64748b;
    line-height: 1.8;
}

/* Advanced Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0072ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #60a5fa 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-red {
    /* Legacy name for compatibility */
    background: linear-gradient(135deg, #60a5fa 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-premium {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* =========================================
   2. Premium Navigation (Glassmorphism)
   ========================================= */
.navbar {
    height: var(--nav-height) !important;
    display: flex;
    align-items: center;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    z-index: 2000;
    top: 0;
    margin: 0 !important;
}

.top-bar+header nav.fixed-top {
    top: 0 !important;
    /* Ensure it stays at top */
}

body.home-page-active #main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.brand-logo-img {
    max-height: 45px;
    transition: transform 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600 !important;
    font-size: 1.05rem;
    color: var(--text-dark) !important;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.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.4);
    /* Added bright glow */
}

/* Desktop Hover Indicator (Removed for Simplicity) */
/* Header CTA — Premium Blue Transparent requested for readability */
.btn-header-cta {
    background: linear-gradient(135deg, #1B3A8C 0%, #122a63 100%) !important;
    /* Premium Navy Blue */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 10px 24px !important;
    font-size: 0.82rem !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: var(--transition-premium) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 5px 15px rgba(27, 58, 140, 0.2) !important;
}

.btn-header-cta:hover {
    background: var(--color-accent) !important;
    /* Emerald Green on hover */
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25) !important;
    border-color: var(--color-accent) !important;
}

/* Home Page Transparency Support for Header CTA */
body.home-page-active .navbar:not(.scrolled) .btn-header-cta {
    background: var(--color-primary) !important;
    /* Force Navy background for visibility */
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.home-page-active .navbar:not(.scrolled) .btn-header-cta:hover {
    background: #ffffff !important;
    color: var(--color-primary) !important;
    border-color: #ffffff !important;
}

/* =========================================
   3. Buttons & Interactions
   ========================================= */
.btn {
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn-outline-navy {
    background: transparent !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
}

.btn-outline-navy:hover {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.6) 0%, rgba(27, 58, 140, 0.6) 100%) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.btn-premium {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2550c0 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 8px 15px rgba(27, 58, 140, 0.2) !important;
    padding: 12px 28px !important;
}

.btn-premium:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(27, 58, 140, 0.3) !important;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: white !important;
    color: var(--color-primary) !important;
    border-color: white !important;
}

/* =========================================
   4. Hero Section & Sliders
   ========================================= */
.hero-slider .carousel-item {
    height: 95vh;
    min-height: 650px;
    position: relative;
    background-color: #000;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.65;
    /* animation: slowZoom 20s ease-out infinite alternate; */
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-slider-content {
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

/* =========================================
   5. About Section & Statistics
   ========================================= */
.section-standard-py {
    padding: 80px 0;
}

:root {
    --color-dark: #0f172a;
    /* Slate Dark */
    --color-text: #334155;
    --color-title: #000000;
    /* Solid Black Titles */
    --premium-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    --transition-premium: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-text);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-title) !important;
    font-weight: 950 !important;
}

.premium-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.5) 0%, rgba(27, 58, 140, 0.5) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 30px;
}

.hero-intro-img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.image-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-gradient);
    color: white;
    padding: 30px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.3);
    text-align: center;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.image-experience-badge .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

/* Stats Cards */
.stats-card-modern {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stats-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 74, 153, 0.1);
}

.stat-icon-sm {
    width: 65px;
    height: 65px;
    background: rgba(0, 74, 153, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    font-size: 1.5rem;
}

.card-stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-top: 15px;
}

/* =========================================
   5a. Project Luxury Grid
   ========================================= */
.project-luxury-card {
    transition: var(--transition-premium);
}

.project-img-container {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
    border-radius: 40px !important;
}

.project-main-img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-luxury-card:hover .project-main-img {
    transform: scale(1.1);
}

.project-overlay-premium {
    z-index: 10;
    pointer-events: auto;
}

.project-category-badge {
    z-index: 15;
    font-size: 0.7rem;
    letter-spacing: 2px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-content-luxury {
    border-left: 4px solid transparent;
    padding-left: 20px;
    transition: all 0.4s ease;
}

.project-luxury-card:hover .project-content-luxury {
    border-left-color: var(--color-primary);
}

.max-w-600 {
    max-width: 600px;
}

.w-fit {
    width: fit-content;
}

.fw-black {
    font-weight: 900 !important;
}

/* =========================================
   6. Footer Redesign
   ========================================= */
.footer {
    background: #0b1120;
    color: #94a3b8;
    padding-top: 100px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-links a {
    color: #94a3b8 !important;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #38bdf8 !important;
    padding-left: 8px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.4);
}

/* =========================================
   7. Full Mobile Responsiveness & Hardening
   ========================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 20px;
        background: #fff;
        border-radius: 20px;
        padding: 25px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .hero-slider .carousel-item {
        height: 75vh;
        min-height: 500px;
    }

    .display-1 {
        font-size: clamp(1.9rem, 7vw, 2.8rem) !important;
    }

    .btn-group-hero {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-group-hero .btn {
        width: 100%;
    }

    .section-standard-py {
        padding: 60px 0;
    }

    .about-image-wrapper {
        margin-bottom: 60px;
    }

    .image-experience-badge {
        right: 0;
        bottom: -20px;
        transform: scale(0.85);
        transform-origin: bottom right;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand-logo-img {
        max-height: 35px;
    }

    .home-stats-grid .col-6 {
        width: 100%;
    }

    .image-experience-badge .number {
        font-size: 2.2rem;
    }
}

/* Redesign Sections */
.section-ngo-special {
    background-color: var(--color-ngo-dark);
    padding: 100px 0;
    color: white;
}

.section-ngo-special .section-global-title {
    color: white !important;
}

.special-card-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
}

.special-card-red {
    background: var(--color-accent);
    border-radius: 30px;
    padding: 50px;
    height: 100%;
    color: white;
}

.special-card-red h3 {
    color: white !important;
    font-size: 2.2rem;
}

.special-card-green .btn-white {
    background: white;
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: var(--transition-slow);
}

.special-card-green .btn-white:hover {
    background: var(--color-accent);
    color: white;
}

.service-card-premium {
    background: white;
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 74, 153, 0.1);
}

.service-card-premium .icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(0, 74, 153, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.msg-card-premium {
    background: white;
    border-radius: 25px;
    padding: 45px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.msg-card-premium .quote-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.msg-card-premium .leader-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    filter: grayscale(100%);
}

.msg-card-premium h5 {
    margin-bottom: 5px;
    font-weight: 800;
}

.msg-card-premium .designation {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
}

.mission-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-card .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 74, 153, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

/* =========================================
   8. Premium Design Parity (New Sections)
   ========================================= */

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.roadmap-card {
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.roadmap-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary) !important;
    background: rgba(30, 41, 59, 0.8) !important;
}

.step-num-premium {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(27, 58, 140, 0.3);
}

/* Leadership Perspectives v2 */
.msg-card-premium-v2 {
    transition: var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.msg-card-premium-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.quote-icon-bg i {
    color: rgba(27, 58, 140, 0.05);
}

/* Detail Page Components */
.sidebar-widget-premium {
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card {
    transition: var(--transition-slow);
}

.benefit-card:hover {
    background: white !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    transform: scale(1.02);
}

/* Custom Textures */
.opacity-05 {
    opacity: 0.05;
}

.opacity-10 {
    opacity: 0.1;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Interactive Utilities */
.group-hover-zoom {
    transition: transform 0.8s ease;
}

.group:hover .group-hover-zoom {
    transform: scale(1.1);
}

.transition-slow {
    transition: var(--transition-slow);
}

/* V-Step Roadmap (Desktop/Mobile) */
.roadmap-v-steps {
    position: relative;
    padding-left: 20px;
}

.roadmap-v-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(27, 58, 140, 0.1);
}

.v-step-num {
    width: 42px;
    height: 42px;
    background: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    z-index: 2;
    flex-shrink: 0;
    position: relative;
}

.shadow-luxury {
    box-shadow: var(--shadow-luxury) !important;
}

.shadow-xl {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12) !important;
}

/* NGO Specialization Premium Styles */
.section-ngo-special {
    background: #0f172a;
    color: white;
}

.special-card-red {
    background: var(--accent-gradient);
    color: white;
    border-radius: 32px;
    padding: 50px;
    transition: var(--transition-premium);
}

.special-card-red:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(211, 47, 47, 0.3);
}

.special-card-dark {
    background: var(--color-primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-premium);
}

.special-card-dark:hover {
    background: #1a2236;
    transform: translateY(-10px);
}

/* Core Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.expertise-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition-premium);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
    border-color: var(--color-primary);
}

.expertise-icon-wrap {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

/* Success Story / Testimonial Enhancement */
.testimonial-card-premium {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: var(--transition-premium);
}

.testimonial-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

/* Infinite Client Marquee */
.client-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 60s linear infinite;
    width: max-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-item {
    flex-shrink: 0;
    padding: 0 60px;
    /* Increased spacing for better premium look */
}

.client-logo-item img {
    filter: grayscale(100%);
    opacity: 0.4;
    transition: var(--transition-premium);
    max-height: 55px;
    /* Unified sizing */
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 0.9;
    transform: scale(1.15);
}

/* Helper Utilities */
.italic {
    font-style: italic;
}

.z-index-1 {
    z-index: 1 !important;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-05 {
    opacity: 0.05;
}

.line-height-1 {
    line-height: 1.1 !important;
}

.ls-2 {
    letter-spacing: 2px;
}

.tiny {
    font-size: 0.75rem;
}

.hover-move-right:hover i {
    transform: translateX(5px);
}

/* --- STRATEGIC CASE STUDIES REDESIGN (Premium v2) --- */
.project-luxury-card {
    transition: var(--transition-premium);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 24px !important;
}

.project-luxury-card .project-img-container {
    transition: var(--transition-premium);
    border-radius: 20px !important;
}

.project-luxury-card:hover {
    transform: translateY(-8px);
}

.project-luxury-card:hover .project-img-container {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2) !important;
}

.project-overlay-premium {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px !important;
}

.project-category-badge {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-premium);
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content-luxury {
    border-bottom: 4px solid transparent;
    transition: var(--transition-premium);
    padding-bottom: 25px;
}

.project-luxury-card:hover .project-content-luxury {
    border-bottom-color: var(--color-primary);
}

.project-accent-dot {
    transition: var(--transition-premium);
    opacity: 0.4;
}

.project-luxury-card:hover .project-accent-dot {
    transform: scale(1.8);
    opacity: 1;
    box-shadow: 0 0 15px var(--color-primary);
}

.group-hover-zoom {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.group:hover .group-hover-zoom {
    transform: scale(1.08);
}

/* --- CLIENT SLIDING BOX TICKER --- */
.client-slider-wrap {
    padding: 60px 0 60px; /* Increased vertical padding to prevent tooltip/hover clipping */
    z-index: 1;
}

.client-slider-track {
    display: flex;
    width: max-content;
    animation: client-slide 60s linear infinite; /* Increased duration for smoother crawl */
    gap: 0; /* Handled by item padding */
}

.client-slider-wrap:hover .client-slider-track {
    animation-play-state: paused;
}

@keyframes client-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

.slider-fade-mask::before,
.slider-fade-mask::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-fade-mask::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.slider-fade-mask::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

/* Premium Grid Background for Sections */
.bg-grid-tech {
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(27, 58, 140, 0.03) 1px, transparent 0);
    background-size: 30px 30px;
}

.client-card {
    background: #ffffff; /* Use solid white for maximum logo clarity */
    border: 1.5px solid rgba(27, 58, 140, 0.12) !important;
    box-shadow: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.client-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(23, 65, 163, 0.95);
    color: #ffffff;
    padding: 7px 18px;
    border-radius: 100px; /* More pill-like */
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    box-shadow: 0 12px 25px rgba(23, 65, 163, 0.2);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-card img {
    max-height: 52px; /* Slightly smaller for better padding balance */
    max-width: 82%;
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    z-index: 15;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
}

.client-card:hover {
    background: #ffffff !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 25px 50px rgba(27, 58, 140, 0.15), 0 0 15px rgba(23, 65, 163, 0.1);
    transform: translateY(-12px) scale(1.06);
}

.client-card:hover .client-tooltip {
    opacity: 1;
    transform: translate(-50%, -170%); /* Pops up above the logo */
}

.client-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.08));
}

/* --- MISSION CRITICAL CARDS (About Page Fixes) --- */
.mission-critical-card {
    transition: var(--transition-premium);
}

.mission-critical-card:hover {
    transform: translateY(-10px);
}

.featured-crimson {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
}

.shadow-crimson {
    box-shadow: 0 20px 50px rgba(211, 47, 47, 0.25) !important;
}

.mission-critical-card:hover.shadow-crimson {
    box-shadow: 0 30px 60px rgba(211, 47, 47, 0.4) !important;
}

.bg-navy {
    background: #0F172A !important;
}

.badge-overlay {
    background: #0F172A !important;
    /* bg-navy hex */
    color: #ffffff !important;
    /* Force high-contrast white text */
    -webkit-text-fill-color: #ffffff !important;
    /* Standard fix for some browsers */
    letter-spacing: 1px;
    z-index: 5;
    opacity: 1 !important;
    /* Ensure it shows without hover */
    visibility: visible !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.text-accent {
    color: var(--color-accent) !important;
    /* Emerald Green Highlight */
}

.shadow-luxury {
    box-shadow: var(--shadow-luxury) !important;
}

/* Featured 'Emerald' Vision Card Fix */
.featured-emerald {
    background: var(--color-accent) !important;
    /* Emerald Green */
    background: linear-gradient(135deg, var(--color-accent) 0%, #60a5fa 100%) !important;
    border: none !important;
}

.shadow-emerald {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3) !important;
}

.featured-emerald h3,
.featured-emerald p,
.featured-emerald .watermark-num {
    color: #ffffff !important;
}

.featured-emerald p {
    opacity: 0.9 !important;
}

/* --- SERVICE DETAIL: IMPLEMENTATION ROADMAP --- */
.roadmap-v-pipeline {
    position: relative;
    padding-left: 30px;
}

.roadmap-v-pipeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e2e8f0;
    border-radius: 10px;
}

.roadmap-progress-scroll {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 10px;
    transition: height 0.4s ease-out;
    z-index: 1;
}

.roadmap-v-step {
    opacity: 0.4;
    transform: translateX(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-v-step.active {
    opacity: 1;
    transform: translateX(0);
}

.step-pulse-head {
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15);
    transition: all 0.4s ease;
}

.roadmap-v-step.active .step-pulse-head {
    box-shadow: 0 0 0 6px rgba(211, 47, 47, 0.25);
    animation: stepPulse 2s infinite;
}

@keyframes stepPulse {
    0% {
        box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(211, 47, 47, 0.05);
    }

    100% {
        box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
    }
}

.roadmap-box-v2 {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- STRATEGIC ROADMAP EQUAL HEIGHT --- */
.roadmap-card-v2 {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.roadmap-card-v2 .step-num-large {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15 !important;
}

/* --- SERVICE CARD V3 HARMONIZATION --- */
.service-card-v3 {
    display: flex;
    flex-direction: column;
    padding: 2.22rem !important;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.service-card-v3 .service-icon-box {
    box-shadow: 0 8px 25px rgba(27, 58, 140, 0.1) !important;
}

.service-card-v3 .text-uppercase {
    color: var(--color-primary) !important;
    font-weight: 950 !important;
    margin-top: auto;
}

.map-container-v2 {
    position: relative;
}

.map-container-v2 iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* --- PREMIUM V2 FORMS (Contact & Project Request) --- */
.form-group-v2 {
    margin-bottom: 20px;
    position: relative;
}

.form-label-v2 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

.form-control-v2 {
    width: 100%;
    padding: 15px 25px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(27, 58, 140, 0.1);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition-premium);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.form-control-v2:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(27, 58, 140, 0.1);
}

.form-control-v2::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

textarea.form-control-v2 {
    min-height: 120px;
    resize: vertical;
}

/* Homepage Service Card Refinement */
.service-card-v3 {
    padding: 2.2rem !important;
    /* Slightly more compact */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(27, 58, 140, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-card-v3:hover {
    box-shadow: 0 25px 60px rgba(27, 58, 140, 0.12) !important;
    border-color: #1B3A8C !important;
}

.service-icon-box {
    width: 80px !important;
    /* Balanced size */
    height: 80px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(27, 58, 140, 0.08) !important;
    transition: all 0.5s ease;
}

.service-card-v3:hover .service-icon-box {
    background: var(--color-primary) !important;
    transform: rotateY(180deg);
}

.service-card-v3:hover .service-icon-box i {
    color: white !important;
}

.service-card-v3 i {
    font-size: 2rem !important;
}

/* --- UNIFIED CARD CTA LINKS (Emerald Excellence) --- */
.service-card-v3 .text-uppercase,
.project-card-interactive .text-uppercase,
.project-air-card .text-uppercase,
.roadmap-card-v2 .text-uppercase {
    letter-spacing: 0.1em !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: var(--color-primary) !important;
    /* Unified Navy Blue */
    transition: var(--transition-premium);
}

.service-card-v3:hover .text-uppercase,
.project-card-interactive:hover .text-uppercase,
.project-air-card:hover .text-uppercase,
.roadmap-card-v2:hover .text-uppercase,
.service-card-v3:hover i,
.project-card-interactive:hover i,
.project-air-card:hover i {
    color: var(--color-accent) !important;
    /* Unified Emerald Green on Hover */
    transform: translateX(5px);
}

/* Fix "Discover More" text overcrowding */
.service-card-v3 .text-uppercase {
    margin: 0;
}

/* Footer 'Get In Touch' Icon Highlight */
.footer-quick-links li i.text-accent {
    color: #ffffff !important;
    /* Pure White Icons */
    font-size: 1rem;
    opacity: 0.8;
    transition: var(--transition-premium);
}

.footer-quick-links li:hover i.text-accent {
    transform: scale(1.1);
    opacity: 1;
    color: var(--color-success) !important;
    /* Emerald Green on hover */
}

/* =========================================
   10. Nebula Leadership V4 (Ultra Premium)
   ========================================= */
.section-leadership-v4 {
    background-color: #f8fafc;
    /* Light background to make the dark cards pop */
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.leadership-card-v4 {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    padding: 60px 40px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
}

.leadership-card-v4:hover {
    transform: translateY(-20px);
    border-color: #1B3A8C !important;
    box-shadow: 0 40px 100px rgba(27, 58, 140, 0.12);
}

.leader-avatar-v4 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 35px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.5s ease;
}

.leadership-card-v4:hover .leader-avatar-v4 {
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.leader-avatar-v4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leadership-text-v4 {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    min-height: 100px;
}

.leadership-text-v4::before {
    content: '“';
    font-family: serif;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.15;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.leader-meta-v4 h5 {
    color: var(--color-primary) !important;
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-weight: 900;
}

.leader-meta-v4 .designation-v4 {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2.5px;
}

/* Background Glow Elements */
.glow-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.08;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    left: -100px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    bottom: -200px;
    right: -100px;
}