@font-face {
    font-family: 'UkrainianBrush';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/webfonts/fa-brands-400.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #9900cc;
    --secondary-color: #ffcc00;
    --accent-color: #cc33ff;
    --light-color: #f4f4f4;
    --dark-color: #333333;
    --text-color: #444444;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'UkrainianBrush', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fff8e6 0%, #ffecf8 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.tagline {
    font-style: italic;
    color: var(--accent-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: bold;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

.hero-section {
    height: 90vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(-45deg, var(--primary-color) 0%, var(--accent-color) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    position: relative;
}

.hero-content {
    flex: 1;
    color: white;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 70%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.diagonal-section {
    padding: 100px 5%;
    position: relative;
    background: white;
    margin: 100px 0;
    transform: skewY(-3deg);
}

.content-wrapper {
    transform: skewY(3deg);
}

.diagonal-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.philosophy-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.hexagon-section {
    padding: 80px 5%;
    text-align: center;
}

.hexagon-section h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.hexagon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hexagon {
    width: 280px;
    height: 320px;
    position: relative;
    margin: 20px 0;
}

.hexagon-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    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;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hexagon-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hexagon-content img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.wave-section {
    padding: 80px 5%;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.wave-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%239900cc' fill-opacity='1' d='M0,192L48,176C96,160,192,128,288,122.7C384,117,480,139,576,149.3C672,160,768,160,864,144C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.wave-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-size: 2.5rem;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.advantage-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonials-section {
    padding: 80px 5%;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid var(--secondary-color);
}

.testimonial blockquote {
    font-style: italic;
    position: relative;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: var(--secondary-color);
    opacity: 0.3;
}

.testimonial cite {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    color: var(--primary-color);
}

.contact-section {
    padding: 80px 5%;
    background: var(--light-color);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    padding-top: 120px;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
}

.contact-form .btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.contact-form .btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 5% 30px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--secondary-color);
    font-size: 2rem;
}

.footer-logo p {
    color: var(--accent-color);
}

.footer-links h4,
.footer-policies h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-links ul,
.footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-policies a {
    color: white;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-policies a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1100px) {
    .hexagon-grid {
        gap: 20px;
    }
    
    .hexagon {
        width: 240px;
        height: 280px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-section {
        flex-direction: column;
        height: auto;
        padding: 100px 5%;
    }
    
    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        width: 80%;
        height: 300px;
    }
    
    .philosophy-grid,
    .advantages-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 5%;
    }
    
    .logo-wrapper h1 {
        font-size: 2rem;
    }
    
    .diagonal-section,
    .hexagon-section,
    .wave-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 5%;
    }
    
    .diagonal-section h2,
    .hexagon-section h2,
    .wave-section h2,
    .testimonials-section h2,
    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hexagon-grid {
        gap: 15px;
    }
    
    .hexagon {
        width: 200px;
        height: 230px;
    }
    
    .hexagon-content h3 {
        font-size: 1.2rem;
    }
    
    .hexagon-content p {
        font-size: 0.9rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0;
    }
    
    .hero-image {
        width: 100%;
        height: 250px;
    }
    
    .philosophy-grid,
    .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .hexagon {
        width: 100%;
        max-width: 230px;
        height: 260px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .testimonial {
        min-width: 100%;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .site-header {
        padding: 10px 4%;
    }
    
    .logo-wrapper h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.7rem;
    }
    
    .hero-image {
        height: 200px;
    }
    
    .diagonal-section h2,
    .hexagon-section h2,
    .wave-section h2,
    .testimonials-section h2,
    .contact-section h2 {
        font-size: 1.7rem;
    }
    
    .hexagon {
        height: 230px;
    }
    
    .advantage-card {
        padding: 15px;
    }
    
    .testimonial {
        padding: 15px;
    }
    
    .testimonial img {
        width: 80px;
        height: 80px;
    }
    
    .contact-info, 
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
}

@media (max-width: 900px) {
    .main-nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.philosophy-item,
.hexagon,
.advantage-card,
.testimonial {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.philosophy-item:nth-child(1),
.hexagon:nth-child(1),
.advantage-card:nth-child(1),
.testimonial:nth-child(1) {
    animation-delay: 0.1s;
}

.philosophy-item:nth-child(2),
.hexagon:nth-child(2),
.advantage-card:nth-child(2),
.testimonial:nth-child(2) {
    animation-delay: 0.3s;
}

.philosophy-item:nth-child(3),
.hexagon:nth-child(3),
.advantage-card:nth-child(3),
.testimonial:nth-child(3) {
    animation-delay: 0.5s;
}

.philosophy-item:nth-child(4),
.hexagon:nth-child(4),
.advantage-card:nth-child(4),
.testimonial:nth-child(4) {
    animation-delay: 0.7s;
}