:root {
    --bg-light: #F9FAFB;
    --text-dark: #111827;
    --accent-orange: #FF5A1F;
    --accent-hover: #E04A15;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }

/* Navbar Fixed Space Fix */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; position: fixed; width: 100%; top: 0;
    z-index: 1000; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow);
}
.logo-container { display: flex; align-items: center; gap: 1rem; }
.logo { width: 45px; }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links li { width: 120px; text-align: center; } /* Prevents jump */
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 700; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-orange); }
.lang-toggle { display: flex; gap: 0.5rem; }
.lang-btn { border: none; background: transparent; font-weight: 700; cursor: pointer; font-size: 1rem; color: #9CA3AF; }
.lang-btn.active { color: var(--accent-orange); }

/* Globals */
.btn-primary { display: inline-block; background: var(--accent-orange); color: #fff; padding: 1rem 2rem; border-radius: 5px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); padding: 0.5rem 1rem; cursor: pointer; font-weight: 700; border-radius: 5px; }
.btn-white { display: inline-block; background: #fff; color: var(--text-dark); padding: 0.8rem 1.5rem; border-radius: 5px; text-decoration: none; font-weight: 900; margin-top: auto; }
.section-heading { font-size: 2.5rem; font-weight: 900; margin-bottom: 2rem; color: var(--text-dark); }

/* Hero */
.hero { display: flex; align-items: center; min-height: 100vh; padding: 100px 5% 0; background: #fff; }
.hero-text-content { flex: 1; z-index: 2; }
.badge { display: inline-block; background: rgba(255, 90, 31, 0.1); color: var(--accent-orange); padding: 0.5rem 1rem; border-radius: 20px; font-weight: 700; margin-bottom: 1rem; }
.headline { font-size: 5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-image-content { flex: 1; display: flex; justify-content: flex-end; }
.profile-img { height: 70vh; object-fit: contain; }

/* About */
.about { padding: 6rem 0; }
.about-grid { display: flex; gap: 4rem; align-items: center; }
.about-img-wrapper { flex: 1; position: relative; }
.about-img { width: 100%; border-radius: 20px; z-index: 2; position: relative; }
.overlay-box { position: absolute; width: 100%; height: 100%; background: var(--accent-orange); top: -20px; left: -20px; border-radius: 20px; z-index: 1; }
.about-text-content { flex: 1; }

/* Quals & Slider */
.qualifications { padding: 4rem 0; background: #fff; }
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.timeline-box { background: var(--bg-light); padding: 2rem; border-radius: 10px; border-left: 5px solid var(--text-dark); }
.year { background: var(--text-dark); color: #fff; padding: 0.2rem 0.5rem; border-radius: 3px; font-weight: 700; }

.courses-section { padding: 4rem 0; }
.slider-container { overflow: hidden; position: relative; margin-top: 2rem; }
.slider-track { display: flex; transition: transform 0.5s; gap: 2rem; }
.slider-card { min-width: calc(20% - 1.6rem); background: #fff; padding: 1.5rem; border-radius: 10px; box-shadow: var(--shadow); }
.slider-card h4 { font-size: 0.95rem !important; line-height: 1.4; word-wrap: break-word; margin: 0.5rem 0 !important; }
.slider-card p { font-size: 0.85rem !important; line-height: 1.3; }
.slider-nav { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; }

/* 2x2 Services Grid */
.services { padding: 6rem 0; background: var(--text-dark); color: #fff; }
.services .section-heading { color: #fff; }
.services-cards-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.flip-card { perspective: 1000px; height: 500px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; overflow: hidden; }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.front-overlay { position: absolute; bottom: 0; width: 100%; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.front-overlay h3 { font-size: 2rem; }
.flip-back { background: var(--accent-orange); transform: rotateY(180deg); padding: 3rem; display: flex; flex-direction: column; }
.flip-back ul { list-style: none; margin: 1.5rem 0; }
.flip-back ul li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); }

/* 3 Column Contact */
.contact { padding: 6rem 5%; background: #fff; }
.contact-3col-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; max-width: 1500px; margin: 0 auto; }
.c-col { background: var(--bg-light); padding: 2rem; border-radius: 10px; }
.info-list { list-style: none; }
.info-list li { margin-bottom: 1rem; padding: 1rem; background: #fff; border-radius: 5px; }

.form-box form input, .form-box form textarea {
    width: 100%; padding: 1rem; margin-bottom: 1rem; border: 1px solid #E5E7EB; border-radius: 5px; font-size: 1rem;
}

/* Footer */
footer { padding: 2rem 0; border-top: 1px solid #e5e5e5; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-logo-wrap { display: flex; align-items: center; gap: 1rem; font-weight: 900; }
.footer-logo-wrap img { width: 30px; }
footer a { color: var(--accent-orange); text-decoration: none; font-weight: 700; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { flex-direction: column; text-align: center; }
    .about-grid, .timeline-grid, .contact-3col-grid { flex-direction: column; }
    .services-cards-2x2 { grid-template-columns: 1fr; }
    .slider-card { min-width: 100%; }
}

/* Fitness Animations */
@keyframes weightDrop {
    0% { transform: translateY(-100px); opacity: 0; }
    40% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-15px); }
    65% { transform: translateY(0); }
    80% { transform: translateY(-5px); }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes heavyBreathing {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    10% { transform: scale(1.05); }
    20% { transform: scale(1); }
    30% { transform: scale(1.05); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

.hero h1, .hero .headline, .hero .huge-title, .hero .display-title {
    animation: weightDrop 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero img, .hero-img, .image-frame img, .img-block img {
    animation: heavyBreathing 6s infinite ease-in-out;
}

.hero a.primary-btn, .hero a.btn-solid, .hero a.btn-elegant {
    animation: heartbeat 2.5s infinite;
}
