/* =================================================== */
/* ==   STYLES FOR THE DETAIL & PRICING PAGES       == */
/* =================================================== */

/* --- GENERAL PAGE LAYOUT --- */
.detail-page main {
    background-color: var(--white);
}

/* --- DETAIL HERO SECTION --- */
.detail-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60vh;
    color: var(--white);
    padding: 40px 5%;
    background-size: cover;
    background-position: center;
}
.parents-hero {
    /* Add a comforting, relevant background image */
    background-image: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('assets/family-bg.jpg');
}
.detail-hero .hero-content {
    max-width: 800px;
}
.detail-hero .hero-title {
    font-size: 3.5rem;
}
.detail-hero .hero-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 30px;
}

/* --- DETAIL FEATURES SECTION --- */
.detail-features {
    padding: 100px 5%;
    background-color: var(--background-color);
}
.animated-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.animated-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44,62,80,0.15);
}

/* --- PRICING SECTION --- */
.detail-pricing {
    padding: 100px 5%;
    background-color: var(--white);
}
.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.pricing-card {
    background-color: var(--background-color);
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
}
.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 20px 0;
}
.pricing-card .price span {
    font-size: 1.5rem;
    font-weight: 400;
    vertical-align: middle;
}
.pricing-card .price span:last-child {
    font-size: 1rem;
    color: #777;
}
.pricing-card ul {
    list-style: none;
    margin: 30px 0;
}
.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}
.pricing-card .btn {
    width: 100%;
}

/* --- RECOMMENDED PLAN HIGHLIGHT --- */
.pricing-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}
.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}