/* ============================================
   HEC Turkey - Main Stylesheet
   Modern CSS for Healthcare Landing Page
   ============================================ */

/* ============================================
   1. CSS Reset and Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   2. CSS Custom Properties (Variables)
   TODO: These will be dynamically generated from config.json
   ============================================ */
:root {
    /* Primary Colors */
    --primary-color: #e90c2b;
    --secondary-color: #eb3b53;
    --success-color: #00C851;
    --danger-color: #FF4444;
    --warning-color: #FFBB33;
    --info-color: #33B5E5;

    /* Neutral Colors */
    --dark-color: #1A1A2E;
    --light-color: #F5F5F5;
    --white: #FFFFFF;

    /* Gray Scale */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e90c2b 0%, #eb3b53 100%);
    --gradient-secondary: linear-gradient(135deg, #eb3b53 0%, #e90c2b 100%);
    --gradient-success: linear-gradient(135deg, #00C851 0%, #00FF88 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 50px;
    --radius-circle: 50%;
}

/* ============================================
   3. Base Typography
   ============================================ */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

ul, ol {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   4. Container and Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

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

/* ============================================
   5. Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    line-height: 1.5;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 12, 43, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 12, 43, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 81, 0.4);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ============================================
   6. Header and Navigation
   ============================================ */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:focus {
    outline: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-menu a i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-menu a:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.dropdown-menu a:hover i {
    color: var(--secondary-color);
}

.dropdown-menu a:focus {
    outline: none;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: var(--gray-100);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
    border: 1px solid transparent;
}

.lang-current:hover {
    background-color: var(--gray-200);
    border-color: var(--gray-300);
}

.lang-current:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.language-switcher:hover .lang-dropdown,
.language-switcher:focus-within .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.lang-option:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.lang-option.active {
    background-color: var(--gray-100);
    color: var(--primary-color);
    font-weight: 600;
}

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

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.phone-btn:hover {
    color: var(--primary-color);
}

.phone-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.cta-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 12, 43, 0.3);
}

.cta-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-menu-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   7. Hero Section
   ============================================ */
.hero {
    padding: 100px 0;
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--radius-circle);
    filter: blur(100px);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -200px;
    left: -100px;
    animation-delay: 7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-success);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 20px;
    background-color: rgba(233, 12, 43, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 5px;
    line-height: 1.2;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.hero-badge-float {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gray-700);
    animation: slideUp 0.5s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-badge-float i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid var(--gray-400);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.scroll-indicator span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   8. Section Styles
   ============================================ */
section {
    padding: 80px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(233, 12, 43, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   9. Services Section
   ============================================ */
.services {
    background-color: var(--gray-100);
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-2xl);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(233, 12, 43, 0.1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-700);
    text-align: left;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

.service-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   10. Why Us Section
   ============================================ */
.why-us {
    background-color: var(--white);
}

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

.why-us-content {
    display: flex;
    flex-direction: column;
}

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

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(233, 12, 43, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-content h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.8;
}

.cta-box {
    background: var(--gradient-primary);
    padding: 30px;
    border-radius: var(--radius-xl);
    color: var(--white);
    margin-top: 40px;
}

.cta-box p {
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.image-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.stat-card {
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-card span {
    font-weight: 700;
    color: var(--dark-color);
}

/* ============================================
   11. Process Section
   ============================================ */
.process {
    background-color: var(--gray-100);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gray-300);
    z-index: 0;
}

.process-item {
    position: relative;
    z-index: 1;
}

.process-number {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 auto 25px;
    transition: var(--transition);
}

.process-item:hover .process-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
    color: var(--white);
}

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

.process-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.process-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   12. Testimonials Section
   ============================================ */
.testimonials {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.testimonials .container {
    max-width: 100%;
    padding: 0 40px;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    padding: 20px 0;
    width: 100%;
}

.testimonial-card {
    background-color: var(--gray-100);
    padding: 30px;
    border-radius: var(--radius-xl);
    position: relative;
    transition: var(--transition);
    flex: 0 0 calc((100% - (30px * 3)) / 4);
    box-sizing: border-box;
}

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

@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc((100% - (30px * 2)) / 3);
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .testimonials .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonials-slider {
        gap: 20px;
    }
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.stars i {
    color: var(--warning-color);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--dark-color);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   13. Certifications Section
   ============================================ */
.certifications {
    background-color: var(--gray-100);
    padding: 80px 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cert-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cert-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.cert-item img {
    height: 80px;
    width: auto;
    margin: 0 auto 15px;
    display: block;
}

.cert-item span {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    display: block;
}

/* Legacy support */
.certification-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.certification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(233, 12, 43, 0.1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.certification-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.certification-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.certification-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   14. FAQ Section
   ============================================ */
.faq {
    background-color: var(--white);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--gray-200);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-question i {
    color: var(--gray-500);
    transition: var(--transition);
    font-size: 1.25rem;
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-question.active i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
}

.faq-answer.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   15. CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-circle);
    top: -150px;
    right: -150px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-circle);
    bottom: -100px;
    left: -100px;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-image img {
    width: 100%;
    height: auto;
}

/* ============================================
   16. Footer
   ============================================ */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--gray-400);
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: var(--gray-400);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-400);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--gray-400);
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--white);
}

.contact-info a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-400);
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.footer-bottom-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.footer-bottom-links a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* ============================================
   17. Modal Styles
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: var(--gradient-primary);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-close:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.modal-body {
    padding: 30px;
}

/* ============================================
   18. Forms
   ============================================ */
.consultation-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}

.form-label.required::after {
    content: ' *';
    color: var(--danger-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 12, 43, 0.1);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background-color: var(--gray-100);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Form Conditional Fields */
#weight-group,
#height-group {
    display: none;
}

#weight-group.active,
#height-group.active {
    display: block;
}

.input-with-unit {
    position: relative;
}

.input-unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
    pointer-events: none;
}

.input-with-unit input {
    padding-right: 50px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-error {
    display: none;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--danger-color);
}

.form-group.error .form-error {
    display: block;
}

.form-success {
    display: none;
    background-color: rgba(0, 200, 81, 0.1);
    color: var(--success-color);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--success-color);
}

.form-success.active {
    display: block;
}

/* ============================================
   19. WhatsApp Button
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:focus {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* ============================================
   20. Utility Classes
   ============================================ */

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--gray-600); }

.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* Flex Utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

/* Accessibility Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* ============================================
   21. Loading States
   ============================================ */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-circle);
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-circle);
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

/* ============================================
   22. Smooth Scrolling and Focus
   ============================================ */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
