/* Full-Width Section Styling */
.full-width-section {
    width: 100%;
    padding: 70px 20px;
    background-color: #f8fafc;
}

.myopia-info.full-width-section,
.myopia-treatments.full-width-section {
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.myopia-hero {
    min-height: 52vh;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.78), rgba(0, 130, 109, 0.65)), url('/images/myopia_hero_bg.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-overlay h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
}

.hero-overlay p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Section Headers */
.full-width-section h2 {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #0b2545;
    text-align: center;
    margin-bottom: 36px;
}

/* Myopia Info Section */
.myopia-info p {
    font-size: 1.15rem;
    color: #475569;
    text-align: center;
    line-height: 1.75;
    max-width: 820px;
    margin: 0 auto;
}

/* Shared Grid Layout */
.types-grid,
.treatment-grid,
.therapy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* Shared Card Styling */
.type-box,
.treatment-box,
.therapy-box {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #00BFA6;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.myopia-treatments .treatment-box {
    background: #f8fafc;
}

.type-box:hover,
.treatment-box:hover,
.therapy-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px -8px rgba(15, 23, 42, 0.12);
}

.box-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 191, 166, 0.12);
    color: #00826D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.type-box h3,
.treatment-box h3,
.therapy-box h3 {
    color: #0b2545;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.type-box p,
.treatment-box p,
.therapy-box p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Featured RLRL Therapy Card */
.therapy-box.featured-therapy {
    background: linear-gradient(145deg, #0b2545 0%, #133b6e 100%);
    border-color: #00BFA6;
    border-top: 4px solid #00BFA6;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(11, 37, 69, 0.22);
}

.therapy-box.featured-therapy .box-icon {
    background: rgba(0, 191, 166, 0.2);
    color: #5eead4;
}

.therapy-box.featured-therapy h3 {
    color: #ffffff;
}

.therapy-box.featured-therapy p {
    color: rgba(255, 255, 255, 0.88);
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #00BFA6;
    color: #0b2545;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
}

.section-separator {
    width: 100%;
    max-width: 1160px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 191, 166, 0.4), transparent);
    margin: 0 auto;
}

/* CTA Section */
.myopia-cta.full-width-section {
    background: linear-gradient(135deg, #0b2545 0%, #00826D 100%);
    padding: 72px 20px;
    text-align: center;
    color: #ffffff;
}

.myopia-cta h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

.myopia-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 28px;
}

.myopia-cta .cta-btn {
    display: inline-block;
    padding: 14px 38px;
    background-color: #ffffff;
    color: #00826D;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.myopia-cta .cta-btn:hover {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .full-width-section {
        padding: 50px 16px;
    }

    .types-grid,
    .treatment-grid,
    .therapy-grid {
        grid-template-columns: 1fr;
    }
}
