@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap");

:root {
    --primary-blue: #003399;
    --primary-red: #e31e24;
    --primary-light: #4c82ff;
    --dark-bg: #030712;
    --light-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Joint Venture Stakeholder Colors */
    --krishna-blue: #003399;
    --krishna-blue-rgb: 0, 51, 153;
    --krishna-red: #e31e24;
    --krishna-red-rgb: 227, 30, 36;

    --tstech-blue: #0054a7;
    --tstech-blue-rgb: 0, 84, 167;
    --tstech-orange: #f08200;
    --tstech-orange-rgb: 240, 130, 0;

    /* =============================================
       GLOBAL TYPOGRAPHY SYSTEM
       Ek jagah change karo — poori website update!
    ============================================= */
    --font-h1:        2.2rem;   /* Page main heading      */
    --font-h2:        26px;     /* Section headings (h2)  */
    --font-h3:        1.15rem;  /* Card / sub titles (h3) */
    --font-h4:        1.0rem;   /* Small headings    (h4) */
    --font-body:      0.95rem;  /* Body paragraphs        */
    --font-badge:     0.8rem;   /* Badge / labels         */
    --font-caption:   0.82rem;  /* Captions / meta        */

    --lh-heading:     1.2;      /* Line-height for headings */
    --lh-body:        1.7;      /* Line-height for body     */

    /* =============================================
       GLOBAL SECTION SPACING SYSTEM
    ============================================= */
    --section-pt:     70px;     /* Section padding-top    */
    --section-pb:     70px;     /* Section padding-bottom */
    --section-gap:    45px;     /* Gap between sub-blocks */
    --card-gap:       24px;     /* Gap between cards      */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
}

/* =============================================
   GLOBAL HEADING STYLES — Consistent across site
============================================= */
h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: var(--font-h1);
    line-height: var(--lh-heading);
    color: var(--text-main);
    margin-bottom: 1rem;
}

h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 10px;
}

h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: var(--font-h3);
    line-height: var(--lh-heading);
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

h4 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: var(--font-h4);
    line-height: var(--lh-heading);
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

p {
    font-size: var(--font-body);
    line-height: var(--lh-body);
    color: var(--text-muted);
}

/* --- Utilities --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =============================================
   GLOBAL SECTION PADDING — Consistent spacing
============================================= */
.section-padding {
    padding: var(--section-pt) 0 var(--section-pb) 0;
}

/* Section header block (badge + h2 + subtitle) */
.section-header {
    text-align: center;
    margin-bottom: var(--section-gap);
}
.section-header h2 {
    font-size: var(--font-h2);
    margin-top: 12px;
    margin-bottom: 12px;
}
.section-header p,
.section-header .section-sub {
    font-size: var(--font-body);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: var(--lh-body);
}

/* Section badge pill (used above h2 on every section) */
.section-badge {
    display: inline-block;
    font-size: var(--font-badge);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 16px;
    border-radius: 30px;
    margin-bottom: 10px;
}
.section-badge.blue   { background: rgba(0,51,153,0.09);  color: var(--primary-blue); }
.section-badge.red    { background: rgba(227,30,36,0.09); color: var(--primary-red); }
.section-badge.orange { background: rgba(240,130,0,0.09); color: var(--tstech-orange); }

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 51, 153, 0.06);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 51, 153, 0.05);
    border-bottom: 1px solid rgba(0, 51, 153, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a:not(.btn-contact) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.90rem;
    transition: var(--transition);
    position: relative;
}

header.scrolled .nav-links a:not(.btn-contact) {
    color: var(--text-main);
}

.nav-links a:not(.btn-contact)::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:not(.btn-contact):hover {
    color: var(--primary-blue);
}

header.scrolled .nav-links a:not(.btn-contact):hover {
    color: var(--primary-blue);
}

.nav-links a:not(.btn-contact):hover::after {
    width: 100%;
}

/* Active State for Navigation Items */
.nav-links a:not(.btn-contact).active,
header.scrolled .nav-links a:not(.btn-contact).active {
    color: var(--primary-blue);
}

.nav-links a:not(.btn-contact).active::after,
header.scrolled .nav-links a:not(.btn-contact).active::after {
    width: 100%;
}

.btn-contact {
    background: var(--primary-red) !important;
    color: var(--white) !important;
    padding: 4px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
    display: inline-block;
}

.btn-contact:hover {
    background: #ff2d34 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.3);
    color: var(--white) !important;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #bae6fd 100%);
    color: #0f172a;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.8) 0%,
        transparent 70%
    );
    top: -100px;
    right: -100px;
    z-index: 1;
    filter: blur(80px);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-tag,
.hero .badge {
    display: inline-block;
    background: rgba(0, 51, 153, 0.05);
    border-left: 4px solid var(--primary-blue);
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary-blue), #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1.4s ease;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-blue);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.8rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ff2d34;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.3);
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.8rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.4);
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

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

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

/* --- Features Section --- */
.features {
    background: var(--white);
}

.section-header {
    text-align: center;
    /* max-width: 700px; */
    margin: 0 auto 30px;
}

.section-header span {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 2rem;
    margin-top: 10px;
    color: var(--primary-blue);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3.5rem 2.5rem;
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 51, 153, 0.08);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(1);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 51, 153, 0.15);
    background: #fdfdfd;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

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

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

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

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

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

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

/* --- Capabilities --- */
.capability-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 51, 153, 0.08);
}

.cap-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.capability-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.capability-card ul {
    list-style: none;
    padding: 0;
}

.capability-card ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.capability-card ul li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 4px;
    color: var(--primary-red);
}

@media (max-width: 992px) {
    .cae-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .workflow-steps {
        grid-template-columns: 1fr;
    }
}

/* --- Design Capabilities Section --- */
.capabilities {
    background: #f8fafc !important;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

/* Subtle Engineering Grid Pattern on Light Background */
.capabilities::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 51, 153, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 51, 153, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cs_case_study_1_list {
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 40px 0;
}

@media (max-width: 767px) {
    .cs_case_study_1_list {
        flex-direction: column;
    }
}

.cs_case_study.cs_style_1 {
    flex: 1;
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cs_case_study.cs_style_1.active {
    flex: 3;
    box-shadow: 0 20px 40px rgba(0, 51, 153, 0.1);
    border-color: var(--primary-blue);
    background: var(--primary-blue);
}

.cs_case_study_thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.8s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* Icon Container */
.cs_case_study_thumb i {
    font-size: 3rem;
    color: var(--primary-blue);
    transition: all 0.6s ease;
    position: relative;
    z-index: 5;
}

.cs_case_study.cs_style_1.active .cs_case_study_thumb i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 30px;
    right: 30px;
    transform: none;
}

.cs_case_study_thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 153, 0.7);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 2;
}

.cs_case_study.cs_style_1.active .cs_case_study_thumb::before {
    opacity: 1;
}

.cs_case_study_in {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 0.1s;
    z-index: 3;
}

.cs_case_study.cs_style_1.active .cs_case_study_in {
    opacity: 1;
    transform: translateY(0);
}

.cs_case_study_title a {
    color: white !important;
    text-decoration: none !important;
    font-size: 1.8rem;
    font-weight: 800;
}

.cs_case_study_category {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cs_height_118 {
    height: 20px;
}

/* --- Testing Capabilities Section --- */
.testing-section {
    background: #ffffff;
    padding: 80px 0;
}

.testing-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .testing-grid {
        grid-template-columns: 1fr;
    }
}

.test-list-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
}

.test-list-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px;
}

.test-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.test-list-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.test-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.test-item:hover {
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

.test-num {
    font-weight: 700;
    color: var(--primary-blue);
    min-width: 25px;
}

.cert-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin-bottom: 2rem;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
}

.lab-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.lab-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.lab-img:hover {
    transform: scale(1.1);
    z-index: 2;
}

.accreditation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

.badge-item {
    padding: 8px 15px;
    background: #eff6ff;
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

/* --- Safety & Marketability Section --- */
.safety-section {
    background: #f8fafc;
    padding: 80px 0;
}

.safety-market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .safety-market-grid {
        grid-template-columns: 1fr;
    }
}

.verification-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.verification-header {
    padding: 25px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verification-body {
    padding: 30px;
    flex-grow: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.tech-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tech-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(3, 7, 18, 0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.verification-card:hover .tech-img {
    transform: scale(1.1);
}

.verification-footer {
    padding: 20px 25px;
    background: #eff6ff;
    border-top: 1px solid #dbeafe;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

.safety-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* --- General Capabilities Section (Compact 2-Column) --- */
.gen-capabilities {
    background: #f8fafc;
    padding: 50px 0;
    position: relative;
}

.cap-content-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.cap-left-image {
    position: relative;
}

.cap-left-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-overlay-border {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-top: 5px solid var(--primary-red);
    border-left: 5px solid var(--primary-red);
    border-radius: 8px 0 0 0;
    z-index: 1;
}

.cap-right-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cap-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 6px 12px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 51, 153, 0.05);
    border: 1px solid #e0f2fe;
    transition: var(--transition);
}

.cap-item-compact:hover {
    transform: translateX(10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.1);
}

.cap-num {
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.cap-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

@media (max-width: 992px) {
    .cap-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cap-left-image img {
        height: 350px;
    }
}

/* --- Portfolio Section --- */
.portfolio-section {
    background: #030712;
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.portfolio-header .left span {
    color: #4c82ff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.portfolio-header .left h2 {
    font-size: 3.2rem;
    margin: 0;
    color: white;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border: 1px solid rgba(76, 130, 255, 0.4);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

.view-all::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    transition: var(--transition);
    z-index: -1;
}

.view-all:hover {
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 51, 153, 0.3);
}

.view-all:hover::before {
    left: 0;
}

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

.view-all:hover i {
    transform: translateX(5px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(3, 7, 18, 0.95) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover::after {
    opacity: 1;
}

.portfolio-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-card-content h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.portfolio-card-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 10px;
    max-width: 250px;
}

.portfolio-card:hover .portfolio-card-content {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .portfolio-header .left h2 {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        height: 260px;
        border-radius: 12px;
    }
}

/* --- Global Presence Section --- */
.presence-section {
    background: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.presence-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: center;
}

.local-presence-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background: #f1f5f9;
    max-width: 460px;
    width: 100%;
    justify-self: center;
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

.map-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-red);
    border-radius: 50%;
}

.map-pulse::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1.5px solid var(--primary-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.presence-content h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.presence-content h2 span {
    color: var(--primary-blue);
}

.presence-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    border-left: 3px solid #e2e8f0;
    padding-left: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    border-left-color: var(--primary-red);
}

.stat-num {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: "Outfit", sans-serif;
    margin-bottom: 2px;
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .presence-grid,
    .local-presence-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .presence-content {
        order: -1;
    }
}

@media (max-width: 768px) {
    .presence-content h2 {
        font-size: 2.2rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .stat-num {
        font-size: 2rem;
    }
}

/* --- Workflow Section (12 Steps) --- */
.workflow-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-section {
    padding: 100px 0;
    background: #ffffff;
}

.workflow-header-alt {
    text-align: center;
    margin-bottom: 60px;
}

.one-team-box {
    background: #e2e8f0;
    padding: 20px 40px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 40px;
}

.one-team-box h3 {
    color: #4ade80;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.one-team-box p {
    color: var(--primary-blue);
    font-weight: 700;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    width: 100%;
    justify-content: center;
}

.work-node {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    width: 100%;
}

.work-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-bottom-color: var(--primary-blue);
}

.work-node h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.work-node p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.node-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.2);
    border: 2px solid var(--white);
    z-index: 10;
}

.work-node.highlight {
    background: var(--primary-blue);
    color: white;
}

.work-node.highlight h4 {
    color: white;
}

.work-node.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.work-node.highlight .node-number {
    background: var(--white);
    color: var(--primary-blue);
}

.cycle-execution-bar {
    grid-column: 1 / -1;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-radius: 8px;
    margin: 20px 0;
}

@media (max-width: 1200px) {
    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* --- About Section Redesign --- */
.about {
    background: #f8fafc;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.about-glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 51, 153, 0.04) 0%, rgba(0, 51, 153, 0) 70%);
    top: -100px;
    left: -100px;
    z-index: 1;
    pointer-events: none;
}

.about-glow-orb.orb-2 {
    background: radial-gradient(circle, rgba(227, 30, 36, 0.03) 0%, rgba(227, 30, 36, 0) 70%);
    bottom: -150px;
    right: -100px;
    top: auto;
    left: auto;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    z-index: 2;
    padding: 0;
    max-width: 420px;
    width: 100%;
    justify-self: center;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -10px;
    right: 10px;
    bottom: -10px;
    border: 2px dashed rgba(0, 51, 153, 0.12);
    border-radius: 20px;
    z-index: -1;
    transition: var(--transition);
}

.about-image-wrapper:hover::before {
    transform: translate(5px, -5px);
    border-color: rgba(227, 30, 36, 0.2);
}

.about-image-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-floating-card {
    position: absolute;
    bottom: 20px;
    right: -15px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    max-width: 230px;
    animation: aboutFloat 4s ease-in-out infinite;
}

.about-floating-card .badge-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 6px 12px rgba(0, 51, 153, 0.15);
}

.about-floating-card .badge-text {
    display: flex;
    flex-direction: column;
}

.about-floating-card .badge-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.about-floating-card .badge-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 1px;
}

@keyframes aboutFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.gradient-text-blue-red {
    background: linear-gradient(135deg, var(--primary-blue) 40%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-content h2 {
    font-size: 2.15rem;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.8rem;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
}

.about-content p.lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.mv-card {
    padding: 1.2rem 1.4rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(0, 51, 153, 0.02) 0%, rgba(0, 51, 153, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    transition: var(--transition);
}

.mv-card.vision::after {
    background: radial-gradient(circle, rgba(227, 30, 36, 0.02) 0%, rgba(227, 30, 36, 0) 70%);
}

.mv-card.vision {
    border-left-color: var(--primary-red);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 51, 153, 0.06);
    border-left-width: 6px;
    border-color: rgba(0, 51, 153, 0.12);
    background: var(--white);
}

.mv-card.vision:hover {
    box-shadow: 0 15px 30px rgba(227, 30, 36, 0.06);
    border-color: rgba(227, 30, 36, 0.12);
}

.mv-card:hover::after {
    transform: scale(1.2);
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.mv-card .icon-box {
    width: 38px;
    height: 38px;
    background: rgba(0, 51, 153, 0.05);
    color: var(--primary-blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--transition);
}

.mv-card.vision .icon-box {
    background: rgba(227, 30, 36, 0.05);
    color: var(--primary-red);
}

.mv-card:hover .icon-box {
    transform: scale(1.08) rotate(5deg);
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 12px rgba(0, 51, 153, 0.15);
}

.mv-card.vision:hover .icon-box {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 5px 12px rgba(227, 30, 36, 0.15);
}

.mv-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

.mv-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Leadership Section */
.leadership-section {
    margin-top: 5rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.leader-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 51, 153, 0.08);
    border-color: var(--primary-blue);
}

.leader-info h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0;
}

.leader-info span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    .leader-card {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Product Page Detailed Layout (Light Theme) --- */
.product-main {
    padding: 60px 0;
    background: #f8fafc;
}

.product-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

/* Sidebar Styling - Compact */
.sidebar-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 100px;
    height: fit-content;
    align-self: start;
}

.filter-group {
    margin-bottom: 1.8rem;
}

.filter-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: block;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-item {
    margin-bottom: 6px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
}

.category-link i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.category-link:hover {
    background: #f1f5f9;
    color: var(--primary-blue);
}

.category-link.active {
    background: rgba(0, 51, 153, 0.05);
    color: var(--primary-blue);
    border-left: 3px solid var(--primary-blue);
}

/* Filter Controls - Compact */
.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.custom-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-blue);
}

.segment-select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
}

/* Product Card Premium - Compact */
.product-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .product-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid-premium {
        grid-template-columns: 1fr;
    }
}

.product-card-premium {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.1);
    border-color: var(--primary-blue);
}

.product-img-box {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 51, 153, 0.85);
    color: white;
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.product-badge.new {
    background: #0ea5e9;
}

.product-info-premium {
    padding: 1.2rem;
    flex-grow: 1;
}

.product-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.product-header-premium h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin: 0;
}

.model-no {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tech-specs {
    margin-bottom: 1.2rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f8fafc;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.btn-view-details {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--primary-blue);
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-view-details:hover {
    background: #002673;
    border-color: #002673;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 153, 0.2);
}

.product-card-premium:hover .btn-view-details {
    background: #002673;
    border-color: #002673;
}

/* Mega Menu Styling */
.nav-links li {
    position: static; /* Required for full-width mega menu */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 50px rgba(0, 51, 153, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.02);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.3s;
    padding: 2.2rem 0;
    border-top: 1px solid rgba(0, 51, 153, 0.08);
    border-bottom: 1px solid rgba(0, 51, 153, 0.05);
    z-index: 1000;
}

/* Ensure ALL links inside mega menu are dark by default, unless active or hovered */
.mega-menu a {
    color: #334155 !important;
    transition: all 0.2s ease;
}

.mega-menu a:hover {
    color: var(--primary-blue) !important;
}

.nav-links li:hover .mega-menu,
.nav-links li.mega-open .mega-menu,
.nav-links li.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr 280px;
    gap: 2.5rem;
    padding: 0 20px;
    align-items: stretch;
}

.mega-sidebar {
    border-right: 1px solid #f1f5f9;
    padding-right: 1.5rem;
}

.mega-tabs {
    list-style: none;
    padding: 0;
}

.mega-tab-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #475569 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
}

.mega-tab-link i {
    width: 20px;
    font-size: 1.05rem;
    text-align: center;
    color: #64748b;
    transition: all 0.25s ease;
}

.mega-tab-link:hover {
    color: var(--primary-blue) !important;
    background: rgba(0, 51, 153, 0.03);
    border-left-color: rgba(0, 51, 153, 0.2);
    padding-left: 22px;
}

.mega-tab-link:hover i {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.mega-menu .mega-tab-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002673 100%);
    font-weight: 600;
    border-left-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 51, 153, 0.18);
}

.mega-menu .mega-tab-link.active i {
    color: #ffffff;
}

.mega-tab-content {
    display: none;
    width: 100%;
}

.mega-tab-content.active {
    display: block;
}

.mega-content-area h4 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 8px;
}

.mega-content-area h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.mega-content-area p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.mega-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.mega-sublink {
    color: #334155 !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    padding: 3px 0;
}

.mega-sublink:hover {
    color: var(--primary-red) !important;
    transform: translateX(6px);
}

.mega-sublink i {
    font-size: 0.5rem;
    color: var(--primary-red);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.mega-sublink:hover i {
    opacity: 1;
    transform: scale(1.2);
}

.mega-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mega-visual:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 51, 153, 0.15);
    box-shadow: 0 12px 30px rgba(0, 51, 153, 0.08);
}

.mega-visual-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.mega-visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f8fafc;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-visual:hover .mega-visual-img img {
    transform: scale(1.08);
}

.mega-visual-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: rgba(0, 51, 153, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 51, 153, 0.08);
    margin: 1.2rem auto;
    align-self: center;
    text-align: center;
    transition: all 0.3s ease;
}

.mega-visual:hover .mega-visual-label {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.15);
}

@media (max-width: 992px) {
    .mega-menu {
        display: none; /* Hide mega menu on mobile, use simple dropdown or accordion if needed */
    }
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-filter {
        position: relative;
        top: 0;
    }
}

/* --- Site Footer --- */
.site-footer {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 40px 0 10px;
    font-family: "Inter", sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer-address {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links,
.footer-scope {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-scope li {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-scope li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.footer-contact-info p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #ffffff;
}

.footer-contact-info i {
    color: var(--primary-light);
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-copyright {
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #64748b;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover {
    color: #ffffff;
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.2);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 40px 0 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- Subpage Hero Styling --- */
.subpage-hero {
    min-height: 45vh;
    padding-top: 100px;
    background:
        linear-gradient(rgba(240, 253, 250, 0.85), rgba(224, 242, 254, 0.95)),
        url("assets/img/hero/product_banner.png");
    background-size: cover;
    background-position: center;
    color: #0f172a;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.subpage-hero .container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.subpage-hero .hero-content {
    text-align: left !important;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.subpage-hero .hero-content h1,
.subpage-hero .hero-content p,
.subpage-hero .hero-content .hero-tag {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    align-self: flex-start !important;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 25px 0;
    background: linear-gradient(
        135deg,
        #001a66 0%,
        var(--primary-blue) 40%,
        #0a1f6b 70%,
        #001033 100%
    );
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(76, 130, 255, 0.2) 0%,
        transparent 70%
    );
    animation: ctaPulse 6s ease-in-out infinite;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(0, 51, 153, 0.3) 0%,
        transparent 70%
    );
    animation: ctaPulse 8s ease-in-out infinite reverse;
}

@keyframes ctaPulse {
    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15) translate(20px, -20px);
        opacity: 1;
    }
}

.cta-floating-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-floating-dots span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatDot linear infinite;
}

.cta-floating-dots span:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}
.cta-floating-dots span:nth-child(2) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 2s;
}
.cta-floating-dots span:nth-child(3) {
    left: 45%;
    animation-duration: 14s;
    animation-delay: 1s;
}
.cta-floating-dots span:nth-child(4) {
    left: 65%;
    animation-duration: 10s;
    animation-delay: 3s;
}
.cta-floating-dots span:nth-child(5) {
    left: 80%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}
.cta-floating-dots span:nth-child(6) {
    left: 90%;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

@keyframes floatDot {
    0% {
        top: 110%;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: -10%;
        opacity: 0;
        transform: scale(1.5);
    }
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #a8c4ff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.cta-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #4c82ff;
    border-radius: 50%;
    animation: blinkDot 1.5s ease-in-out infinite;
}

@keyframes blinkDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

.cta-title {
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.cta-title span {
    background: linear-gradient(90deg, #7eb3ff, #a8c4ff, #4c82ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 550px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8f0ff, #ffffff);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    color: var(--primary-blue);
    text-decoration: none;
}

.cta-btn-primary:hover::before {
    opacity: 1;
}

.cta-btn-primary span,
.cta-btn-primary i {
    position: relative;
    z-index: 1;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
}

.cta-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-stat-num {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.cta-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 70px 0;
    }
    .cta-stats-row {
        gap: 24px;
    }
    .cta-stat-divider {
        display: none;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* --- Stakeholder Heritage Banner --- */
.stakeholder-heritage-banner {
    background: linear-gradient(135deg, #030712 0%, #0b1528 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
}

.stakeholder-heritage-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 51, 153, 0.15) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.stakeholder-heritage-banner::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(
        270deg,
        rgba(240, 130, 0, 0.1) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.sh-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.sh-title-area {
    display: flex;
    flex-direction: column;
}

.sh-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
}

.sh-main-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
}

.sh-partners-flex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sh-partner-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
}

.sh-partner-pill.krishna {
    background: rgba(0, 51, 153, 0.12);
    border: 1px solid rgba(0, 51, 153, 0.25);
    color: #93c5fd;
}

.sh-partner-pill.krishna:hover {
    background: rgba(0, 51, 153, 0.2);
    border-color: #e31e24; /* Krishna Red */
    box-shadow: 0 0 15px rgba(0, 51, 153, 0.3);
    color: #ffffff;
}

.sh-partner-pill.krishna i {
    color: #e31e24; /* Krishna Red dot/icon color */
}

.sh-partner-pill.tstech {
    background: rgba(0, 84, 167, 0.12);
    border: 1px solid rgba(0, 84, 167, 0.25);
    color: #bae6fd;
}

.sh-partner-pill.tstech:hover {
    background: rgba(0, 84, 167, 0.2);
    border-color: #f08200; /* TS Tech Orange */
    box-shadow: 0 0 15px rgba(0, 84, 167, 0.3);
    color: #ffffff;
}

.sh-partner-pill.tstech i {
    color: #f08200; /* TS Tech Orange dot/icon color */
}

.sh-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .sh-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }
    .sh-partners-flex {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* ==========================================================================
   PREMIUM HERO SWIPER SLIDER SYSTEM
   ========================================================================== */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    max-height: 980px;
    overflow: hidden;
    background: var(--dark-bg);
    z-index: 10;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 135px;
    padding-bottom: 50px;
}

.hero-slide .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 10;
}

.hero-slide .hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-light);
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-slide.dark-theme .hero-tag {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-left-color: #60a5fa;
}

.hero-slide.video-theme .hero-tag {
    background: rgba(240, 130, 0, 0.1);
    color: var(--tstech-orange);
    border-left-color: var(--tstech-orange);
}

.hero-slide.animated-theme .hero-tag {
    background: rgba(227, 30, 36, 0.1);
    color: var(--krishna-red);
    border-left-color: var(--krishna-red);
}

.hero-slide.jv-theme .hero-tag {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-left-color: #60a5fa;
}

.hero-slide .hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-slide .btn-primary {
    background: var(--primary-blue);
    color: #ffffff !important;
    border: 1px solid var(--primary-blue);
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.2);
}

.hero-slide .btn-primary:hover {
    background: #ffffff;
    color: var(--primary-blue) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 51, 153, 0.35);
}

.hero-slide .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none !important;
}

.hero-slide .btn-secondary:hover {
    background: #ffffff;
    color: var(--dark-bg) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.hero-slide.light-theme .btn-primary {
    background: var(--primary-blue);
    color: #ffffff !important;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.15);
}

.hero-slide.light-theme .btn-primary:hover {
    background: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
}

.hero-slide.light-theme .btn-secondary {
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: #0f172a !important;
}

.hero-slide.light-theme .btn-secondary:hover {
    background: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
}

.hero-slide .hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-slide .hero-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.hero-slide.light-theme .hero-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 51, 153, 0.15));
}

/* --- Slide Themes --- */

/* Theme 1 & 4 & 5 Base: Dark / Premium Futuristic */
.hero-slide.dark-theme {
    background: radial-gradient(
        circle at 75% 30%,
        rgba(0, 51, 153, 0.25) 0%,
        #030712 100%
    );
    color: #ffffff;
}

.hero-slide.dark-theme h1,
.hero-slide.video-theme h1,
.hero-slide.animated-theme h1,
.hero-slide.red-theme h1,
.hero-slide.orange-theme h1,
.hero-slide.jv-theme h1 {
    color: #ffffff;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-slide.dark-theme h1 span,
.hero-slide.video-theme h1 span,
.hero-slide.animated-theme h1 span,
.hero-slide.red-theme h1 span,
.hero-slide.orange-theme h1 span,
.hero-slide.jv-theme h1 span {
    background: linear-gradient(to right, var(--krishna-blue), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-slide.dark-theme p,
.hero-slide.video-theme p,
.hero-slide.animated-theme p,
.hero-slide.red-theme p,
.hero-slide.orange-theme p,
.hero-slide.jv-theme p {
    color: #94a3b8;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 620px;
    line-height: 1.7;
}

/* Theme 2: Cinematic Ambient Video */
.hero-slide.video-theme {
    background: #020617;
    color: #ffffff;
}

.slide-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.45;
}

.slide-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(3, 7, 18, 0.95) 0%,
        rgba(3, 7, 18, 0.75) 50%,
        rgba(0, 51, 153, 0.4) 100%
    );
    z-index: 2;
}

.hero-slide.video-theme h1 span {
    background: linear-gradient(to right, var(--tstech-orange), #ffedd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Theme 3: Clean Premium Light */
.hero-slide.light-theme {
    background: radial-gradient(
        circle at 60% 50%,
        #ffffff 0%,
        #f8fafc 40%,
        #e2e8f0 100%
    );
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

.hero-slide.light-theme::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 51, 153, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 51, 153, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

.glow-effect.light-blue {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(
        circle,
        rgba(0, 51, 153, 0.15) 0%,
        transparent 70%
    );
    filter: blur(50px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hero-slide.light-theme h1 {
    color: #0f172a;
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.hero-slide.light-theme h1 span {
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--primary-light)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-slide.light-theme p {
    color: #475569;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 620px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.hero-slide.light-theme .hero-tag {
    background: rgba(0, 51, 153, 0.08);
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-blue);
    position: relative;
    z-index: 2;
}

.hero-slide.light-theme .btn-secondary {
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #0f172a;
}

.hero-slide.light-theme .btn-secondary:hover {
    background: #0f172a;
    color: #ffffff;
}

/* Theme 4: Animated Tech Glassmorphism */
.hero-slide.animated-theme {
    background: radial-gradient(
        circle at 25% 30%,
        rgba(227, 30, 36, 0.15) 0%,
        #030712 100%
    );
}

.hero-slide.animated-theme h1 span {
    background: linear-gradient(to right, var(--krishna-red), #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.animated-bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle-node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(227, 30, 36, 0.25) 0%,
        transparent 70%
    );
    filter: blur(10px);
}

.particle-node.p1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: drift 15s infinite alternate ease-in-out;
}

.particle-node.p2 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 10%;
    background: radial-gradient(
        circle,
        rgba(0, 51, 153, 0.2) 0%,
        transparent 70%
    );
    animation: drift 12s infinite alternate-reverse ease-in-out;
}

.particle-node.p3 {
    width: 180px;
    height: 180px;
    top: 40%;
    right: 40%;
    background: radial-gradient(
        circle,
        rgba(240, 130, 0, 0.15) 0%,
        transparent 70%
    );
    animation: float-slow 8s infinite ease-in-out;
}

/* Animated floating badges on slide 4 */
.tech-badge-overlay {
    position: absolute;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-premium);
    animation: float-slow 5s infinite ease-in-out;
}

.tech-badge-overlay.zero-g {
    top: 20%;
    right: 5%;
    border-left: 3px solid var(--krishna-red);
}

.tech-badge-overlay.smart-vent {
    bottom: 25%;
    right: 40%;
    border-left: 3px solid var(--tstech-orange);
    animation-delay: 2.5s;
}

/* Theme 5: Indo-Japanese Joint Venture Map/Synergy */
.hero-slide.jv-theme {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 84, 167, 0.2) 0%,
        #030712 100%
    );
}

.hero-slide.jv-theme h1 span {
    background: linear-gradient(to right, #60a5fa, var(--tstech-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 260px;
    margin: 15px 0;
}

.brand-pill-glow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float-slow 6s infinite ease-in-out;
}

.brand-pill-glow .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.brand-pill-glow.krishna {
    border-left: 4px solid var(--krishna-red);
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.15);
}

.brand-pill-glow.krishna .dot {
    background: var(--krishna-red);
    box-shadow: 0 0 10px var(--krishna-red);
}

.brand-pill-glow.tstech {
    border-left: 4px solid var(--tstech-orange);
    box-shadow: 0 0 30px rgba(240, 130, 0, 0.15);
    animation-delay: 3s;
}

.brand-pill-glow.tstech .dot {
    background: var(--tstech-orange);
    box-shadow: 0 0 10px var(--tstech-orange);
}

.alliance-join-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        var(--krishna-red),
        var(--tstech-orange)
    );
    margin: 5px 0;
    position: relative;
}

.alliance-join-line::after {
    content: "JV";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #030712;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* Glow Effects */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
}

.glow-effect.blue {
    background: radial-gradient(
        circle,
        rgba(0, 51, 153, 0.35) 0%,
        transparent 70%
    );
}
.glow-effect.orange {
    background: radial-gradient(
        circle,
        rgba(240, 130, 0, 0.3) 0%,
        transparent 70%
    );
}
.glow-effect.red {
    background: radial-gradient(
        circle,
        rgba(227, 30, 36, 0.25) 0%,
        transparent 70%
    );
}
.glow-effect.jv {
    background: radial-gradient(
        circle,
        rgba(0, 84, 167, 0.3) 0%,
        rgba(240, 130, 0, 0.2) 50%,
        transparent 70%
    );
}

/* --- Slider Controls --- */

.hero-nav-wrapper {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    align-items: center;
    gap: 25px;
    z-index: 100;
}

.hero-prev,
.hero-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
    background: #ffffff;
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-slide.light-theme ~ .hero-nav-wrapper .hero-prev,
.hero-slide.light-theme ~ .hero-nav-wrapper .hero-next {
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

.hero-slide.light-theme ~ .hero-nav-wrapper .hero-prev:hover,
.hero-slide.light-theme ~ .hero-nav-wrapper .hero-next:hover {
    background: #0f172a;
    color: #ffffff;
}

.hero-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: var(--transition);
    cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--primary-light);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--primary-light);
}

/* Custom Play Button for Video Slide */
.btn-primary.play-btn {
    background: var(--tstech-orange);
    border: 1px solid var(--tstech-orange);
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(240, 130, 0, 0.25);
}

.btn-primary.play-btn:hover {
    background: #ffffff;
    color: var(--tstech-orange);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 130, 0, 0.4);
}

.btn-primary.play-btn i {
    font-size: 0.85rem;
    animation: pulse-glow 1.5s infinite;
}

/* --- Animations --- */

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -30px) scale(1.1);
    }
    100% {
        transform: translate(-20px, 40px) scale(0.9);
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments for new hero swiper */
@media (max-width: 991px) {
    .hero-slider-section {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }
    .hero-swiper {
        height: auto;
    }
    .hero-slide {
        padding-top: 130px;
        padding-bottom: 80px;
        height: auto;
        min-height: 100vh;
    }
    .hero-slide .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        height: auto;
    }
    .hero-slide.dark-theme h1,
    .hero-slide.video-theme h1,
    .hero-slide.light-theme h1,
    .hero-slide.animated-theme h1,
    .hero-slide.jv-theme h1 {
        font-size: 2.3rem;
    }
    .hero-nav-wrapper {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
        position: relative;
        margin-top: 30px;
    }
    .logo-circle-container {
        height: auto;
        min-height: 220px;
        margin-top: 20px;
    }
    .brand-pill-glow {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    .alliance-join-line {
        height: 45px;
    }
    .tech-badge-overlay {
        display: none; /* Hide interactive overlays on small screens to save space */
    }
}

@media (max-width: 576px) {
    .hero-slide.dark-theme h1,
    .hero-slide.video-theme h1,
    .hero-slide.light-theme h1,
    .hero-slide.animated-theme h1,
    .hero-slide.jv-theme h1 {
        font-size: 2rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* ==========================================================================
   INTERACTIVE SEAT ADJUSTMENT HOTSPOTS SHOWCASE
   ========================================================================== */

.interactive-seat-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    z-index: 10;
}

.interactive-seat-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
    position: relative;
    z-index: 2;
}

.seat-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--krishna-blue);
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 51, 153, 0.5);
}

.seat-hotspot::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid var(--primary-light);
    opacity: 0;
    animation: pulse-ring 2s infinite;
}

.seat-hotspot.active {
    background: var(--krishna-red);
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(227, 30, 36, 0.8);
    border-color: #ffffff;
}

.seat-hotspot.active::before {
    border-color: var(--krishna-red);
}

.hotspot-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
}

.hotspot-tooltip {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 250px;
    padding: 12px 16px;
    background: rgba(3, 7, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hotspot-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(3, 7, 18, 0.95) transparent transparent transparent;
}

.seat-hotspot:hover .hotspot-tooltip,
.seat-hotspot.active .hotspot-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.hotspot-tooltip h5 {
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-align: left;
}

.hotspot-tooltip p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0 !important;
    line-height: 1.4;
    text-align: left;
}

/* Left Column: Interactive Seat Technology list */
.seat-tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 580px;
}

.seat-tech-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.01);
    text-align: left;
}

.seat-tech-item:hover,
.seat-tech-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.seat-tech-item.active {
    border-left: 3px solid var(--krishna-red);
}

.tech-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    transition: var(--transition);
    flex-shrink: 0;
}

.seat-tech-item:hover .tech-num,
.seat-tech-item.active .tech-num {
    background: var(--krishna-red);
    border-color: var(--krishna-red);
    color: #ffffff;
}

.tech-info h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    transition: var(--transition);
}

.seat-tech-item:hover .tech-info h4,
.seat-tech-item.active .tech-info h4 {
    color: #ffffff;
}

.tech-info p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0 !important;
    line-height: 1.45;
}

/* Light Theme overrides for Interactive Hotspots */
.light-theme .seat-hotspot {
    background: var(--krishna-blue);
    box-shadow: 0 0 15px rgba(0, 51, 153, 0.35);
    border: 2px solid #ffffff;
}

.light-theme .seat-hotspot.active {
    background: var(--krishna-red);
    box-shadow: 0 0 25px rgba(227, 30, 36, 0.7);
    transform: scale(1.25);
    border-color: #ffffff;
}

.light-theme .interactive-seat-container {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 30px 60px rgba(0, 51, 153, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.light-theme .interactive-seat-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 1.5px solid rgba(0, 51, 153, 0.08);
    pointer-events: none;
    z-index: 10;
}

.light-theme .interactive-seat-img {
    border-radius: 16px;
    overflow: hidden;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.light-theme .seat-tech-item {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 51, 153, 0.05);
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.light-theme .seat-tech-item:hover {
    background: #ffffff;
    border-color: rgba(0, 51, 153, 0.1);
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(0, 51, 153, 0.06);
}

.light-theme .seat-tech-item.active {
    background: linear-gradient(to right, #ffffff, rgba(227, 30, 36, 0.025));
    border-color: rgba(227, 30, 36, 0.25);
    border-left: 4px solid var(--krishna-red);
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.08);
}

.light-theme .tech-num {
    background: rgba(0, 51, 153, 0.05);
    border: 1px solid rgba(0, 51, 153, 0.1);
    color: var(--krishna-blue);
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.light-theme .seat-tech-item:hover .tech-num,
.light-theme .seat-tech-item.active .tech-num {
    background: var(--krishna-red);
    border-color: var(--krishna-red);
    color: #ffffff;
}

.light-theme .tech-info h4 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.light-theme .tech-info p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        opacity: 0.65;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .seat-tech-list {
        margin-top: 30px;
        max-width: 100%;
    }
}

/* =================================================================
   ✅ GLOBAL TYPOGRAPHY UNIFIER
   Poori website ke headings aur spacing uniform hain yahan se.
================================================================= */

/* --- Section Padding (sab pages uniform) --- */
section.section-padding,
.section-padding {
    padding-top: var(--section-pt) !important;
    padding-bottom: var(--section-pb) !important;
}

/* --- Section Header Bottom Gap --- */
.section-header,
[class*="section-header"] {
    margin-bottom: var(--section-gap);
}
.section-header h2 {
    margin-top: 10px;
}

/* =====================================================
   H2 — 26px everywhere (same as about-content h2)
===================================================== */
h2,
.section-header h2,
.portfolio-header h2,
.portfolio-header .left h2,
.about-content h2,
.presence-content h2,
.local-presence-grid h2,
.one-team-box h2,
.contact-info h2,
.mission-vision-grid h2,
.verification-card h2,
.safety-section h2,
.strengths h2,
.capabilities h2,
.portfolio-section h2,
.workflow h2,
section h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--text-main);
    margin-bottom: 10px !important;
}

/* Subpage hero h1 also same size */
.subpage-hero .hero-content h1,
.subpage-hero h1 {
    font-size: 26px !important;
    line-height: 1.2 !important;
}

/* =====================================================
   H3 — Card / subtitle headings
===================================================== */
h3,
.feature-card h3,
.portfolio-card-content h3,
.mv-card h4,
.work-node h4,
.cs_case_study_title a,
.cs_case_study_title,
.service-card h3,
.footer-col h4,
.contact-card h4,
.one-team-box h3 {
    font-size: var(--font-h3) !important;
    line-height: 1.3 !important;
}

/* =====================================================
   H4 — Small headings
===================================================== */
h4,
.capability-card h4,
.node-number ~ h4,
.deck-title {
    font-size: var(--font-h4) !important;
    line-height: 1.3 !important;
}

/* =====================================================
   Body text — uniform
===================================================== */
section p,
.feature-card p,
.portfolio-card-desc,
.mv-card p,
.about-content p,
.presence-content p,
.verification-body p,
.hero-slide p,
.service-card p {
    font-size: var(--font-body) !important;
    line-height: var(--lh-body) !important;
}

/* =====================================================
   BADGE / LABEL — Same style everywhere
   (matches about-content badge style exactly)
===================================================== */
.badge,
span.badge,
.hero-tag,
.section-badge,
.safety-badge,
.card-badge,
section span.badge {
    display: inline-block !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    padding: 5px 15px !important;
    border-radius: 50px !important;
    margin-bottom: 5px !important;
    line-height: 1.4 !important;
}

/* =====================================================
   Responsive Breakpoints
===================================================== */
@media (max-width: 1200px) {
    :root {
        --font-h1:    1.9rem;
        --font-h3:    1.1rem;
        --font-h4:    0.98rem;
        --section-pt: 60px;
        --section-pb: 60px;
        --section-gap: 38px;
    }
    /* Keep h2 fixed at 26px even on tablet */
    h2, section h2 { font-size: 26px !important; }
}

@media (max-width: 768px) {
    :root {
        --font-h1:    1.65rem;
        --font-h3:    1.05rem;
        --font-h4:    0.92rem;
        --font-body:  0.9rem;
        --section-pt: 48px;
        --section-pb: 48px;
        --section-gap: 30px;
        --card-gap:   18px;
    }
    /* Slightly reduce h2 on small mobile */
    h2, section h2 { font-size: 22px !important; }
}

@media (max-width: 480px) {
    :root {
        --font-h1:    1.4rem;
        --section-pt: 36px;
        --section-pb: 36px;
    }
    h2, section h2 { font-size: 20px !important; }
}
/* --- Portfolio Dark Mode Contrast Fixes --- */
.portfolio-section h2 {
    color: #ffffff !important;
}
.portfolio-section .badge {
    background: rgba(96, 165, 250, 0.15) !important;
    color: #60a5fa !important;
}

/* === END GLOBAL TYPOGRAPHY UNIFIER === */
