/* ==========================================
   HERO SECTION
========================================== */

.hero-banner {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* ==========================================
   BACKGROUND CAROUSEL
========================================== */

.banner-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.banner-track {
    display: flex;
    height: 100%;
    width: fit-content;

    animation: heroSlide 18s infinite;
}

.slide {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   DARK OVERLAY
========================================== */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(180deg,
            rgba(3, 18, 31, 0.25) 0%,
            rgba(3, 18, 31, 0.70) 100%);
}

/* ==========================================
   CONTENT
========================================== */

.hero-content {
    position: relative;
    z-index: 2;

    width: 85%;
    margin: 0 auto;

    min-height: 100vh;

    display: flex;
    align-items: flex-end;
}

/* ==========================================
   GLASS CARD
========================================== */

.hero-bottom-card {
    width: 100%;

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

    gap: 40px;
    padding: 28px 32px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background: rgba(13, 34, 52, 0.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ==========================================
   TEXT
========================================== */

.hero-info {
    max-width: 550px;
    overflow: hidden;
    position: relative;
}

.hero-info h1 {
    margin-bottom: 16px;
}

.hero-info h1 .line {
    color: #ffffff;
    font-size: 3rem;
    line-height: 1.1;
    font-family: "ABeeZee", sans-serif;
    font-weight: 300;
    display: block;
    overflow: hidden;
    /* masks the span until it rises into view */
}

.hero-info h1 .line span {
    display: block;
    transform: translateY(120%);
    opacity: 0;
}

.hero-info h1.is-active .line span {
    animation: riseUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-info h1.is-active .line:nth-child(2) span {
    animation-delay: 0.08s;
}

.hero-info h1.is-leaving .line span {
    animation: dropDown 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes riseUp {
    0% {
        transform: translateY(120%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes dropDown {
    0% {
        transform: translateY(0%);
        opacity: 1;
    }

    100% {
        transform: translateY(60%);
        opacity: 0;
    }
}

.hero-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(0);
}

.hero-info p.is-fading {
    opacity: 0;
    transform: translateY(8px);
}

/* ==========================================
   BUTTONS
========================================== */

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

.btn-primary,
.btn-secondary {
    min-width: 140px;
    height: 48px;

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

    gap: 10px;

    border-radius: 12px;

    text-decoration: none;

    transition: all .3s ease;
}

.btn-primary {
    background: #FDC210;
    color: #111;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    color: #fff;
    border: 1px solid #FDC210;
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
}

.hero-actions a i {
    font-size: 14px;
    margin-left: 4px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

/* ==========================================
   ANIMATION
========================================== */

@keyframes heroSlide {

    /* Banner 1 stays */
    0%,
    25% {
        transform: translateX(0);
    }

    /* Slide to Banner 2 */
    30% {
        transform: translateX(-100vw);
    }

    /* Banner 2 stays */
    35%,
    60% {
        transform: translateX(-100vw);
    }

    /* Slide to Banner 3 */
    65% {
        transform: translateX(-200vw);
    }

    /* Banner 3 stays */
    70%,
    95% {
        transform: translateX(-200vw);
    }

    /* Move to duplicated Banner 1 */
    100% {
        transform: translateX(-300vw);
    }
}

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

@media (max-width: 992px) {

    .hero-content {
        width: 92%;
    }

    .hero-bottom-card {
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;
    }

    .hero-info h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        width: 100%;
    }
}

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

@media (max-width: 576px) {

    .hero-content {
        width: 94%;
        padding-bottom: 20px;
    }

    .hero-bottom-card {
        padding: 20px;
    }

    .hero-info h1 {
        font-size: 2rem;
    }

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

    .hero-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1;
        min-width: 130px;
    }
}

/********************** ABOUT US SECTION */
.about-highlight-section {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(ellipse at top left,
            rgba(253, 194, 16, 0.35) 0%,
            transparent 60%),
        radial-gradient(ellipse at bottom right,
            rgba(151, 71, 255, 0.40) 0%,
            transparent 60%),
        linear-gradient(135deg,
            #322617 0%,
            #563d48 45%,
            #2d1f56 100%);
    padding: 3%;
}

.about-highlight-container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    gap: 80px;
}

.about-left {
    flex: 1;
}

.about-left h2 {
    margin: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}

.about-right {
    flex: 1;
    max-width: 650px;
}

.section-tag {
    margin-bottom: 32px;
}

.section-tag h2 {
    display: block;

    color: #fff;

    font-size: 2rem;
    font-weight: 600;

    margin-bottom: 16px;
}

.section-tag span {
    display: block;
    width: 260px;
    height: 2px;

    background: linear-gradient(90deg,
            #FDC210,
            transparent);
}

.tag-line {
    width: 260px;
    height: 2px;

    background: rgba(255, 255, 255, 0.25);

    position: relative;
}

.tag-line::before {
    content: '';

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

    width: 80px;
    height: 100%;

    background: #FDC210;
}

.about-right p {
    margin: 0 0 40px;

    color: rgba(255, 255, 255, 0.95);

    font-size: 1.2rem;

    line-height: 1.8;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 260px;
    height: 64px;

    padding: 0 32px;

    background: #FDC210;
    color: #111;

    border-radius: 16px;

    font-weight: 600;

    text-decoration: none;

    transition: all .3s ease;
}

.explore-btn:hover {
    transform: translateY(-3px);
}

.explore-btn i {
    font-size: 14px;
    margin-left: 4px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

@media (max-width: 992px) {

    .about-highlight-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }

    .about-right {
        max-width: 100%;
    }

    .tag-line {
        width: 180px;
    }
}

@media (max-width: 576px) {

    .about-highlight-section {
        padding: 80px 0;
    }

    .about-left h2 {
        font-size: 2.5rem;
    }

    .section-tag span {
        font-size: 1.75rem;
    }

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

    .explore-btn {
        width: 100%;
        min-width: auto;
    }
}

.services-section {
    position: relative;
    padding: 30px 0;
    background: radial-gradient(circle at top center, rgba(151, 71, 255, .18), transparent 35%),
        linear-gradient(180deg, #020616 0%, #03071c 100%);
    overflow: hidden;
}

.container {
    width: 85%;
    max-width: 1600px;
    margin: auto;
    position: relative;
    /* Added a fixed height so the absolute child cards have a space to live in */
    min-height: 800px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 15px;
}

.section-header span {
    display: block;
    width: 260px;
    height: 2px;
    background: linear-gradient(90deg, #FDC210, transparent);
}

.service-card {
    /* Set to absolute so they stack perfectly on top of one another */
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    gap: 80px;
    padding: 40px;
    border-radius: 50px;

    background:
        radial-gradient(circle at left center,
            rgba(45, 70, 140, 0.35) 0%,
            rgba(45, 70, 140, 0.15) 25%,
            transparent 55%),
        linear-gradient(90deg,
            #1b2247 0%,
            #171d3d 40%,
            #121731 100%);

    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .3);
    overflow: hidden;

    /* Removed initial opacity and transforms. GSAP handles this now. */
    will-change: transform, opacity;
    transform-origin: top center;
}

.service-image {
    flex: 0 0 42%;
    overflow: hidden;
    border-radius: 35px;
}

.service-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transform: scale(1.2);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 25px;
}

.service-content p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: #FDC210;
    color: #111;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
}

.explore-btn i {
    font-size: 14px;
}

@media(max-width:991px) {
    .service-card {
        flex-direction: column;
        gap: 40px;
        top: 180px;
    }

    .service-image {
        width: 100%;
    }

    .service-content {
        width: 100%;
    }

    .service-content h3 {
        font-size: 2rem;
    }

    .container {
        min-height: 1000px;
        /* Taller on mobile to fit vertical stacking */
    }
}

.digital-section {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at left center,
            rgba(253, 194, 16, 0.18),
            transparent 40%),
        #040A20;
}

.digital-grid {
    display: grid;
    grid-template-columns: 48% 52%;

    align-items: stretch;

    min-height: 540px;
}

.digital-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 60px 40px;
}

.digital-content h2 {
    margin: 0 0 24px;

    color: #fff;

    font-size: clamp(4rem, 5vw, 5.8rem);

    font-weight: 900;

    line-height: .9;

    letter-spacing: 0px;

    text-transform: none;
}

.digital-content h2 span {
    display: block;
}

.digital-content p {
    max-width: 420px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, .75);

    font-size: 14px;

    line-height: 1.8;
}

.digital-content .primary-btn {
    width: 160px;
    height: 42px;

    min-width: auto;

    border-radius: 8px;

    font-size: 13px;
}

.digital-image {
    height: 540px;
}

.digital-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.service-digital-btn {
    width: 250px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: #FDC210;
    color: #111;

    border-radius: 16px;

    font-size: 16px;
    font-weight: 400;

    text-decoration: none;

    transition: .3s;
}

.service-digital-btn i {
    font-size: 14px;
    margin-left: 4px;
    transform: rotate(-45deg);

}

.projects-section {
    background: #040A20;
    padding: 120px 0;
}

.container {
    width: 1400px;
    max-width: 92%;
    margin: 0 auto;
}

/* The wrapper creates the scrollable space */
.projects-wrapper {
    position: relative;
    height: 300vh;
    /* 100vh for each card creates the scroll duration */
}

/* This sticks to the top while you scroll through the 300vh wrapper */
.cards-pin {
    position: sticky;
    top: 100px;
    /* Adjust this to change where it sticks on the screen */
    height: 700px;
    overflow: hidden;
    border-radius: 40px;
}

.project-card {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 42% 58%;

    width: 100%;
    height: 700px;

    background: #f4f4f4;
    overflow: hidden;
    border-radius: 40px;

    /* Added transform-origin so the cards scale down towards the top */
    will-change: transform, opacity;
    transform-origin: top center;
}

/* z-index is crucial here so they overlap correctly */
.project-card:nth-child(1) {
    z-index: 1;
}

.project-card:nth-child(2) {
    z-index: 2;
}

.project-card:nth-child(3) {
    z-index: 3;
}

.project-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.project-content span {
    display: block;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 600;
}

.project-content h3 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.project-content p {
    font-size: 22px;
    line-height: 1.7;
}

.project-image,
.project-image img {
    width: 100%;
    height: 100%;
}

.project-image img {
    object-fit: cover;
}

.testimonial-section {
    background: #03092d;
    min-height: 100vh;

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

    padding: 0 80px;

    overflow: hidden;
}

/* LEFT SIDE */

.testimonial-left {
    width: 48%;
}

.testimonial-label {
    margin-bottom: 50px;
}

.testimonial-label h3 {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-label span {
    display: block;
    width: 260px;
    height: 2px;

    background: linear-gradient(90deg,
            #FDC210,
            transparent);
}

.testimonial-label span::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -15px;

    width: 240px;
    height: 2px;

    background: #ffc107;
}

.testimonial-left h2 {
    color: #fff;

    font-size: 40px;
    line-height: 1.05;
    font-weight: 300;

    max-width: 650px;
}

.testimonial-left p {
    margin-top: 90px;

    max-width: 580px;

    color: rgba(255, 255, 255, .85);

    font-size: 22px;
    line-height: 1.8;
}

/* RIGHT SIDE */

.testimonial-right {
    width: 42%;
    height: 650px;

    position: relative;
    overflow: hidden;
}

.testimonial-track {
    position: relative;

    width: 100%;
    height: 100%;
}

/* FADE MASKS */

.testimonial-right::before,
.testimonial-right::after {
    content: "";

    position: absolute;

    left: 0;
    width: 100%;

    height: 180px;

    z-index: 100;

    pointer-events: none;
}

.testimonial-right::before {
    top: 0;

    background: linear-gradient(to bottom,
            #03092d 0%,
            rgba(3, 9, 45, .95) 35%,
            rgba(3, 9, 45, .5) 70%,
            transparent 100%);
}

.testimonial-right::after {
    bottom: 0;

    background: linear-gradient(to top,
            #03092d 0%,
            rgba(3, 9, 45, .95) 35%,
            rgba(3, 9, 45, .5) 70%,
            transparent 100%);
}

/* CARD */

.testimonial-card {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: #fff;
    /* border-radius: 20px; */
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);

    will-change: transform, opacity;
    transform-origin: center center;
}

/* IMAGE */

.testimonial-card img {
    width: 110px;
    height: 110px;

    border-radius: 50%;
    object-fit: cover;

    flex-shrink: 0;
}

/* CONTENT */

.content {
    flex: 1;
}

.content h4 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 10px;

    color: #111;
}

.content p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* QUOTE ICON */

.quote-icon {
    font-size: 42px;
    color: #5a63ff;

    flex-shrink: 0;
}

/* ACTIVE CARD */

.active-card {
    border-left: 8px solid #ffc107;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .18);

    z-index: 20;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    .testimonial-section {
        padding: 80px 40px;
    }

    .testimonial-left h2 {
        font-size: 60px;
    }

    .testimonial-left p {
        font-size: 18px;
    }
}

@media (max-width: 991px) {

    .testimonial-section {
        flex-direction: column;
        gap: 60px;
    }

    .testimonial-left,
    .testimonial-right {
        width: 100%;
    }

    .testimonial-right {
        height: 550px;
    }

    .testimonial-left h2 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .testimonial-section {
        padding: 60px 20px;
    }

    .testimonial-left h2 {
        font-size: 42px;
    }

    .testimonial-card {
        padding: 20px;
        gap: 15px;
    }

    .testimonial-card img {
        width: 80px;
        height: 80px;
    }

    .content h4 {
        font-size: 24px;
    }

    .content p {
        font-size: 14px;
    }
}

/* CLIENTS */

.clients-box {
    background: #f3f3f3;
    border-radius: 30px;
    padding: 25px 85px;
    position: relative;
    z-index: 2;
    width: 95%;
    margin: auto;
}

.clients-title {
    text-align: center;
    color: #e3a400;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 35px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 60px;
    align-items: center;
    justify-items: center;
}

.clients-grid img {
    max-width: 180px;
    width: 100%;
    object-fit: contain;
}

/* CONTACT */

.contact-box {
    background: #f3f3f3;
    border-radius: 25px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding: 40px 28px 30px;
}

.contact-top-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
            #efb000 0%,
            #efb000 28%,
            transparent 28%,
            transparent 72%,
            #efb000 72%,
            #efb000 100%);
    margin-bottom: 35px;
    margin-top: 5px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 15px;
    margin-top: 2%;
}

.contact-left h2 {
    font-size: 62px;
    font-weight: 600;
    color: #3c3636;
    line-height: 1;
    margin-bottom: 12px;
}

.contact-left p {
    color: #555;
    font-size: 12px;
    margin-bottom: 25px;
}

.contact-image {
    width: 100%;
    height: 285px;
    border-radius: 25px;
    object-fit: cover;
}

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

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #222;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #c8bda5;
    background: #f4f1e9;
    border-radius: 7px;
    padding: 10px;
    font-size: 12px;
}

.form-group input {
    height: 42px;
}

.form-group textarea {
    height: 70px;
    resize: none;
}

.checkbox-area {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 18px;
}

.checkbox-area span {
    font-size: 10px;
    color: #444;
}

.submit-btn {
    width: 250px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #FDC210;
    color: #111;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: .3s;
    border: none;
}

.submit-btn i {
    font-size: 14px;
    margin-left: 4px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.contact-image-slider {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 32px;
}

.contact-image-slider .slick-list,
.contact-image-slider .slick-track {
    height: 100%;
}

.contact-image-slider .slick-slide {
    height: 380px;
}

.contact-image-slider img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 32px;
}

/* Hide arrows */

.contact-image-slider .slick-arrow {
    display: none !important;
}

/* Dots */

.contact-image-slider .slick-dots {
    bottom: 15px;
}

.contact-image-slider .slick-dots li button:before {
    color: #fff;
    opacity: .6;
}

.contact-image-slider .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

/* RESPONSIVE */

@media(max-width:991px) {

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

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

    .contact-left h2 {
        font-size: 42px;
    }
}

@media(max-width:767px) {

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

}

.testimonial-contact-wrapper {
    position: relative;
    overflow: hidden;

    background: #040A20;
}

.testimonial-contact-wrapper::before {
    content: "";
    position: absolute;
    left: -20%;
    bottom: -10%;
    width: 1400px;
    height: 900px;
    z-index: 0;
    background:
        linear-gradient(90deg,
            #FD9F5C 0%,
            #C06E83 40%,
            #9747FF 100%);

    opacity: .75;
    filter: blur(140px);
}

.testimonial-contact-wrapper::after {
    content: "";
    position: absolute;
    right: -300px;
    bottom: -250px;
    width: 900px;
    height: 900px;
    border-radius: 50%;

    background: #9747FF;

    opacity: .75;

    filter: blur(200px);

    z-index: 0;
}

.contact-footer-section {
    width: 95%;
    margin: auto;
}

.testimonial-section,
.footer-section {
    position: relative;
    z-index: 2;
    background: transparent;
}