/* =============================================
   Doctor Website - Main Stylesheet
   RTL Support - Arabic Language
   ============================================= */

:root {
    --primary: #1a6fc4;
    --secondary: #0d4f9e;
    --accent: #e8f4ff;
    --text-dark: #1a2332;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, #4a9edd 100%);
    --shadow: 0 10px 40px rgba(26, 111, 196, 0.15);
    --shadow-lg: 0 20px 60px rgba(26, 111, 196, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    background: #f8faff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

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

.preloader-ring {
    width: 70px;
    height: 70px;
    border: 5px solid var(--accent);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    padding: 0;
}

.navbar.scrolled {
    padding: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 5px 30px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 10px;
}

.nav-logo-placeholder {
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 900;
}

.nav-brand-text h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
    font-weight: 800;
}

.nav-brand-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--accent);
}

.nav-cta {
    background: var(--gradient) !important;
    color: white !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg) !important;
    background: var(--secondary) !important;
}

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

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ TICKER ============ */
.ticker-wrap {
    background: var(--gradient);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    margin-top: 80px;
}

.ticker-wrap .ticker-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--secondary);
    padding: 0 20px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 2;
    font-weight: 700;
    gap: 8px;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    animation: tickerScroll linear infinite;
    white-space: nowrap;
    padding-right: 100%;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    padding: 0 40px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ticker-item i {
    font-size: 0.85rem;
    opacity: 0.8;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(13,79,158,0.88) 0%, rgba(26,111,196,0.65) 50%, rgba(0,0,0,0.3) 100%);
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
    color: #7dd3fc;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--secondary);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255,255,255,0.25);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.stat-box h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.hero-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-doctor-card {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    padding: 30px;
    max-width: 380px;
    animation: fadeInRight 0.8s ease 0.4s both;
}

.hero-doctor-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.doctor-info-card {
    margin-top: 20px;
    color: white;
    text-align: center;
}

.doctor-info-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.doctor-info-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-nav-dots {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dot.active {
    background: white;
    transform: scale(1.3);
    border-color: rgba(255,255,255,0.5);
}

/* ============ SECTION STYLES ============ */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--accent);
}

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

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(26,111,196,0.2);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 4px;
    margin: 16px auto;
}

.section-desc {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255,255,255,0.5);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--gradient);
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin: 0;
}

.experience-badge p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* ============ SERVICES SECTION ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26,111,196,0.05);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px 0 0 4px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26,111,196,0.1);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.03;
    border-radius: 0;
}

.service-icon-wrap {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--gradient);
    color: white;
    transform: rotate(-5deg);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============ STATS COUNTER ============ */
.stats-section {
    background: var(--gradient);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: white;
    animation: fadeInUp 0.8s ease;
}

.stat-item .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ============ GALLERY SECTION ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,79,158,0.9), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid rgba(26,111,196,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent);
    font-family: serif;
    line-height: 1;
    opacity: 0.5;
}

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

.stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
}

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

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--primary);
    margin: 0;
    font-style: normal;
}

/* ============ APPOINTMENTS SECTION ============ */
.appointment-section {
    background: var(--gradient);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.appointment-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

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

.form-label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: white;
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,111,196,0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: var(--gradient);
    border-radius: 24px;
    padding: 40px;
    color: white;
    position: sticky;
    top: 100px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 800;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item p, .contact-item a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

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

.map-embed {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    border: none;
}

/* ============ FOOTER ============ */
.footer {
    background: #0a1628;
    color: rgba(255,255,255,0.8);
    padding: 70px 0 30px;
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #7dd3fc;
    padding-right: 5px;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: var(--primary);
}

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

.footer-bottom p {
    font-size: 0.85rem;
}

/* ============ WHATSAPP BUTTON ============ */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 12px 35px rgba(37,211,102,0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 8px 25px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0.1); }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ MODALS & LIGHTBOX ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* ============ SUCCESS/ERROR ALERTS ============ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-content-wrap { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .hero-image-side { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; position: fixed; top: 80px; left: 0; right: 0; background: white; padding: 20px; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 999; }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .appointment-card { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 15px; }
    .hero-content-wrap { padding: 60px 15px; }
    .hero-title { font-size: 1.8rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-nav-dots { display: none; }
}

/* ============ CUSTOM SECTIONS ============ */
.custom-section {
    padding: 60px 0;
}

.custom-section-inner {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============ TRANSLATION WIDGET ============ */
#gtranslate_wrapper {
    position: fixed;
    top: 90px;
    left: 10px;
    z-index: 950;
}
