/* ======================= */
/* HOMEPAGE SECTION        */
/* ======================= */

.home-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 95vh;
    padding: 20px 5%;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column; /* default mobile layout */
    align-items: center;
    justify-content: flex-start;
}

.home-text {
    width: 100%;
}

/* Yellow Highlight Box */
.home-highlight {
    background: var(--brand-yellow);
    color: var(--brand-green);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: 100%;
}

/* Tagline */
.tagline {
    font-size: 22px;
    color: var(--brand-yellow);
    margin-bottom: 25px;
    font-weight: 600;
}

/* List */
.home-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.home-list li {
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    font-size: 18px;
}

.home-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 11px;
    height: 11px;
    background-color: #4493d5;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(79, 195, 247, 0.4);
}

/* Button */
.btn {
    background: linear-gradient(145deg, var(--btn-gradient-start), var(--btn-gradient-end));
    color: white;
    padding: 11px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 18px;
    border: 2px solid white;
    box-shadow: 0 5px 12px rgba(79, 195, 247, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 18px rgba(79, 195, 247, 0.45);
}

.btn:active {
    transform: translateY(0px) scale(0.98);
}

.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg);
    transition: all 0.7s ease;
}

.btn:hover::after {
    left: 130%;
}

/* ========================================= */
/* DESKTOP / LAPTOP LAYOUT (Side-by-Side)    */
/* ========================================= */
@media (min-width: 1024px) {
    .home-section {
        display: flex;               /* Enable side-by-side */
        flex-direction: row;         /* Left to right */
        align-items: center;         /* Vertically center the bucket with the text */
        justify-content: space-between; 
        gap: 40px;                   /* Space between text and bucket */
        padding: 40px 5%;
        min-height: 80vh;            /* Better height for desktop */
    }

    .home-text {
        flex: 1;                     /* Takes up available space */
        max-width: 600px;            /* Prevents text box from getting too long */
        text-align: left;            /* Keeps text aligned left on desktop */
    }

    .home-highlight {
        width: 100%;                 /* Box fills its container */
        margin-bottom: 0;            /* No bottom margin needed when side-by-side */
    }

    /* Target the bucket specifically within the desktop view */
    .home-section .bucket {
        flex: 0 1 350px;             /* 350px width, but can shrink on small laptops */
        max-width: 350px;
        margin: 0;                   /* Reset any mobile margins */
        display: block;
    }
}

/* ======================= */
/* MOBILE (unchanged layout) */
/* ======================= */

@media (max-width: 768px) {

    .home-section {
        position: relative !important;
        margin: 0 auto !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 80px 15px 40px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        transform: none !important;
    }

    .home-section .bucket {
        position: relative;
        width: 45%;
        max-width: 140px;
        margin: -120px 0 0 auto;
    }
}


