.packages-section {
    background: url("../images/packages_bg.webp") center/cover no-repeat;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

.packages-header h2 {
    display: inline-block;
    background: white;
    color: #004aad;
    font-size: 2.6rem;
    font-weight: bold;
    font-style: italic;
    padding: 15px 30px;
    border-radius: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.packages-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap; 
    padding: 0 10px;
}


.package-card {
    width: 100%;
    max-width: 350px;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* .package-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: inherit;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
} */

.white-card {
    background: white;
    color: #737373;
    font-weight: bold;
    /* font-style: italic; */
}

.gradient-card {
    background: linear-gradient(90deg, #004aad, #26cb2d);
    color: white;
    font-weight: bold;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.package-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 10px;
}

.package-card h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-separator {
    height: 3px;
    background: #26cb2d;
    width: 80%;
    margin: 10px auto;
    border: none;
}

.package-card h4 {
    font-size: 1.1rem;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 15px;
}

.package-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 1rem;
    margin-bottom: 20px;
}

.package-card ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.package-card ul li::before {
    content: "✅";
    color: #26cb2d;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.enquire-btn {
    background: linear-gradient(45deg, #068e14, #004aad);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    font-style: italic;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    width: 80%;
    display: inline-block;
    align-self: center;
}

.gradient-card .enquire-btn {
    background: white;
    color: #004aad;
}

.terms {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}

.gradient-card .terms {
    color: white;
}

@media (max-width: 1199px) {
    .packages-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .package-card {
        flex: 1 1 45%;
        /* max-width: 45%; */
        max-width: 350px;
        margin-bottom: 30px;
    }
    .package-card h2 {
        font-size: 2rem;
    }
    .package-card h3 {
        font-size: 1.4rem;
    }
    .package-card ul {
        font-size: 0.8rem;
    }

    .package-card h4 {
        font-size: 0.8rem;
    }

}

/* ✅ Tablets & Large Phones */
@media (max-width: 767px) {
    .packages-header h2 {
        font-size: 2rem;
        padding: 10px 20px;
    }

    .package-card {
        flex: 1 1 90%;
        max-width: 90%;
        padding: 25px 20px;
    }

    .package-card h2 {
        font-size: 1.8rem;
    }

    .package-card h3 {
        font-size: 1.2rem;
    }

    .package-card ul {
        font-size: 0.95rem;
    }

    .enquire-btn {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .packages-section {
        padding: 40px 15px;
    }

    .packages-header h2 {
        font-size: 1.8rem;
    }

    .package-card {
        padding: 20px;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .packages-header h2 {
        font-size: 1.5rem;
    }

    .package-card h2 {
        font-size: 1.6rem;
    }

    .package-card h3,
    .package-card h4 {
        font-size: 1rem;
    }

    .enquire-btn {
        font-size: 0.9rem;
        width: 90%;
    }

    .terms {
        font-size: 0.75rem;
    }
}
