/* ========================================
   QuantumForce - Modern CSS Styles
   Light Theme with Gradient Colors
   ======================================== */

/* CSS Variables - Light Theme */
:root {
    /* Logo-Inspired Premium Palette */
    --primary: #4361ee;
    /* Logo Blue */
    --primary-dark: #3a0ca3;
    --primary-light: rgba(67, 97, 238, 0.08);
    --secondary: #7209b7;
    /* Logo Purple */
    --accent: #f72585;
    /* Logo Pink */

    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-dot: rgba(67, 97, 238, 0.03);
    --bg-tertiary: #ffffff;
    --bg-card: #ffffff;

    /* Premium High-Contrast Text */
    --text-heading: #1d1d1f;
    --text-primary: #1d1d1f;
    --text-body: #424245;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;

    --border-color: #d2d2d7;
    --bg-secondary: #ffffff; 
    --bg-card: #ffffff;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-strong: 0 10px 40px rgba(67, 97, 238, 0.08);
    --border-radius-lg: 32px; /* Increased for premium soft look */
    --border-radius-md: 20px;
    --border-radius-sm: 12px;
    --section-padding: 30px 0; /* Ultra-compact */
    
    /* Apple Typography Stack */
    --font-primary: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Logo Gradients */
    --gradient-main: linear-gradient(135deg, #4361ee 0%, #7209b7 50%, #f72585 100%);
    --gradient-button: linear-gradient(90deg, #4361ee 0%, #f72585 100%);
    --gradient-text: linear-gradient(90deg, #4361ee 0%, #f72585 100%);
}

.highlight-blue,
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-primary);
    color: var(--text-body);
    line-height: 1.47059;
    /* Apple's precise line-height for body */
    letter-spacing: -0.011em;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-heading);
    letter-spacing: -0.024em;
    /* Tighter Apple heads */
}

/* Base Styles */
p {
    margin-bottom: 20px;
    font-size: 18px;
}

.highlight-blue {
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-right-color: var(--secondary);
    animation-delay: 0.2s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-bottom-color: var(--accent);
    animation-delay: 0.4s;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0; /* Slightly more compact */
    background: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-logo img {
    height: 52px;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    min-width: 220px;
    padding: 12px 0;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    list-style: none;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li::after {
    display: none !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: left;
}

.dropdown-menu li a:hover {
    background: #f5f5f7;
    color: var(--primary) !important;
}

.navbar.scrolled .nav-menu li:not(:last-child)::after {
    background: rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding: 8px 10px;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta-outline {
    background: transparent;
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 100px;
    border: 1.5px solid var(--primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.navbar.scrolled .nav-cta-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.nav-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: white;
}

.navbar.scrolled .nav-cta-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.nav-cta {
    background: var(--gradient-button);
    color: white;
    padding: 12px 30px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15.5px;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.25);
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 45px rgba(67, 97, 238, 0.4);
    filter: brightness(1.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-primary);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at right, #1a1a2e 0%, #0a0a10 100%);
    padding: 160px 0 60px 0;
    overflow: hidden;
    z-index: 10;
}

/* Removed duplicate hero-video-bg */

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 16, 0.7) 0%, rgba(10, 10, 16, 0.3) 50%, transparent 100%);
    z-index: -1;
}

.hero-video-bg {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
    z-index: -2 !important;
    filter: brightness(0.85); /* Premium executive look */
}

.hero-content {
    color: #ffffff !important;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-description {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(255, 255, 255, 0.98);
        padding: 5px 0;
    }
    .nav-logo img {
        height: 42px;
    }
    .hero {
        padding: 120px 0 60px 0;
        text-align: center;
        min-height: auto;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-label-badge {
        margin: 0 auto 15px auto;
    }
    .hero-title {
        font-size: 34px !important;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    .hero-description {
        font-size: 16px !important;
        margin: 0 auto 30px auto;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
}

.hero-bg-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--bg-dot) 1.5px, transparent 1.5px),
        radial-gradient(var(--bg-dot) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

/* Floating Elements inspired by Sample Img 2 */
.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 28px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    /* Static premium look */
}

.floating-1 {
    top: 25%;
    right: 10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 30%;
    right: 5%;
    animation-delay: 1.5s;
}

.hero-floating-card .card-icon {
    width: 32px;
    height: 32px;
    background: #4361ee20;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

/* New Hero Elements */
.hero-label-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 100px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 30px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(247, 37, 131, 0.7);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(247, 37, 131, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(247, 37, 131, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 37, 131, 0); }
}

.hero-capability-bar {
    transition: var(--transition);
}

.hero-capability-bar:hover {
    background: rgba(255,255,255,0.08) !important;
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2) !important;
}

@keyframes floating {

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

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

.hero-overlay {
    display: none;
    /* Removed dark overlay */
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(67, 97, 238, 0.06);
    border: 1px solid rgba(67, 97, 238, 0.15);
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 58px); /* Reduced from 68px */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextReveal 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-description {
    font-size: clamp(17px, 1.3vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0;
    font-weight: 500;
    transform: translateY(20px);
    animation: heroTextReveal 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards;
}

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

.hero-subtitle {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600;
    color: #e2e8f0;
    display: block;
    margin-top: 15px;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 22px;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 0 40px 0;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 40px auto 0;
        padding-right: 0;
    }

    .hero-floating-card {
        display: none;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }
    p {
        font-size: 15px;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 100px; /* Pill shape */
    font-size: 17px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    gap: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(67, 97, 238, 0.45);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.8px solid var(--primary);
}

.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.15);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-button);
    color: white !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
}

.nav-cta-outline {
    padding: 12px 28px;
    border-radius: 100px;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}

/* ========================================
   Clients Section
   ======================================== */
.clients {
    padding: var(--section-padding);
    background: #ffffff;
}

.clients-header {
    text-align: center;
    margin-bottom: 80px;
}

.clients-main-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.btn-customer-stories {
    display: inline-block;
    background: var(--gradient-main);
    color: white !important;
    padding: 14px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.2);
}

.btn-customer-stories:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.3);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 80px 40px;
    align-items: center;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.client-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.client-logo-box img {
    max-width: 160px;
    max-height: 45px;
    width: auto;
    height: auto;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: brightness(1); /* No grayscale as per request 10 */
}

.client-logo-box:hover img {
    opacity: 1;
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px 30px;
    }
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 20px;
    }
    .clients-main-title {
        font-size: 24px;
    }
}

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

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-tag {
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(26px, 4.5vw, 42px); /* Reduced from 52px */
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.25;
    text-wrap: balance;
}

@media (max-width: 1200px) {
    .section-title {
        white-space: normal;
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        white-space: normal;
    }
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    flex-wrap: wrap;
}

.section-header-flex .section-title {
    margin-bottom: 0;
    max-width: 800px;
}

.section-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.section-link:hover {
    text-decoration: underline;
}

.section-title-left {
    font-size: clamp(26px, 4.5vw, 42px); /* Reduced from 52px */
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    text-align: left;
    color: var(--text-heading);
    line-height: 1.1;
}

.section-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    line-height: 1.5;
    letter-spacing: -0.012em;
    max-width: 700px;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

/* Responsive Product Grid */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-brand-icon {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.stats-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Sophisticated overlay */
    z-index: 1;
}

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

.product-card:hover {
    transform: perspective(1000px) translateY(-12px) rotateX(2deg);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.product-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.product-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
}

.product-subtitle-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #7b2cbf !important;
    margin-bottom: 12px;
}

.product-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.product-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 40px 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image-wrapper {
    position: relative;
}

.about-video-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.about-floating-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
}

.about-floating-card i {
    font-size: 26px;
    color: var(--primary);
}

.about-floating-card h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.about-floating-card p {
    font-size: 12px;
    color: var(--text-muted);
}

.about-content .section-tag {
    text-align: left;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(247, 37, 133, 0.1) 100%);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.about-feature h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.about-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-impact-section {
    padding: 10px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-impact-section::before {
    display: none;
}

.stats-impact-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 20px !important;
}

.stats-grid-smart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-smart-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    /* This creates the gradient border */
    border: 1.5px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #4361ee, #7209b7);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.stat-smart-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(67, 97, 238, 0.1);
}

.smart-indicator {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.indicator-bg {
    fill: none;
    stroke: #f1f3f9;
    stroke-width: 8;
}

.indicator-progress {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-out;
}

.progress-1 { stroke: #4361ee; stroke-dashoffset: 70; } /* 75% */
.progress-2 { stroke: #10b981; stroke-dashoffset: 85; } /* 70% */
.progress-3 { stroke: #f43f5e; stroke-dashoffset: 5; }  /* 98% */
.progress-4 { stroke: #f59e0b; stroke-dashoffset: 40; } /* 85% */

.smart-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1;
}

.smart-number {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.smart-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

@media (max-width: 600px) {
    .stats-grid-smart { grid-template-columns: 1fr; }
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* Team Section Styles */
.team-subsection {
    padding: 80px 0 60px;
    border-top: 1px solid var(--border-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.team-category {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.team-category:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-strong);
}

.team-category h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(247, 37, 133, 0.1) 100%);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.team-category p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Org Chart Styles */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.org-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.org-box {
    padding: 15px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-heading);
    box-shadow: var(--shadow-soft);
    min-width: 150px;
}

.org-box.highlight-border {
    border-color: var(--primary);
    background: var(--primary-light);
}

.org-line {
    width: 2px;
    height: 30px;
    background: var(--border-color);
}

/* About Detailed Content */
.about-detailed-content {
    margin-top: 60px;
}

/* Apple-Style Content Cards */
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}

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

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

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.card-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.content-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-heading);
    line-height: 1.2;
    letter-spacing: -0.012em;
}

.content-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 30px;
}

.card-visual {
    margin-top: auto;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f7;
    aspect-ratio: 4/3;
}

.card-visual img,
.card-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

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

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

/* ========================================
   Technology Section
   ======================================== */
.technology {
    padding: 40px 0;
    background: var(--bg-primary);
}

.tech-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.tech-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 34px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-primary);
    color: var(--text-secondary);
    text-align: left;
}

.tech-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
}

.tech-tab.active {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.12);
    color: var(--text-heading);
}

.tab-number {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.tab-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Mobile adjustments for tech tabs */
@media (max-width: 992px) {
    .tech-tabs {
        grid-template-columns: 1fr;
    }
}

.tech-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.tech-panel {
    display: none;
}

.tech-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.tech-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.tech-image-wrapper {
    height: 360px;
    overflow: hidden;
}

.tech-image-wrapper img,
.tech-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tech-panel.active .tech-video {
    transform: scale(1.05);
}

.tech-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.tech-text h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 800;
}

.tech-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.tech-feature i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 18px;
}

/* Technology Philosophy Styles */
.tech-philosophy {
    padding: 50px 0;
    background: var(--bg-primary);
    position: relative;
}

.tech-phi-grid-main {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
}

.tech-phi-column-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tech-phi-column-layers {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.phi-layer-card-mini {
    background: #ffffff;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.phi-layer-card-mini:hover {
    transform: translateX(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.layer-video-small {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.layer-video-small video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer-info {
    flex-grow: 1;
}

.layer-tag {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 5px;
}

.phi-layer-card h4 {
    font-size: 20px;
    margin: 0;
    color: var(--text-heading);
}

.layer-icon {
    font-size: 28px;
    color: var(--secondary);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .tech-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Learn More Button in Cards */
.btn-learn-more {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 20px;
    padding: 0;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-learn-more i {
    font-size: 10px;
    transition: var(--transition);
}

.btn-learn-more:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Hidden full content */
.full-content-hidden {
    display: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 7, 20, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--primary);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    background: #ffffff;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 25px;
    }

    .modal-header h3 {
        font-size: 20px;
    }
}

.leadership-marquee-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(5px);
}

.marquee-track {
    display: flex;
    gap: 15px;
    width: max-content;
}

.marquee-item {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

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

.marquee-left {
    animation: marqueeLeft 20s linear infinite;
}

.marquee-right {
    animation: marqueeRight 20s linear infinite;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ========================================
   Industries Section
   ======================================== */
.industries {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

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

.industry-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-strong);
}

.industry-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.industry-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

/* ========================================
   Page Header (Internal Pages)
   ======================================== */
.page-header {
    padding: 160px 0 100px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-content p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: var(--text-muted);
}

/* Contact Page Specific */
.contact-page {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

/* Legal Pages */
.legal-page {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    margin: 40px 0 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 20px;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Demo Features */
.demo-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.demo-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.demo-icon {
    color: var(--secondary);
    font-size: 20px;
    margin-top: 2px;
}

.demo-feature h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.demo-feature p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Form Enhancements */
.form-row, 
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.form-note a {
    color: var(--primary);
}

@media (max-width: 576px) {
    .form-row,
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 50px 0;
    background: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
    color: white;
}

.cta-content p {
    font-size: 20px;
    color: #ffffff !important;
    opacity: 1 !important;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-preview-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.mockup-browser {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dashboard-mockup:hover .mockup-browser {
    transform: translateY(-20px) scale(1.02);
}

@media (max-width: 768px) {
    .browser-header {
        padding: 10px 15px !important;
    }
    .browser-url {
        font-size: 11px !important;
        padding: 3px 10px !important;
    }
}

.contact-item h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.contact-item a,
.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.captcha-box {
    background: var(--bg-secondary);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.captcha-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-group-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 70px 0 24px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-button);
    border-color: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: var(--gradient-button);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(67, 97, 238, 0.4);
}

/* ========================================
   Custom Scroll Animations
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* 3D Section Styling */
.section-3d {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 20px 60px rgba(139, 92, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
}

.section-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

/* Floating Animation */
@keyframes float {

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

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

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 16px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Slide-out menu links */
    .nav-menu .nav-link {
        color: var(--text-secondary);
        text-shadow: none;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--primary);
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex !important;
    }

    .hero-title {
        font-size: clamp(42px, 6vw, 56px);
    }

    .hero-subtitle {
        font-size: clamp(18px, 3vw, 28px);
    }
}

@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-floating-card {
        bottom: 16px;
        right: 16px;
    }

    .tech-content-grid {
        grid-template-columns: 1fr;
    }

    .tech-image-wrapper {
        height: 260px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: clamp(26px, 4vw, 36px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tech-tabs {
        flex-direction: column;
    }

    .tech-tab {
        width: 100%;
        justify-content: center;
    }

    .tech-text {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .products,
    .about,
    .technology,
    .industries,
    .contact {
        padding: 30px 0;
    }

    .cta-section {
        padding: 30px 0;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-item {
        padding: 24px 12px;
    }

    .stat-value {
        font-size: 32px;
    }
}

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

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card {
        padding: 20px 12px;
    }

    .industry-card h4 {
        font-size: 12px;
    }

    .contact-form {
        padding: 20px;
    }

    .hero-badge {
        font-size: 16px !important;
        padding: 8px 16px;
    }

    .hero-description {
        font-size: 15px;
        color: #fff;
    }

    .nav-logo img {
        height: 80px;
    }

    .about-image-accent {
        display: none;
    }

    .about-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        justify-content: center;
    }
}

.industries {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.footer {
    padding: 50px 0 30px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    height: 50px;
    margin-bottom: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: white;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    color: var(--text-body);
    transition: var(--transition);
}

.footer-social a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    background: #ffffff;
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 100px rgba(0,0,0,0.08); /* Premium Shadow */
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-secondary);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.05);
}

/* Tech Tabs Design */
.tech-tabs-container {
    padding: var(--section-padding);
    background: #fcfcff;
}

.tech-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tech-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tech-tab-btn {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 320px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    z-index: 10;
}

.tech-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #4361ee 0%, #7209b7 100%);
    transition: height 0.4s ease;
}

.tech-tab-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(67, 97, 238, 0.2);
}

.tech-tab-btn.active {
    background: #fff;
    border-color: rgba(67, 97, 238, 0.1);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.15);
    transform: translateY(-10px);
}

.tech-tab-btn.active::before {
    height: 100%;
}

/* Background number effect */
.tech-tab-btn::after {
    content: '0' attr(data-tab);
    position: absolute;
    right: 10px;
    bottom: -20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(67, 97, 238, 0.02);
    z-index: -1;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    line-height: 1;
}

.tech-tab-btn.active::after {
    color: rgba(67, 97, 238, 0.05);
    transform: scale(1.1) translateX(-10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
}

.tech-tab-btn .tab-num {
    font-size: 32px; /* Increased for Standard of Excellence */
    font-weight: 900;
    background: linear-gradient(135deg, #4361ee 0%, #f72585 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: block;
    letter-spacing: -0.04em;
}

.tech-tab-btn h3 {
    font-size: 24px; /* Increased for Standard of Excellence */
    margin: 0;
    font-weight: 800;
    color: var(--text-primary);
    transition: color 0.3s ease;
    letter-spacing: -0.03em;
}

.tech-tab-btn.active h3 {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-tab-pane {
    display: none;
    animation: fadeIn 0.8s ease;
}

.tech-tab-pane.active {
    display: block;
}

.tech-pane-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
}

.tech-pane-video {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tech-pane-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-pane-info h2 {
    font-size: clamp(24px, 3.5vw, 36px); /* Reduced from 42px */
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.3;
}

.tech-pane-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.tech-pane-list {
    list-style: none;
    padding: 0;
}

.tech-pane-list li {
    font-size: 15px;
    padding: 12px 0;
    display: flex;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-pane-list li i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 3px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 992px) {
    .tech-pane-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .tech-tab-btn {
        width: 100%;
    }
}

/* Technology Philosophy Section */
.tech-philosophy-split {
    padding: var(--section-padding);
    background: #ffffff;
}

.phi-title-highlight {
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tech-phi-grid-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-top: 60px;
    align-items: flex-start;
}

.tech-phi-column-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 95%;
}

.tech-phi-column-layers {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.phi-layer-card-mini {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 24px;
}

.phi-layer-card-mini:hover {
    transform: translateX(10px) translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.1);
}

.phi-mini-thumb {
    width: 60px;
    height: 45px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.phi-mini-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phi-mini-info {
    flex-grow: 1;
}

.phi-mini-info .mini-tag {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 4px;
}

.phi-mini-info h4 {
    font-size: 18px;
    margin: 0;
    font-weight: 800;
}

.phi-mini-icon {
    font-size: 24px;
    color: var(--primary);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .tech-phi-grid-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ========================================
   Press & News Section
   ======================================== */
.press-news-section {
    padding: 40px 0;
    background: #f9f9f9;
    text-align: center;
}

.press-news-section h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.press-news-section p {
    color: #777;
    margin-bottom: 40px;
    font-size: 16px;
}

.logo-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-slider-inner {
    display: flex;
    width: max-content;
    animation: scroll-left 35s linear infinite;
}

.logo-box {
    flex-shrink: 0;
    margin-right: 30px;
    background: #fff;
    padding: 18px 25px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.logo-box:hover {
    transform: translateY(-6px);
}

.logo-box img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

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

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

.logo-slider-inner:hover {
    animation-play-state: paused;
}

/* ========================================
   Content Modal & Read More
   ======================================== */
.full-content-hidden {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 30px 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
}

.modal-body p {
    margin-bottom: 25px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
}

/* ========================================
   Global Impact / Stats Section
   ======================================== */
.stats-impact-section {
    padding: 60px 0; /* Standardized to 60px for compact rhythm */
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-grid-smart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-smart-card {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.smart-indicator {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.indicator-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 4;
}

.indicator-progress {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-1 { stroke: #4361ee; stroke-dashoffset: 283; } 
.progress-2 { stroke: #10b981; stroke-dashoffset: 283; } 
.progress-3 { stroke: #f43f5e; stroke-dashoffset: 283; }
.progress-4 { stroke: #f59e0b; stroke-dashoffset: 283; }

.stats-grid-smart.active .progress-1 { stroke-dashoffset: 212; } /* 15 years / 25? */
.stats-grid-smart.active .progress-2 { stroke-dashoffset: 56; }  /* 80% */
.stats-grid-smart.active .progress-3 { stroke-dashoffset: 5; }   /* 98% */
.stats-grid-smart.active .progress-4 { stroke-dashoffset: 141; } /* 50M / 50% */
.progress-4 { stroke: #f59e0b; stroke-dashoffset: 28; }  /* 90% */

.smart-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    z-index: 2;
    background: white !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.smart-number {
    font-size: 52px; /* Increased for Standard of Excellence */
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.smart-text {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    .stats-grid-smart {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .stats-grid-smart {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
    }
    .stat-smart-card {
        padding: 10px;
    }
    .smart-indicator {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
    }
    .smart-number {
        font-size: 28px;
    }
    .smart-text {
        font-size: 10px;
    }
}

/* Captcha & Verification Styles */
.captcha-container {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fdfdff;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
}

.captcha-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.captcha-container label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
}

.captcha-secure-icon {
    margin-left: auto;
    color: var(--primary);
    opacity: 0.5;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Read More Button (About Section Pillars)
   ======================================== */
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 12px;
    transition: gap 0.3s ease, color 0.3s ease;
    font-family: var(--font-primary);
}

.btn-learn-more:hover {
    gap: 14px;
    color: var(--secondary);
}

/* ========================================
   Content Modal
   ======================================== */
.content-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.content-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.content-modal-box {
    background: #ffffff;
    border-radius: 28px;
    padding: 48px;
    max-width: 580px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 80vh;
    overflow-y: auto;
}

.content-modal-overlay.active .content-modal-box {
    transform: translateY(0) scale(1);
}

.content-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.content-modal-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.content-modal-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding-right: 40px;
}

.content-modal-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.content-modal-body p {
    margin-bottom: 0;
}

.content-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-button);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    letter-spacing: -0.01em;
}

.content-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

/* Back to Top Visibility */
#backToTop.visible {
    opacity: 1 !important;
    visibility: visible !important;
}