﻿
:root {
    --primary: #2c7be5;
    --secondary: #1a5fb4;
    --accent: #26a69a;
    --dark: #2c3e50;
    --light: #ffffff;
    --gray: #7f8c8d;
    --light-gray: #f8f9fa;
    --border: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-gray);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .slide-in-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .slide-in-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .scale-in.visible {
        opacity: 1;
        transform: scale(1);
    }

/* Header Styles - Fixed width issue */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%; /* Ensure it doesn't exceed viewport */
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    animation: slideDown 0.8s ease;
    overflow: hidden; /* Prevent content from spilling out */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

    nav ul {
        display: flex;
        list-style: none;
        animation: fadeInRight 1s ease;
        margin: 0;
        padding: 0;
    }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

nav ul li {
    margin-left: 30px;
}

    nav ul li a {
        color: var(--dark);
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        transition: color 0.3s ease;
        position: relative;
    }

        nav ul li a:hover {
            color: var(--primary);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.6s ease;
        z-index: -1;
    }

    .cta-button:hover::before {
        left: 100%;
    }

    .cta-button:hover {
        background-color: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(44, 123, 229, 0.3);
    }

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/images/Powerfil/gym.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

    .hero h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100px;
        height: 3px;
        background-color: var(--primary);
        animation: widthGrow 1.5s ease;
    }

@keyframes widthGrow {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--gray);
    animation: fadeIn 1.5s ease 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1.5s ease 0.8s both;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-secondary::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--primary);
        transform: translateY(100%);
        transition: transform 0.6s ease;
        z-index: -1;
    }

    .btn-secondary:hover::before {
        transform: translateY(0);
    }

    .btn-secondary:hover {
        color: white;
        transform: translateY(-2px);
    }

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light);
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary);
        }

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.about-text {
    flex: 1;
}

    .about-text p {
        margin-bottom: 20px;
        color: var(--gray);
    }

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

    .about-image:hover {
        transform: scale(1.03);
    }

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

/* Programs Section */
.programs {
    padding: 100px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.program-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .program-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.program-image {
    height: 200px;
    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.1);
}

.program-content {
    padding: 25px;
}

    .program-content h3 {
        color: var(--primary);
        margin-bottom: 15px;
    }

    .program-content p {
        color: var(--gray);
        margin-bottom: 20px;
    }

/* Membership Section */
.membership {
    padding: 100px 0;
    background-color: var(--light);
    width: 100%;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.membership-card {
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .membership-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .membership-card.featured {
        border: 2px solid var(--primary);
        transform: scale(1.05);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 123, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(44, 123, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 123, 229, 0);
    }
}

.membership-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 14px;
}

.membership-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

    .price span {
        font-size: 1rem;
        color: var(--gray);
    }

.membership-card ul {
    list-style: none;
    margin-bottom: 30px;
}

    .membership-card ul li {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
        color: var(--dark);
    }

        .membership-card ul li:last-child {
            border-bottom: none;
        }

        .membership-card ul li i {
            color: var(--accent);
            margin-right: 10px;
        }

/* Schedule Section */
.schedule {
    padding: 100px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.schedule-tab {
    background-color: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
    padding: 10px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .schedule-tab.active {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
        animation: tabPulse 1.5s infinite;
    }

@keyframes tabPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 123, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(44, 123, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 123, 229, 0);
    }
}

.schedule-tab:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.schedule-content {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

    .schedule-table th, .schedule-table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .schedule-table th {
        background-color: var(--light-gray);
        font-weight: 600;
        color: var(--dark);
    }

    .schedule-table tr:last-child td {
        border-bottom: none;
    }

    .schedule-table tr:hover {
        background-color: var(--light-gray);
    }

.class-name {
    font-weight: 600;
    color: var(--primary);
}

.trainer-name {
    color: var(--gray);
}

/* Trainers Section */
.trainers {
    padding: 100px 0;
    background-color: var(--light);
    width: 100%;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.trainer-card {
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .trainer-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.trainer-image {
    height: 250px;
    overflow: hidden;
}

    .trainer-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.trainer-info {
    padding: 25px;
}

    .trainer-info h3 {
        margin-bottom: 5px;
        color: var(--dark);
    }

    .trainer-info .title {
        color: var(--accent);
        font-weight: 600;
        margin-bottom: 15px;
    }

    .trainer-info p {
        color: var(--gray);
        margin-bottom: 20px;
    }

.trainer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .trainer-social a {
        color: var(--gray);
        font-size: 18px;
        transition: all 0.3s ease;
    }

        .trainer-social a:hover {
            color: var(--primary);
            transform: translateY(-5px);
        }

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .testimonial-card:hover {
        transform: scale(1.02);
    }

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    color: var(--gray);
}

    .testimonial-text::before {
        content: '"';
        font-size: 60px;
        color: var(--primary);
        position: absolute;
        top: -20px;
        left: -20px;
        opacity: 0.3;
        animation: quoteFloat 3s infinite ease-in-out;
    }

@keyframes quoteFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--primary);
    animation: rotate 10s infinite linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dot.active {
        background-color: var(--primary);
    }

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light);
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 100%;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

    .contact-item i {
        color: var(--primary);
        font-size: 20px;
        margin-right: 15px;
        margin-top: 5px;
        animation: iconBounce 2s infinite;
    }

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.contact-item div h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item div p {
    color: var(--gray);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--dark);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        background-color: var(--light);
        border: 1px solid var(--border);
        border-radius: 5px;
        color: var(--dark);
        font-family: 'Open Sans', sans-serif;
        transition: all 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
            animation: inputPulse 0.5s ease;
        }

@keyframes inputPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    padding: 70px 0 20px;
    color: var(--light);
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
}

    .footer-col h3::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: var(--primary);
    }

.footer-col p {
    margin-bottom: 20px;
    color: #ddd;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #ddd;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(5px);
            display: inline-block;
        }

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--light);
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background-color: var(--primary);
            transform: translateY(-5px) rotate(360deg);
        }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--light);
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--gray);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .close-modal:hover {
        color: var(--primary);
        transform: rotate(90deg);
    }

.modal-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.modal-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: color 0.3s ease;
}

    .modal-tab.active {
        color: var(--primary);
        border-bottom: 2px solid var(--primary);
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

    .form-group input:focus {
        outline: none;
        border-color: var(--primary);
    }

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .form-check input {
        margin-right: 10px;
        width: auto;
    }

    .form-check label {
        color: var(--gray);
        font-size: 14px;
    }

    .form-check a {
        color: var(--primary);
        text-decoration: none;
        margin-left: auto;
        font-size: 14px;
    }

.form-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .form-submit::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.6s ease;
    }

    .form-submit:hover::before {
        left: 100%;
    }

    .form-submit:hover {
        background-color: var(--secondary);
    }

/* Mobile Menu Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--light);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul {
        list-style: none;
    }

        .mobile-nav ul li {
            margin-bottom: 15px;
        }

            .mobile-nav ul li a {
                color: var(--dark);
                text-decoration: none;
                font-weight: 600;
                font-size: 16px;
                display: block;
                padding: 10px 0;
                border-bottom: 1px solid var(--border);
            }

                .mobile-nav ul li a:hover {
                    color: var(--primary);
                }

    .mobile-nav .cta-button {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .programs-grid,
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .membership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .membership-card.featured {
        transform: scale(1.05);
        margin: 0 auto;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

        .hero-buttons .cta-button,
        .hero-buttons .btn-secondary {
            width: 80%;
            max-width: 300px;
        }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .schedule-tabs {
        flex-wrap: wrap;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .membership-card.featured {
        transform: scale(1);
        margin: 0;
        max-width: 100%;
    }

    .programs-grid,
    .trainers-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Table responsiveness */
    .schedule-content {
        overflow-x: auto;
    }

    .schedule-table {
        min-width: 500px;
    }

        .schedule-table th,
        .schedule-table td {
            padding: 10px;
            font-size: 14px;
        }

    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .about-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .footer-col h3::after {
        width: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .program-content,
    .trainer-info,
    .membership-card {
        padding: 20px;
    }

    .schedule-tabs {
        justify-content: center;
    }

    .schedule-tab {
        margin: 0 3px 8px;
        padding: 8px 15px;
        font-size: 14px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

        .contact-item i {
            margin-bottom: 10px;
        }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .program-content h3,
    .trainer-info h3 {
        font-size: 1.3rem;
    }

    .membership-card h3 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }

    .schedule-table {
        min-width: 400px;
    }

        .schedule-table th,
        .schedule-table td {
            padding: 8px;
            font-size: 13px;
        }

    .testimonial-text {
        font-size: 15px;
    }
}

