/* Preloader Full Screen */
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

/* Loading Animation */
.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top-color: crimson;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Spin Animation */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* ================= HERO ================= */
.ddi-hero {
    position: relative;
    height: 100vh;
    background: url("Assets/Data-Driven Insights & Analytics/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ddi-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.ddi-hero-content {
    position: relative;
    text-align: center;
    width: 60%;
    background: rgba(0,0,0,0.55);
    padding: 40px 30px;
    border-radius: 10px;
}

.ddi-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.ddi-hero-content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
}

.ddi-btn {
    padding: 12px 28px;
    background: #0052cc;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
}


/* ================= CARDS ================= */
.ddi-card-area {
    width: 100%;
    padding: 80px 40px;
    background: #f7f9fb;
}

.ddi-card-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.ddi-card {
    flex: 1;
    min-width: 320px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.12);
}

.ddi-card-btn {
    padding: 12px 26px;
    background: #0052cc;
    color: #fff;
    border-radius: 8px;
    border: none;
}


/* ================= WHY CHOOSE ================= */
.ddi-why-wrapper {
    display: flex;
    padding: 80px 5%;
    gap: 50px;
}

.ddi-why-left {
    position: relative;
    max-width: 45%;
}

.ddi-image-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #e4f0ff;
    border-radius: 30% 70% 60% 40%;
    top: -20px;
    left: -20px;
}

.ddi-why-left img {
    width: 100%;
    border-radius: 20px;
    position: relative;
}


/* ================= OFFER ================= */
.ddi-offer-section {
    display: flex;
    justify-content: space-between;
    padding: 80px 5%;
    gap: 50px;
    background: #E8F7FB;
}

.ddi-offer-left {
    width: 45%;
}

.ddi-offer-left h2 {
    font-size: 32px;
    font-weight: 700;
    color: #002147;
    margin-bottom: 20px;
}

.ddi-offer-left p {
    font-size: 18px;
    line-height: 26px;
    color: #333;
    margin-bottom: 40px;
}

.ddi-offer-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ddi-bg-shape {
    position: absolute;
    width: 380px;
    height: 380px;
    background: #c3f0e9;
    border-radius: 50% 40% 60% 50%;
    top: 20px;
    left: 0;
    margin: auto;
    z-index: 1;
}

.ddi-offer-illustration img {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.ddi-offer-right {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
}

.ddi-offer-item img {
    width: 45px;
    margin-bottom: 10px;
}

.ddi-offer-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #003366;
}

.ddi-offer-item p {
    color: #444;
    line-height: 24px;
}

/* ================= HERO SECTION ================= */
@media (max-width: 1024px) {
    .ddi-hero-content {
        width: 75%;
    }

    .ddi-hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .ddi-hero {
        height: auto;
        padding: 120px 20px;
    }

    .ddi-hero-content {
        width: 100%;
        padding: 30px 20px;
    }

    .ddi-hero-content h1 {
        font-size: 30px;
    }

    .ddi-hero-content p {
        font-size: 16px;
    }

    .ddi-btn {
        font-size: 16px;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .ddi-hero-content h1 {
        font-size: 26px;
    }

    .ddi-hero-content p {
        font-size: 15px;
    }
}

/* ================= CARD SECTION ================= */
@media (max-width: 1024px) {
    .ddi-card-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ddi-card-area {
        padding: 60px 20px;
    }

    .ddi-card-container {
        flex-direction: column;
    }

    .ddi-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .ddi-card {
        padding: 25px 20px;
    }

    .ddi-card h3 {
        font-size: 20px;
    }

    .ddi-card p {
        font-size: 15px;
    }
}

/* ================= WHY CHOOSE SECTION ================= */
@media (max-width: 1024px) {
    .ddi-why-wrapper {
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .ddi-why-wrapper {
        flex-direction: column;
        padding: 60px 5%;
    }

    .ddi-why-left,
    .ddi-why-right {
        max-width: 100%;
        width: 100%;
    }

    .ddi-image-shape {
        display: none;
    }

    .ddi-why-left img {
        border-radius: 16px;
    }

    .ddi-why-right h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .ddi-why-right h2 {
        font-size: 24px;
    }

    .ddi-why-right p,
    .ddi-why-right li {
        font-size: 15px;
    }
}

/* ================= OFFER SECTION ================= */
@media (max-width: 1024px) {
    .ddi-offer-right {
        gap: 30px 20px;
    }
}

@media (max-width: 900px) {
    .ddi-offer-section {
        flex-direction: column;
        padding: 60px 5%;
    }

    .ddi-offer-left,
    .ddi-offer-right {
        width: 100%;
    }

    .ddi-offer-right {
        grid-template-columns: 1fr;
    }

    .ddi-offer-left {
        text-align: left;
    }

    .ddi-offer-illustration {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .ddi-offer-left h2 {
        font-size: 26px;
    }

    .ddi-offer-left p {
        font-size: 16px;
    }

    .ddi-offer-item h3 {
        font-size: 18px;
    }

    .ddi-offer-item p {
        font-size: 15px;
    }

    .ddi-bg-shape {
        width: 220px;
        height: 220px;
        top: 0;
    }

    .ddi-offer-illustration img {
        max-width: 240px;
    }
}

@media (max-width: 400px) {
    .ddi-btn {
        width: 100%;
        text-align: center;
    }

    .ddi-card-btn {
        width: 100%;
    }
}
