/* ==========================================================
   AAHAN TECHNOLOGIES
   MODERN HOMEPAGE
   ========================================================== */


/* ==========================================================
   COMMON SECTION SETTINGS
   ========================================================== */

.ai-solutions-section,
.why-aahan-section,
.case-study-section,
.industries-section,
.process-section,
.tech-section,
.testimonial-section,
.final-cta-section,
.faq-section {
    position: relative;

    padding: 100px 0;

    overflow: hidden;
}


/* Section headings */

.ai-section-head,
.why-head,
.case-head,
.industries-head,
.process-head,
.tech-head,
.testimonial-head,
.faq-head {
    width: 100%;
    max-width: 820px;

    margin: 0 auto 52px;

    text-align: center;
}


.ai-section-head > span,
.why-head > span,
.case-head > span,
.industries-head > span,
.process-head > span,
.tech-head > span,
.testimonial-head > span,
.faq-head > span {
    display: inline-block;

    margin-bottom: 12px;

    color: #8b5cf6;

    font-family: "Figtree", sans-serif;
    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}


.ai-section-head h2,
.why-head h2,
.case-head h2,
.industries-head h2,
.process-head h2,
.tech-head h2,
.testimonial-head h2,
.faq-head h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family: "Figtree", sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;

    letter-spacing: -0.8px;
}


.ai-section-head p,
.why-head p,
.case-head p,
.industries-head p,
.process-head p,
.tech-head p,
.testimonial-head p,
.faq-head p {
    max-width: 720px;

    margin: 0 auto;

    color: #94a3b8;

    font-family: "Figtree", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   1. AI SOLUTIONS
   ========================================================== */

.ai-solutions-section {
    background:
        radial-gradient(
            circle at top left,
            rgba(124, 58, 237, 0.09),
            transparent 28%
        ),
        #050816;
}


.ai-solution-card {
    position: relative;

    height: 100%;
    min-height: 210px;

    padding: 26px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background: #11152f;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.ai-solution-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #7c3aed,
            #2563eb,
            transparent
        );

    opacity: 0;

    transition: opacity .3s ease;
}


.ai-solution-card:hover {
    transform: translateY(-6px);

    border-color: rgba(139,92,246,.55);

    box-shadow:
        0 22px 55px rgba(124,58,237,.13);
}


.ai-solution-card:hover::before {
    opacity: 1;
}


.ai-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 19px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    color: #ffffff;

    font-size: 21px;
}


.ai-solution-card h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
}


.ai-solution-card p {
    margin: 0;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   2. WHY AAHAN
   Give this section a different visual personality
   ========================================================== */

.why-aahan-section {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(124,58,237,.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(37,99,235,.12),
            transparent 28%
        ),
        #080b1f;
}


.why-aahan-section::before {
    content: "";

    position: absolute;
    top: 70px;
    right: -180px;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background: rgba(124,58,237,.08);

    filter: blur(80px);

    pointer-events: none;
}


.why-card {
    position: relative;

    height: 100%;
    min-height: 205px;

    padding: 28px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(8px);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.why-card:hover {
    transform: translateY(-6px);

    border-color: rgba(139,92,246,.55);

    box-shadow:
        0 22px 55px rgba(124,58,237,.12);
}


.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 18px;

    border-radius: 14px;

    background: rgba(124,58,237,.15);

    border: 1px solid rgba(139,92,246,.25);

    color: #a78bfa;

    font-size: 21px;
}


.why-card h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
}


.why-card p {
    margin: 0;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   3. CASE STUDIES
   ========================================================== */

.case-study-section {
    background: #050816;
}


.case-card {
    position: relative;

    height: 100%;
    min-height: 315px;

    padding: 30px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    background:
        linear-gradient(
            150deg,
            #151936,
            #0d1128
        );

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.case-card::after {
    content: "";

    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(124,58,237,.18),
            transparent 70%
        );

    pointer-events: none;
}


.case-card:hover {
    transform: translateY(-7px);

    border-color: rgba(139,92,246,.7);

    box-shadow:
        0 25px 65px rgba(124,58,237,.17);
}


.case-badge {
    display: inline-flex;

    margin-bottom: 18px;

    padding: 7px 12px;

    border: 1px solid rgba(139,92,246,.24);
    border-radius: 999px;

    background: rgba(124,58,237,.12);

    color: #a78bfa;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .7px;
}


.case-card h3 {
    margin: 0 0 13px;

    color: #ffffff;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}


.case-card p {
    margin: 0 0 19px;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.65;
}


.case-card ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.case-card li {
    position: relative;

    margin-bottom: 9px;

    padding-left: 22px;

    color: #cbd5e1;

    font-size: 13px;
}


.case-card li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #8b5cf6;

    font-weight: 800;
}


/* Case CTA */

.case-cta {
    position: relative;

    margin-top: 65px;

    padding: 48px 35px;

    overflow: hidden;

    text-align: center;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.18),
            rgba(37,99,235,.14)
        );
}


.case-cta h3 {
    max-width: 750px;

    margin: 0 auto 14px;

    color: #ffffff;

    font-size: 32px;
    font-weight: 800;
}


.case-cta p {
    max-width: 720px;

    margin: 0 auto 25px;

    color: #94a3b8;

    font-size: 15px;
    line-height: 1.7;
}


.case-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 25px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.case-btn:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 13px 30px rgba(37,99,235,.24);
}


/* ==========================================================
   4. INDUSTRIES
   ========================================================== */

.industries-section {
    background: #080b1f;
}


.industry-card {
    height: 100%;
    min-height: 200px;

    padding: 27px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background: rgba(255,255,255,.035);

    transition:
        transform .3s ease,
        border-color .3s ease,
        background-color .3s ease;
}


.industry-card:hover {
    transform: translateY(-6px);

    border-color: rgba(139,92,246,.55);

    background: rgba(124,58,237,.07);
}


.industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 18px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    color: #ffffff;

    font-size: 20px;
}


.industry-card h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
}


.industry-card p {
    margin: 0;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   5. PROCESS
   Desktop connected timeline
   ========================================================== */

.process-section {
    background:
        linear-gradient(
            180deg,
            #050816,
            #070a1b
        );
}


.process-section .row {
    position: relative;
}


.process-card {
    position: relative;

    height: 100%;
    min-height: 210px;

    padding: 27px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background: #11152f;

    z-index: 2;

    transition:
        transform .3s ease,
        border-color .3s ease;
}


.process-card:hover {
    transform: translateY(-6px);

    border-color: rgba(139,92,246,.65);
}


.process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 47px;
    height: 47px;

    margin-bottom: 18px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}


.process-card h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;
}


.process-card p {
    margin: 0;

    color: #94a3b8;

    font-size: 13px;
    line-height: 1.65;
}


@media (min-width: 992px) {

    .process-section .row::before {
        content: "";

        position: absolute;
        top: 23px;
        left: 8%;
        right: 8%;

        height: 2px;

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(124,58,237,.45),
                rgba(37,99,235,.45),
                transparent
            );

        z-index: 0;
    }

}


/* ==========================================================
   6. TECHNOLOGY STACK
   ========================================================== */

.tech-section {
    background: #080b1f;
}


.tech-section .row {
    justify-content: center;
}


.tech-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 78px;

    padding: 18px 15px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;

    background: #11152f;

    text-align: center;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background-color .25s ease;
}


.tech-card::before {
    content: "";

    width: 7px;
    height: 7px;

    margin-right: 9px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #3b82f6
        );

    box-shadow:
        0 0 12px rgba(139,92,246,.5);
}


.tech-card:hover {
    transform: translateY(-4px);

    border-color: rgba(139,92,246,.55);

    background: rgba(124,58,237,.08);
}


.tech-card h3 {
    margin: 0;

    color: #e2e8f0;

    font-size: 16px;
    font-weight: 700;
}


/* ==========================================================
   7. TESTIMONIALS
   ========================================================== */

.testimonial-section {
    background: #050816;
}


.testimonial-card {
    position: relative;

    height: 100%;
    min-height: 245px;

    padding: 30px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background: rgba(255,255,255,.04);

    transition:
        transform .3s ease,
        border-color .3s ease;
}


.testimonial-card::before {
    content: "“";

    position: absolute;
    top: 8px;
    right: 20px;

    color: rgba(139,92,246,.14);

    font-size: 85px;
    font-family: Georgia, serif;
    line-height: 1;
}


.testimonial-card:hover {
    transform: translateY(-6px);

    border-color: rgba(139,92,246,.5);
}


.stars {
    position: relative;

    margin-bottom: 18px;

    color: #fbbf24;

    font-size: 15px;
    letter-spacing: 2px;

    z-index: 2;
}


.testimonial-card > p {
    position: relative;

    margin: 0 0 22px;

    color: #cbd5e1;

    font-size: 14px;
    line-height: 1.7;

    z-index: 2;
}


.client-info {
    position: relative;

    padding-top: 15px;

    border-top:
        1px solid rgba(255,255,255,.07);

    z-index: 2;
}


.client-info h4 {
    margin: 0 0 3px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
}


.client-info span {
    color: #64748b;

    font-size: 12px;
}


/* ==========================================================
   8. FINAL CTA
   ========================================================== */

.final-cta-section {
    padding-top: 90px;
    padding-bottom: 90px;

    background: #080b1f;
}


.final-cta-box {
    position: relative;

    max-width: 1000px;

    margin: 0 auto;

    padding: 60px 45px;

    overflow: hidden;

    text-align: center;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at top right,
            rgba(124,58,237,.30),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(37,99,235,.20),
            transparent 35%
        ),
        rgba(255,255,255,.035);
}


.final-cta-box > span {
    color: #a78bfa;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}


.final-cta-box h2 {
    max-width: 700px;

    margin: 15px auto;

    color: #ffffff;

    font-size: 42px;
    font-weight: 800;
}


.final-cta-box > p {
    max-width: 680px;

    margin: 0 auto 28px;

    color: #94a3b8;

    font-size: 15px;
    line-height: 1.7;
}


.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 25px;
}


.final-btn-primary,
.final-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 24px;

    border-radius: 12px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


.final-btn-primary {
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );
}


.final-btn-secondary {
    border: 1px solid rgba(255,255,255,.17);

    background: rgba(255,255,255,.04);
}


.final-btn-primary:hover,
.final-btn-secondary:hover {
    color: #ffffff;

    transform: translateY(-2px);
}


.final-trust-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px 22px;
}


.final-trust-points span {
    color: #64748b;

    font-size: 12px;
}


/* ==========================================================
   9. FAQ
   ========================================================== */

.faq-section {
    background: #050816;
}


.faq-section .accordion {
    width: 100%;
    max-width: 920px;

    margin: 0 auto;
}


.faq-item {
    margin-bottom: 11px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;

    background: #11152f;

    transition: border-color .2s ease;
}


.faq-item:hover,
.faq-item.active {
    border-color: rgba(139,92,246,.45);
}


.faq-question {
    position: relative;

    width: 100%;

    padding: 19px 55px 19px 21px;

    border: 0;

    background: transparent;

    color: #ffffff;

    text-align: left;

    font-family: "Figtree", sans-serif;
    font-size: 15px !important;
    font-weight: 700;

    cursor: pointer;
}


.faq-question::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 21px;

    transform: translateY(-50%);

    color: #8b5cf6;

    font-size: 22px;
}


.faq-item.active .faq-question::after {
    content: "−";
}


.faq-answer {
    display: none;

    padding: 0 21px 20px;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.7;
}


.faq-item.active .faq-answer {
    display: block;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .ai-solutions-section,
    .why-aahan-section,
    .case-study-section,
    .industries-section,
    .process-section,
    .tech-section,
    .testimonial-section,
    .final-cta-section,
    .faq-section {
        padding: 75px 0;
    }


    .ai-section-head h2,
    .why-head h2,
    .case-head h2,
    .industries-head h2,
    .process-head h2,
    .tech-head h2,
    .testimonial-head h2,
    .faq-head h2 {
        font-size: 37px;
    }


    .case-cta {
        margin-top: 50px;
    }


    .final-cta-box {
        padding: 50px 35px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .ai-solutions-section,
    .why-aahan-section,
    .case-study-section,
    .industries-section,
    .process-section,
    .tech-section,
    .testimonial-section,
    .final-cta-section,
    .faq-section {
        padding: 60px 0;
    }


    .ai-section-head,
    .why-head,
    .case-head,
    .industries-head,
    .process-head,
    .tech-head,
    .testimonial-head,
    .faq-head {
        margin-bottom: 38px;
    }


    .ai-section-head h2,
    .why-head h2,
    .case-head h2,
    .industries-head h2,
    .process-head h2,
    .tech-head h2,
    .testimonial-head h2,
    .faq-head h2 {
        font-size: 31px;
    }


    .ai-section-head p,
    .why-head p,
    .case-head p,
    .industries-head p,
    .process-head p,
    .tech-head p,
    .testimonial-head p,
    .faq-head p {
        font-size: 15px;
    }


    .ai-solution-card,
    .why-card,
    .industry-card,
    .process-card {
        min-height: 0;
    }


    .case-card {
        min-height: 0;
    }


    .case-cta {
        padding: 35px 22px;
    }


    .case-cta h3 {
        font-size: 27px;
    }


    .final-cta-box {
        padding: 42px 22px;

        border-radius: 22px;
    }


    .final-cta-box h2 {
        font-size: 33px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 575px) {

    .ai-solutions-section,
    .why-aahan-section,
    .case-study-section,
    .industries-section,
    .process-section,
    .tech-section,
    .testimonial-section,
    .final-cta-section,
    .faq-section {
        padding: 52px 0;
    }


    .ai-solution-card,
    .why-card,
    .case-card,
    .industry-card,
    .process-card,
    .testimonial-card {
        padding: 22px;
    }


    .ai-section-head h2,
    .why-head h2,
    .case-head h2,
    .industries-head h2,
    .process-head h2,
    .tech-head h2,
    .testimonial-head h2,
    .faq-head h2 {
        font-size: 28px;
    }


    .tech-card {
        min-height: 68px;

        padding: 14px 10px;
    }


    .tech-card h3 {
        font-size: 14px;
    }


    .final-cta-buttons {
        flex-direction: column;
    }


    .final-btn-primary,
    .final-btn-secondary {
        width: 100%;
    }


    .final-trust-points {
        flex-direction: column;

        gap: 6px;
    }


    .faq-question {
        padding: 17px 48px 17px 17px;

        font-size: 14px !important;
    }


    .faq-question::after {
        right: 17px;
    }


    .faq-answer {
        padding: 0 17px 18px;

        font-size: 13px;
    }

}