/* ========================================
   WBDP SECTION - World Book Day Project
   ======================================== */

.wbdp-section {
    position: relative;
    padding: 6rem 2rem 8rem;
    overflow: hidden;
    background-color: #ffffff;
    min-height: 600px;
}

/* Desktop: Background image positioned on the right */
.wbdp-bg-desktop {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/about.png') center right / contain no-repeat;
    background-size: auto 100%;
    z-index: 1;
}

.wbdp-container {
    position: relative;
    max-width:  1300px;
    margin: 0 auto;
    z-index: 10;
}

.wbdp-content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
}

/* Text Box - White card with yellow left border */
.wbdp-text-box {
    background: #ffffff;
    padding: 3rem 3rem 3rem 2.5rem;
    border-left: 6px solid #FDB913;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    position: relative;
    z-index: 20;
}

.wbdp-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #000000;
    letter-spacing: -0.3px;
}

.wbdp-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.8rem;
}

/* Watch Our Intro! Link */
.wbdp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.wbdp-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
}

.wbdp-link:hover {
    color: #FDB913;
    transform: translateX(5px);
}

.wbdp-link:hover::after {
    background-color: #FDB913;
}

/* RESPONSIVENESS - Media Queries */
/* a new way i have never used before */
@media (min-width: 1001px) and (max-width: 1100px) {
    .wbdp-container{
        padding-left: 30px;
    }
}

@media (min-width: 1101px) and (max-width: 1350px) {
    .wbdp-container {
        padding-left: 30px;
    }
}

@media (min-width: 1351px) and (max-width: 1385px) {
    .wbdp-container {
        padding-left: 30px;
    }
}

@media (min-width: 1386px) and (max-width: 1399px) {
    .wbdp-container {
        padding-left: 15px;
    }
}

/* @media (min-width: 1301px) and (max-width: 1400px) {
    .wbdp-container {
        padding-left: 30px;
    }
} */
/* @media (min-width: 1401px) and (max-width: 1450px) {
    .wbdp-container {
        padding-left: 45px;
    }
}
@media (min-width: 1451px) and (max-width: 1500px) {
    .wbdp-container {
        padding-left: 55px;
    }
}

@media (min-width: 1501px) and (max-width: 1550px) {
    .wbdp-container {
        padding-left: 70px;
    }
}
@media (min-width: 1551px) and (max-width: 1600px) {
    .wbdp-container {
        padding-left: 75px;
    }
}
@media (min-width: 1601px) and (max-width:  1650px) {
    .wbdp-container {
        padding-left: 80px;
    }
} */
/* @media (min-width: 1651px) and (max-width: 1700px) {
    .wbdp-container {
        padding-left: 85px;
    }
} */
/* 
@media (min-width: 1701px) and (max-width: 1800px) {
    .wbdp-container {
        padding-left: 90px;
    }
}

@media (min-width: 1801px) and (max-width: 1900px) {
    .wbdp-container {
        padding-left: 90px;
    }
}

@media (min-width: 1901px) and (max-width: 2000px) {
    .wbdp-container {
        padding-left: 300px;
    }
}

@media (min-width: 2001px) and (max-width: 2100px) {
    .wbdp-container {
        padding-left: 350px;
    }
}

@media (min-width: 2101px) and (max-width: 2300px) {
    .wbdp-container {
        padding-left: 450px;
    }
} */


/* Tablets */
@media (max-width: 1000px) {
    .wbdp-section {
        padding: 5rem 2rem 6rem;
    }

    .wbdp-bg-desktop {
        width: 50%;
        opacity: 0.3;
    }

        .wbdp-container {
            max-width: 1050px;
        }

    .wbdp-content {
        justify-content: center;
    }

    .wbdp-text-box {
        max-width: 600px;
        margin: 0 auto;
    }

    .wbdp-title {
        font-size: 1.9rem;
    }
}

/* Mobile Landscape / Small Tablets */
@media (max-width: 768px) {
    .wbdp-section {
        padding: 4rem 1.5rem 5rem;
        min-height: auto;
    }

    /* Full background with overlay */
    .wbdp-bg-desktop {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 1;
    }

    .wbdp-bg-desktop::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

    .wbdp-content {
        min-height: auto;
    }

    /* Glassmorphism card on mobile */
    .wbdp-text-box {
        /* background: rgba(255, 255, 255, 0.92); */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        /* border: 1px solid rgba(255, 255, 255, 0.5); */
        border-left: 5px solid #FDB913;
        border-radius: 16px;
        padding: 2.5rem 2rem;
        text-align: center;
        max-width: 500px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .wbdp-title {
        font-size: 1.7rem;
        margin-bottom: 1.3rem;
    }

    .wbdp-description {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
    }

    .wbdp-link {
        justify-content: center;
        font-size: 0.95rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .wbdp-section {
        padding: 3rem 1rem 4rem;
    }

    .wbdp-text-box {
        padding: 2rem 1.5rem;
        max-width: 100%;
        border-radius: 12px;
    }

    .wbdp-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .wbdp-description {
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: 1.3rem;
    }

    .wbdp-link {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
    .wbdp-text-box {
        padding: 1.8rem 1.2rem;
    }

    .wbdp-title {
        font-size: 1.35rem;
    }

    .wbdp-description {
        font-size: 0.85rem;
    }
}