:root {
    --primary-color: #E53935;
    --secondary-color: #212121;
    --light-color: #f5f5f5;
    --dark-color: #111111;
    --accent-color: #C62828;
    --text-color: #333333;
    --grey-color: #757575;
    --light-grey: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Unbounded', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.accent {
    color: var(--primary-color);
}

section {
    padding: 4rem 1rem;
    position: relative;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider path {
    fill: var(--light-color);
}

.primary-button, .secondary-button, .cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.primary-button:hover, .secondary-button:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.primary-button:active, .secondary-button:active, .cta-button:active {
    transform: translateY(0);
    box-shadow: none;
}

header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 2px;
    width: 2rem;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

.hero {
    background-color: var(--light-color);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 1rem 4rem;
    margin-top: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
}

.about {
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}

.about-content {
    flex: 1;
}

.benefits {
    background-color: var(--light-color);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.programs {
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3, .program-card p {
    padding: 0 1.5rem;
}

.program-card h3 {
    margin-top: 1.5rem;
}

.program-card .secondary-button {
    margin: 1.5rem;
}

.testimonials {
    background-color: var(--light-color);
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: flex;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.testimonial-content {
    padding: 1.5rem;
}

.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-item {
    padding: 1rem;
}

.logo-item {
    grid-area: 1 / 1 / 2 / 2;
}

.nav-item {
    grid-area: 1 / 2 / 2 / 3;
}

.policy-item {
    grid-area: 2 / 1 / 3 / 2;
}

.contact-item {
    grid-area: 2 / 2 / 3 / 3;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-item ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-item a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 1rem;
}

.policy-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    margin: 2rem 0 1rem;
    text-align: left;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 1rem;
}

.policy-content ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.policy-content .home-button {
    display: block;
    text-align: center;
    margin: 3rem auto 0;
    max-width: 200px;
}

.thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 4rem;
}

.thankyou h1 {
    margin-bottom: 1.5rem;
}

.thankyou p {
    margin-bottom: 2rem;
    max-width: 600px;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .about-image, .about-content {
        max-width: 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--secondary-color);
        width: 0;
        height: calc(100vh - 4rem);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        overflow: hidden;
        transition: width 0.3s ease;
    }
    
    .nav-toggle:checked ~ .nav-links {
        width: 70%;
        padding: 2rem;
    }
    
    .testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial img {
        width: 100%;
        height: 200px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    
    .logo-item {
        grid-area: 1 / 1 / 2 / 2;
    }
    
    .nav-item {
        grid-area: 2 / 1 / 3 / 2;
    }
    
    .policy-item {
        grid-area: 3 / 1 / 4 / 2;
    }
    
    .contact-item {
        grid-area: 4 / 1 / 5 / 2;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .nav-toggle:checked ~ .nav-links {
        width: 100%;
    }
    
    .benefit-card, .program-card {
        padding: 1.5rem;
    }
}