﻿
/* ---------- 1.  CSS VARIABLES ---------- */
:root,
[data-bs-theme="light"] {
    --si-primary: #6366f1;
    --si-danger: #ef4444;
    --si-success: #22c55e;
    --si-gray-100: #f3f6ff;
    --si-gray-200: #eff2fc;
    --si-gray-300: #e2e5f1;
    --si-gray-400: #d4d7e5;
    --si-gray-500: #b4b7c9;
    --si-gray-600: #9397ad;
    --si-gray-700: #565973;
    --si-gray-800: #33354d;
    --si-gray-900: #0b0f19;
    --si-body-bg: #ffffff;
    --si-body-color: #565973;
    --si-heading-color: #0b0f19;
    --si-border-color: #e2e5f1;
    --si-glass-bg: rgba(255, 255, 255, 0.55);
    --si-glass-border: rgba(255, 255, 255, 0.25);
    --si-glass-shadow: 0 8px 32px rgba(11, 15, 25, 0.08);
    --si-box-shadow: 0 0.275rem 1.25rem rgba(11, 15, 25, 0.05), 0 0.25rem 0.5625rem rgba(11, 15, 25, 0.03);
    --si-box-shadow-lg: 0 0.3rem 1.525rem -0.375rem rgba(11, 15, 25, 0.1), 0 0.25rem 0.8125rem -0.125rem rgba(11, 15, 25, 0.06);
    --si-border-radius: 0.75rem;
    --si-font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --si-alternate-color: #F0F6FA;
    --about-dark-bg: #ffffff;
    --about-dark-alt: #f8f9fc;
    --about-text-light: var(--si-heading-color);
    --about-text-muted: var(--si-body-color);
    --si-circle-color: #fa9191;
}

[data-bs-theme="dark"] {
    --si-body-bg: #0B131F;
    --si-body-color: rgba(255, 255, 255, 0.8);
    --si-heading-color: #ffffff;
    --si-border-color: rgba(255, 255, 255, 0.10);
    --si-glass-bg: rgba(255, 255, 255, 0.04);
    --si-glass-border: rgba(255, 255, 255, 0.06);
    --si-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
    --si-box-shadow: 0 0.275rem 1.25rem rgba(0, 0, 0, 0.30), 0 0.25rem 0.5625rem rgba(0, 0, 0, 0.20);
    --si-box-shadow-lg: 0 0.3rem 1.525rem -0.375rem rgba(0, 0, 0, 0.50), 0 0.25rem 0.8125rem -0.125rem rgba(0, 0, 0, 0.30);
    --si-gray-100: #1f2233;
    --si-gray-200: #2a2d42;
    --si-gray-300: #3a3d57;
    --si-gray-400: #565973;
    --si-gray-500: #9397ad;
    --si-gray-600: #b4b7c9;
    --si-gray-700: #d4d7e5;
    --si-gray-800: #eff2fc;
    --si-gray-900: #ffffff;
    --si-primary: #818cf8;
    --si-danger: #f87171;
    --si-alternate-color: #16222F;
    --about-dark-bg: #0a0e1a;
    --about-dark-alt: #0d1225;
    --about-text-light: #ffffff;
    --about-text-muted: rgba(255,255,255,0.8);
    --si-circle-color: #076BA7;
}

/* ---------- 2. BASE & UTILITY ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--si-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--si-body-color);
    background-color: var(--si-body-bg);
}

a {
    color: var(--si-primary);
    text-decoration: none;
}

    a:hover {
        color: var(--si-primary);
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- 3. UTILITY CLASSES ---------- */
.section-badge-about {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--si-glass-bg);
    border: 1px solid var(--si-glass-border);
    backdrop-filter: blur(12px);
    color: var(--si-body-color);
    box-shadow: var(--si-box-shadow);
}

    .section-badge-about i {
        color: var(--si-primary);
    }

.section-title-about {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--si-heading-color);
    margin-bottom: 0.75rem;
}

    .section-title-about span {
        color: var(--si-primary);
    }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--si-body-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.glass-card-about {
    background: var(--si-glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--si-glass-border);
    border-radius: var(--si-border-radius);
    box-shadow: var(--si-glass-shadow);
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

    .glass-card-about:hover {
        transform: translateY(-6px);
        box-shadow: var(--si-box-shadow-lg);
    }

.reveal-about {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .reveal-about.active {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-about.delay-1 {
        transition-delay: 0.1s;
    }

    .reveal-about.delay-2 {
        transition-delay: 0.2s;
    }

    .reveal-about.delay-3 {
        transition-delay: 0.3s;
    }

    .reveal-about.delay-4 {
        transition-delay: 0.4s;
    }

    .reveal-about.delay-5 {
        transition-delay: 0.5s;
    }

/* ---------- 4. HERO BANNER ---------- */
.about-hero {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--si-alternate-color);
    padding: 4rem 0;
}

.hero-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

    .hero-bg-particles span {
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        opacity: 0.3;
        animation: particleFloatAbout 20s infinite linear;
    }

        .hero-bg-particles span:nth-child(odd) {
            background: #076BA7;
        }

        .hero-bg-particles span:nth-child(even) {
            background: #C90515;
        }

        .hero-bg-particles span:nth-child(1) {
            left: 5%;
            top: 10%;
            animation-duration: 18s;
        }

        .hero-bg-particles span:nth-child(2) {
            left: 15%;
            top: 70%;
            animation-duration: 22s;
            animation-delay: 2s;
        }

        .hero-bg-particles span:nth-child(3) {
            left: 30%;
            top: 20%;
            animation-duration: 16s;
            animation-delay: 4s;
        }

        .hero-bg-particles span:nth-child(4) {
            left: 45%;
            top: 80%;
            animation-duration: 24s;
            animation-delay: 1s;
        }

        .hero-bg-particles span:nth-child(5) {
            left: 60%;
            top: 15%;
            animation-duration: 20s;
            animation-delay: 3s;
        }

        .hero-bg-particles span:nth-child(6) {
            left: 75%;
            top: 65%;
            animation-duration: 19s;
            animation-delay: 5s;
        }

        .hero-bg-particles span:nth-child(7) {
            left: 88%;
            top: 30%;
            animation-duration: 21s;
            animation-delay: 2s;
        }

        .hero-bg-particles span:nth-child(8) {
            left: 95%;
            top: 85%;
            animation-duration: 17s;
            animation-delay: 4s;
        }

        .hero-bg-particles span:nth-child(9) {
            left: 20%;
            top: 45%;
            animation-duration: 23s;
            animation-delay: 6s;
            width: 6px;
            height: 6px;
        }

        .hero-bg-particles span:nth-child(10) {
            left: 70%;
            top: 40%;
            animation-duration: 25s;
            animation-delay: 3s;
            width: 5px;
            height: 5px;
        }

        .hero-bg-particles span:nth-child(11) {
            left: 50%;
            top: 90%;
            animation-duration: 19s;
            animation-delay: 7s;
        }

        .hero-bg-particles span:nth-child(12) {
            left: 10%;
            top: 55%;
            animation-duration: 21s;
            animation-delay: 1.5s;
            width: 3px;
            height: 3px;
        }

@keyframes particleFloatAbout {
    0% {
        transform: translate(0,0) scale(1);
        opacity: 0.1;
    }

    25% {
        transform: translate(30px,-40px) scale(1.4);
        opacity: 0.3;
    }

    50% {
        transform: translate(-20px,20px) scale(0.8);
        opacity: 0.15;
    }

    75% {
        transform: translate(40px,-10px) scale(1.2);
        opacity: 0.25;
    }

    100% {
        transform: translate(0,0) scale(1);
        opacity: 0.1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--about-text-light);
    margin-bottom: 1.5rem;
}

    .hero-title span {
        color: var(--si-primary);
        position: relative;
    }

        .hero-title span::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 100%;
            height: 10px;
            background: rgba(99,102,241,0.25);
            border-radius: 4px;
            z-index: -1;
        }

.hero-description {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.8;
    color: var(--about-text-muted);
    max-width: 900px;
    margin-bottom: 2rem;
}

    .hero-description strong {
        color: var(--about-text-light);
    }

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--si-border-color);
}

    .hero-stats .stat-item h3 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--about-text-light);
        margin: 0;
        line-height: 1;
    }

        .hero-stats .stat-item h3 .counter-suffix {
            color: var(--si-primary);
        }

    .hero-stats .stat-item p {
        color: var(--about-text-muted);
        font-size: 0.85rem;
        margin: 0.3rem 0 0;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        opacity: 0.6;
    }

.hero-image-wrapper {
    position: relative;
}

/* ---------- 5. TIMELINE (Company Story) ---------- */
.story-section {
    padding: 80px 0;
    background: var(--si-body-bg);
    position: relative;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--si-body-color);
    margin-bottom: 1.25rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--si-primary);
    margin-top: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -33px;
        top: 6px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--si-primary);
        border: 3px solid var(--si-body-bg);
        box-shadow: 0 0 0 3px var(--si-primary);
    }

    .timeline-item .year {
        font-weight: 700;
        color: var(--si-primary);
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
        display: block;
    }

    .timeline-item p {
        margin: 0;
        font-size: 1rem;
        color: var(--si-body-color);
        line-height: 1.7;
    }

/* ---------- 6. CAPABILITIES ---------- */
.capabilities-section {
    padding: 80px 0;
    background: var(--si-alternate-color);
}

.capability-card {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: var(--si-glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--si-glass-border);
    border-radius: var(--si-border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

    .capability-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--si-box-shadow-lg);
        border-color: var(--si-primary);
    }

    .capability-card i {
        font-size: 2.6rem;
        color: var(--si-primary);
        margin-bottom: 1rem;
        display: inline-block;
    }

    .capability-card h3 {
        font-weight: 700;
        color: var(--si-heading-color);
        margin-bottom: 0.5rem;
    }

    .capability-card p {
        font-size: 1rem;
        color: var(--si-body-color);
        margin: 0;
        line-height: 1.6;
    }

/* ---------- 7. RESEARCH PHILOSOPHY ---------- */
.research-philosophy {
    padding: 80px 0;
    background: var(--si-body-bg);
    color: var(--about-text-light);
    position: relative;
}

    .research-philosophy .section-badge-about,
    .story-section .section-badge-about {
        background: rgba(99,102,241,0.10);
        border-color: rgba(99,102,241,0.15);
    }

    .research-philosophy .section-title-about {
        color: var(--about-text-light);
    }

        .research-philosophy .section-title-about span {
            color: var(--si-primary);
        }

.philosophy-text {
    color: var(--about-text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

    .philosophy-text strong {
        color: var(--about-text-light);
    }

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--si-glass-bg);
    border: 1px solid var(--si-glass-border);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--si-box-shadow);
}

    .pillar-item:hover {
        border-color: rgba(99,102,241,0.3);
        transform: translateY(-4px);
        box-shadow: var(--si-box-shadow-lg);
    }

    .pillar-item .pillar-icon {
        font-size: 1.8rem;
        color: var(--si-primary);
        min-width: 48px;
    }

    .pillar-item h6 {
        font-weight: 700;
        color: var(--about-text-light);
        margin-bottom: 0.2rem;
    }

    .pillar-item p {
        color: var(--about-text-muted);
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.6;
    }

/* ---------- 8. WHY CHOOSE INSOFT ---------- */
.why-choose-section {
    padding: 80px 0;
    background: var(--si-alternate-color);
}

.why-choose-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: var(--si-border-radius);
    background: var(--si-glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--si-glass-border);
    box-shadow: var(--si-box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    text-align: center;
}

    .why-choose-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--si-box-shadow-lg);
        border-color: var(--si-primary);
    }

    .why-choose-card .wc-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size:2.4rem;
        color: var(--si-primary);
    }

    .why-choose-card h6 {
        font-weight: 700;
        color: var(--si-heading-color);
        margin-bottom: 0.5rem;
    }

    .why-choose-card p {
        font-size: 1rem;
        color: var(--si-body-color);
        margin-bottom: 0;
        line-height: 1.6;
    }

/* ---------- 9. CTA ---------- */
.about-cta {
    padding: 80px 0;
    background: var(--about-dark-bg);
    color: var(--about-text-light);
    position: relative;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,68,68,0.04) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

    .cta-content .cta-badge {
        background: rgba(99,102,241,0.10);
        border-color: rgba(99,102,241,0.15);
        color: var(--about-text-light);
    }

    .cta-content h2 {
        font-size: clamp(2.4rem, 4.5vw, 3.8rem);
        font-weight: 800;
        color: var(--about-text-light);
        line-height: 1.15;
        margin-bottom: 1rem;
    }

        .cta-content h2 span {
            color: var(--si-primary);
        }

    .cta-content p {
        font-size: 1.1rem;
        color: var(--about-text-muted);
        line-height: 1.8;
        max-width: 600px;
        margin: 0 auto 2.5rem;
    }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

    .cta-buttons .btn {
        border-radius: 50px;
        padding: 0.75rem 2.2rem;
        font-weight: 600;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .cta-buttons .btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--si-box-shadow-lg);
        }

    .cta-buttons .btn-danger {
        background: var(--si-danger);
        border-color: var(--si-danger);
        color: #fff;
    }

    .cta-buttons .btn-outline-light {
        border: 1px solid var(--si-glass-border);
        color: var(--about-text-light);
        background: transparent;
    }

        .cta-buttons .btn-outline-light:hover {
            background: var(--si-primary);
            border-color: var(--si-primary);
            color: #fff;
        }

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
    align-items: center;
}

    .cta-trust span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.4rem 1.2rem;
        border-radius: 50px;
        background-color: rgb(217 237 255 / 55%);
        border: 1px solid var(--si-glass-border);
        backdrop-filter: blur(8px);
        font-size: 0.85rem;
        color: var(--about-text-muted);
    }

[data-bs-theme="dark"] .cta-trust span {
    background-color: rgb(0 135 255 / 55%);
}

        .cta-trust span i {
            color: var(--si-success);
        }

/* ---------- 10. RESPONSIVE ---------- */
@media (max-width: 991px) {
    .about-hero {
        padding: 2rem 0 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .custom-circle {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 1.5rem 0 2.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats .stat-item h3 {
        font-size: 1.6rem;
    }

    .story-section,
    .capabilities-section,
    .research-philosophy,
    .why-choose-section,
    .about-cta {
        padding: 60px 0;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -23px;
        width: 12px;
        height: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 320px;
            justify-content: center;
        }

    .stat-block h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title-about {
        font-size: 1.8rem;
    }

    .section-badge-about {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }


    .cta-trust {
        flex-direction: column;
        align-items: center;
    }

        .cta-trust span {
            width: 100%;
            justify-content: center;
        }
}

/* ---------- 11. DARK MODE OVERRIDES ---------- */
[data-bs-theme="dark"] .about-hero .btn-outline-light {
    border-color: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.7);
}

    [data-bs-theme="dark"] .about-hero .btn-outline-light:hover {
        background: var(--si-primary);
        border-color: var(--si-primary);
        color: #fff;
    }

[data-bs-theme="dark"] .hero-image-wrapper .main-image {
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

[data-bs-theme="dark"] .cta-buttons .btn-outline-light {
    border-color: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.7);
}

    [data-bs-theme="dark"] .cta-buttons .btn-outline-light:hover {
        background: var(--si-primary);
        border-color: var(--si-primary);
        color: #fff;
    }

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.about-hero,
.story-section,
.capabilities-section,
.research-philosophy,
.why-choose-section,
.about-cta {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}