/* ================================
   CSS VARIABLES & RESET
================================ */
:root {
    --primary-color: #0ea5e9;
    --secondary-color: #38bdf8;
    --dark-color: #0c4a6e;
    --light-color: #f0f9ff;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* ================================
   BUTTONS
================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.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-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-call {
    background-color: var(--dark-color);
    color: var(--white);
}

.btn-call:hover {
    background-color: #0c3a54;
}

.btn-full {
    width: 100%;
}

/* ================================
   NAVIGATION
================================ */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 6px 30px rgba(14, 165, 233, 0.15), 0 2px 5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5); }
}

.logo-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-menu a i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a::after {
    display: none;
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:hover i {
    transform: scale(1.2) rotate(5deg);
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nav-menu a.active i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-appointment-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-appointment-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.nav-appointment-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
}

.nav-appointment-btn i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.nav-appointment-btn span {
    position: relative;
    z-index: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(14, 165, 233, 0.1);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ================================
   HERO SLIDER
================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.slide-overlay {
    display: none;
}

@keyframes pulseOverlay {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px;
    background-position: 0 0, 50px 50px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { background-position: 0 0, 50px 50px; }
    100% { background-position: 100px 100px, 150px 150px; }
}

.slide-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 1000px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    max-width: 800px;
    line-height: 1.6;
    color: #ffffff;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stat-item:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.stat-item span {
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-features {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.feature-chip:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.feature-chip i {
    color: #4ade80;
}

.hero-highlights {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    min-width: 150px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.highlight-box:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.highlight-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.highlight-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.8s both;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero span {
    position: relative;
    z-index: 1;
}

.btn-hero i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-hero.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.6);
    transform: translateY(-3px);
}

.btn-hero.btn-secondary {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
}

.btn-hero.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    color: var(--primary-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    color: var(--white);
    border: 3px solid rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.slider-dot.active {
    background-color: var(--white);
    border-color: var(--white);
    width: 40px;
    border-radius: 10px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    z-index: 10;
    animation: bounce 2s infinite;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
    animation: arrowBounce 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 arrowBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(2px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   ABOUT SECTION
================================ */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-features {
    margin: 25px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ================================
   WHY US SECTION
================================ */
.why-us-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-us-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-us-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.why-us-card p {
    color: var(--text-light);
}

/* ================================
   SERVICES SECTION
================================ */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card:hover .service-icon {
    color: var(--white);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* ================================
   GALLERY SECTION
================================ */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 165, 233, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 3rem;
}

/* ================================
   TESTIMONIALS SECTION
================================ */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.rating {
    color: #fbbf24;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================================
   FAQ SECTION
================================ */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-question h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
}

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-item h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.appointment-form {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.appointment-form h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ================================
   FOOTER
================================ */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p,
.footer-col li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-col i {
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   PAGE HEADER
================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
}

/* ================================
   ABOUT PAGE
================================ */
.about-detail-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.about-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-detail-text h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.about-detail-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-detail-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.qualifications-section,
.expertise-section,
.philosophy-section,
.locations-section {
    padding: 80px 0;
}

.qualifications-section {
    background-color: var(--light-color);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.qualification-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.qual-icon,
.phil-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qualification-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.expertise-section {
    background-color: var(--white);
}

.expertise-list {
    max-width: 900px;
    margin: 0 auto;
}

.expertise-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.expertise-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.expertise-item h3 {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.expertise-item p {
    color: var(--text-light);
}

.philosophy-section {
    background-color: var(--light-color);
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.philosophy-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.location-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.location-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* ================================
   SERVICES PAGE
================================ */
.services-detailed-section {
    padding: 80px 0;
    background-color: var(--white);
}

.service-detailed {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.service-detailed.reverse {
    grid-template-columns: 1fr 150px;
}

.service-detailed.reverse .service-detailed-content {
    order: -1;
}

.service-detailed-icon {
    font-size: 5rem;
    color: var(--primary-color);
    text-align: center;
}

.service-detailed-content h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-detailed-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-detailed-content ul {
    list-style: none;
    padding-left: 0;
}

.service-detailed-content li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-detailed-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.treatment-approach-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.approach-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.approach-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.approach-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.benefits-section {
    padding: 80px 0;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* ================================
   GALLERY PAGE
================================ */
.gallery-filter-section {
    padding: 40px 0;
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--light-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.main-gallery-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-masonry .gallery-item {
    height: 350px;
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 0.9rem;
}

.locations-gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.locations-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.location-gallery-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.location-gallery-image {
    height: 250px;
    overflow: hidden;
}

.location-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-gallery-info {
    padding: 30px;
}

.location-gallery-info h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.location-gallery-info p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.gallery-features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.gallery-modal-caption {
    text-align: center;
    color: var(--white);
    padding: 20px;
    font-size: 1.2rem;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 2rem;
}

.gallery-modal-nav.prev {
    left: 20px;
}

.gallery-modal-nav.next {
    right: 20px;
}

/* ================================
   CONTACT PAGE
================================ */
.contact-main-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-section h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-info-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-details h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.info-details p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.info-link {
    color: var(--primary-color);
    font-weight: 600;
}

.quick-contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.appointment-form-section {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.appointment-form-section h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-form {
    margin-top: 25px;
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

.clinic-locations-detailed {
    padding: 80px 0;
    background-color: var(--light-color);
}

.locations-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.location-detailed-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.location-header {
    text-align: center;
    margin-bottom: 25px;
}

.location-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.location-header h3 {
    color: var(--dark-color);
}

.location-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item i {
    color: var(--primary-color);
    margin-top: 5px;
}

.detail-item p {
    color: var(--text-light);
}

.map-section {
    padding: 80px 0;
    background-color: var(--white);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-faq-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

/* ================================
   CTA SECTION
================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 968px) {
    .logo-name {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-icon i {
        font-size: 1.3rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.98) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s ease;
        box-shadow: 0 10px 40px rgba(14, 165, 233, 0.2);
        padding: 30px 0;
        gap: 0;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0 20px;
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 18px 25px;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .nav-menu a i {
        font-size: 1.2rem;
    }

    .nav-menu li:last-child {
        margin-bottom: 20px;
    }

    .nav-menu li:last-child::after {
        content: '';
        display: block;
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
        margin: 20px auto 0;
    }

    .nav-appointment-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-slider {
        min-height: 600px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item {
        padding: 12px 18px;
    }

    .stat-item span {
        font-size: 0.85rem;
    }

    .hero-highlights {
        gap: 20px;
    }

    .highlight-box {
        padding: 20px;
        min-width: 120px;
    }

    .highlight-box i {
        font-size: 2rem;
    }

    .btn-hero {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 20px;
    }

    .slider-btn.next {
        right: 20px;
    }

    .about-content,
    .contact-content,
    .about-detail-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-detailed,
    .service-detailed.reverse {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-icon i {
        font-size: 1.1rem;
    }

    .logo-name {
        font-size: 0.95rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
        padding: 20px 0;
    }

    .nav-menu a {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .nav-menu a i {
        font-size: 1.1rem;
    }

    .nav-toggle span {
        width: 24px;
        height: 2.5px;
    }

    .hero-slider {
        height: auto;
        min-height: 600px;
    }

    .hero-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-bottom: 30px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .feature-chip {
        width: 100%;
        justify-content: center;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .highlight-box {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 30px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 30px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-buttons,
    .quick-contact-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   MOBILE BOTTOM NAVIGATION
================================ */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 8px 0 max(8px, env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.75rem;
        padding: 8px 12px;
        transition: all 0.3s ease;
        flex: 1;
        max-width: 80px;
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .mobile-nav-item span {
        font-size: 0.7rem;
        font-weight: 500;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
    }

    .mobile-nav-item.active i {
        transform: scale(1.1);
    }

    /* Add padding to body to prevent content from being hidden behind the mobile nav */
    body {
        padding-bottom: 70px;
    }
}
