/* -------------------- 1. إعدادات المتغيرات (Theme Colors) -------------------- */
:root {
    --primary-color: #5d9a5d; /* Dark Green */
    --secondary: #8cbf8c; /* Light Green */
    --cta-color: #6a8c43; /* Olive Green */
    --text-dark: #333;
    --text-light: #555;
    --light: #ffffff;
    --background-light: #f7f9fb;
    --border-radius-card: 24px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --gradient-bg: linear-gradient(135deg, #f0f8f0 0%, #e8f2e8 100%);
    --accent: #4a7c4a;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
}
/* -------------------- 2. إعادة تعيين وإعدادات أساسية -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    direction: rtl; 
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
button, input, textarea, a {
    font-family: inherit;
}
h1, h2, h3, h4 {
    font-family: 'El Messiri', serif;
    font-weight: 700;
}
a {
    text-decoration: none;
    color: var(--cta-color);
    transition: color 0.3s;
}
section {
    padding: 80px 5%;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    color: var(--primary-color);
    position: relative;
    display: block; 
    width: fit-content; 
    margin-left: auto;
    margin-right: auto; 
    left: auto; 
    transform: none; 
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%; 
    transform: translateX(-50%); 
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}
/* تنسيق البطاقات العامة */
.card {
    background-color: var(--light);
    border-radius: var(--border-radius-card);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}
/* تنسيق زر الإجراء المُلَوَّن (CTA Button) */
.cta-button {
    background-color: var(--cta-color);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    padding: 10px 25px; 
    position: relative;
    overflow: hidden;
    z-index: 1;
    will-change: transform, box-shadow; 
}
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
   z-index: -1;
   opacity: 1;
    transition: opacity 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 140, 67, 0.4);
}
.cta-button:hover::before {
    opacity: 1;
}
/* -------------------- 3. شريط التنقل (Navbar) -------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInDown 0.6s ease;
}
/* تنسيق صورة الشعار */
.navbar-logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
/* توسيط الروابط */
.navbar-links {
    flex-grow: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}
.navbar-links ul {
    list-style: none;
    display: flex;
}
.navbar-links ul li a {
    margin: 0 15px;
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}
.navbar-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}
.navbar-links ul li a:hover {
    color: var(--primary-color);
}
.navbar-links ul li a:hover::after {
    width: 100%;
}
/* حاوية زر CTA وقائمة الهامبرغر (أقصى اليسار) */
.navbar-cta-mobile {
    display: flex;
    align-items: center;
}
/* تنسيق زر الواتساب */
.whatsapp-button {
    padding: 8px 20px;
    font-size: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.whatsapp-button i {
    font-size: 1.2rem;
}
/* زر الهامبرغر يظهر فقط في شاشة الموبايل */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    margin-right: 15px;
}
/* Hamburger icon lines */
.hamburger-line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-line:nth-child(1) {
    top: 6px;
}
.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.hamburger-line:nth-child(3) {
    bottom: 6px;
}
/* Animation for hamburger to X */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg); 
}
.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 1;
}
.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); 
}
/* -------------------- 4. قسم الأبطال (Hero Section) -------------------- */
.hero-section {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 5%;
    background: rgb(65, 88, 65);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.5;
}
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.primary-cta {
    padding: 15px 40px;
    font-size: 1.1rem;
    text-align: center;
    display: inline-block;
    animation: pulse 2s infinite;
}
/* -------------------- 5. قسم الخدمات (Section 1) -------------------- */
.services-section {
    background-color: var(--light);
}
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 30px;
    text-align: right;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}
.service-card:hover::before {
    transform: scaleY(1);
}
/* Service icon styling */
.service-card i { 
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease, color 0.3s ease;
    will-change: transform, opacity; 
}
.service-card:hover i {
    transform: scale(1.2);
    color: var(--accent);
}
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.7rem;
    text-align: center;
}
.service-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    flex-grow: 1;
    text-align: center;
}
/* زر اعرف المزيد / ابدأ فورا (تم تصغير حجمه) */
.learn-more {
    width: 150px;
    padding: 10px 20px;
    font-size: 1.1rem;
    display: block;
    text-align: center;
    text-decoration: none;
    background: none;
    border: 2px solid var(--primary-color);
    color: #fefffe;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    align-self: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
}
.learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s;
}
.learn-more:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.learn-more:hover::before {
    opacity: 1;
}
/* -------------------- 6. قسم المميزات (Section 2 - Features) -------------------- */
.features-section {
    background-color: var(--background-light);
}
.features-grid {
    display: grid;
    /* التعديل هنا لضمان 3 أعمدة متساوية على سطر واحد في وضع سطح المكتب */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1200px; 
    margin: 0 auto;
}
.feature-card {
    padding: 40px;
    text-align: center;
    position: relative;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    opacity: 1;
    transition: opacity 0.3s;
}
.feature-card:hover::after {
    opacity: 1;
}
.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    transition: transform 0.5s ease;
    will-change: transform, opacity; 
}
.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}
.feature-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}
.feature-card a {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 2px;
}
.feature-card a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}
.feature-card a:hover::after {
    width: 100%;
}
/* -------------------- 7. قسم المعالجين (Therapists Carousel) -------------------- */
.therapists {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: var(--light);
}
.therapists h2 {
    margin-bottom: 30px;
}
/* تحويل الشبكة إلى كاروسيل أفقي (RTL Carousel) */
.therapists-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 5%;
    margin: 0 auto;
    max-width: 1400px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.therapists-grid::-webkit-scrollbar {
    display: none;
}
/* تنسيق بطاقة المعالج (المطابقة 100%) */
.therapist-card {
    min-width: 320px;
    height: 420px;
    flex-shrink: 0;
    background: var(--light);
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(140, 191, 140, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    will-change: transform, opacity; 
}
.therapist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(140, 191, 140, 0.05) 0%, rgba(93, 154, 93, 0.05) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.therapist-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(140, 191, 140, 0.25);
    transform: translateY(-10px) scale(1.02);
}
.therapist-card:hover::before {
    opacity: 1;
}
/* تنسيق الصورة والإطار */
.therapist-img-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.therapist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.therapist-card:hover .therapist-img-container {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(93, 154, 93, 0.3);
}
.therapist-card:hover .therapist-img {
    transform: scale(1.1);
}
.therapist-card h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 700;
    transition: color 0.3s;
}
.therapist-card .specialty {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.15rem;
    margin-bottom: 25px;
    transition: color 0.3s;
}
.therapist-card:hover h3,
.therapist-card:hover .specialty {
    color: var(--primary-color);
}
/* زر "عرض الملف الشخصي" (المطابق والممتد) */
.profile-link.cta-button {
    font-size: 1.1rem;
    padding: 12px 20px;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
}
/* -------------------- 8. القسم الختامي (Footer) -------------------- */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 50px 5%;
    font-size: 0.9rem;
    text-align: right;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* تنسيق صورة الشعار في الـ Footer */
.footer-logo .logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.footer-about p {
    color: #bdc3c7;
    line-height: 1.8;
}
/* تنسيق عناوين الأقسام في الـ Footer */
.footer-links h4, .footer-social h4, .footer-support h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-family: 'El Messiri', serif;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li a {
    color: #bdc3c7;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
    position: relative;
    padding-right: 10px;
}
.footer-links ul li a::before {
    content: '\f105'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    opacity: 1;
    transition: opacity 0.3s;
}
.footer-links ul li a:hover {
    color: var(--light);
    padding-right: 15px;
}
.footer-links ul li a:hover::before {
    opacity: 1;
}
.footer-support .support-icons-list {
    list-style: none;
    padding: 0;
}
.footer-support .support-icons-list a {
    color: #bdc3c7;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    transition: color 0.3s;
}
.footer-support .support-icons-list a i {
    font-size: 1.1rem;
    margin-left: 10px;
    color: var(--secondary);
    min-width: 1.1rem;
    transition: transform 0.3s;
}
.footer-support .support-icons-list a:hover {
    color: var(--light);
}
.footer-support .support-icons-list a:hover i {
    transform: translateX(5px);
}
.footer-social .social-icons {
    display: flex;
    gap: 15px;
}
.footer-social .social-icons a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.footer-social .social-icons a:hover {
    color: var(--light);
    background: var(--secondary);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #bdc3c7;
}
/* -------------------- 9. النوافذ المنبثقة (Modals) -------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}
/* أنماط الوضع الأفقي (Desktop Landscape) - نافذة عائمة في المنتصف */
.modal-content {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-card); 
    max-width: 650px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    
    /* وضع fixed وتوسيط */
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    text-align: right;
    transition: transform 0.4s ease;
    border: 1px solid rgba(93, 154, 93, 0.2);
    
    height: auto;
    max-height: 90vh; 
    overflow-y: auto; 
}

.modal.active .modal-content {
    transform: translate(-50%, -50%);
}

.modal-content h3, .modal-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    position: relative;
}
.modal-content h3::after {
    /* إلغاء الخط تحت العنوان الرئيسي للمودال */
    display: none; 
}
/* هذا النمط لبطاقات المعالجين */
.modal-content ul {
    list-style: none;
    padding-right: 0;
    margin-top: 15px;
    /* 💥 تعديل بسيط ليتناسب مع المحتوى الجديد */
    padding-right: 10px; 
}
.modal-content li {
    margin-bottom: 12px;
    color: var(--text-dark);
    position: relative;
    padding-right: 25px;
    line-height: 1.6;
}
.modal-content li::before {
    content: "\f058"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--success);
    position: absolute;
    right: 0;
    top: 2px;
}
.close-button {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}
.close-button:hover {
    color: var(--error);
    background: rgba(244, 67, 54, 0.2);
    transform: rotate(90deg);
}
.modal-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* -------------------- أنماط Modals الخدمات المحدثة -------------------- */
.modal-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.modal-details {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.detail-item {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 12px;
    border-right: 4px solid var(--secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-icon {
    font-size: 2.2rem;
    color: var(--cta-color);
    margin-bottom: 10px;
    float: right; 
    margin-right: 0;
    margin-left: 15px;
}

.detail-item h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
    padding-right: 0;
}

.detail-item h4::after {
    display: none; 
}

/* تنسيق المجموعات (لجلسات الزوجية/الجماعية) */
.modal-group {
    border: 1px solid var(--secondary);
    border-radius: 15px;
    padding: 20px; /* تقليل حجم التبطين قليلاً ليتناسب مع المحتوى الجديد */
    margin-bottom: 15px;
    background-color: var(--background-light);
}

.group-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 0;
    /* 💥 تعديل بسيط ليتناسب مع المحتوى الجديد */
    font-size: 1.4rem; 
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

.group-title i {
    font-size: 1.4rem;
    margin-left: 10px;
    color: var(--cta-color);
}

.modal-group h4::after {
    display: none; 
}

.modal-group ul {
    list-style: none;
    padding-right: 0; 
    margin-top: 10px;
}

.modal-group ul li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.05rem;
    /* 💥 تغيير أيقونة القائمة الفرعية */
    list-style-type: none;
}

.modal-group ul li::before {
    content: "\f105"; /* أيقونة سهم جديدة */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--cta-color);
    position: absolute;
    right: 0;
    top: 5px;
}
/* -------------------- 10. الاستجابة (Responsive Design) -------------------- */
@media (max-width: 900px) {
    .navbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; 
        right: 0;
        width: 100%;
        background-color: var(--light);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        flex-grow: unset;
        justify-content: unset;
    }
    .navbar-links.active {
        display: flex;
    }
    .navbar-links ul {
        flex-direction: column;
        text-align: right;
        padding-right: 5%;
    }
    .navbar-links ul li a {
        padding: 10px 0;
        margin: 0;
        display: block;
        text-align: right;
    }
    .hamburger-menu {
        display: block;
    }
    /* Hide WhatsApp button on mobile */
    .whatsapp-button {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .therapist-card {
        min-width: 90%;
        height: auto;
        min-height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: right;
    }
    .footer-social .social-icons {
        justify-content: flex-end; 
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 100%;
    }
}

/* -------------------- 10.3. عرض المودال للموبايل والوضع العمودي (Mobile/Portrait View) -------------------- */
@media (max-width: 768px), (orientation: portrait) {

    .modal {
        align-items: flex-end; 
        padding: 0; 
    }

    .modal-content {
        width: 100%;
        max-width: 100%; 
        height: auto;
        min-height: 60vh; 
        max-height: 95vh;
        padding: 30px 20px 40px 20px; 
        border-radius: 20px 20px 0 0; 
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);

        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        transform: translateY(100%); 
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    }

    .modal.active .modal-content {
        transform: translateY(0); 
    }

    .close-button {
        top: 15px;
        left: 15px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }

    .detail-item {
        border-right: none;
        border-bottom: 4px solid var(--secondary);
    }
    .detail-icon {
        float: none;
        display: block;
        margin-left: 0;
        margin-bottom: 5px;
        text-align: right;
    }
    .detail-item h4 {
        font-size: 1.3rem;
    }
}
/* -------------------- 11. Animations -------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 140, 67, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(106, 140, 67, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(106, 140, 67, 0);
    }
}
/* Animation classes for Intersection Observer in JS */
.service-card, .feature-card, .therapist-card {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-card.visible, .feature-card.visible, .therapist-card.visible {
    opacity: 1;
    transform: translateY(0);
}