/* ============================================================
   Data Engineering Services - Page Styles
   Organized: Desktop base styles → breakpoints large to small
   ============================================================ */


/* ============================================================
   DESKTOP BASE STYLES
   ============================================================ */

/* --- Banner / Key Section --- */
.l-55-s-20 {
    font-size: 55px !important;
}

/* --- Forecast / Key Stats --- */
.stat-box h2 {
    font-weight: 700;
    font-size: 64px;
    line-height: 32px;
}

.stat-box h2 span {
    font-weight: 700;
    font-size: 64px;
    line-height: 96px;
    display: block;
}

.stat-box p {
    line-height: 2rem;
    font-size: 20px;
    font-weight: 500;
}

/* --- Roles Section (Who Benefits) --- */
#faq-carousel-container .dataplatr60-faq-section,
#faq-carousel-container .dataplatr61-faq-section,
#faq-carousel-container .dataplatr62-faq-section,
#faq-carousel-container .dataplatr63-faq-section,
#faq-carousel-container .dataplatr64-faq-section {
    display: block;
}

/* --- Tools Section --- */
.dtc-tc-heading {
    font-size: 64px;
    line-height: 96px;
}

.tools-container {
    display: flex !important;
    flex-direction: column;
    row-gap: 10px;
    background: #1C5FFD;
    padding: 24px;
    border-radius: 20px;
}

.tools-dropdown,
.tools-sub-dropdown {
    border-radius: 16px;
    padding: 12px 24px;
    background-color: #3C81FF;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
}

.tools-dropdown i,
.tools-sub-dropdown i {
    font-size: 14px;
}

.tools-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tools-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tools-card {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.tools-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FAQ Section --- */
.faq-toggle-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    text-align: center;
}

.faq-toggle-icon i {
    font-size: 16px;
}

.faq-toggle-icon .faq-icon-open,
.faq-toggle-icon .faq-icon-closed {
    display: none;
}

.accordion-header a[aria-expanded="true"] .faq-icon-open,
.accordion-header a[aria-expanded="false"] .faq-icon-closed {
    display: inline-block;
}

.faq-buttons {
    justify-content: center;
    align-items: center;
    column-gap: 16px;
}

.faq-buttons a {
    width: fit-content;
}

.faq-buttons a:first-child {
    padding: 5px 0;
    margin-right: 15px;
}

.faq-buttons a span {
    margin-right: 5px;
}

.faq-buttons a:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
}

/* --- Contact Section --- */
.pltr35-section {
    background-image: url(../imgs/data-engineering/bgform.webp);
    background-size: cover;
    background-repeat: no-repeat;
}


/* ============================================================
   BREAKPOINT: 1200px – 1300px
   ============================================================ */
@media (min-width: 1200px) and (max-width: 1300px) {
    /* FAQ */
    .dataplatr38-faq-section {
        height: 123vh;
    }
}


/* ============================================================
   BREAKPOINT: 992px – 1200px
   ============================================================ */
@media (min-width: 992px) and (max-width: 1200px) {
    /* FAQ */
    .dataplatr38-faq-section {
        height: 163vh;
    }
}


/* ============================================================
   BREAKPOINT: 768px – 1024px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Banner */
    .l-55-s-20 {
        font-size: 20px !important;
    }
}


/* ============================================================
   BREAKPOINT: 767px – 992px
   ============================================================ */
@media (min-width: 767px) and (max-width: 992px) {
    /* FAQ */
    .dataplatr38-faq-section {
        height: 144vh;
    }
}


/* ============================================================
   BREAKPOINT: max-width 768px  (tablet & mobile)
   ============================================================ */
@media (max-width: 768px) {
    /* Banner */
    section.dtc53-section {
        background: url(../imgs/mob/data-eng.webp) no-repeat right center / cover;
        padding: 174px 38px 86px 15px;
    }

    /* Nav */
    .dataplr-nav li {
        display: inline-block;
    }

    .dataplr-nav {
        display: block;
        padding: 0 !important;
        scrollbar-width: none;
    }

    /* Key Stats */
    .l-55-s-20 {
        font-size: 24px !important;
        font-weight: 600;
        line-height: 36px;
    }

    .stat-box h2 {
        font-weight: 600;
        font-size: 30px;
        line-height: 1.5;
    }

    .stat-box h2 span {
        font-weight: 600;
        font-size: 40px;
        line-height: 1.5;
    }

    .stat-box p {
        line-height: 1.5;
        font-size: 14px;
        font-weight: 500;
    }

    .data-cloud-content {
        padding: 85px 20px !important;
    }

    .data-cloud-content p:last-of-type {
        text-align: start;
    }

    /* Roles Section */
    .faq-carousel-container .dataplatr60-faq-section,
    .faq-carousel-container .dataplatr61-faq-section,
    .faq-carousel-container .dataplatr62-faq-section,
    .faq-carousel-container .dataplatr63-faq-section,
    .faq-carousel-container .dataplatr64-faq-section {
        display: none;
    }

    .faq-slide {
        height: 400px;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }

    .faq-overlay {
        position: absolute;
        bottom: 0;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(6.4px);
        padding: 24px;
        border-radius: 32px 32px 0 0;
        color: white;
        width: 316px;
        height: 225px;
    }

    .faq-overlay h2 {
        color: #fd7702 !important;
        margin-bottom: 20px;
    }

    .faq-overlay p {
        color: white;
    }

    .carousel-indicators {
        position: absolute;
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        gap: 4px;
    }

    .carousel-indicators button {
        width: 5px !important;
        height: 5px !important;
        border-radius: 50%;
        background-color: #DDDDDD !important;
        border: none !important;
        transition: all 0.3s ease !important;
        margin: 0 !important;
    }

    .carousel-indicators .active {
        width: 12px !important;
        height: 5px !important;
        border-radius: 7px !important;
        background-color: #353535 !important;
    }

    /* Tools */
    .dtc-tc-section {
        margin-top: 50px;
    }

    .dtc-tc-heading {
        font-size: 22px;
        line-height: 32px;
    }

    /* FAQ */
    section.dataplatr38-faq-section {
        height: auto;
    }

    .dataplatr38-faq-section .faq4-background {
        background-image: url(../imgs/data-engineering/faq.webp);
        background-size: cover;
        background-position: center;
    }

    .faq-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Contact */
    .pltr35-section {
        background: url(../imgs/data-engineering/form.webp) no-repeat center center;
        background-size: cover;
    }

    .pltr35-section h2.pltr35-text {
        text-align: center;
        font-size: 20px;
        line-height: 1.5;
    }
}
