/* ===== VARIABLES ===== */
:root {
    /* Your Color Scheme */
    --navy: #0a1a3d;
    --cream: #f5f1e6;
    --beige: #e8e0d5;
    --taupe: #b8a99a;
    --bronze: #c17a4a;
    --charcoal: #2c2c2c;
    --dark-wood: #5d4037;
    --soft-grey: #f8f9fa;
    --white: #ffffff;
    
    /* Text Colors */
    --text-navy: var(--navy);
    --text-cream: var(--cream);
    --text-dark: #333333;
    --text-light: #666666;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 40px rgba(10, 26, 61, 0.1);
    --shadow-lg: 0 30px 60px rgba(10, 26, 61, 0.15);
    --radius: 12px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.text-highlight {
    color: var(--bronze);
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--bronze);
    opacity: 0.2;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background-color: var(--bronze);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-navy);
}

.section-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--cream);
    border-color: var(--navy);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bronze);
    border-color: var(--bronze);
}

.btn-secondary:hover {
    background-color: var(--bronze);
    color: var(--cream);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-tertiary {
    background-color: var(--beige);
    color: var(--navy);
    border-color: var(--beige);
}

.btn-tertiary:hover {
    background-color: var(--navy);
    color: var(--cream);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 20px 45px;
    font-size: 1rem;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top-color: var(--bronze);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cream);
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(10, 26, 61, 0.05);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    color: var(--bronze);
    margin-right: 10px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
}

.logo-highlight {
    color: var(--bronze);
}

.nav-middle {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bronze);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--bronze);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--bronze);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--navy);
    transition: var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 60px; /* Fixed: Added margin for header space */
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 50px; /* Fixed: Added padding for top spacing */
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 224, 213, 0.95) 0%, rgba(232, 224, 213, 0.8) 100%);
    z-index: 1;
}

.slide-1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.slide-2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1540497077202-7c8a3999166f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.slide-3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--navy);
    margin-left: 5%;
    padding-top: 30px; /* Fixed: Added padding for top spacing */
}

.slide-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 20px;
    font-weight: 600;
}

.slide-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--navy);
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.slide-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--bronze);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    opacity: 0.8;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--bronze) !important;
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background-color: var(--cream) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--bronze) !important;
    opacity: 1 !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: var(--navy);
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--navy);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--navy);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--navy);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.about-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: var(--beige);
    line-height: 1;
    opacity: 0.3;
}

.about-icon {
    font-size: 3rem;
    color: var(--bronze);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--navy);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--cream);
}

.about-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--cream);
}

.about-cta p {
    color: var(--cream);
    opacity: 0.9;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    background-color: var(--soft-grey);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.program-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--bronze);
    color: var(--cream);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.program-image {
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.program-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.program-features i {
    color: var(--bronze);
}

.program-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
}

.program-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.program-price .period {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== WELLNESS SECTION ===== */
.wellness {
    background-color: var(--taupe);
}

.wellness-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.wellness-content {
    color: var(--navy);
}

.wellness-content .section-title {
    color: var(--navy);
}

.wellness-content .section-description {
    color: var(--navy);
    opacity: 0.9;
}

.wellness-features {
    margin: 40px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.feature-content p {
    color: var(--navy);
    opacity: 0.9;
}

.wellness-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 26, 61, 0.8), transparent);
    color: var(--cream);
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* ===== SCHEDULE SECTION ===== */
.schedule {
    background-color: var(--white);
}

.schedule-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.schedule-btn {
    padding: 12px 25px;
    background-color: var(--soft-grey);
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
}

.schedule-btn:hover,
.schedule-btn.active {
    background-color: var(--navy);
    color: var(--cream);
}

.schedule-table {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--soft-grey);
    transition: var(--transition);
}

.schedule-item:hover {
    background-color: var(--soft-grey);
}

.schedule-item:last-child {
    border-bottom: none;
}

.class-time {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
}

.class-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--navy);
}

.class-details p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--dark-wood);
    color: var(--cream);
}

.testimonials .section-title {
    color: var(--cream);
}

.testimonials .section-description {
    color: var(--cream);
    opacity: 0.9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transformation-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--bronze);
    color: var(--cream);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-content {
    padding: 30px;
}

.stars {
    color: var(--bronze);
    margin-bottom: 15px;
}

.testimonial-content p {
    color: var(--cream);
    opacity: 0.9;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-content h4 {
    color: var(--cream);
    margin-bottom: 5px;
}

.testimonial-content span {
    color: var(--cream);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2d5d 100%);
    color: var(--cream);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--cream);
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--charcoal);
    color: var(--cream);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--cream);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--bronze);
}

.footer-description {
    margin: 20px 0;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 10px;
    color: var(--bronze);
}

.footer-col ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
}

.footer-col ul li a:hover::before {
    left: 0;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--bronze);
    transform: translateY(-5px);
}

.newsletter h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--cream);
}

.newsletter p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50px 0 0 50px;
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background-color: var(--bronze);
    color: var(--cream);
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #d18a5f;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cream);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--cream);
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--bronze);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--navy);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--bronze);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .about-grid,
    .programs-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wellness-grid {
        gap: 40px;
    }
    
    .slide-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        gap: 30px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-middle {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .slide-title {
        font-size: 3rem;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .nav-right {
        order: 2;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about-grid,
    .programs-grid,
    .testimonials-grid,
    .footer-grid,
    .wellness-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-1::after,
    .slide-2::after,
    .slide-3::after {
        width: 100%;
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
        opacity: 0.3;
    }
    
    .slide-content {
        text-align: center;
        background-color: rgba(232, 224, 213, 0.8);
        padding: 40px;
        border-radius: var(--radius);
        margin: 20px;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .schedule-controls {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .nav-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .phone-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 14px 25px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .hero-slider {
        margin-top: 60px;
        height: calc(100vh - 70px);
    }
    
    .swiper-slide {
        padding-top: 40px;
    }
    
    .slide-content {
        padding-top: 20px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
}


/* ===== SLIDE CONTENT OVERLAY FIX ===== */
.slide-content {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    padding: 50px !important;
    margin: 0 auto !important;
    max-width: 650px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    z-index: 10 !important;
    text-align: left !important;
}

/* Optional: Add a subtle gradient to the overlay */
.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(245,245,245,0.3) 100%) !important;
    border-radius: 20px !important;
    z-index: -1 !important;
}

/* Ensure text is readable */
.slide-title {
    color: var(--navy) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.slide-description {
    color: var(--navy) !important;
    opacity: 0.9 !important;
}

/* Adjust slide background to be less prominent */
.slide-1::after,
.slide-2::after,
.slide-3::after {
    opacity: 0.95 !important;
    filter: brightness(1.15) !important;
}