/* Base styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #1B5E20;
    --accent-color: #43A047;
    --light-green: #C8E6C9;
    --background-color: #FFFFFF;
    --text-color: #212121;
    --text-secondary: #757575;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --danger-color: #FF5722;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Karla', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style-position: inside;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

section:nth-child(even) {
    background-color: var(--gray-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.btn:hover::after {
    width: 100%;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.full-width-btn {
    width: 100%;
}

/* Wave dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider path {
    fill: var(--background-color);
}

section:nth-child(even) .wave-divider path {
    fill: var(--gray-light);
}

.wave-divider.inverted {
    transform: rotate(180deg);
    top: 0;
    bottom: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-svg {
    margin-right: 0.8rem;
}

.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--light-green);
    margin-top: 4rem;
    padding-top: 3rem;
    overflow: hidden;
}

.hero-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    padding: 2rem 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Benefits Section */
.benefits {
    background-color: var(--background-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Programs Section */
.programs {
    background-color: var(--gray-light);
}

.programs-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.programs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.programs-table th, 
.programs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
}

.programs-table th {
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
}

.programs-table tr:last-child td {
    border-bottom: none;
}

.program-name {
    font-weight: 700;
    color: var(--primary-color);
}

.quote-block {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 50%;
    padding: 0.5rem;
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

cite {
    font-weight: 700;
    color: var(--primary-color);
}

/* Trainers Section */
.trainers {
    background-color: var(--background-color);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.trainer-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
}

.trainer-image-wrapper {
    height: 300px;
    overflow: hidden;
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image {
    transform: scale(1.05);
}

.trainer-info {
    padding: 1.5rem;
}

.trainer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trainer-specialization {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Exercises Section */
.exercises {
    background-color: var(--gray-light);
}

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.exercise-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.exercise-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.exercise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 1rem;
}

.exercise-steps {
    padding: 0 1.5rem 1.5rem;
    list-style-position: inside;
}

.exercise-steps li {
    margin-bottom: 0.5rem;
}

/* Locations Section */
.locations {
    background-color: var(--background-color);
}

.locations-map {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-marker {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.location-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(46, 125, 50, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

.location-tooltip {
    position: absolute;
    top: -130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}

.location-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.location-marker:hover .location-tooltip {
    opacity: 1;
    visibility: visible;
}

.location-tooltip h4 {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.info-panel {
    background-color: var(--light-green);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
}

.info-panel h3{
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Recommendations Section */
.recommendations {
    background-color: var(--gray-light);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.recommendation-column h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.recommendations-list {
    list-style: none;
}

.recommendations-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.recommendations-list li svg {
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.recommendations-list.warning li {
    border-left: 4px solid var(--danger-color);
}

.info-note {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: var(--background-color);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    grid-column: span 2;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.8rem;
}

/* Footer */
.footer {
    background-color: #212121;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2.5rem;
}

.footer-item {
    position: relative;
}

.footer-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.footer-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.footer-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.footer-item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-tagline {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.contact-info {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info a {
    color: white;
}

.consultation-info {
    margin-top: 1.5rem;
}

.consultation-info p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.policy-links {
    list-style: none;
}

.policy-links li {
    margin-bottom: 0.8rem;
}

.policy-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.policy-links a:hover {
    color: white;
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .trainers-grid,
    .exercises-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }
    
    .hero-content-wrapper {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .programs-table th, 
    .programs-table td {
        padding: 0.8rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .trainer-image-wrapper {
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .footer-item:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .trainers-grid,
    .exercises-grid,
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-map {
        height: 400px;
    }
}

/* Mobile navigation for smaller screens (without JavaScript) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .main-nav {
        width: 100%;
        margin-left: 0;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* For very small screens */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .benefit-card,
    .trainer-card,
    .exercise-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}