/* 
* Drivendary.shop - Strength Training for Women and Men: Core Principles
* Main Stylesheet
*/

/* ======== Base Styles ======== */
:root {
    /* Main Colors */
    --charcoal: #1A1A1A;
    --light-bg: #F5F5F5;
    --accent-red: #C1121F;
    --text-color: #818181;
    --card-bg: #EFEFEF;
    --footer-bg: #141414;
    
    /* Font Families */
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 4rem;
    --space-xl: 8rem;
    
    /* Border Radius */
    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-s);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: var(--space-s);
    color: var(--text-color);
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--charcoal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--space-l) 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-s);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-m);
    position: relative;
    padding-bottom: var(--space-s);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-red);
}

.section-subtitle {
    text-align: center;
    margin-bottom: var(--space-m);
    color: var(--text-color);
    font-size: 1.2rem;
}

/* ======== Buttons ======== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-l);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--charcoal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--charcoal);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--accent-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background-color: white;
    color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-form {
    background-color: var(--accent-red);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-form:hover {
    background-color: var(--charcoal);
    color: white;
    transform: translateY(-3px);
}

.btn-pricing {
    background-color: var(--charcoal);
    color: white;
    width: 100%;
}

.btn-pricing:hover {
    background-color: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

.btn-pricing-featured {
    background-color: var(--accent-red);
    color: white;
    width: 100%;
}

.btn-pricing-featured:hover {
    background-color: var(--charcoal);
    color: white;
    transform: translateY(-3px);
}

.btn-subscribe {
    background-color: var(--accent-red);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
}

.btn-subscribe:hover {
    background-color: var(--charcoal);
    color: white;
}

/* ======== Header ======== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-medium);
}

#header.scrolled {
    padding: 10px 0;
    background-color: white;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--charcoal);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width var(--transition-medium);
}

.nav-links a:hover {
    color: var(--accent-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--charcoal);
    transition: all var(--transition-medium);
}

/* ======== Hero Section ======== */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 var(--space-m);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--space-s);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: var(--space-m);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.8) 0%, rgba(193,18,31,0.6) 100%);
}

/* ======== Core Principles Section ======== */
.principles-section {
    background-color: white;
    padding: var(--space-xl) 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-m);
    margin-top: var(--space-l);
}

.principle-card {
    background-color: var(--card-bg);
    padding: var(--space-m);
    border-radius: var(--radius-l);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    margin-bottom: var(--space-s);
    display: flex;
    justify-content: center;
}

.principle-card h3 {
    margin-bottom: var(--space-s);
    color: var(--charcoal);
}

.principle-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ======== Programs Section ======== */
.programs-section {
    background: linear-gradient(135deg, #f6f6f6 0%, #e9e9e9 100%);
    padding: var(--space-xl) 0;
}

.programs-row {
    display: flex;
    gap: var(--space-m);
    margin-top: var(--space-m);
}

.program-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.program-image {
    height: 250px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: var(--space-m);
}

.program-image h3 {
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.program-column.women .program-image {
    background-image: url('images/woman.jpg');
    background-size: cover;
    background-position: center;
}

.program-column.women .program-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
}

.program-column.men .program-image {
    background-image: url('images/men.jpg');
    background-size: cover;
    background-position: center;
}

.program-column.men .program-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
}

.program-content {
    padding: var(--space-m);
}

.program-feature {
    margin-bottom: var(--space-m);
}

.program-feature:last-child {
    margin-bottom: 0;
}

.program-feature h4 {
    color: var(--accent-red);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.program-feature p {
    font-size: 0.95rem;
}

/* ======== How We Work Section ======== */
.how-section {
    background-color: var(--charcoal);
    color: white;
    padding: var(--space-xl) 0;
}

.how-section .section-title {
    color: white;
}

.how-section .section-title::after {
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-l);
    position: relative;
}

.step-card {
    background-color: white;
    color: var(--charcoal);
    width: 30%;
    padding: var(--space-m);
    border-radius: var(--radius-l);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all var(--transition-medium);
    overflow: hidden;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-red);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-s);
}

.step-connector {
    position: absolute;
    top: 90px;
    left: 15%;
    width: 70%;
    height: 4px;
    background-color: var(--accent-red);
    z-index: 1;
}

.step-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-m);
    opacity: 0;
    transition: opacity var(--transition-medium);
    border-radius: var(--radius-l);
}

.step-card:hover .step-hover {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-10px);
}

/* ======== Why Us Section ======== */
.why-section {
    padding: var(--space-xl) 0;
    background-color: white;
}

.why-section .container {
    display: flex;
    gap: var(--space-m);
    align-items: center;
}

.why-content {
    flex: 1;
}

.why-section .section-title {
    text-align: left;
}

.why-section .section-title::after {
    left: 0;
    transform: none;
}

.why-features {
    margin: var(--space-m) 0;
}

.why-feature {
    margin-bottom: var(--space-m);
}

.why-feature h3 {
    color: var(--accent-red);
    margin-bottom: 10px;
}

.why-image {
    flex: 1;
    height: 500px;
    background-image: url('images/why.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-l);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.why-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(193,18,31,0.3) 0%, rgba(26,26,26,0) 100%);
}

/* ======== Pricing Section ======== */
.pricing-section {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    padding: var(--space-xl) 0;
}

.pricing-table {
    display: flex;
    gap: var(--space-m);
    margin-top: var(--space-m);
}

.pricing-column {
    flex: 1;
    background-color: white;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
    position: relative;
}

.pricing-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-column.featured {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-column.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-red);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    font-weight: 700;
}

.pricing-header {
    background-color: var(--charcoal);
    color: white;
    padding: var(--space-m);
    text-align: center;
}

.pricing-column.featured .pricing-header {
    background-color: var(--accent-red);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin: var(--space-s) 0;
}

.pricing-features {
    padding: var(--space-m);
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 700;
}

.pricing-features li.not-included {
    color: #cccccc;
}

.pricing-features li.not-included::before {
    content: '✕';
    color: #cccccc;
}

.pricing-footer {
    padding: 0 var(--space-m) var(--space-m);
}

/* ======== Testimonials Section ======== */
.testimonials-section {
    background-color: white;
    padding: var(--space-xl) 0;
}

.testimonials-slider {
    position: relative;
    height: 350px;
    margin-top: var(--space-m);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: all var(--transition-slow);
    visibility: hidden;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    flex: 1;
    background-color: var(--card-bg);
    padding: var(--space-m);
    border-radius: var(--radius-l) 0 0 var(--radius-l);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: var(--space-m);
    position: relative;
    padding: 0 var(--space-m);
    color: var(--charcoal);
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-red);
    position: absolute;
    opacity: 0.2;
}

.testimonial-quote::before {
    top: -20px;
    left: 0;
}

.testimonial-quote::after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
}

.testimonial-program {
    color: var(--accent-red);
    font-size: 0.9rem;
}

.testimonial-image {
    flex: 1;
    background-color: var(--charcoal);
    border-radius: 0 var(--radius-l) var(--radius-l) 0;
    position: relative;
    overflow: hidden;
}

.testimonial-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/test1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-m);
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.testimonial-dots {
    display: flex;
    margin: 0 var(--space-s);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background-color: var(--accent-red);
    transform: scale(1.2);
}

/* ======== Contact Section ======== */
.contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    padding: var(--space-xl) 0;
}

.contact-grid {
    display: flex;
    gap: var(--space-l);
}

.contact-info {
    flex: 1;
}

.contact-form-container {
    flex: 1;
    background-color: white;
    border-radius: var(--radius-l);
    padding: var(--space-m);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-section .section-title {
    color: white;
    text-align: left;
}

.contact-section .section-title::after {
    left: 0;
    transform: none;
    background-color: white;
}

.contact-methods {
    margin: var(--space-m) 0;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-s);
}

.contact-method svg {
    margin-right: var(--space-s);
}

.contact-method h3 {
    color: white;
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-map {
    margin-top: var(--space-m);
    border-radius: var(--radius-l);
    overflow: hidden;
}

.contact-form-container h3 {
    color: var(--charcoal);
    text-align: center;
    margin-bottom: var(--space-m);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: var(--space-s);
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--charcoal);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-m);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
    outline: none;
    box-shadow: 0 0 0 2px rgba(193, 18, 31, 0.2);
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: var(--radius-s);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent-red);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ======== Footer ======== */
#footer {
    background-color: var(--footer-bg);
    color: white;
    padding-top: var(--space-l);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-m);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
}

.footer-subscription {
    width: 50%;
    max-width: 500px;
}

.footer-subscription h3 {
    margin-bottom: var(--space-s);
    font-size: 1.3rem;
}

.subscription-form {
    display: flex;
}

.subscription-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-m) 0 0 var(--radius-m);
    font-family: var(--body-font);
    font-size: 1rem;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    padding: var(--space-m) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    margin-right: var(--space-m);
}

.footer-nav h4 {
    margin-bottom: var(--space-s);
    color: white;
    font-size: 1.1rem;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-nav ul li a:hover {
    color: var(--accent-red);
}

.footer-contact h4 {
    margin-bottom: var(--space-s);
    color: white;
    font-size: 1.1rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    padding: var(--space-m) 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-s);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ======== Back to Top Button ======== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-red);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--charcoal);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* ======== Responsive Styles ======== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    .container {
        width: 95%;
    }
    
    .process-steps {
        flex-direction: column;
        gap: var(--space-m);
    }
    
    .step-card {
        width: 100%;
    }
    
    .step-connector {
        display: none;
    }
    
    .why-section .container {
        flex-direction: column;
    }
    
    .why-image {
        width: 100%;
        margin-top: var(--space-m);
    }
    
    .pricing-table {
        flex-direction: column;
    }
    
    .pricing-column {
        margin-bottom: var(--space-m);
    }
    
    .pricing-column.featured {
        transform: none;
        order: -1;
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .footer-top, 
    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-subscription {
        width: 100%;
        margin-top: var(--space-m);
    }
    
    .footer-nav, 
    .footer-contact {
        margin-bottom: var(--space-m);
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: var(--space-m) 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        z-index: 100;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
        z-index: 101;
    }
    
    .hamburger.active span:first-child {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:last-child {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .cta-button {
        margin-left: var(--space-s);
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .programs-row {
        flex-direction: column;
    }
    
    .testimonial-slide {
        flex-direction: column;
        height: auto;
    }
    
    .testimonial-content,
    .testimonial-image {
        border-radius: var(--radius-l);
    }
    
    .testimonial-image {
        height: 200px;
        margin-top: var(--space-s);
    }
    
    .testimonials-slider {
        height: 500px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    #header .container {
        padding: 0.8rem 1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        display: none;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        height: 550px;
    }
    
    .footer-top,
    .footer-middle,
    .footer-bottom {
        padding-left: var(--space-s);
        padding-right: var(--space-s);
    }
}