/* Full-Width Section Styling */
.full-width-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.myopia-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/myopia_hero_bg.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay h1 {
    color: white;
    font-size: 3.5em;
    font-family: 'Montserrat', sans-serif;
}

.hero-overlay p {
    color: white;
    font-size: 1.2em;
}

/* Section Headers */
h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #333; /* Darker neutral color for headings */
    text-align: center;
    margin-bottom: 30px;
}

/* Myopia Info Section */
.myopia-info p {
    font-size: 1.2em;
    color: #555; /* Neutral gray for text */
    text-align: center;
    line-height: 1.6;
}

/* Types of Myopia */
.types-grid {
    display: flex;
    gap: 30px;
}

.type-box {
    flex: 1;
    background: #e0e0e0; /* Softer neutral color for boxes */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.type-box:hover {
    transform: translateY(-10px);
}

.type-box h3 {
    color: #00BFA6; /* Teal color for headings */
    font-size: 1.8em;
    margin-bottom: 10px;
}

.type-box p {
    color: #555; /* Neutral text color */
}

/* Treatment Options Section */
.treatment-grid {
    display: flex;
    gap: 30px;
}

.treatment-box {
    background: #e0e0e0; /* Softer neutral background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1;
}

.treatment-box:hover {
    transform: translateY(-10px);
}

.treatment-box h3 {
    color: #00BFA6; /* Teal color for headings */
    font-size: 1.8em;
}

.treatment-box p {
    color: #555; /* Neutral gray text */
}

/* Advanced Therapies Section */
.therapy-grid {
    display: flex;
    gap: 30px;
}

.therapy-box {
    background: #e0e0e0; /* Softer neutral background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1;
}

.therapy-box:hover {
    transform: translateY(-10px);
}

.therapy-box h3 {
    color: #00BFA6; /* Teal color for headings */
    font-size: 1.8em;
}

.therapy-box p {
    color: #555; /* Neutral gray for text */
}

.section-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #00BFA6, #00f); /* Teal to blue gradient */
    margin: 40px 0; /* Space between sections */
}


/* CTA Section */
.myopia-cta {
    background-color: #00BFA6; /* Teal background */
    padding: 60px;
    text-align: center;
    color: white;
}

.myopia-cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.myopia-cta p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.myopia-cta .cta-btn {
    padding: 15px 40px;
    background-color: white;
    color: #00BFA6; /* Teal color for button */
    font-size: 1.4em;
    border-radius: 8px;
    border: 2px solid transparent; /* Start with transparent border */
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.myopia-cta .cta-btn:hover {
    background-color: #00BFA6; /* Teal background on hover */
    color: white; /* White text on hover */
    border: 2px solid white; /* White border on hover */
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5), 0px 0px 10px rgba(0, 191, 166, 0.5); /* Add soft white glow and teal shadow */
}


/* Responsive Styles */
@media (max-width: 768px) {
    .types-grid, .treatment-grid, .therapy-grid {
        flex-direction: column;
    }

    h2 {
        font-size: 2em;
    }
    
    .hero-overlay h1 {
        font-size: 2.5em;
    }
    
    .myopia-cta h2 {
        font-size: 2em;
    }
}
