/* ==========================================================================
   FitLife Gym - Single Page CSS Design System
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
    --bg-page: #F8F6F0;
    --bg-card: #FFFFFF;
    --bg-surface: #F2EFE7;
    --text-main: #1C201C;
    --text-muted: #5E645D;
    --text-light: #8E948D;
    --accent-dark: #1E241E;
    --accent-dark-hover: #2F372F;
    --border-subtle: #EBE7DF;
    --border-card: #E5E0D6;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.18;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 520px;
}

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

.section-padding {
    padding: 6rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 0.6rem 1.3rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.05rem 2.2rem;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-dark);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--accent-dark-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 36, 30, 0.2);
}

.btn-primary svg {
    transition: transform 0.2s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* --- Glassmorphism & Special Buttons --- */
.btn-glass-primary {
    background: rgba(45, 60, 48, 0.75);
    color: #FFFFFF;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-glass-primary:hover {
    background: rgba(35, 48, 38, 0.92);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: #1A221B;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.btn-glass-dark {
    background: rgba(35, 45, 37, 0.9);
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass-dark:hover {
    background: rgba(20, 27, 21, 0.98);
}

.btn-glass-secondary .play-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 0.2rem;
    transition: transform 0.25s ease;
}

.btn-glass-secondary:hover .play-icon-circle {
    transform: scale(1.1);
}

/* --- Header Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(248, 246, 240, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(235, 231, 223, 0.6);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-pill-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 0.55rem 1.6rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    font-weight: 600;
}

.nav-search-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #FFFFFF;
    border: 1px solid rgba(220, 215, 205, 0.7);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-search-btn:hover {
    background: var(--accent-dark);
    color: #FFFFFF;
    border-color: var(--accent-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-full-bg {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 9.5rem;
    padding-bottom: 8.5rem;
    overflow: hidden;
    background-color: var(--bg-page);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 14, 11, 0.65) 0%, rgba(10, 14, 11, 0.35) 45%, transparent 75%);
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Organic Bottom Wave Divider Landing Animation */
@keyframes waveLiftFade {
    0% {
        opacity: 0;
        transform: translateY(45px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    animation: waveLiftFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.45s;
    will-change: transform, opacity;
}

/* Infinite Seamless Wave Marquee Animation */
@keyframes waveMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-bottom-wave .wave-track {
    display: flex;
    width: 200%;
    will-change: transform;
    animation: waveMarquee 16s linear infinite;
}

.hero-bottom-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 135px;
}

.hero-content-full {
    max-width: 620px;
}

.hero-title {
    font-size: 4.75rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Hero Page Load Landing Entrance Animations */
@keyframes heroLiftFade {
    0% {
        opacity: 0;
        transform: translateY(38px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-full-bg .fady-title {
    display: inline-block;
    background: linear-gradient(90deg, #FFFFFF 0%, #ECEFEF 45%, #B4C4B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.85));
    opacity: 0;
    animation: heroLiftFade 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    will-change: transform, opacity;
}

.hero-full-bg .hero-description {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 2.4rem;
    max-width: 520px;
    line-height: 1.68;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: heroLiftFade 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.38s;
    will-change: transform, opacity;
}

.hero-full-bg .hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroLiftFade 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
    will-change: transform, opacity;
}

/* Social Proof Avatars */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-page);
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.social-proof-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.social-proof-text strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.social-proof-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Right Visuals & Floating Cards */
.hero-visuals-wrapper {
    position: relative;
    padding-top: 1rem;
}

.hero-main-card {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    aspect-ratio: 4 / 3.4;
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-main-card:hover .hero-img {
    transform: scale(1.03);
}

/* Floating Glass Cards */
.floating-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    z-index: 10;
    transition: var(--transition);
}

.floating-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.12);
}

/* Top Right Schedule Card */
.schedule-card {
    top: -15px;
    right: -25px;
    width: 250px;
    padding: 1.4rem;
}

.schedule-card-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-align: center;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.schedule-list li {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    border-bottom: 1px dashed rgba(200, 195, 185, 0.5);
    padding-bottom: 0.4rem;
}

.schedule-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-list .day {
    color: var(--text-muted);
    font-weight: 500;
}

.schedule-list .time {
    color: var(--text-main);
    font-weight: 700;
}

/* Bottom Right Mindset Pill Card */
.mindset-pill-card {
    bottom: 25px;
    right: -15px;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.mindset-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(35, 45, 37, 0.1);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mindset-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mindset-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.audio-progress-bar {
    width: 100px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-dark);
    border-radius: 2px;
}

.mindset-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-dark);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.mindset-play-btn:hover {
    transform: scale(1.1);
}

/* Curved Dark Wave Bottom Banner */
.hero-trusted-banner {
    position: relative;
    width: 100%;
    margin-top: 1rem;
}

.curved-wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.banner-inner-wrapper {
    background-color: #1B221B;
    padding: 2.2rem 0 3rem 0;
    color: #FFFFFF;
}

.banner-inner {
    text-align: center;
}

.trusted-label {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.partner-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: -0.02em;
    transition: var(--transition);
}

.partner-logo:hover {
    color: #FFFFFF;
    opacity: 1;
}

/* --- Feature Highlights Bar --- */
.features-bar-section {
    padding: 2.5rem 0;
}

.features-bar {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--bg-page);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- Our Programs Section --- */
.programs-layout {
    display: grid;
    grid-template-columns: 0.85fr 2.15fr;
    gap: 3rem;
    align-items: flex-start;
}

.programs-header-panel {
    padding-top: 1rem;
}

.programs-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.program-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 0.75rem 1.5rem 0.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-card);
}

.program-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 2rem;
}

.program-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}

.floating-icon-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.program-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.program-card-body p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 0.4rem;
}

/* --- Expert Trainers Section --- */
.trainers-section {
    background-color: var(--bg-surface);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.trainer-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: transparent;
    border: 2px solid #2E3A32;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.25rem 1.6rem 1.25rem;
    box-shadow: none;
    transition: var(--transition);
}

.trainer-item:hover {
    transform: translateY(-6px);
    box-shadow: none;
    border-color: #2E3A32;
}

.trainer-img-wrapper {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.trainer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.trainer-item:hover .trainer-img {
    transform: scale(1.06);
}

.trainer-exp-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(28, 32, 28, 0.85);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.05em;
    z-index: 2;
}

.trainer-info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.trainer-specialty-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-dark);
    background-color: transparent;
    border: 1px solid var(--accent-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trainer-info-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.trainer-role {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.trainer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.85rem;
    width: 100%;
    border-top: 1px solid rgba(46, 58, 50, 0.2);
}

.trainer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(46, 58, 50, 0.3);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.trainer-social-link:hover {
    background-color: #2E3A32;
    border-color: #2E3A32;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* --- About Us Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3.4;
}

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

.about-checklist {
    margin-bottom: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--accent-dark);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Before & After Transformations Section --- */
.transformations-section {
    background-color: var(--bg-surface);
}

.center-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.transformations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.transformation-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.transformation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-card);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    will-change: width;
}

.ba-before-wrapper .ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    top: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 4px;
    background: rgba(28, 32, 28, 0.75);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
    z-index: 3;
    pointer-events: none;
}

.ba-label-before {
    left: 1rem;
}

.ba-label-after {
    right: 1rem;
}

.ba-divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #2E3A32;
    box-shadow: 0 0 10px rgba(46, 58, 50, 0.4);
    z-index: 4;
    pointer-events: none;
    transform: translateX(-50%);
    will-change: left;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 5px;
    border-radius: 3px;
    background-color: #2E3A32;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ba-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    margin: 0;
}

.transformation-card-body {
    padding: 1.5rem 1.5rem 1.75rem 1.5rem;
    text-align: center;
}

.transformation-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-dark);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-card);
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}

.transformation-card-body h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.transformation-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Pricing Section --- */
.pricing-section {
    background-color: var(--bg-page);
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 3.5rem auto;
    background-color: var(--bg-surface);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    width: fit-content;
}

.pricing-toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.pricing-toggle-label.active {
    color: var(--text-main);
    font-weight: 700;
}

.badge-save {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-toggle-btn {
    width: 52px;
    height: 28px;
    background-color: var(--border-card);
    border-radius: 50px;
    position: relative;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
    outline: none;
}

.pricing-toggle-btn.active {
    background-color: var(--accent-dark);
}

.toggle-slider {
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.pricing-toggle-btn.active .toggle-slider {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-card);
}

.pricing-card-featured {
    border: 2px solid var(--accent-dark);
    background-color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(30, 36, 30, 0.1);
    transform: scale(1.03);
}

.pricing-card-featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 24px 50px rgba(30, 36, 30, 0.16);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-dark);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1.25rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: var(--bg-surface);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.pricing-plan-icon.featured-icon {
    background-color: var(--accent-dark);
    color: #FFFFFF;
}

.pricing-plan-name {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.pricing-plan-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pricing-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.pricing-currency {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.pricing-amount {
    font-size: 3.25rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pricing-amount.price-updating {
    opacity: 0.2;
    transform: translateY(-4px);
}

.pricing-period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-billed-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.75rem;
    display: block;
}

.pricing-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.25rem;
    flex-grow: 1;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.4;
}

.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(46, 58, 50, 0.1);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-disabled {
    opacity: 0.45;
    color: var(--text-light);
}

.feature-cross {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-top: 1px;
}

.btn-block {
    width: 100%;
}

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid var(--border-card);
    color: var(--text-main);
}

.btn-outline-dark:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #FFFFFF;
}

.pricing-guarantee-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.guarantee-item svg {
    color: var(--accent-dark);
    flex-shrink: 0;
}

/* --- Why Choose Us Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-icon {
    margin-bottom: 0.75rem;
    color: var(--accent-dark);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.why-us-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3.4;
}

.why-us-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Blog Section (SEO Articles) --- */
.blog-section {
    background-color: var(--bg-page);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-card);
}

.blog-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-dark);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-card-body {
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-meta .dot {
    opacity: 0.5;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--text-main);
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--text-muted);
}

.blog-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.blog-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-name {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-main);
}

.blog-read-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--accent-dark);
    cursor: pointer;
    transition: var(--transition);
}

.blog-read-btn:hover {
    transform: translateX(4px);
}

.blog-view-all {
    text-align: center;
    margin-top: 3.5rem;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--accent-dark);
    border: 1px solid var(--accent-dark);
}

.btn-outline-dark:hover {
    background-color: var(--accent-dark);
    color: #FFFFFF;
}

/* --- Article Modal Styles --- */
.modal-lg {
    max-width: 820px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 3rem 2.5rem;
}

.article-modal-body h2 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.article-modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.article-modal-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
}

.article-text-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.article-text-content h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin: 1.75rem 0 0.75rem 0;
}

.article-text-content p {
    margin-bottom: 1.25rem;
}

.article-text-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-text-content li {
    margin-bottom: 0.5rem;
}

.article-callout {
    background-color: var(--bg-surface);
    border-left: 4px solid var(--accent-dark);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-main);
}

/* --- Blog Page Hero & Filters --- */
.blog-hero {
    padding: 9rem 0 3.5rem 0;
    text-align: center;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.blog-hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.blog-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-card);
    background-color: #FFFFFF;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-chip:hover, .filter-chip.active {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    border-color: var(--accent-dark);
}

/* --- FAQ Accordion Section --- */
.faq-section {
    background-color: var(--bg-surface);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-card);
}

.faq-question-btn {
    width: 100%;
    padding: 1.35rem 1.75rem;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease, opacity 0.3s ease;
    padding: 0 1.75rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.75rem 1.5rem 1.75rem;
    opacity: 1;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- Testimonials Section --- */
.section-header.center {
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.9rem;
}

.testimonial-stars svg {
    stroke: #2E3A32;
    fill: #2E3A32;
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-stars svg {
    transform: scale(1.15);
}

.quote-icon {
    color: #C8C2B5;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.author-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* --- CTA Banner Section --- */
.cta-banner-section {
    padding: 2rem 0 5rem 0;
}

.cta-banner-card {
    background: linear-gradient(135deg, #1B201B 0%, #293029 100%);
    border-radius: var(--radius-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    color: #FFFFFF;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner-content h2 {
    color: #FFFFFF;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.cta-banner-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 2.2rem auto;
}

.cta-banner-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

/* --- Footer --- */
.footer {
    background-color: #2E3A32;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
    color: #FFFFFF;
}

.footer-logo .logo {
    color: #FFFFFF;
}

.footer-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.contact-list li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.social-links a:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* --- Modals --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    z-index: 10;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 800px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-scroll-container {
    max-height: 88vh;
    overflow-y: auto;
    padding: 2.5rem;
}

.modal-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modal-sm {
    max-width: 460px;
    padding: 2.5rem;
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    z-index: 30;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #000000;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.join-form .form-group {
    margin-bottom: 1.25rem;
}

.join-form label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.join-form input, .join-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-page);
}

.join-form input:focus, .join-form select:focus {
    border-color: var(--accent-dark);
    background-color: #FFFFFF;
}

/* --- Comprehensive Responsive Media Queries --- */

/* 1. Large Laptops & Desktops (< 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }

    .hero-bottom-wave svg {
        height: 110px;
    }
}

/* 2. Tablets & Small Laptops (< 992px) */
@media (max-width: 992px) {
    .hero-full-bg {
        min-height: 80vh;
        padding-top: 8rem;
        padding-bottom: 7rem;
    }
    
    .hero-bg-img {
        object-position: 80% 30%;
    }
    
    .hero-title {
        font-size: 3.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-bottom-wave svg {
        height: 90px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-pill-wrapper {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .nav-search-btn {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100vw;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 2.5rem;
        gap: 1.25rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        display: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-link {
        color: var(--text-main);
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
        white-space: nowrap;
        font-weight: 600;
        padding: 0.4rem 0;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .features-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .programs-layout {
        grid-template-columns: 1fr;
    }

    .programs-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid, .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* 3. Mobile Phones & Portrait Tablets (< 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-full-bg {
        min-height: 70vh;
        padding-top: 7rem;
        padding-bottom: 5.5rem;
    }

    .hero-bg-img {
        object-position: 85% 25%;
    }

    .hero-bg-overlay::after {
        background: linear-gradient(180deg, rgba(10, 14, 11, 0.72) 0%, rgba(10, 14, 11, 0.45) 55%, rgba(10, 14, 11, 0.25) 100%);
    }

    .hero-title {
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .hero-cta-group {
        width: auto;
        justify-content: flex-start;
        display: flex;
    }

    .hero .btn-lg {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        width: auto;
        display: inline-flex;
    }

    .hero-bottom-wave svg {
        height: 130px;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .features-bar {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .programs-cards-grid, .trainers-grid, .transformations-grid, .pricing-grid, .blog-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-6px);
    }

    .cta-banner-card {
        padding: 3rem 1.5rem;
    }

    .cta-banner-content h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .modal-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 1.1rem !important;
    }

    .modal-scroll-container {
        padding: 1.5rem 1rem !important;
        max-height: 86vh !important;
    }

    .modal-container {
        width: 93% !important;
        max-width: 93% !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }

    .logo {
        font-size: 1.25rem;
        gap: 0.35rem;
    }

    .logo svg {
        width: 22px;
        height: 22px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .nav-actions .btn-sm {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Prevent mobile horizontal overflow caused by horizontal scroll animations */
    .reveal-left,
    .reveal-right {
        transform: translateY(35px);
    }
}

/* 4. Small Mobile Devices (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.15rem;
        gap: 0.3rem;
    }

    .logo svg {
        width: 20px;
        height: 20px;
    }

    .nav-actions {
        gap: 0.35rem;
    }

    .nav-actions .btn-sm {
        padding: 0.35rem 0.65rem;
        font-size: 0.72rem;
    }

    .hero-bg-img {
        object-position: 88% 20%;
    }

    .hero-bottom-wave svg {
        height: 115px;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    .hero-full-bg {
        padding-top: 6rem;
        padding-bottom: 4.5rem;
    }

    .modal-container {
        width: 95% !important;
        max-width: 95% !important;
        border-radius: 14px !important;
    }

    .modal-scroll-container {
        padding: 1.25rem 0.85rem !important;
        max-height: 88vh !important;
    }

    .modal-header h2 {
        font-size: 1.45rem !important;
    }

    .modal-header p {
        font-size: 0.85rem !important;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Modern Responsive Scroll Animations & Reveal System
   ========================================================================== */

.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
    transform: translateY(0);
}

.reveal-up {
    transform: translateY(45px);
}

.reveal-left {
    transform: translateX(-55px);
}

.reveal-right {
    transform: translateX(55px);
}

.reveal-scale {
    transform: scale(0.92) translateY(30px);
}

/* Active Revealed State */
.reveal-active {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal-fade,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
