@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #1a1a1a;
    --primary-red: #cc0000;
    --light-red: #ff3333;
    --dark-red: #990000;
    --light-gray: #f5f5f5;
    --medium-gray: #dadada;
    --dark-gray: #333333;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-gray);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--primary-black);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 2.2rem;
    color: var(--white);
    position: relative;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40%;
    height: 3px;
    background-color: var(--primary-red);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-red);
}

.nav-list a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--light-red);
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 100vh;
    background-color: var(--primary-black);
    color: var(--white);
    position: relative;
}

.hero-content {
    padding: 50px 5%;
    width: 50%;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: var(--light-red);
}

.hero-image {
    width: 50%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.programs-section {
    padding: 100px 5%;
    background-color: var(--light-gray);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-title {
    font-size: 1.8rem;
    padding: 20px 20px 10px;
    color: var(--primary-black);
}

.program-description {
    padding: 0 20px 20px;
    color: var(--dark-gray);
}

.program-details {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: var(--primary-black);
    color: var(--white);
}

.detail-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.benefits-section {
    padding: 0;
    position: relative;
}

.diagonal-container {
    display: flex;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.diagonal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    transform: skewY(-5deg);
    transform-origin: top left;
    z-index: -1;
}

.benefits-content {
    width: 60%;
    padding: 100px 5% 100px 10%;
    color: var(--white);
}

.benefits-title {
    font-size: 3rem;
    margin-bottom: 40px;
    position: relative;
}

.benefits-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--white);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefits-image {
    width: 40%;
    overflow: hidden;
    position: relative;
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.results-section {
    padding: 100px 5%;
    background-color: var(--light-gray);
}

.results-header {
    text-align: center;
    margin-bottom: 60px;
}

.results-title {
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.results-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.results-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-gray);
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.result-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobility-icon::before {
    content: '';
    width: 50%;
    height: 50%;
    background-image: url('images/mobility-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.energy-icon::before {
    content: '';
    width: 50%;
    height: 50%;
    background-image: url('images/energy-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mood-icon::before {
    content: '';
    width: 50%;
    height: 50%;
    background-image: url('images/mood-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.independence-icon::before {
    content: '';
    width: 50%;
    height: 50%;
    background-image: url('images/independence-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.result-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.result-description {
    color: var(--dark-gray);
}

.results-note {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(204, 0, 0, 0.1);
    border-left: 4px solid var(--primary-red);
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.trainers-section {
    padding: 100px 5%;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trainer-card {
    background-color: var(--light-gray);
    overflow: hidden;
    position: relative;
}

.trainer-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.trainer-info {
    padding: 20px;
    background-color: var(--primary-black);
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.trainer-card:hover .trainer-info {
    transform: translateY(-20px);
}

.trainer-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.trainer-role {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
}

.trainer-description {
    font-size: 0.9rem;
}

.testimonials-section {
    padding: 100px 5%;
    background-color: var(--primary-black);
    color: var(--white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-title {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-red);
    text-align: center;
}

.contacts-section {
    padding: 100px 5%;
    background-color: var(--light-gray);
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-item {
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-black);
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.contact-text {
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--primary-black);
    padding: 40px;
    color: var(--white);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary-red);
}

.submit-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--light-red);
}

.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
}

.footer-slogan {
    color: var(--medium-gray);
}

.footer-nav-title, .footer-policies-title, .footer-contact-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--white);
}

.footer-nav-list li, .footer-policies-list li {
    margin-bottom: 10px;
}

.footer-nav-list a, .footer-policies-list a {
    color: var(--medium-gray);
    transition: color 0.3s ease;
}

.footer-nav-list a:hover, .footer-policies-list a:hover {
    color: var(--primary-red);
}

.footer-contact-item {
    color: var(--medium-gray);
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .diagonal-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .benefits-content, .benefits-image {
        width: 100%;
    }
    
    .contacts-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    .site-title {
        margin-bottom: 15px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 50px 5%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title, .benefits-title, .results-title, .testimonials-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title, .benefits-title, .results-title, .testimonials-title {
        font-size: 2rem;
    }
    
    .benefits-content {
        padding: 60px 5%;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title, .benefits-title, .results-title, .testimonials-title {
        font-size: 1.8rem;
    }
    
    .program-title, .trainer-name, .form-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.thankyou-section {
    padding: 100px 5%;
    min-height: 80vh;
    background-color: var(--light-gray);
}

.thankyou-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.thankyou-content {
    padding: 50px;
}

.thankyou-title {
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.thankyou-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.thankyou-icon {
    width: 100px;
    height: 100px;
    margin: 30px auto;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.thankyou-icon::before {
    content: '';
    width: 40px;
    height: 20px;
    border-left: 4px solid var(--white);
    border-bottom: 4px solid var(--white);
    transform: rotate(-45deg);
    position: absolute;
    left: 30px;
    top: 35px;
}

.thankyou-message {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--dark-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-steps {
    margin: 50px 0;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 0;
}

.steps-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-black);
    position: relative;
}

.steps-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

.steps-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-red);
    line-height: 1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.step-description {
    color: var(--dark-gray);
}

.thankyou-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.thankyou-button {
    padding: 15px 30px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.thankyou-button:hover {
    background-color: var(--light-red);
}

.thankyou-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.thankyou-button.secondary:hover {
    background-color: rgba(204, 0, 0, 0.1);
}

.policy-section {
    padding: 100px 5%;
    min-height: 80vh;
}

.policy-container, .terms-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-sidebar {
    width: 300px;
    padding: 30px;
    background-color: var(--primary-black);
    color: var(--white);
}

.policy-menu-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.policy-menu-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
}

.policy-menu-list {
    margin-top: 20px;
}

.policy-menu-list li {
    margin-bottom: 10px;
}

.policy-menu-list a {
    color: var(--medium-gray);
    position: relative;
    padding-left: 15px;
    transition: color 0.3s ease;
}

.policy-menu-list a:hover {
    color: var(--primary-red);
}

.policy-menu-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-red);
    border-radius: 50%;
}

.policy-action {
    margin-top: 50px;
}

.policy-button {
    display: block;
    padding: 12px 20px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.policy-button:hover {
    background-color: var(--light-red);
}

.policy-content {
    flex: 1;
    padding: 50px;
    overflow-y: auto;
}

.policy-header {
    margin-bottom: 40px;
}

.policy-title {
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.policy-updated {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.policy-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    margin-right: 15px;
}

.policy-block-title {
    font-size: 1.8rem;
    color: var(--primary-black);
}

.policy-block-content {
    padding-left: 55px;
}

.policy-block-content p {
    margin-bottom: 15px;
}

.policy-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-list li {
    margin-bottom: 8px;
}

.contact-info-item {
    margin-bottom: 5px;
}

.cookies-policy .policy-block-diagram {
    margin-bottom: 30px;
}

.diagram-illustration {
    height: 200px;
    background-color: rgba(204, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cookies-types, .third-party-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.cookie-type, .third-party-item {
    padding: 20px;
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-red);
}

.cookie-type-title, .third-party-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.cookie-examples, .browser-item {
    margin-top: 15px;
    font-size: 0.9rem;
}

.external-link {
    color: var(--primary-red);
    text-decoration: underline;
}

.browsers-list {
    margin: 15px 0;
}

.cookies-notice {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(204, 0, 0, 0.1);
    border-left: 4px solid var(--primary-red);
    font-size: 0.9rem;
}

.terms-container {
    flex-direction: column;
}

.terms-header {
    text-align: center;
    padding: 50px 50px 30px;
    background-color: var(--primary-black);
    color: var(--white);
}

.terms-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.terms-updated {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.terms-intro {
    max-width: 800px;
    margin: 0 auto;
}

.terms-navigation {
    padding: 20px;
    background-color: var(--light-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.terms-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.terms-nav-list a {
    color: var(--dark-gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.terms-nav-list a:hover {
    color: var(--primary-red);
}

.terms-content {
    padding: 50px;
}

.terms-section {
    display: flex;
    margin-bottom: 50px;
}

.terms-section-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--primary-red);
    line-height: 1;
    margin-right: 30px;
}

.terms-section-content {
    flex: 1;
}

.terms-section-title {
    font-size: 1.8rem;
    color: var(--primary-black);
    margin-bottom: 20px;
    position: relative;
}

.terms-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

.terms-section-text {
    margin-top: 20px;
    color: var(--dark-gray);
}

.terms-section-text p {
    margin-bottom: 15px;
}

.cancellation-policy {
    margin-bottom: 20px;
}

.cancellation-policy h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.terms-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-list li {
    margin-bottom: 8px;
}

.terms-action {
    padding: 30px;
    text-align: center;
    background-color: var(--light-gray);
}

.terms-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.terms-button:hover {
    background-color: var(--light-red);
}

@media screen and (max-width: 992px) {
    .policy-container {
        flex-direction: column;
    }
    
    .policy-sidebar {
        width: 100%;
    }
    
    .thankyou-content {
        padding: 30px;
    }
    
    .terms-section {
        flex-direction: column;
    }
    
    .terms-section-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookies-types, .third-party-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .policy-section, .thankyou-section {
        padding: 80px 5%;
    }
    
    .policy-content {
        padding: 30px;
    }
    
    .thankyou-title, .policy-title, .terms-title {
        font-size: 2.5rem;
    }
    
    .policy-block-content {
        padding-left: 0;
    }
    
    .thankyou-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .terms-navigation {
        overflow-x: auto;
    }
    
    .terms-nav-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .thankyou-title, .policy-title, .terms-title {
        font-size: 2rem;
    }
    
    .policy-block-title, .terms-section-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 375px) {
    .thankyou-content, .policy-content, .policy-sidebar, .terms-content {
        padding: 20px;
    }
    
    .thankyou-title, .policy-title, .terms-title {
        font-size: 1.8rem;
    }
}