    /* Modern Fertility Clinic Design - Inspired by mom.ir and baharanfertility.com */

/* Global overflow fix to prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

:root {
    /* Primary Colors - Updated Palette */
    --primary-blue: #2DAAE1;    /* آبی فیروزه‌ای - رنگ اصلی لوگو */
    --secondary-blue: #1E6FA8;  /* آبی پررنگ‌تر - hover و تأکید */
    --accent-blue: #43ACD9;
    --highlight-orange: #4fe5ff; /* آبی ملایم - call-to-action خاص */
    --neutral-light: #F5F7FA;   /* خاکستری روشن - پس‌زمینه */
    --neutral-medium: #9CA3AF;  /* خاکستری متوسط - متن توضیحی */
    --light-gray: #F8FAFC;      /* خاکستری خیلی روشن */
    --gray: #6B7280;            /* خاکستری متوسط */
    --soft-blue: #F0F8FF;       /* آبی خیلی ملایم */

    /* Supporting Colors */
    --white: #FFFFFF;
    --text-dark: #2C3E50;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #2DAAE1 0%, #1E6FA8 100%);
    --gradient-secondary: linear-gradient(135deg, #4CAF50 0%, #2DAAE1 100%);
    --gradient-soft: linear-gradient(135deg, #F5F7FA 0%, rgba(45, 170, 225, 0.1) 100%);

    /* Shadows */
    --shadow-light: 0 2px 10px rgba(45, 170, 225, 0.1);
    --shadow-medium: 0 4px 20px rgba(45, 170, 225, 0.15);
    --shadow-heavy: 0 8px 30px rgba(45, 170, 225, 0.2);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* Enhanced Services Section Styles */
.services-modern-enhanced {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float-shape 20s linear infinite;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    top: 10%;
    left: -50px;
    animation-delay: 0s;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-blue);
    top: 60%;
    right: -30px;
    animation-delay: 5s;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    background: var(--highlight-orange);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float-shape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

.service-image-wrapper {
    position: relative;
    z-index: 2;
}

.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(45, 170, 225, 0.15);
}

.services-main-image {
    transition: var(--transition-smooth);
    transform: scale(1);
}

.services-main-image:hover {
    transform: scale(1.05);
}

.floating-achievement-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    padding: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(45, 170, 225, 0.3);
    z-index: 5;
    animation: pulse-badge 3s ease-in-out infinite;
}

.floating-achievement-badge i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.floating-achievement-badge span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(45, 170, 225, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(45, 170, 225, 0.5); }
}

.service-content-enhanced {
    position: relative;
    z-index: 2;
}

.title-decoration {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 2px;
}

.title-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-medium);
    line-height: 1.6;
}

.enhanced-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 30px 0;
}

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

.btn-services-primary, .btn-services-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-services-primary::before, .btn-services-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-services-primary:hover::before, .btn-services-secondary:hover::before {
    left: 100%;
}

.btn-services-primary span, .btn-services-secondary span {
    position: relative;
    z-index: 2;
}

.btn-services-primary i, .btn-services-secondary i {
    position: relative;
    z-index: 2;
}

.btn-services-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
}

.btn-services-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 170, 225, 0.4);
    color: white;
}

.btn-services-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-services-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 170, 225, 0.3);
}

.services-features-grid {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.service-feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(45, 170, 225, 0.1);
    border: 1px solid rgba(45, 170, 225, 0.1);
    position: relative;
    overflow: hidden;
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.service-feature-card:hover::before {
    transform: scaleX(1);
}

.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 170, 225, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transition: var(--transition-smooth);
}

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

.service-feature-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-feature-card p {
    color: var(--neutral-medium);
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.service-feature-card:hover .feature-link {
    color: var(--accent-blue);
}

.services-success-section {
    border-top: 1px solid rgba(45, 170, 225, 0.1);
    position: relative;
    z-index: 2;
}

.success-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.success-description {
    font-size: 1.1rem;
    color: var(--neutral-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-blue) 0deg, var(--accent-blue) 270deg, var(--neutral-light) 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    transition: var(--transition-smooth);
}

.stat-circle::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.success-testimonial {
    position: relative;
    z-index: 2;
}

.testimonial-card-inline {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(45, 170, 225, 0.1);
    position: relative;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.testimonial-card-inline p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.author-details h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-details span {
    color: var(--neutral-medium);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-modern-enhanced {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-action-buttons {
        justify-content: center;
    }
    
    .floating-achievement-badge {
        position: static;
        margin: 20px auto 0;
        width: fit-content;
    }
    
    .stats-container {
        justify-content: center;
        gap: 20px;
    }
    
    .testimonial-card-inline {
        padding: 30px 20px;
    }
}

/* Medical Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2DAAE1 0%, #1E6FA8 50%, #4CAF50 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1002; /* بالاتر از همه عناصر */
    opacity: 1;
    visibility: visible;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite" begin="1s"/></circle><circle cx="50" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="2.5s" repeatCount="indefinite" begin="2s"/></circle></svg>') repeat;
    animation: float-background 20s linear infinite;
}

.loading-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Logo in Loading Screen */
.loading-logo {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    animation: pulse-logo 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.loading-logo img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.loading-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue), var(--primary-blue));
    animation: rotate-border 3s linear infinite;
    z-index: -1;
}

.loading-logo::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    z-index: -1;
}

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

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* DNA Helix Animation */
.dna-helix {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate-dna 4s linear infinite;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--white), rgba(255,255,255,0.3), var(--white));
    border-radius: 2px;
    transform-origin: center;
}

.dna-strand:nth-child(1) {
    left: 30%;
    animation: wave-left 2s ease-in-out infinite;
}

.dna-strand:nth-child(2) {
    right: 30%;
    animation: wave-right 2s ease-in-out infinite;
}

/* Embryo/Fetus Animation */
.medical-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse-medical 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.medical-symbol::before {
    content: '🤱';
    filter: grayscale(100%) brightness(0) invert(1);
}

/* Circular Progress */
.loading-progress {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid var(--secondary-blue);
    border-right: 4px solid var(--secondary-blue);
    border-radius: 50%;
    animation: spin-progress 2s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-progress-secondary {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255,255,255,0.1);
    border-bottom: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin-progress 3s linear infinite reverse;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-text {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin-top: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fade-text 2s ease-in-out infinite;
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #e6f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fade-text {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

/* Animations */
@keyframes rotate-dna {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes wave-left {
    0%, 100% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(-10px) scaleY(1.2); }
}

@keyframes wave-right {
    0%, 100% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(10px) scaleY(1.2); }
}

@keyframes pulse-medical {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes spin-progress {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fade-text {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

@keyframes float-background {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

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

body {
    font-family: 'Vazir', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    direction: rtl;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazir', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 700;
}

p, span, div, a, li, td, th {
    font-family: 'Vazir', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

.container-fluid {
    padding: 0 15px;
}

/* Professional Medical Header - Glass Morphism Design */
.modern-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999; /* کمتر از mobile menu */
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-header.scrolled {
    box-shadow: 0 8px 32px rgba(45, 170, 225, 0.2);
    background: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(45, 170, 225, 0.3);
}

.modern-header.top-transparent {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.modern-header.top-transparent .minimal__nav__ul {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modern-header.top-transparent .minimal__nav__item__root {
    color: var(--white) !important;
}

.modern-header.top-transparent .minimal__nav__item__root:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
}

.modern-header.top-transparent .minimal__nav__item__root--active {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
}

/* Modern Glass Morphism Navigation */
.MuiContainer-root {
    background: transparent !important;
    box-shadow: none !important;
}

.minimal__nav__ul {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 8px 16px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.minimal__nav__item__root {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 12px 20px !important;
    border-radius: 15px !important;
    transition: var(--transition-smooth);
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    min-height: 44px;
}

.minimal__nav__item__root:hover {
    background: rgba(45, 170, 225, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 170, 225, 0.3);
    color: var(--primary-blue) !important;
}

.minimal__nav__item__root--active {
    background: rgba(45, 170, 225, 0.2) !important;
    color: var(--primary-blue) !important;
    box-shadow: 0 4px 15px rgba(45, 170, 225, 0.4);
}

.minimal__nav__item__root svg {
    display: none !important; /* Remove icons as requested */
}

.minimal__nav__item__root span {
    font-family: 'Vazir', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.minimal__logo__root {
    background: transparent !important;
    padding: 8px 16px !important;
    border-radius: 15px !important;
    margin: 0 16px;
    transition: var(--transition-smooth);
}

.minimal__logo__root:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
}

.minimal__logo__root img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(45, 170, 225, 0.3));
    transition: var(--transition-fast);
}

.minimal__logo__root:hover img {
    filter: drop-shadow(0 4px 15px rgba(45, 170, 225, 0.5));
}

/* Language Selector Styling */
.MuiBox-root .MuiFormControl-root {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 4px 8px !important;
}

.MuiBox-root .MuiInputBase-root {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.MuiBox-root .MuiSelect-select {
    font-family: 'Vazir', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-size: 13px !important;
    color: var(--text-dark) !important;
    padding: 8px 12px !important;
}

.MuiBox-root .MuiSvgIcon-root {
    color: var(--primary-blue) !important;
}

/* Mobile Menu Toggle - Glass Effect */
.MuiIconButton-root {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 44px !important;
    height: 44px !important;
    transition: var(--transition-smooth);
}

.MuiIconButton-root:hover {
    background: rgba(45, 170, 225, 0.2) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(45, 170, 225, 0.4);
}

.MuiIconButton-root svg {
    font-size: 20px !important;
    color: var(--primary-blue) !important;
}

/* RTL Support Classes */
.rtl-kr7xoi,
.rtl-18oi841,
.rtl-1fep3n5,
.rtl-8lk7nz,
.rtl-vwj4xy,
.rtl-233int,
.rtl-13jpv8d,
.rtl-18als15,
.rtl-16bqrw8,
.rtl-1m9eiu1,
.rtl-mc5tm3,
.rtl-mxmcl7,
.rtl-1vre1hg,
.rtl-1me5fwp,
.rtl-1wghaj3,
.rtl-1qk38wv,
.rtl-18y0dfc,
.rtl-vr1jqd,
.rtl-147e5lo,
.rtl-1v65noc,
.rtl-b5uur2,
.rtl-w4cd9x,
.rtl-10iahqc,
.rtl-0,
.rtl-zje0t0 {
    direction: rtl !important;
    text-align: right !important;
}

/* Iconify Icons - Hide as requested */
.minimal__iconify__root {
    display: none !important;
}

.iconify {
    display: none !important;
}

/* Ensure proper spacing and alignment */
.MuiTypography-root {
    font-family: 'Vazir', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

.MuiLink-root {
    text-decoration: none !important;
    color: inherit !important;
}

.MuiStack-root {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

.navbar-modern {
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar-modern .container {
    max-width: 1400px;
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 5px;
}

.navbar-brand-modern:hover {
    opacity: 0.8;
}

.logo-modern {
    height: 55px;
    width: auto;
    margin-left: 20px;
    filter: drop-shadow(0 2px 4px rgba(45, 170, 225, 0.3));
    transition: var(--transition-fast);
}

.navbar-brand-modern:hover .logo-modern {
    filter: drop-shadow(0 4px 8px rgba(45, 170, 225, 0.4));
}

.clinic-name {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    background: linear-gradient(135deg, #2DAAE1 0%, #1E6FA8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(45, 170, 225, 0.1);
    position: relative;
}

.clinic-name:hover {
    transform: scale(1.02);
    text-shadow: 0 3px 6px rgba(45, 170, 225, 0.15);
}

.clinic-name::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-brand-modern:hover .clinic-name::after {
    width: 100%;
}

/* Professional Navigation Menu */
.nav-menu-modern {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap; /* Prevent wrapping to multiple lines */
    white-space: nowrap; /* Keep text on single line */
}

.nav-item-modern {
    position: relative;
    flex-shrink: 0; /* Prevent items from shrinking too much */
}

.nav-link-modern {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: transparent;
    border: none;
}

.nav-link-modern i {
    font-size: 14px;
    transition: var(--transition-fast);
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
}

.nav-link-modern:hover::before {
    width: 100%;
}

.nav-link-modern:hover {
    color: var(--primary-blue);
}

.nav-link-modern:hover i {
    color: var(--primary-blue);
}

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

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 12px !important;
    margin-right: 5px;
    transition: var(--transition-fast);
}

.dropdown-modern:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu-modern {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1000;
    border: 1px solid rgba(45, 170, 225, 0.1);
}

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

.dropdown-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.dropdown-item-modern:hover {
    background: rgba(45, 170, 225, 0.05);
    color: var(--primary-blue);
    padding-right: 25px;
}

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

/* Special CTA Button in Navigation */
.nav-item-modern .btn-modern-primary {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid var(--primary-blue);
    background: var(--primary-blue);
    color: var(--white);
    transition: var(--transition-fast);
}

.nav-item-modern .btn-modern-primary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: transparent;
    transition: var(--transition-fast);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 1001; /* بالاتر از navbar */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border-left: 4px solid var(--primary-blue);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 0 0 20px;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(45, 170, 225, 0.1);
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
    max-width: 320px;
    margin: 0 auto;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.mobile-menu-brand span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--neutral-medium);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.mobile-menu-close:hover {
    color: var(--primary-blue);
    background: rgba(45, 170, 225, 0.1);
    transform: scale(1.1);
}

.mobile-nav-menu {
    list-style: none;
    text-align: right;
    padding: 0 20px;
    margin: 0;
    flex-grow: 1;
    max-width: 320px;
    margin: 0 auto;
}

.mobile-nav-item {
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-fast);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInMobile 0.5s ease forwards;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 5px 0;
    position: relative;
    justify-content: flex-start;
    border-right: 3px solid transparent;
}

.mobile-nav-link:hover {
    color: var(--primary-blue);
    background: rgba(45, 170, 225, 0.08);
    transform: translateX(5px);
    border-right-color: var(--primary-blue);
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: var(--primary-blue);
}

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

/* Search Box */
.search-container-modern {
    position: relative;
    margin-right: 20px;
}

.search-input-modern {
    padding: 10px 15px 10px 40px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: #ffffff;
    transition: var(--transition-fast);
    width: 200px;
    outline: none;
    font-size: 16px;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input-modern:focus {
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: var(--shadow-light);
}

/* Mobile Search in Menu */
.mobile-menu-overlay .search-input-modern {
    width: 100%;
    margin: 0;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(45, 170, 225, 0.2);
    font-size: 16px;
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay .search-container-modern {
    margin: 0;
    padding: 0 20px;
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.mobile-menu-overlay .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-medium);
    font-size: 16px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-medium);
}

/* Hero Section */
.hero-modern {
    min-height: 100vh;
    background: linear-gradient(135deg, #F5F7FA 0%, rgba(45, 170, 225, 0.15) 50%, rgba(76, 175, 80, 0.1) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad1)"><animate attributeName="cx" values="200;800;200" dur="20s" repeatCount="indefinite"/></circle><circle cx="800" cy="600" r="200" fill="url(%23grad1)"><animate attributeName="cy" values="600;200;600" dur="15s" repeatCount="indefinite"/></circle></svg>') no-repeat center;
    opacity: 0.3;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-shape {
    position: absolute;
    opacity: 0.15;
    animation: float-3d 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-shape img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero-shape:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    top: 60%;
    right: 12%;
    animation-delay: 3s;
}

.hero-shape:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-3d {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
        opacity: 0.15;
    }
    25% {
        transform: translateY(-15px) rotateY(90deg);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-30px) rotateY(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-15px) rotateY(270deg);
        opacity: 0.25;
    }
}

/* Enhanced Decorative Background Elements */
.hero-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Floating Geometric Shapes with Subtle Effects */
.decorative-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(45, 170, 225, 0.1), rgba(76, 175, 80, 0.05));
    border: 1px solid rgba(45, 170, 225, 0.15);
    animation: shape-float 8s ease-in-out infinite, subtle-glow 4s ease-in-out infinite;
    backdrop-filter: blur(2px);
    opacity: 0.7;
}

.shape-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(45, 170, 225, 0.2);
}

.shape-square {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(155, 89, 182, 0.1);
    border-bottom-color: rgba(155, 89, 182, 0.1);
    background: none;
    border: none;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.2);
}


@keyframes shape-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

@keyframes subtle-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Particle Effects */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    animation: particle-float 12s linear infinite;
    box-shadow: 0 0 6px rgba(45, 170, 225, 0.4);
    opacity: 0.5;
}

.particle-1 { top: 30%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 50%; left: 80%; animation-delay: 1s; }
.particle-3 { top: 70%; left: 40%; animation-delay: 2s; }
.particle-4 { top: 20%; left: 60%; animation-delay: 3s; }
.particle-5 { top: 80%; left: 10%; animation-delay: 4s; }
.particle-6 { top: 40%; left: 80%; animation-delay: 5s; }
.particle-7 { top: 10%; left: 40%; animation-delay: 6s; }
.particle-8 { top: 90%; left: 70%; animation-delay: 7s; }
.particle-9 { top: 25%; left: 30%; animation-delay: 8s; }
.particle-10 { top: 65%; left: 75%; animation-delay: 9s; }
.particle-11 { top: 15%; left: 75%; animation-delay: 10s; }
.particle-12 { top: 85%; left: 25%; animation-delay: 11s; }
.particle-13 { top: 35%; left: 15%; animation-delay: 12s; }
.particle-14 { top: 75%; left: 80%; animation-delay: 13s; }
.particle-15 { top: 5%; left: 65%; animation-delay: 14s; }
.particle-16 { top: 95%; left: 45%; animation-delay: 15s; }

@keyframes particle-float {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-25px) translateX(12px) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50px) translateX(-6px) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-25px) translateX(-15px) scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    background: transparent;
    overflow: visible;
    border: none;
    margin: 0;
    box-shadow: none;
}

/* Legacy hero-title class - deprecated */
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 25px;
    opacity: 1;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none;
}

/* Enhanced Hero Title */
.hero-title {
    font-size: clamp(32px, 6vw, 54px) !important;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg,
        rgba(45, 170, 225, 0.7) 0%,
        rgba(30, 111, 168, 0.8) 25%,
        rgba(45, 170, 225, 0.7) 50%,
        rgba(30, 111, 168, 0.8) 75%,
        rgba(45, 170, 225, 0.7) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtleGradientShift 8s ease-in-out infinite;
    transition: all 0.5s ease;
    text-shadow: 0 0 15px rgba(45, 170, 225, 0.3),
                 0 0 25px rgba(45, 170, 225, 0.15);
    filter: drop-shadow(0 3px 6px rgba(45, 170, 225, 0.12));
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
    position: relative;
    display: inline;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(45, 170, 225, 0.06) 30%,
        rgba(30, 111, 168, 0.08) 50%,
        rgba(45, 170, 225, 0.06) 70%,
        transparent 100%);
    background-size: 200% 200%;
    animation: subtleShimmer 6s linear infinite;
    pointer-events: none;
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 40%,
        transparent 60%);
    background-size: 200% 200%;
    animation: subtleInnerGlow 6s ease-in-out infinite;
    pointer-events: none;
    border-radius: 6px;
    z-index: 1;
    opacity: 0.7;
}

.hero-title:hover {
    text-shadow: 0 0 25px rgba(45, 170, 225, 0.5),
                 0 0 40px rgba(45, 170, 225, 0.25);
    filter: drop-shadow(0 5px 10px rgba(45, 170, 225, 0.15));
    transform: scale(1.01);
}

/* Mobile Responsive Enhanced Hero Title */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(24px, 4vw, 36px) !important;
        text-align: center;
        display: inline;
    }

    .hero-title::before {
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(20px, 3vw, 28px) !important;
        line-height: 1.2;
        display: inline;
    }
}

/* Enhanced Text Gradient Class */
.text-gradient {
    font-size: clamp(32px, 6vw, 54px) !important;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg,
        rgba(45, 170, 225, 0.7) 0%,
        rgba(30, 111, 168, 0.8) 25%,
        rgba(45, 170, 225, 0.7) 50%,
        rgba(30, 111, 168, 0.8) 75%,
        rgba(45, 170, 225, 0.7) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline;
    animation: subtleGradientShift 8s ease-in-out infinite;
    transition: all 0.5s ease;
    text-shadow: 0 0 15px rgba(45, 170, 225, 0.3),
                 0 0 25px rgba(45, 170, 225, 0.15);
    filter: drop-shadow(0 3px 6px rgba(45, 170, 225, 0.12));
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
}

.text-gradient::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(45, 170, 225, 0.06) 30%,
        rgba(30, 111, 168, 0.08) 50%,
        rgba(45, 170, 225, 0.06) 70%,
        transparent 100%);
    background-size: 200% 200%;
    animation: subtleShimmer 6s linear infinite;
    pointer-events: none;
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
}

.text-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 40%,
        transparent 60%);
    background-size: 200% 200%;
    animation: subtleInnerGlow 6s ease-in-out infinite;
    pointer-events: none;
    border-radius: 6px;
    z-index: 1;
    opacity: 0.7;
}

.text-gradient:hover {
    text-shadow: 0 0 25px rgba(45, 170, 225, 0.5),
                 0 0 40px rgba(45, 170, 225, 0.25);
    filter: drop-shadow(0 5px 10px rgba(45, 170, 225, 0.15));
    transform: scale(1.01);
}

/* Stunning Gradient Animations */
@keyframes stunningGradient {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    20% {
        background-position: 50% 0%;
        transform: scale(1.01);
    }
    40% {
        background-position: 100% 50%;
        transform: scale(1.02);
    }
    60% {
        background-position: 50% 100%;
        transform: scale(1.01);
    }
    80% {
        background-position: 0% 50%;
        transform: scale(1);
    }
}

@keyframes textGlowPulse {
    0%, 100% {
        text-shadow: 0 0 30px rgba(45, 170, 225, 0.6),
                     0 0 50px rgba(45, 170, 225, 0.3),
                     0 0 80px rgba(30, 111, 168, 0.2);
    }
    25% {
        text-shadow: 0 0 40px rgba(45, 170, 225, 0.8),
                     0 0 70px rgba(45, 170, 225, 0.4),
                     0 0 100px rgba(30, 111, 168, 0.3);
    }
    50% {
        text-shadow: 0 0 50px rgba(45, 170, 225, 1),
                     0 0 80px rgba(45, 170, 225, 0.5),
                     0 0 120px rgba(30, 111, 168, 0.4);
    }
    75% {
        text-shadow: 0 0 40px rgba(45, 170, 225, 0.8),
                     0 0 70px rgba(45, 170, 225, 0.4),
                     0 0 100px rgba(30, 111, 168, 0.3);
    }
}

@keyframes subtleGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes subtleShimmer {
    0% {
        background-position: -200% 0;
        opacity: 0.2;
    }
    50% {
        background-position: 0% 50%;
        opacity: 0.4;
    }
    100% {
        background-position: 200% 100%;
        opacity: 0.2;
    }
}

@keyframes subtleInnerGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.01);
    }
}

/* Responsive Enhanced Text Gradient */
@media (max-width: 1024px) {
    .text-gradient {
        font-size: clamp(28px, 5vw, 48px) !important;
        display: inline;
    }

    .text-gradient::before {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
    }
}

@media (max-width: 768px) {
    .text-gradient {
        font-size: clamp(24px, 4vw, 36px) !important;
        text-align: center;
        display: inline;
    }

    .text-gradient::before {
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
    }
}

@media (max-width: 480px) {
    .text-gradient {
        font-size: clamp(20px, 3vw, 28px) !important;
        line-height: 1.2;
        display: inline;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--neutral-medium);
    margin-bottom: 45px;
    opacity: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    animation: slideInUp 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 1s ease 0.9s forwards;
}

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

@keyframes text-glow {
    0% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
    }
    100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

/* Modern Buttons */
.btn-modern-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-modern-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.btn-modern-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

/* Services Section */
.services-modern {
    padding: 100px 0;
    background: var(--white);
}

.section-title-modern {
    text-align: center;
    margin-bottom: 60px;
    transition: all 0.3s ease;
    cursor: default;
}

.section-title-modern:hover {
    transform: translateY(-5px);
}

.section-title-modern:hover h2.testimonial-title {
    text-shadow: 0 0 20px rgba(30, 111, 168, 0.5),
                 0 0 30px rgba(30, 111, 168, 0.3);
    transform: scale(1.02);
}

.section-title-modern:hover p {
    color: var(--text-dark);
    transform: translateY(-2px);
}

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

.section-title-modern h2.testimonial-title {
    color: var(--secondary-blue);
    font-size: 3.5rem !important;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: testimonialTitleAnimation 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards;
    position: relative;
    display: inline-block;
}

.section-title-modern h2.testimonial-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(30, 111, 168, 0.1) 30%,
        rgba(30, 111, 168, 0.2) 50%,
        rgba(30, 111, 168, 0.1) 70%,
        transparent 100%);
    background-size: 200% 200%;
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    animation: testimonialShimmer 3s ease-in-out 1.5s infinite;
}

.section-title-modern p {
    font-size: 1.2rem;
    color: var(--neutral-medium);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: testimonialTextAnimation 1s ease 0.8s forwards;
    position: relative;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(156, 163, 175, 0.1) 40%,
        transparent 100%);
    border-radius: 8px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.section-title-modern p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-blue), transparent);
    transition: all 0.5s ease 1.3s;
    transform: translateX(-50%);
}

.section-title-modern:hover p::after {
    width: 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--white);
}

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

.service-card p {
    color: var(--neutral-medium);
    line-height: 1.8;
}

/* Responsive Design */
/* Medium screens (tablets) - prevent menu wrapping */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu-modern {
        gap: 20px; /* Reduce gap between menu items */
    }
    
    .nav-link-modern {
        font-size: 14px; /* Slightly smaller font */
        padding: 6px 0;
    }
    
    .navbar-modern .container {
        max-width: 100%; /* Use full container width */
        padding: 0 20px;
    }

    .section-title-modern h2.testimonial-title {
        font-size: 3rem !important;
    }
}

/* Small tablets - further adjustments */
@media (max-width: 900px) and (min-width: 769px) {
    .nav-menu-modern {
        gap: 15px; /* Even smaller gap */
    }
    
    .nav-link-modern {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .clinic-name {
        font-size: 20px; /* Smaller clinic name */
    }

    .logo-modern {
        height: 50px; /* Smaller logo */
    }

    .section-title-modern h2.testimonial-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-modern {
        display: none;
    }
    
    .navbar-modern {
        padding: 0.8rem 0;
    }
    
    .logo-modern {
        height: 45px;
    }
    
    .clinic-name {
        font-size: 22px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .search-container-modern {
        margin: 10px 0;
    }
    
    .search-input-modern {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title-modern h2 {
        font-size: 2rem;
    }

    .floating-elements {
        display: none !important;
    }

    .section-title-modern h2.testimonial-title {
        font-size: 2.8rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn-modern-primary,
    .btn-modern-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .clinic-name {
        font-size: 18px;
    }

    .logo-modern {
        height: 40px;
    }

    .section-title-modern h2.testimonial-title {
        font-size: 2.2rem !important;
    }

    /* Mobile Menu Responsive - Full Width */
    .mobile-menu-overlay {
        width: 100vw; /* تمام صفحه */
    }

    .mobile-menu-header {
        padding: 15px 20px;
        max-width: none;
        margin: 0;
    }

    .mobile-logo {
        width: 30px;
        height: 30px;
    }

    .mobile-menu-brand span {
        font-size: 14px;
    }

    .mobile-menu-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .mobile-nav-menu {
        padding: 0 20px;
        max-width: none;
        margin: 0;
    }

    .mobile-nav-link {
        font-size: 14px;
        padding: 10px 15px;
        gap: 12px;
    }

    .mobile-nav-link i {
        width: 18px;
        font-size: 16px;
    }

    /* Mobile Search in Menu - Full Width */
    .mobile-menu-overlay .search-input-modern {
        max-width: none;
        margin: 0 20px;
    }

    .mobile-menu-overlay .search-container-modern {
        max-width: none;
        margin: 0;
        padding: 0 20px;
    }
}

@media (max-width: 360px) {
    .mobile-menu-overlay {
        width: 100vw; /* تمام صفحه */
    }

    .mobile-menu-header {
        padding: 12px 15px;
    }

    .mobile-logo {
        width: 25px;
        height: 25px;
    }

    .mobile-menu-brand span {
        font-size: 13px;
    }

    .mobile-menu-close {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .mobile-nav-menu {
        padding: 0 15px;
    }

    .mobile-nav-link {
        font-size: 13px;
        padding: 8px 12px;
        gap: 10px;
    }

    .mobile-nav-link i {
        width: 16px;
        font-size: 14px;
    }

    /* Mobile Search in Menu - Full Width */
    .mobile-menu-overlay .search-input-modern {
        margin: 0 15px;
    }

    .mobile-menu-overlay .search-container-modern {
        padding: 0 15px;
    }
}

/* PWA Install Button */
.pwa-install-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-fast);
    display: none;
    z-index: 998; /* کمتر از navbar */
}

.pwa-install-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.pwa-install-button.show {
    display: block;
    animation: slideInRight 0.5s ease;
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998; /* کمتر از navbar */
}

.scroll-to-top i {
    font-size: 18px;
    line-height: 1;
}

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

.scroll-to-top:hover {
    transform: translateY(-3px);
    color: var(--white);
}

/* Hero Section Enhancements */
.hero-main-image {
    max-width: 100%;
    height: auto;
    animation: gentle-bounce 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(45, 170, 225, 0.4));
    transition: var(--transition-smooth);
}

.hero-main-image:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    filter: drop-shadow(0 20px 40px rgba(45, 170, 225, 0.5));
}

.hero-image-wrapper {
    position: relative;
    animation: slideInRight 1.2s ease 1s forwards;
    opacity: 0;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-card i {
    font-size: 20px;
    color: var(--primary-blue);
}

.floating-card-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    top: 60%;
    left: -15%;
    animation-delay: 1.5s;
}

.floating-card-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}


@keyframes gentle-bounce {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-5px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-5px) rotate(-1deg); 
    }
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
}

.trust-item {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    height: 100%;
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Testimonial Modern */
.testimonial-modern {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 0 15px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: var(--primary-blue);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-blue);
}

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

.author-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-info span {
    font-size: 14px;
    color: var(--neutral-medium);
}

/* Modern Gallery Slider with Swiper */
.gallery-modern {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

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

/* Swiper Gallery Styles */
.gallery-swiper {
    width: 100%;
    padding: 20px 0 60px;
    overflow: visible;
}

.gallery-swiper .swiper-wrapper {
    align-items: center;
}

.gallery-swiper .swiper-slide {
    width: 350px;
    height: 450px;
    transition: transform 0.3s ease;
}

.gallery-swiper .swiper-slide-active {
    transform: scale(1.05);
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 170, 225, 0.85), rgba(30, 111, 168, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(2px);
}

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

.gallery-overlay i {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-overlay h5 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h5 {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Swiper Navigation */
.gallery-nav-next,
.gallery-nav-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(45, 170, 225, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-nav-next:hover,
.gallery-nav-prev:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(45, 170, 225, 0.4);
}

.gallery-nav-next i,
.gallery-nav-prev i {
    font-size: 20px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.gallery-nav-next:hover i,
.gallery-nav-prev:hover i {
    color: var(--white);
}

.gallery-nav-prev {
    right: 20px;
}

.gallery-nav-next {
    left: 20px;
}

/* Custom Swiper Pagination */
.gallery-pagination {
    bottom: 20px !important;
    text-align: center;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(45, 170, 225, 0.3);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.gallery-pagination .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-pagination .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.gallery-pagination .swiper-pagination-bullet-active::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.gallery-pagination .swiper-pagination-bullet:hover {
    transform: scale(1.2);
}

/* Responsive Gallery Swiper */
@media (max-width: 992px) {
    .gallery-swiper .swiper-slide {
        width: 320px;
        height: 400px;
    }
    
    .gallery-nav-next,
    .gallery-nav-prev {
        width: 50px;
        height: 50px;
    }
    
    .gallery-nav-next i,
    .gallery-nav-prev i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .gallery-modern {
        padding: 80px 0 60px;
    }
    
    .gallery-container {
        padding: 0 10px;
    }
    
    .gallery-swiper {
        padding: 20px 0 50px;
    }
    
    .gallery-swiper .swiper-slide {
        width: 280px;
        height: 350px;
    }
    
    .gallery-nav-next,
    .gallery-nav-prev {
        display: none; /* Hide navigation on mobile */
    }
    
    .gallery-overlay i {
        font-size: 36px;
    }
    
    .gallery-overlay h5 {
        font-size: 16px;
    }
    
    .gallery-pagination {
        bottom: 15px !important;
    }
    
    .gallery-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .gallery-swiper .swiper-slide {
        width: 250px;
        height: 300px;
    }
    
    .gallery-overlay i {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .gallery-overlay h5 {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .gallery-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: lightboxSlideIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    padding: 20px 25px;
    text-align: center;
    background: var(--white);
}

.lightbox-caption h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.lightbox-caption p {
    margin: 0;
    font-size: 14px;
    color: var(--neutral-medium);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

@keyframes lightboxSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Enhanced Gallery Item Hover Effect */
.gallery-item {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 170, 225, 0.85), rgba(30, 111, 168, 0.85));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

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

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-15deg);
    color: var(--white);
    font-size: 40px;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* Gallery Item Loading Animation */
.gallery-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s infinite;
}

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

/* Smooth Gallery Navigation Enhancement */
.gallery-nav {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.gallery-nav:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(45, 170, 225, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Gallery Dots Enhancement */
.gallery-dot {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.gallery-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.gallery-dot.active::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.gallery-dot:hover::before {
    transform: translate(-50%, -50%) scale(1.3);
}

/* Progressive Image Loading */
.gallery-image {
    transition: all 0.5s ease;
    opacity: 0;
}

.gallery-image.loaded {
    opacity: 1;
}

.gallery-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s infinite;
}

/* Gallery Section Title Animation */
.gallery-modern .section-title-modern h2 {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Auto-scroll Gallery Enhancement */
.gallery-slider {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-item {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

/* Tablet Gallery Responsive */
@media (max-width: 992px) {
    .gallery-item {
        flex: 0 0 320px;
        height: 380px;
    }
    
    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .gallery-nav.prev {
        left: 15px;
    }
    
    .gallery-nav.next {
        right: 15px;
    }
}

/* Mobile Gallery Responsive */
@media (max-width: 768px) {
    .gallery-modern {
        padding: 80px 0 60px;
    }
    
    .gallery-item {
        flex: 0 0 280px;
        height: 320px;
    }
    
    .gallery-nav {
        display: none;
    }
    
    .gallery-slider {
        padding: 10px 15px;
        gap: 15px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-dots {
        margin-top: 25px;
        gap: 8px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
        border-radius: 10px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: 15px;
        left: 15px;
    }
    
    .lightbox-prev {
        right: 15px;
    }
    
    .lightbox-next {
        left: 15px;
    }
    
    .lightbox-caption {
        padding: 15px 20px;
    }
    
    .lightbox-caption h4 {
        font-size: 16px;
    }
    
    .lightbox-caption p {
        font-size: 13px;
    }
}

/* Small Mobile Gallery Responsive */
@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 250px;
        height: 280px;
    }
    
    .gallery-slider {
        padding: 10px;
        gap: 10px;
    }
    
    .gallery-item::after {
        font-size: 30px;
    }
    
    .lightbox-content {
        max-width: 98%;
        max-height: 98%;
        border-radius: 8px;
    }
    
    .lightbox-content img {
        max-height: 60vh;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 10px;
        left: 10px;
    }
    
    .lightbox-prev {
        right: 10px;
    }
    
    .lightbox-next {
        left: 10px;
    }
    
    .lightbox-caption {
        padding: 12px 15px;
    }
}

/* FAQ Modern */
.faq-modern {
    padding: 100px 0;
    background: var(--white);
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-fast);
}

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

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--neutral-light);
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--soft-blue);
}

.faq-question h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content {
    padding-top: 20px;
    color: var(--neutral-medium);
    line-height: 1.8;
}

/* Blog Modern */
.blog-modern {
    padding: 100px 0;
    background: var(--neutral-light);
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 30px 25px;
}

.blog-content h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.blog-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-content h4 a:hover {
    color: var(--primary-blue);
}

.blog-content p {
    color: var(--neutral-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.read-more-link:hover {
    color: var(--highlight-orange);
}

/* Map Section */
.map-section {
    padding: 0;
    background: var(--white);
}

#osm-map {
    box-shadow: var(--shadow-medium);
}

/* Service Link */
.service-link {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--highlight-orange);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards;
}

.slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease forwards;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1s ease forwards;
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Hover Animations */
.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(45, 170, 225, 0.4);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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


/* Modern Footer */
.footer-modern {
    background: #52B4DD;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Footer Decorative Background */
.footer-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Footer Decorative Shapes */
.footer-modern .decorative-shape {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.footer-modern .shape-circle {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: footerFloat 8s ease-in-out infinite;
}

.footer-modern .shape-square {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    animation: footerFloatRotate 10s ease-in-out infinite;
}

.footer-modern .shape-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid rgba(255, 255, 255, 0.2);
    animation: footerFloatTriangle 12s ease-in-out infinite;
}

/* Footer Particles */
.footer-modern .particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-modern .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: footerParticleFloat 15s linear infinite;
}

.footer-modern .particle-1 { top: 20%; left: 15%; animation-duration: 12s; }
.footer-modern .particle-2 { top: 40%; left: 25%; animation-duration: 14s; }
.footer-modern .particle-3 { top: 60%; left: 35%; animation-duration: 16s; }
.footer-modern .particle-4 { top: 30%; right: 20%; animation-duration: 13s; }
.footer-modern .particle-5 { top: 70%; right: 30%; animation-duration: 15s; }
.footer-modern .particle-6 { top: 10%; right: 40%; animation-duration: 11s; }
.footer-modern .particle-7 { top: 80%; left: 50%; animation-duration: 17s; }
.footer-modern .particle-8 { top: 50%; right: 10%; animation-duration: 14s; }
.footer-modern .particle-9 { top: 15%; left: 60%; animation-duration: 18s; }
.footer-modern .particle-10 { top: 85%; left: 70%; animation-duration: 13s; }
.footer-modern .particle-11 { top: 35%; right: 45%; animation-duration: 19s; }
.footer-modern .particle-12 { top: 65%; right: 5%; animation-duration: 12s; }
.footer-modern .particle-13 { top: 45%; left: 80%; animation-duration: 16s; }
.footer-modern .particle-14 { top: 75%; left: 8%; animation-duration: 14s; }
.footer-modern .particle-15 { top: 25%; right: 65%; animation-duration: 17s; }
.footer-modern .particle-16 { top: 55%; right: 75%; animation-duration: 15s; }
.footer-modern .particle-17 { top: 90%; left: 25%; animation-duration: 18s; }
.footer-modern .particle-18 { top: 5%; left: 85%; animation-duration: 13s; }
.footer-modern .particle-19 { top: 42%; left: 5%; animation-duration: 16s; }
.footer-modern .particle-20 { top: 78%; right: 55%; animation-duration: 14s; }

/* Footer Animation Keyframes */
@keyframes footerFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes footerFloatRotate {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.25;
    }
}

@keyframes footerFloatTriangle {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    33% { 
        transform: translateY(-10px) rotate(120deg);
        opacity: 0.2;
    }
    66% { 
        transform: translateY(-5px) rotate(240deg);
        opacity: 0.15;
    }
}

@keyframes footerParticleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

.footer-main {
    padding: 10px 0 5px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-left: 15px;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-social-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

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

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

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

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

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-menu li a:hover {
    color: var(--white);
    padding-right: 10px;
}

.footer-menu li a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.footer-menu li a:hover::before {
    background: var(--white);
    transform: scale(1.5);
}

.footer-contact {
    margin-bottom: 10px;
}

.contact-items {
    margin-bottom: 10px;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-value {
    color: var(--white);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-value:hover {
    color: rgba(255, 255, 255, 0.8);
}

.emergency-contact {
    margin-top: 30px;
}

.emergency-btn {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.emergency-btn:hover {
    background: var(--soft-pink);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-languages {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.language-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.language-selector {
    display: flex;
    gap: 10px;
}

.language-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition-fast);
}

.language-link:hover,
.language-link.active {
    background: var(--white);
    color: var(--primary-blue);
}

.flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.footer-certifications {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.cert-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.cert-badges {
    display: flex;
    gap: 10px;
}

.cert-badge {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.cert-badge:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.back-to-top-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.back-to-top {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .contact-items {
        text-align: center;
    }
    
    .emergency-contact {
        text-align: center;
    }
    
    .footer-languages,
    .footer-certifications {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom .row > div {
        text-align: center;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .footer-brand-name {
        font-size: 20px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .language-selector {
        flex-wrap: wrap;
    }
    
    .cert-badges {
        flex-wrap: wrap;
    }
}

/* =============================================
   ENHANCED ANIMATIONS AND EFFECTS
   ============================================= */

/* Advanced Animation Keyframes */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRotate {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(45, 170, 225, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(45, 170, 225, 0.6);
    }
}

/* Testimonial Section Animations */
@keyframes testimonialTitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }
    40% {
        opacity: 0.7;
        transform: translateY(15px) scale(0.9);
        filter: blur(5px);
    }
    70% {
        opacity: 0.9;
        transform: translateY(5px) scale(1.05);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes testimonialShimmer {
    0% {
        opacity: 0;
        background-position: -200% 0;
    }
    20% {
        opacity: 0.3;
        background-position: 200% 0;
    }
    80% {
        opacity: 0.3;
        background-position: 200% 0;
    }
    100% {
        opacity: 0;
        background-position: 200% 0;
    }
}

@keyframes testimonialTextAnimation {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 0.7;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Scroll Animation System */
.scroll-animate {
    opacity: 0;
    will-change: transform, opacity;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Ensure sections are visible by default */
section {
    opacity: 1;
    visibility: visible;
}

/* Fallback for when JavaScript is disabled or not loaded */
.no-js .scroll-animate,
.scroll-animate:not(.js-enabled) {
    opacity: 1;
    transform: translateY(0);
}

/* Auto-show after a delay if JavaScript doesn't trigger */
.scroll-animate {
    animation: autoShow 2s ease 1.5s forwards;
}

.scroll-animate.animate-visible,
.scroll-animate.js-enabled {
    animation: none;
}

/* Immediate fallback for critical sections */
.faq-modern .scroll-animate,
.gallery-modern .scroll-animate,
.testimonial-modern .scroll-animate,
.blog-modern .scroll-animate {
    animation: autoShow 1s ease 1s forwards;
}

@keyframes autoShow {
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Different Animation Types */
.scroll-animate.fade-up {
    transform: translateY(30px);
}

.scroll-animate.fade-left {
    transform: translateX(-40px);
}

.scroll-animate.fade-right {
    transform: translateX(40px);
}

.scroll-animate.scale-up {
    transform: scale(0.9);
}

.scroll-animate.rotate-in {
    transform: translateY(30px) rotate(-5deg);
}

/* Staggered Animations */
.scroll-animate.delay-100 {
    transition-delay: 0.1s;
}

.scroll-animate.delay-200 {
    transition-delay: 0.2s;
}

.scroll-animate.delay-300 {
    transition-delay: 0.3s;
}

.scroll-animate.delay-400 {
    transition-delay: 0.4s;
}

/* Legacy Support */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-fade {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: slideInFade 1s ease forwards;
}

.counter-animate {
    animation: countUp 1s ease forwards;
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.bounce-in-up {
    animation: bounceInUp 0.8s ease forwards;
}

.slide-in-rotate {
    animation: slideInRotate 0.8s ease forwards;
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

.delayed-animation {
    animation-delay: 0.3s;
}

.delayed-animation-2 {
    animation-delay: 0.6s;
}

.delayed-animation-3 {
    animation-delay: 0.9s;
}

/* Testimonial Section Animation Classes */
.testimonial-fade-in {
    animation: testimonialTitleAnimation 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.testimonial-shimmer {
    position: relative;
    overflow: hidden;
}

.testimonial-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 111, 168, 0.2), transparent);
    animation: testimonialShimmer 2s ease-in-out infinite;
    pointer-events: none;
}

.testimonial-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Enhanced Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

/* Enhanced Trust Items */
.trust-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.trust-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item:hover .trust-icon i {
    transform: scale(1.2);
    filter: drop-shadow(0 5px 15px rgba(45, 170, 225, 0.3));
}

/* Enhanced Blog Cards */
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.blog-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

/* Enhanced FAQ Section */
.faq-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.faq-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(45, 170, 225, 0.05), rgba(255, 167, 38, 0.05));
    transform: translateX(10px);
}

/* Enhanced Gallery Items */
.gallery-item {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Floating Elements Enhanced */
.floating-card {
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover {
    animation-play-state: paused;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Shapes Enhanced */
.hero-shape {
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.hero-shape img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero-shape:nth-child(odd) {
    animation-direction: reverse;
    animation-delay: 1s;
}

/* Testimonial Cards Enhanced */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s ease;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Performance Optimization for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .animate-on-scroll {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hardware acceleration for better performance */
.scroll-animate,
.animate-on-scroll,
.service-card,
.trust-item,
.blog-card,
.testimonial-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Image Loading Optimization */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Service Card Image Optimization */
.service-icon img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .scroll-animate,
    .animate-on-scroll {
        transform: translateY(20px);
        transition-duration: 0.4s;
    }
    
    .scroll-animate.fade-left {
        transform: translateX(-20px);
    }
    
    .scroll-animate.fade-right {
        transform: translateX(20px);
    }
    
    .service-card:hover {
        transform: translateY(-10px);
    }
}

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

/* Enhanced Category Navigation Styles */
.nav-item-modern.category-menu {
    position: relative;
}

.nav-item-modern.category-menu .nav-link-modern {
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    font-size: 13px;
}

.nav-item-modern.category-menu:hover .nav-link-modern {
    border-bottom-color: var(--primary-blue);
    color: var(--primary-blue);
}

.dropdown-modern.category-dropdown .dropdown-menu-modern {
    min-width: 280px;
    padding: 20px 0;
    margin-top: 8px;
    border: none;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(45, 170, 225, 0.15);
}

.dropdown-modern.category-dropdown .dropdown-item-modern {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 12px 25px;
    border-right: 3px solid transparent;
    transition: var(--transition-fast);
}

.dropdown-modern.category-dropdown .dropdown-item-modern:hover {
    background: rgba(45, 170, 225, 0.08);
    border-right-color: var(--primary-blue);
    padding-right: 22px;
    transform: none;
}

.dropdown-modern.category-dropdown .dropdown-item-modern i {
    color: var(--primary-blue);
    width: 18px;
    text-align: center;
    margin-left: 12px;
}

.dropdown-modern.category-dropdown .dropdown-item-modern:hover i {
    color: var(--secondary-blue);
    transform: scale(1.1);
}

/* Multi-level dropdown items */
.dropdown-modern.category-dropdown .dropdown-item-modern[style*="padding-right"] {
    font-size: 13px;
    color: var(--neutral-medium);
    background: rgba(45, 170, 225, 0.02);
}

.dropdown-modern.category-dropdown .dropdown-item-modern[style*="padding-right"]:hover {
    background: rgba(45, 170, 225, 0.1);
    color: var(--primary-blue);
}

.dropdown-modern.category-dropdown .dropdown-item-modern[style*="padding-right"] i.fa-circle {
    font-size: 8px;
    color: var(--neutral-medium);
}

/* Mobile category menu improvements */
@media (max-width: 991px) {
    .mobile-nav-item.category-item .mobile-nav-link {
        background: rgba(45, 170, 225, 0.05);
        margin: 2px 10px;
        border-radius: 8px;
        font-size: 14px;
    }
    
    .mobile-nav-item.category-item .mobile-nav-link:hover {
        background: rgba(45, 170, 225, 0.15);
        transform: translateX(5px);
    }

    /* غیرفعال کردن آیکون dropdown */
    .dropdown-toggle::after {
        display: none !important;
    }
}

/* About Clinic Section */
.about-clinic-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--soft-blue) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.about-clinic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="1" fill="rgba(45,170,225,0.05)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="20" r="1.5" fill="rgba(45,170,225,0.05)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite" begin="1s"/></circle><circle cx="50" cy="80" r="2" fill="rgba(45,170,225,0.05)"><animate attributeName="opacity" values="0;1;0" dur="5s" repeatCount="indefinite" begin="2s"/></circle></svg>') repeat;
    animation: subtle-float 20s linear infinite;
    pointer-events: none;
}

/* Section Header */
.section-header {
    position: relative;
    z-index: 2;
}

.section-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    animation: pulse-icon 3s ease-in-out infinite;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 8px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.section-divider::before {
    left: -12px;
}

.section-divider::after {
    right: -12px;
}

/* Main Description Card */
.main-description-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(45, 170, 225, 0.1);
    backdrop-filter: blur(10px);
}

.lead-text {
    font-size: 1.3rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: justify;
    font-weight: 400;
    margin: 0;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(45, 170, 225, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
    animation: icon-bounce 2s ease-in-out infinite;
}

.feature-content h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature-card p:last-child {
    color: var(--neutral-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Card Specific Colors */
.timeline-card .feature-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.technology-card .feature-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.equipment-card .feature-icon {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.team-card .feature-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.success-card .feature-icon {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
}

.international-card .feature-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}


/* Animations */
@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes subtle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-clinic-section {
        padding: 60px 0;
    }

    .main-description-card {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .lead-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .feature-card {
        padding: 25px 20px;
        margin: 0 15px;
    }


    .section-icon {
        font-size: 36px;
    }
}

/* FAQ Animated Question Mark Styles */
.faq-icon-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.animated-question-mark {
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: questionFloat 4s ease-in-out infinite;
    transform-origin: center;
}

.animated-question-mark:hover {
    transform: scale(1.15);
    animation-play-state: paused;
}

.animated-question-mark svg {
    filter: drop-shadow(0 6px 20px rgba(45, 170, 225, 0.4));
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.animated-question-mark:hover svg {
    filter: drop-shadow(0 8px 30px rgba(45, 170, 225, 0.7))
             drop-shadow(0 0 20px rgba(79, 229, 255, 0.5));
    animation: questionPulse 1.5s ease-in-out infinite;
}

/* Question mark path animation */
.question-mark-path {
    animation: questionDraw 3s ease-in-out infinite alternate;
}

.question-mark-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

/* Sparkle animations */
.sparkle {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.sparkle-1 {
    animation-name: sparkleFloat1;
    animation-delay: 0s;
}

.sparkle-2 {
    animation-name: sparkleFloat2;
    animation-delay: 1s;
}

.sparkle-3 {
    animation-name: sparkleFloat3;
    animation-delay: 2s;
}

.sparkle-4 {
    animation-name: sparkleFloat1;
    animation-delay: 0.5s;
}

/* Advanced Keyframe Animations */
@keyframes questionFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-12px) rotate(3deg) scale(1.02);
    }
    50% {
        transform: translateY(-6px) rotate(0deg) scale(1.05);
    }
    75% {
        transform: translateY(-15px) rotate(-3deg) scale(1.02);
    }
}

@keyframes questionPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 8px 30px rgba(45, 170, 225, 0.7))
                drop-shadow(0 0 20px rgba(79, 229, 255, 0.5));
    }
    50% {
        transform: scale(1.08) rotate(180deg);
        filter: drop-shadow(0 12px 40px rgba(45, 170, 225, 0.9))
                drop-shadow(0 0 30px rgba(79, 229, 255, 0.8));
    }
}

@keyframes questionDraw {
    0% {
        stroke-dasharray: 0 200;
        opacity: 0.7;
    }
    100% {
        stroke-dasharray: 200 0;
        opacity: 1;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

@keyframes sparkleFloat1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translateY(-8px) translateX(3px) scale(1.2);
        opacity: 0.8;
    }
    66% {
        transform: translateY(-4px) translateX(-2px) scale(0.8);
        opacity: 0.6;
    }
}

@keyframes sparkleFloat2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-6px) translateX(4px) scale(1.3);
        opacity: 1;
    }
}

@keyframes sparkleFloat3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.4;
    }
    40% {
        transform: translateY(-10px) translateX(-3px) scale(1.1);
        opacity: 0.9;
    }
    80% {
        transform: translateY(-5px) translateX(2px) scale(0.9);
        opacity: 0.7;
    }
}

/* Mobile responsive for FAQ icon */
@media (max-width: 768px) {
    .animated-question-mark svg {
        width: 70px;
        height: 70px;
    }

    .faq-icon-wrapper {
        justify-content: center;
        margin-bottom: 20px;
    }

    .sparkle-1, .sparkle-2, .sparkle-3, .sparkle-4 {
        r: 1.5;
    }
}

@media (max-width: 480px) {
    .animated-question-mark svg {
        width: 60px;
        height: 60px;
    }

    .faq-icon-wrapper {
        margin-bottom: 15px;
    }

    .sparkle-1 {
        r: 1;
    }

    .sparkle-2 {
        r: 1;
    }

    .sparkle-3 {
        r: 0.8;
    }

    .sparkle-4 {
        r: 1;
    }
}

/* Additional hover effects for better interactivity */
.animated-question-mark:active {
    transform: scale(1.2) rotate(5deg);
    transition: transform 0.1s ease-out;
}

.animated-question-mark:active svg {
    filter: drop-shadow(0 10px 35px rgba(45, 170, 225, 0.8))
             drop-shadow(0 0 25px rgba(79, 229, 255, 0.6));
}

/* Ripple effect on click */
.animated-question-mark {
    position: relative;
    overflow: hidden;
}

.animated-question-mark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(79, 229, 255, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 1;
}

.animated-question-mark.clicked::before {
    width: 150px;
    height: 150px;
}

/* Add click handler styles */
.animated-question-mark {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
