/* =========================================
   AV Code Works
   About Page
   ========================================= */


/* =========================================
   About Hero
   ========================================= */

.about-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.22), transparent 32%),
        radial-gradient(circle at 85% 70%, rgba(124, 58, 237, 0.22), transparent 30%),
        var(--navy-950);
    color: #ffffff;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 90px 0;
}

.about-hero h1 {
    margin: 20px 0;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.about-hero h1 .gradient-text {
    display: block;
    color: transparent !important;
    background: linear-gradient(
        90deg,
        #38bdf8,
        #6366f1,
        #a855f7
    );
    -webkit-background-clip: text;
    background-clip: text;
}

.about-hero p {
    max-width: 700px;
    margin: 0;
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.about-hero .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.about-hero .btn-outline:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
}

.about-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.about-glow-one {
    width: 420px;
    height: 420px;
    top: -180px;
    right: 5%;
    background: rgba(37, 99, 235, 0.22);
}

.about-glow-two {
    width: 350px;
    height: 350px;
    bottom: -180px;
    left: 30%;
    background: rgba(168, 85, 247, 0.16);
}


/* =========================================
   Introduction
   ========================================= */

.about-intro {
    background: #ffffff;
}

.about-intro-content {
    max-width: 600px;
}

.about-intro-content .section-title {
    margin-bottom: 24px;
}

.about-intro-content p {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 18px;
}


/* =========================================
   About Visual
   ========================================= */

.about-visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual-card {
    width: min(100%, 500px);
    padding: 28px;
    border: 1px solid #dbe5f0;
    border-radius: 24px;
    background: #f8fbff;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.12);
}

.visual-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.visual-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.25rem;
}

.visual-icon.blue {
    color: #2563eb;
    background: #dbeafe;
}

.visual-card-header strong {
    display: block;
    color: var(--navy-900);
    font-weight: 700;
}

.visual-card-header span {
    display: block;
    margin-top: 3px;
    color: var(--slate-500);
    font-size: 0.82rem;
}

.visual-code {
    margin-top: 28px;
    padding: 25px;
    min-height: 220px;
    border-radius: 18px;
    background: #071426;
}

.code-line {
    height: 9px;
    margin-bottom: 13px;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #38bdf8,
        #6366f1
    );
    opacity: 0.85;
}

.code-line.width-large {
    width: 85%;
}

.code-line.width-medium {
    width: 62%;
}

.code-line.width-small {
    width: 38%;
}

.code-space {
    height: 12px;
}

.visual-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--slate-600);
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.visual-status strong {
    margin-left: auto;
    color: #16a34a;
    font-weight: 700;
}


/* =========================================
   Floating Cards
   ========================================= */

.about-floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.about-floating-card strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.88rem;
}

.about-floating-card span {
    display: block;
    margin-top: 2px;
    color: var(--slate-500);
    font-size: 0.72rem;
}

.floating-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
}

.floating-icon.purple {
    color: #7c3aed;
    background: #ede9fe;
}

.floating-icon.cyan {
    color: #0891b2;
    background: #cffafe;
}

.about-floating-one {
    top: 42px;
    right: -5px;
}

.about-floating-two {
    bottom: 42px;
    left: -5px;
}


/* =========================================
   Principles
   ========================================= */

.about-principles {
    background: #f7faff;
}

.about-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
}

.about-section-heading .section-description {
    max-width: 500px;
    margin: 0;
}

.principle-card {
    position: relative;
    height: 100%;
    padding: 30px;
    border: 1px solid #dce6f2;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.principle-card:hover {
    transform: translateY(-7px);
    border-color: #bfdbfe;
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.1);
}

.principle-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: #dbeafe;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.principle-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 15px;
    color: #2563eb;
    background: #dbeafe;
    font-size: 1.3rem;
}

.principle-card h3 {
    margin-bottom: 12px;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.principle-card p {
    margin: 0;
    color: var(--slate-600);
    font-size: 0.92rem;
    line-height: 1.7;
}


/* =========================================
   Capabilities
   ========================================= */

.about-capabilities {
    background: #ffffff;
}

.about-capabilities .section-description {
    max-width: 560px;
    margin-bottom: 30px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.capability-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.capability-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

.capability-icon.blue {
    color: #2563eb;
    background: #dbeafe;
}

.capability-icon.purple {
    color: #7c3aed;
    background: #ede9fe;
}

.capability-icon.cyan {
    color: #0891b2;
    background: #cffafe;
}

.capability-icon.pink {
    color: #db2777;
    background: #fce7f3;
}

.capability-icon.orange {
    color: #ea580c;
    background: #ffedd5;
}

.capability-icon.indigo {
    color: #4f46e5;
    background: #e0e7ff;
}

.capability-item h3 {
    margin: 2px 0 5px;
    color: var(--navy-900);
    font-size: 0.95rem;
    font-weight: 700;
}

.capability-item p {
    margin: 0;
    color: var(--slate-500);
    font-size: 0.78rem;
    line-height: 1.55;
}


/* =========================================
   Technology
   ========================================= */

.about-technology {
    background: #f7faff;
}

.technology-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 60px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.3), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.32), transparent 30%),
        #071426;
    box-shadow: 0 30px 70px rgba(7, 20, 38, 0.22);
}

.technology-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.technology-content .section-label {
    color: #bfdbfe;
}

.technology-content .label-dot {
    background: #38bdf8;
}

.technology-card h2 {
    margin: 18px 0;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.technology-card h2 span {
    display: block;
    color: #67e8f9;
}

.technology-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.75;
}

.technology-stack {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px;
    width: 360px;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.tech-pill i {
    color: #67e8f9;
    font-size: 1.05rem;
}


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

.about-cta {
    background: #ffffff;
}

.about-cta-card {
    position: relative;
    overflow: hidden;
    padding: 85px 50px;
    border-radius: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.35), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.3), transparent 30%),
        #071426;
    box-shadow: 0 30px 70px rgba(7, 20, 38, 0.2);
}

.about-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta-card .section-label {
    justify-content: center;
    color: #dbeafe;
}

.about-cta-card .label-dot {
    background: #38bdf8;
}

.about-cta-card h2 {
    margin: 18px 0;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.about-cta-card h2 span {
    display: block;
    color: #67e8f9;
}

.about-cta-card p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #cbd5e1;
    line-height: 1.8;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-glow-one {
    width: 300px;
    height: 300px;
    top: -180px;
    left: 5%;
    background: rgba(37, 99, 235, 0.3);
}

.cta-glow-two {
    width: 300px;
    height: 300px;
    right: 5%;
    bottom: -180px;
    background: rgba(168, 85, 247, 0.25);
}


/* =========================================
   Responsive
   ========================================= */

@media (max-width: 991.98px) {

    .about-hero {
        min-height: auto;
    }

    .about-hero-content {
        padding: 75px 0;
    }

    .about-visual {
        min-height: 430px;
    }

    .about-section-heading {
        display: block;
    }

    .about-section-heading .section-description {
        margin-top: 20px;
    }

    .technology-card {
        display: block;
        padding: 45px;
    }

    .technology-stack {
        width: 100%;
        margin-top: 35px;
    }

}


@media (max-width: 767.98px) {

    .about-hero h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-hero-actions a {
        justify-content: center;
    }

    .about-visual {
        min-height: 400px;
    }

    .about-visual-card {
        padding: 20px;
    }

    .about-floating-card {
        padding: 11px 13px;
    }

    .about-floating-one {
        top: 15px;
        right: -5px;
    }

    .about-floating-two {
        bottom: 15px;
        left: -5px;
    }

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

    .technology-card {
        padding: 35px 25px;
        border-radius: 22px;
    }

    .technology-stack {
        grid-template-columns: 1fr;
    }

    .about-cta-card {
        padding: 60px 25px;
        border-radius: 22px;
    }

}