/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BODY
========================================================= */

body {
    font-family: sans-serif;
    overflow-x: hidden;
}


/* =========================================================
   SERVICES HERO SECTION
========================================================= */

.services-hero {
    position: relative;

    width: 100%;
    min-height: 450px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #08111f;

    font-family: sans-serif;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.services-bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-image:
        url("/assets/services-bg-image.webp");

    background-size: cover;

    background-position: center right;

    background-repeat: no-repeat;

    transform: scale(1.03);

    animation: servicesBgMove 12s ease-in-out infinite alternate;

    z-index: 0;
}


/* =========================================================
   BACKGROUND IMAGE ANIMATION
========================================================= */

@keyframes servicesBgMove {

    0% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1.10);
    }

}


/* =========================================================
   DARK OVERLAY
========================================================= */

.services-overlay {
    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            90deg,

            rgba(5, 12, 25, 0.98) 0%,

            rgba(6, 15, 30, 0.94) 32%,

            rgba(7, 17, 34, 0.75) 52%,

            rgba(7, 17, 34, 0.30) 75%,

            rgba(7, 17, 34, 0.12) 100%

        );

    z-index: 1;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.services-content {
     position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1350px;

    margin: 0 auto;

    padding: 70px 7%;
}

    animation: contentReveal 1s ease forwards;
}


/* =========================================================
   CONTENT ANIMATION
========================================================= */

@keyframes contentReveal {

    from {

        opacity: 0;

        transform: translateY(35px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================================
   SMALL TAG
========================================================= */

.services-tag {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: #b9c9e8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.services-tag span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #7274f8;

    box-shadow:
        0 0 15px
        rgba(114, 116, 248, 0.9);

    animation: tagPulse 2s infinite;
}


@keyframes tagPulse {

    0%,
    100% {

        transform: scale(1);

        opacity: 1;

    }

    50% {

        transform: scale(1.5);

        opacity: 0.5;

    }

}


/* =========================================================
   MAIN HEADING
========================================================= */

.services-content h1 {
    color: #ffffff;

    font-size: 48px;

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1px;

    margin-bottom: 25px;

    font-family: roboto;
}


.services-content h1 span {

    color: #7274f8;

    position: relative;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.services-content p {

    max-width: 620px;

    color: #aeb4bd;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;

    letter-spacing: 0.1px;

    margin-bottom: 32px;

    font-family:poppins;
}


/* =========================================================
   EXPLORE BUTTON
========================================================= */

.services-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-width: 210px;

    padding: 15px 24px;

    border-radius: 8px;

    text-decoration: none;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            #1769e8,
            #2f8fff
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    box-shadow:

        0 10px 25px
        rgba(37, 99, 235, 0.28);

    transition:

        transform 0.3s ease,

        box-shadow 0.3s ease;
}


/* BUTTON SHINE */

.services-btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 60%;

    height: 100%;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255, 255, 255, 0.55),

            transparent

        );

    transform: skewX(-25deg);

    transition: 0.6s ease;
}


.services-btn:hover::before {

    left: 150%;

}


/* BUTTON HOVER */

.services-btn:hover {

    transform: translateY(-4px);

    box-shadow:

        0 16px 35px
        rgba(37, 99, 235, 0.45);

}


.services-btn span,
.services-btn i {

    position: relative;

    z-index: 2;

}


.services-btn i {

    transition: transform 0.3s ease;

}


.services-btn:hover i {

    transform: translateX(5px);

}


/* =========================================================
   ANIMATED BACKGROUND LIGHTS
========================================================= */

.service-light {

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.18;

    z-index: 2;

    pointer-events: none;
}


/* LIGHT ONE */

.light-one {

    background: #2563eb;

    top: -180px;

    right: 20%;

    animation: lightFloatOne 8s ease-in-out infinite;

}


/* LIGHT TWO */

.light-two {

    background: #7274f8;

    bottom: -220px;

    left: 30%;

    animation: lightFloatTwo 10s ease-in-out infinite;

}


/* =========================================================
   LIGHT ANIMATIONS
========================================================= */

@keyframes lightFloatOne {

    0%,
    100% {

        transform:
            translate(0, 0)
            scale(1);

    }

    50% {

        transform:
            translate(80px, 60px)
            scale(1.2);

    }

}


@keyframes lightFloatTwo {

    0%,
    100% {

        transform:
            translate(0, 0)
            scale(1);

    }

    50% {

        transform:
            translate(-100px, -50px)
            scale(1.15);

    }

}


/* =========================================================
   ANIMATED TECH LINES
========================================================= */

.service-line {

    position: absolute;

    height: 1px;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(47, 143, 255, 0.6),

            transparent

        );

    z-index: 2;

    pointer-events: none;

    animation: lineMove 8s linear infinite;

}


/* FIRST LINE */

.line-one {

    width: 300px;

    top: 20%;

    right: -100px;

    transform: rotate(-25deg);

}


/* SECOND LINE */

.line-two {

    width: 350px;

    bottom: 15%;

    left: -150px;

    transform: rotate(-25deg);

    animation-delay: 3s;

}


/* =========================================================
   LINE ANIMATION
========================================================= */

@keyframes lineMove {

    0% {

        opacity: 0.1;

        transform:
            translateX(-40px)
            rotate(-25deg);

    }

    50% {

        opacity: 0.8;

    }

    100% {

        opacity: 0.1;

        transform:
            translateX(80px)
            rotate(-25deg);

    }

}


/* =========================================================
   BOTTOM ANIMATED LINE
========================================================= */

.services-bottom-line {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 2px;

    background:

        linear-gradient(

            90deg,

            transparent,

            #1769e8,

            #7274f8,

            #2f8fff,

            transparent

        );

    background-size: 200% 100%;

    animation: bottomLineMove 5s linear infinite;

    z-index: 5;
}


@keyframes bottomLineMove {

    0% {

        background-position: 0% 50%;

    }

    100% {

        background-position: 200% 50%;

    }

}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .services-hero {

        min-height: 500px;

    }


    .services-content {

        margin-left: 7%;

        max-width: 620px;

    }


    .services-content h1 {

        font-size: 50px;

    }


    .services-overlay {

        background:

            linear-gradient(

                90deg,

                rgba(5, 12, 25, 0.96) 0%,

                rgba(6, 15, 30, 0.85) 55%,

                rgba(7, 17, 34, 0.45) 100%

            );

    }

}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .services-hero {

        min-height: 540px;

    }


    .services-bg {

        background-position: 65% center;

    }


    .services-overlay {

        background:

            linear-gradient(

                90deg,

                rgba(5, 12, 25, 0.96) 0%,

                rgba(6, 15, 30, 0.90) 100%

            );

    }


    .services-content {

        margin-left: 0;

        padding: 70px 25px;

        max-width: 100%;

    }


    .services-tag {

        font-size: 10px;

    }


    .services-content h1 {

        font-size: 42px;

        margin-bottom: 22px;

    }


    .services-content p {

        font-size: 14px;

        line-height: 1.8;

        margin-bottom: 28px;

    }


    .services-btn {

        min-width: 200px;

        padding: 15px 22px;

        font-size: 14px;

    }


    .service-light {

        width: 250px;

        height: 250px;

    }


    .service-line {

        opacity: 0.5;

    }

}
/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BODY
========================================================= */

body {
    font-family: sans-serif;
    background: #f5f8fc;
    color: #111827;
    overflow-x: hidden;
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
    position: relative;
    width: 100%;
    padding: 20px 5% 20px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(37, 99, 235, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 90%,
            rgba(114, 116, 248, 0.08),
            transparent 30%
        ),
        #f5f8fc;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.services-section::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    top: -200px;
    right: -180px;

    border-radius: 50%;

    border: 1px solid rgba(37, 99, 235, 0.08);

    pointer-events: none;
}

.services-section::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -150px;
    left: -120px;

    border-radius: 50%;

    border: 1px solid rgba(114, 116, 248, 0.08);

    pointer-events: none;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.services-header {
    position: relative;

    max-width: 780px;

    margin: 0 auto 50px;

    text-align: center;

    z-index: 2;
}


/* =========================================================
   SECTION TAG
========================================================= */

.section-tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 8px 16px;

    margin-bottom: 15px;

    border-radius: 50px;

    background: #edf4ff;

    border: 1px solid #d7e6ff;

    color: #2563eb;

    font-size: 12px;
    font-family: poppins;

    font-weight: 700;

    letter-spacing: 1px;
}


.section-tag i {
    font-size: 11px;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.services-header h2 {
    font-size: 36px;

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1.5px;

    color: #142c61;

    margin-bottom: 16px;
    font-family: roboto;
}


/* =========================================================
   HEADER DESCRIPTION
========================================================= */

.services-header p {
    max-width: 680px;

    margin: 0 auto;

    color: #586683;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;
    font-family: poppins;
}


/* =========================================================
   SERVICES GRID
   3 BOXES IN ONE ROW
========================================================= */

.services-container {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* =========================================================
   SERVICE BOX
========================================================= */

.service-box {
    position: relative;

    min-height: 390px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(20, 44, 97, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================================
   TOP GRADIENT LINE
========================================================= */

.service-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #7274f8,
            #00bfff
        );

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.4s ease;
}


/* =========================================================
   BOX HOVER
========================================================= */

.service-box:hover {
    transform: translateY(-7px);

    border-color: #c9d9f2;

    box-shadow:
        0 18px 40px rgba(20, 44, 97, 0.10),
        0 25px 55px rgba(37, 99, 235, 0.08);
}


.service-box:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   TOP AREA
========================================================= */

.service-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;
}


/* =========================================================
   NUMBER
========================================================= */

.service-number {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #edf4ff,
            #f7faff
        );

    border: 1px solid #d9e7ff;

    color: #2563eb;

    font-size: 14px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.service-box:hover .service-number {
    transform: scale(1.06);

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7274f8
        );

    color: #ffffff;
}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f5f7ff;

    color: #2563eb;

    font-size: 18px;

    border: 1px solid #e3e8f5;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.service-box:hover .service-icon {
    transform: rotate(5deg) scale(1.08);

    background:
        linear-gradient(
            135deg,
            #edf4ff,
            #eef0ff
        );

    color: #142c61;
}


/* =========================================================
   CONTENT
========================================================= */

.service-content {
    display: flex;

    flex-direction: column;

    flex: 1;
}


/* =========================================================
   SERVICE TITLE
========================================================= */

.service-content h3 {
    font-size: 20px;

    font-weight: 700;

    color: #142c61;

    line-height: 1.3;

    margin-bottom: 9px;
    font-family: roboto;
}


/* =========================================================
   SUB HEADING
========================================================= */

.service-content h4 {
    font-size: 18px;
font-family: roboto;
    font-weight: 700;

    color: #111827;

    line-height: 1.45;

    margin-bottom: 12px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.service-content p {
    color: #586683;

    font-size: 16px;
    font-family: poppins;

    font-weight: 400;

    line-height: 1.7;

    margin-bottom: 22px;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.service-btn {
    position: relative;

    margin-top: auto;

    width: fit-content;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 11px 17px;

    border-radius: 7px;

    text-decoration: none;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1769e8,
            #2f8fff
        );

    font-size: 15px;

    font-weight: 700;

    overflow: hidden;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   BUTTON SHINE
========================================================= */

.service-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent
        );

    transform: skewX(-25deg);

    transition: left 0.6s ease;
}


/* =========================================================
   BUTTON CONTENT
========================================================= */

.service-btn span,
.service-btn i {
    position: relative;

    z-index: 2;
}


/* =========================================================
   BUTTON HOVER
========================================================= */

.service-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 13px 28px rgba(37, 99, 235, 0.35);
}


.service-btn:hover::before {
    left: 150%;
}


.service-btn i {
    transition: transform 0.3s ease;
}


.service-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   DIFFERENT ICON COLORS
========================================================= */

.service-box:nth-child(2) .service-icon {
    color: #7c3aed;
    background: #f5f0ff;
}

.service-box:nth-child(3) .service-icon {
    color: #0891b2;
    background: #ecfbff;
}

.service-box:nth-child(4) .service-icon {
    color: #db2777;
    background: #fff1f7;
}

.service-box:nth-child(5) .service-icon {
    color: #059669;
    background: #ecfdf5;
}

.service-box:nth-child(6) .service-icon {
    color: #ea580c;
    background: #fff4ed;
}

.service-box:nth-child(7) .service-icon {
    color: #2563eb;
    background: #edf4ff;
}

.service-box:nth-child(8) .service-icon {
    color: #7c3aed;
    background: #f5f0ff;
}

.service-box:nth-child(9) .service-icon {
    color: #0891b2;
    background: #ecfbff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .services-section {
        padding: 70px 5% 80px;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-box {
        min-height: 370px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .services-section {
        padding: 60px 20px 70px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-header h2 {
        font-size: 36px;
    }

    .services-header p {
        font-size: 14px;

        line-height: 1.7;
    }

    .services-container {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .service-box {
        min-height: auto;

        padding: 23px;

        border-radius: 14px;
    }

    .service-content h3 {
        font-size: 19px;
    }

    .service-content h4 {
        font-size: 15px;
    }

    .service-content p {
        font-size: 14px;

        line-height: 1.7;
    }

    .service-btn {
        width: 100%;

        padding: 12px 15px;
    }

}
/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    background: #f6f8fc;
    color: #111827;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
    position: relative;
    width: 100%;
    padding: 20px 5% 20px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(114, 116, 248, 0.08),
            transparent 28%
        ),
        #f7f9fd;
}


/* =========================================================
   BACKGROUND CIRCLES
========================================================= */

.faq-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.circle-one {
    width: 350px;
    height: 350px;
    top: -170px;
    left: -150px;

    animation:
        faqFloat 8s ease-in-out infinite;
}

.circle-two {
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -150px;

    animation:
        faqFloat 10s ease-in-out infinite reverse;
}


/* =========================================================
   HEADER
========================================================= */

.faq-header {
    position: relative;
    z-index: 2;

    max-width: 800px;
    margin: 0 auto 55px;

    text-align: center;
}


/* =========================================================
   FAQ TAG
========================================================= */

.faq-tag {
    display: inline-block;

    padding: 8px 16px;
    margin-bottom: 18px;

    border-radius: 50px;

    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.14);

    color: #2563eb;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


/* =========================================================
   FAQ HEADING
========================================================= */

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -1.5px;

    color: #142c61;

    margin-bottom: 18px;
}

.faq-header h2 span {
    color: #2563eb;
}


/* =========================================================
   FAQ DESCRIPTION
========================================================= */

.faq-header p {
    max-width: 650px;

    margin: 0 auto;

    color: #65728a;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.8;
}


/* =========================================================
   FAQ CONTAINER
========================================================= */

.faq-container {
    position: relative;
    z-index: 2;

    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px 22px;

    /*
       IMPORTANT FIX

       Each FAQ item will keep its own height.
       Opening one side will NOT stretch
       the opposite side.
    */
    align-items: start;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    position: relative;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid #e1e7f0;

    border-radius: 13px;

    overflow: hidden;

    box-shadow:
        0 6px 20px rgba(20, 44, 97, 0.05);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    /*
       IMPORTANT FIX
    */
    align-self: start;

    height: fit-content;
}


/* =========================================================
   FAQ HOVER
========================================================= */

.faq-item:hover {
    transform: translateY(-3px);

    border-color: #c8d8f5;

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.09);
}


/* =========================================================
   QUESTION BUTTON
========================================================= */

.faq-question {
    width: 100%;

    min-height: 78px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 20px;

    border: none;

    background: transparent;

    cursor: pointer;

    text-align: left;

    font-family: sans-serif;
}


/* =========================================================
   NUMBER
========================================================= */

.faq-number {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #edf4ff,
            #f7faff
        );

    color: #2563eb;

    border: 1px solid rgba(37, 99, 235, 0.12);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   QUESTION TEXT
========================================================= */

.question-text {
    flex: 1;

    color: #142c61;

    font-size: 16px;
    font-family: poppins;
    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   FAQ ICON
========================================================= */

.faq-icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0f5ff;

    color: #2563eb;

    font-size: 13px;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
}


/* =========================================================
   FAQ ANSWER
========================================================= */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.4s ease;
}


/* =========================================================
   ANSWER TEXT
========================================================= */

.faq-answer p {
    min-height: 0;

    overflow: hidden;

    padding: 0 25px 0 73px;

    color: #65728a;

    font-size: 14px;
    font-family: poppins;
    font-weight: 400;

    line-height: 1.75;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        padding 0.4s ease;
}


/* =========================================================
   ACTIVE FAQ
========================================================= */

.faq-item.active {
    border-color: rgba(37, 99, 235, 0.30);

    box-shadow:
        0 12px 35px rgba(37, 99, 235, 0.10);
}


/* =========================================================
   OPEN ANSWER
========================================================= */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}


.faq-item.active .faq-answer p {
    padding-bottom: 22px;

    opacity: 1;
}


/* =========================================================
   ACTIVE ICON
========================================================= */

.faq-item.active .faq-icon {
    transform: rotate(45deg);

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7274f8
        );

    color: #ffffff;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.faq-cta {
    position: relative;
    z-index: 2;

    max-width: 700px;

    margin: 60px auto 0;

    padding: 30px;

    text-align: center;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #101d38,
            #142c61
        );

    box-shadow:
        0 18px 45px rgba(20, 44, 97, 0.18);

    overflow: hidden;
}


/* =========================================================
   CTA DECORATION
========================================================= */

.faq-cta::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.18);

    top: -100px;
    right: -60px;

    filter: blur(5px);
}


/* =========================================================
   CTA HEADING
========================================================= */

.faq-cta h3 {
    position: relative;

    color: #ffffff;

    font-size: 24px;
    font-weight: 700;

    margin-bottom: 8px;
}


/* =========================================================
   CTA DESCRIPTION
========================================================= */

.faq-cta p {
    position: relative;

    color: #b8c5dc;

    font-size: 18px;
    font-weight: 400;

    margin-bottom: 20px;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.faq-btn {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 21px;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #1769e8,
            #2f8fff
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    overflow: hidden;

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.30);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   CTA BUTTON SHINE
========================================================= */

.faq-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent
        );

    transform: skewX(-25deg);

    transition:
        left 0.6s ease;
}


/* =========================================================
   CTA BUTTON CONTENT
========================================================= */

.faq-btn span,
.faq-btn i {
    position: relative;
    z-index: 2;
}


/* =========================================================
   CTA BUTTON HOVER
========================================================= */

.faq-btn:hover::before {
    left: 150%;
}

.faq-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 13px 30px rgba(37, 99, 235, 0.40);
}


/* =========================================================
   CTA ICON
========================================================= */

.faq-btn i {
    transition:
        transform 0.3s ease;
}

.faq-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   BACKGROUND ANIMATION
========================================================= */

@keyframes faqFloat {

    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(15px, 15px)
            scale(1.05);
    }

    100% {
        transform:
            translate(0, 0)
            scale(1);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .faq-section {
        padding: 70px 5%;
    }

    .faq-header h2 {
        font-size: 40px;
    }

    /*
       Tablet-ல் one column.
       அதனால் எந்த issue-ம் இருக்காது.
    */

    .faq-container {
        grid-template-columns: 1fr;

        max-width: 750px;

        align-items: start;
    }

    .faq-item {
        align-self: start;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .faq-section {
        padding: 60px 20px;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-header h2 {
        font-size: 34px;

        letter-spacing: -1px;
    }

    .faq-header p {
        font-size: 14px;
    }

    .faq-container {
        grid-template-columns: 1fr;

        gap: 15px;

        align-items: start;
    }

    .faq-item {
        align-self: start;
    }

    .faq-question {
        min-height: 70px;

        padding: 15px;

        gap: 10px;
    }

    .faq-number {
        width: 34px;
        height: 34px;

        font-size: 10px;
    }

    .question-text {
        font-size: 14px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;

        font-size: 11px;
    }

    .faq-answer p {
        padding-left: 59px;
        padding-right: 18px;

        font-size: 13px;
    }

    .faq-item.active .faq-answer p {
        padding-bottom: 18px;
    }

    .faq-cta {
        margin-top: 45px;

        padding: 27px 20px;
    }

    .faq-cta h3 {
        font-size: 20px;
    }
}
/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    overflow-x: hidden;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .next-section {
        min-height: 600px;
    }

    .next-container {
        padding: 70px 30px;
    }

    .next-content h2 {
        font-size: 46px;
    }

    .next-content h3 {
        font-size: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .next-section {
        min-height: 650px;
    }

    .next-container {
        padding: 60px 20px;
    }

    .next-tag {
        font-size: 10px;

        padding: 8px 14px;
    }

    .next-content h2 {
        font-size: 38px;

        letter-spacing: -1px;
    }

    .next-content h3 {
        font-size: 18px;

        line-height: 1.4;
    }

    .next-content p {
        font-size: 14px;

        line-height: 1.75;
    }

    .next-buttons {
        flex-direction: column;

        width: 100%;
    }

    .next-btn {
        width: 100%;

        min-width: 0;
    }

    .grid-overlay {
        background-size: 40px 40px;
    }

}