@font-face {
    font-family: 'PrimeFont';
    src: url('https://fonts.gstatic.com/s/rubik/v28/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-B4i1UA.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --dark-yellow: #DAA520;
    --light-yellow: #FFEB99;
    --primary-black: #111111;
    --dark-gray: #333333;
    --light-gray: #EEEEEE;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PrimeFont', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-black);
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
    position: relative;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-yellow);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-black);
    color: var(--primary-yellow);
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%);
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--dark-gray);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--primary-black);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    margin-right: 1rem;
}

.logo-container h1 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--primary-yellow);
}

.main-nav a:hover::after {
    width: 100%;
}

.diagonal-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--primary-black) 60%, var(--primary-yellow) 60%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding: 0 5%;
}

.banner-content {
    color: var(--white);
    width: 45%;
}

.banner-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-yellow);
    text-align: left;
}

.banner-content h2::after {
    left: 0;
    transform: none;
}

.banner-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.banner-image {
    width: 50%;
    position: relative;
}

.banner-image img {
    border-radius: 0;
    transform: rotate(-5deg);
    box-shadow: 20px 20px 0 rgba(0,0,0,0.2);
}

.zigzag-section {
    background-color: var(--light-gray);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding: 8rem 5%;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature {
    background-color: var(--white);
    padding: 2rem;
    border-left: 5px solid var(--primary-yellow);
    width: calc(33.333% - 2rem);
    text-align: center;
    transform: skewX(-5deg);
    transition: transform 0.3s;
}

.feature:hover {
    transform: skewX(-5deg) translateY(-10px);
}

.feature img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    transform: skewX(5deg);
}

.feature h3 {
    transform: skewX(5deg);
}

.feature p {
    transform: skewX(5deg);
}

.hexagon-grid {
    padding: 5rem 5%;
    background-color: var(--white);
}

.programs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.program-item {
    width: calc(50% - 2rem);
    background-color: var(--light-gray);
    padding: 2rem;
    text-align: center;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
    transition: transform 0.3s;
}

.program-item:hover {
    transform: scale(1.05);
}

.program-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
}

.program-item h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.program-item p {
    margin-bottom: 1.5rem;
}

.staggered-blocks {
    background-color: var(--primary-yellow);
    padding: 5rem 5%;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.staggered-blocks h2 {
    color: var(--primary-black);
    margin-bottom: 3rem;
}

.staggered-blocks h2::after {
    background-color: var(--primary-black);
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.benefit-block {
    width: calc(50% - 2rem);
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.benefit-block:nth-child(odd) {
    transform: translateX(-30px);
}

.benefit-block:nth-child(even) {
    transform: translateX(30px);
}

.benefit-block h3 {
    color: var(--primary-black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 0.5rem;
}

.diamond-quotes {
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.testimonial {
    display: flex;
    align-items: center;
    max-width: 800px;
    background-color: var(--white);
    padding: 0;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial:nth-child(odd) {
    flex-direction: row-reverse;
}

.quote-content {
    padding: 2rem;
    flex: 1;
}

.quote-content p {
    font-style: italic;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.quote-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-yellow);
    position: absolute;
    top: -20px;
    left: 0;
    font-family: serif;
}

.author {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
    text-align: right;
    color: var(--dark-gray);
}

.testimonial img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.circular-team {
    padding: 5rem 5%;
    background-color: var(--white);
}

.specialists-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.specialist {
    width: calc(33.333% - 3rem);
    text-align: center;
}

.specialist img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--primary-yellow);
    object-fit: cover;
    transition: transform 0.3s;
}

.specialist:hover img {
    transform: scale(1.1);
}

.specialist h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.specialist p:first-of-type {
    color: var(--dark-yellow);
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-hexagon {
    padding: 5rem 5%;
    background-color: var(--primary-black);
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0% 100%);
}

.contact-hexagon h2 {
    color: var(--primary-yellow);
    margin-bottom: 3rem;
}

.contact-hexagon h2::after {
    background-color: var(--primary-yellow);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    background-color: var(--dark-gray);
    padding: 2rem;
    color: var(--white);
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%);
}

.contact-info h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.working-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-yellow);
}

.working-hours h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.contact-form {
    flex: 1;
    background-color: var(--light-gray);
    padding: 2rem;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.contact-form h3 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--dark-gray);
    background-color: var(--white);
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 30%;
}

.footer-logo p {
    color: var(--light-gray);
    margin-top: 1rem;
}

.footer-nav,
.footer-policies {
    width: 30%;
}

.footer-nav h3,
.footer-policies h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-nav ul,
.footer-policies ul {
    list-style: none;
}

.footer-nav li,
.footer-policies li {
    margin-bottom: 0.7rem;
}

.footer-nav a,
.footer-policies a {
    color: var(--light-gray);
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-policies a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
}

@media (max-width: 1200px) {
    .banner-content h2 {
        font-size: 2.8rem;
    }
    
    .banner-content p {
        font-size: 1.5rem;
    }
    
    .feature {
        width: calc(50% - 2rem);
        margin-bottom: 2rem;
    }
}

@media (max-width: 992px) {
    .diagonal-banner {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .banner-content {
        width: 90%;
        margin-bottom: 3rem;
    }
    
    .banner-content h2 {
        text-align: center;
    }
    
    .banner-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .banner-image {
        width: 90%;
    }
    
    .program-item {
        width: calc(100% - 2rem);
    }
    
    .benefit-block {
        width: 100%;
        transform: none !important;
    }
    
    .specialist {
        width: calc(50% - 3rem);
        margin-bottom: 2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-nav,
    .footer-policies {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .banner-content h2 {
        font-size: 2.2rem;
    }
    
    .feature {
        width: 100%;
    }
    
    .testimonial {
        flex-direction: column !important;
    }
    
    .testimonial img {
        margin: 2rem auto;
    }
    
    .specialist {
        width: 100%;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .zigzag-section,
    .staggered-blocks,
    .contact-hexagon {
        clip-path: none;
    }
    
    .contact-info,
    .contact-form {
        clip-path: none;
    }
    
    .program-item {
        clip-path: none;
    }
    
    .program-item img {
        clip-path: none;
    }
    
    .diagonal-banner {
        clip-path: none;
    }
}

@media (max-width: 375px) {
    .main-nav li {
        margin: 0.2rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .testimonial img {
        width: 120px;
        height: 120px;
    }
}