@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Caveat:wght@400;600&display=swap');

:root {
    --primary-color: #FF7F27;
    --primary-light: #FFB347;
    --primary-dark: #E05F00;
    --secondary-color: #0D557B;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --light-bg: #F9F5F0;
    --dark-bg: #2D2D2D;
    --gray-light: #E5E5E5;
    --gray: #999999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--gray);
}

.header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo h1 {
    font-size: 32px;
    margin: 0;
    color: var(--primary-color);
}

.logo .slogan {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    margin: 0;
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.header-contact .phone {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-dark);
}

.hero {
    padding: 80px 0;
    background-color: #FFF9F2;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--primary-light);
    opacity: 0.1;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 15px 15px 0 var(--primary-light);
}

.about {
    padding: 100px 0;
}

.hexagon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.hexagon {
    position: relative;
    width: 300px;
    height: 173px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 86px 0;
    text-align: center;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 86px solid var(--primary-color);
}

.hexagon:after {
    top: 100%;
    border-top: 86px solid var(--primary-color);
}

.hexagon h2 {
    color: var(--light-color);
    font-size: 36px;
    margin: 0;
    z-index: 1;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 50% 20% / 10% 40%;
    box-shadow: -15px 15px 0 var(--primary-light);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 20px;
}

.programs {
    padding: 100px 0;
    background-color: #FFF9F2;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.program-card {
    background-color: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.program-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.program-benefits {
    margin: 20px 0;
    padding-left: 20px;
}

.program-benefits li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.program-benefits li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
}

.program-schedule {
    margin-top: auto;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: italic;
}

.benefits {
    padding: 100px 0;
}

.benefits-header {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-header h2 {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.benefits-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.benefits-text {
    flex: 1.3;
}

.benefits-image {
    flex: 1;
}

.benefits-image img {
    border-radius: 15px;
    box-shadow: 15px 15px 0 var(--primary-light);
}

.benefit-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.benefit-item h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.testimonials {
    padding: 100px 0;
    background-color: #FFF9F2;
}

.testimonials h2 {
    text-align: center;
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 50px;
    position: relative;
}

.testimonials h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-light);
    margin-bottom: 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 50px;
    color: var(--primary-light);
    line-height: 0;
    position: absolute;
}

.testimonial-text:before {
    top: 15px;
    left: -15px;
}

.testimonial-text:after {
    bottom: -5px;
    right: -15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.contact {
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
    background-color: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.contact-info h2 {
    font-size: 36px;
    color: var(--light-color);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    margin-right: 15px;
}

.contact-form-container {
    flex: 1.2;
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input {
    margin-right: 10px;
}

.footer {
    background-color: var(--dark-bg);
    color: var(--light-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo p {
    font-family: 'Caveat', cursive;
    font-size: 18px;
}

.footer h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.footer-nav ul,
.footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-policies a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-policies a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--gray-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 40px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }
    
    .about-content,
    .benefits-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .header-contact {
        margin-top: 15px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-header h2,
    .testimonials h2,
    .benefits-header h2 {
        font-size: 32px;
    }
    
    .hexagon {
        width: 240px;
        height: 139px;
    }
    
    .hexagon:before,
    .hexagon:after {
        border-left: 120px solid transparent;
        border-right: 120px solid transparent;
    }
    
    .hexagon:before {
        border-bottom: 69px solid var(--primary-color);
    }
    
    .hexagon:after {
        border-top: 69px solid var(--primary-color);
    }
    
    .hexagon h2 {
        font-size: 28px;
    }
}

@media (max-width: 375px) {
    .logo h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 30px;
    }
}