@font-face {
    font-family: 'Melodrama';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a0dad;
    --primary-light: #9c27b0;
    --primary-dark: #4a148c;
    --secondary-color: #212121;
    --accent-color: #e040fb;
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --background-light: #f8f8f8;
    --background-dark: #121212;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Melodrama', 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--background-light);
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    position: relative;
    padding: 80px 5%;
    width: 100vw;
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
    margin-bottom: -50px;
}

section:nth-child(odd) {
    background: var(--background-light);
    color: var(--text-dark);
}

section:nth-child(even) {
    background: var(--primary-dark);
    color: var(--text-light);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
}

.logo-container {
    flex: 0 0 150px;

    color: #e0e0e0;
}

.logo {
    width: 100%;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
}

.hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    color: var(--text-light);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding: 0 5%;
    margin-bottom: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    flex: 0 0 50%;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-image {
    flex: 0 0 45%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: -20px 20px 0 var(--accent-color);
    transform: rotate(-3deg);
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(224, 64, 251, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(224, 64, 251, 0.4);
}

.about-section {
    padding: 100px 5% 150px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
    padding: 40px;
    border-radius: 20px;
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(74, 20, 140, 0.2);
    transform: rotate(2deg);
}

.about-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

.about-card h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--text-light);
    bottom: -10px;
    left: 0;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.programs-section {
    padding: 150px 5% 200px;
    text-align: center;
}

.programs-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.programs-section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.program-hexagons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hexagon {
    width: 250px;
    height: 290px;
    position: relative;
    margin: 30px 15px;
}

.hexagon-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--background-dark), var(--secondary-color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-light);
    transition: var(--transition);
}

.hexagon-content:hover {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-light));
    transform: scale(1.05);
}

.hexagon-content img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

.hexagon-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hexagon-content p {
    font-size: 0.9rem;
    text-align: center;
}

.benefits-section {
    padding: 200px 5% 150px;
}

.benefits-content {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.benefits-section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-dark);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    flex: 0 0 80px;
}

.benefit-icon img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-text {
    flex: 1;
}

.benefit-text h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.benefit-text p {
    font-size: 1rem;
    line-height: 1.7;
}

.stories-section {
    padding: 150px 5% 200px;
    text-align: center;
}

.stories-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.stories-section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.stories-carousel {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--background-dark);
}

.story-card {
    flex: 0 0 480px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    transform: rotate(-1deg);
}

.story-card:hover {
    transform: translateY(-10px) rotate(0);
}

.story-image {
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 30px;
    text-align: left;
    color: var(--text-light);
}

.story-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.story-content p {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.contact-section {
    padding: 200px 5% 100px;
    margin-bottom: 0;
    clip-path: none;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-dark);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-light));
    color: var(--text-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(74, 20, 140, 0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--text-light);
    bottom: -10px;
    left: 0;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info li img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.contact-info .hours h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info .hours p {
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-dark);
    bottom: -10px;
    left: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 2px rgba(156, 39, 176, 0.2);
}

.form-submit {
    text-align: right;
}

footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 80px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 1.1rem;
    max-width: 300px;
}

.footer-nav,
.footer-policies {
    flex: 1;
    min-width: 200px;
}

.footer-nav h3,
.footer-policies h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav h3::after,
.footer-policies h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.footer-nav ul,
.footer-policies ul {
    list-style: none;
}

.footer-nav li,
.footer-policies li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-policies a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-nav a::before,
.footer-policies a::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-nav a:hover,
.footer-policies a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .about-grid {
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        flex: 1;
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .hero-image {
        flex: 1;
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--background-dark);
        transition: var(--transition);
        padding: 100px 50px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav a {
        font-size: 1.5rem;
    }
    
    .burger-menu {
        display: flex;
        z-index: 1001;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hexagon {
        width: 220px;
        height: 260px;
    }
}

@media (max-width: 576px) {
    .site-header {
        padding: 15px 5%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 5%;
    }
    
    .about-section,
    .programs-section,
    .benefits-section,
    .stories-section,
    .contact-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .about-card {
        padding: 30px;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .benefit-icon {
        flex: 0 0 60px;
        margin-bottom: 15px;
    }
    
    .hexagon {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        margin: 15px 0;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo,
    .footer-nav,
    .footer-policies {
        flex: 0 0 100%;
    }
}

@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        height: auto;
        padding: 80px 5%;
    }
    
    .about-card h2,
    .programs-section h2,
    .benefits-section h2,
    .stories-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}