/* ===== VARIABLES - معدلة للتباين الأمثل ===== */
:root {
    /* الألوان الأساسية - محسنة للراحة البصرية */
    --primary-orange: #FF8C42;
    --secondary-blue: #436caf;
    --accent-white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-text: #2D3748;
    --medium-text: #4A5568;
    --light-text: #718096;
    
    --gold: #FFD166;
    --premium-purple: #9D4EDD;
    --success-green: #06D6A0;
    --warning-orange: #FF9E6D;

    /* لون نص فاتح مائل للسماوي (لاستخدامه فوق الخلفيات الداكنة/التدرّجات) */
    --cyan-white: #E6FAFF;

    /* تدرّج الهيرو (الصفحة الرئيسية) — نستخدمه كمرجع موحّد للصفحات الداخلية أيضًا */
    --hero-grad-1: rgba(58, 134, 255, 0.85);
    --hero-grad-2: rgba(157, 78, 221, 0.75);
    --hero-grad-3: rgba(255, 140, 66, 0.85);
    --hero-gradient: linear-gradient(135deg,
        var(--hero-grad-1) 0%,
        var(--hero-grad-2) 50%,
        var(--hero-grad-3) 100%
    );
    
    /* الظلال */
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 28px rgba(0,0,0,0.18);
    
    /* التحولات */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== TYPOGRAPHY - محسن للقراءة ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--premium-purple));
    border-radius: 2px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--accent-white);
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--cyan-white);
}

/* توحيد لون النصوص الرمادية/الفضية فوق الخلفيات الداكنة/التدرّجات */
.page-header .text-muted,
.page-header .text-secondary,
.page-header .small,
.page-header p,
.page-header li,
.bg-primary .text-muted,
.bg-primary .text-secondary,
.bg-primary .small,
.bg-primary p,
.bg-primary li,
.bg-dark .text-muted,
.bg-dark .text-secondary,
.bg-dark .small,
.bg-dark p,
.bg-dark li,
.hero-section .text-muted,
.hero-section .text-secondary,
.hero-section .small,
.custom-footer .text-muted,
.custom-footer .text-secondary,
.custom-footer .small {
    color: var(--cyan-white) !important;
}

/* توحيد لون روابط الفوتر لتكون مائلة للسماوي بدل الرمادي */
.custom-footer .footer-links a {
    color: var(--cyan-white);
}

/* ===== NAVBAR - تأثيرات إضاءة محسنة ===== */
.custom-navbar {
    background: #2D3748 !important;
    box-shadow: var(--shadow-md);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-medium);
    backdrop-filter: blur(12px);
    min-height: 80px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.custom-navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.school-logo {
    width: 90px;
    height: 90px;
    transition: all var(--transition-fast);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.school-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.navbar-nav .nav-link {
     color: #718096  !important;
    font-weight: 600;
    margin: 0 0.4rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    background: transparent !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background: var(--primary-orange);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

/* الصفحة النشطة فقط - التوهج الكامل */
.navbar-nav .nav-link.active::before {
    width: 80%;                             /* الخط يظهر للصفحة النشطة فقط */
}

.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important; /* لون برتقالي للصفحة النشطة فقط */
    background: rgba(255, 140, 66, 0.1) !important; /* خلفية للصفحة النشطة فقط */
}

/* التحويم بدون توهج - تغيير اللون فقط */
.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important; /* ✅ تغيير اللون فقط */
    background: transparent !important;      /* ❌ لا خلفية عند التحويم */
}

.navbar-nav .nav-link:hover::before {
    width: 0;                               /* ❌ لا خط عند التحويم */
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 100px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: transform var(--transition-slow);
}

.hero-section:hover .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    background: var(--hero-gradient);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: var(--accent-white);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 4rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS - محسنة للتباين ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF7B2C 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    font-size: 1.1rem;
    color: var(--accent-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #FF7B2C 0%, #FF6A1A 100%);
    color: var(--accent-white);
}

.btn-outline-light {
    border: 2px solid var(--accent-white);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-fast);
    font-size: 1.1rem;
    background: transparent;
    color: var(--accent-white);
}

.btn-outline-light:hover {
    background: var(--accent-white);
    color: var(--secondary-blue);
    transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 7rem 0 6rem 0;
}

.page-header {
    background: var(--hero-gradient) !important;
    padding-top: 140px;
    padding-bottom: 80px;
    margin-top: 0;
}

/* ===== CARDS - نمط موحد ===== */
.academic-card,
.news-card,
.facility-card,
.faculty-card,
.pricing-card,
.contact-info-card,
.contact-form-card,
.testimonial-card,
.methodology-item {
    background: var(--accent-white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.05);
}

.academic-card:hover,
.news-card:hover,
.facility-card:hover,
.faculty-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.methodology-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--light-gray);
}

.stat-item {
    padding: 2rem 1rem;
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-text);
    font-weight: 600;
}

/* ===== FEATURES ===== */
.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    gap: 12px;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all var(--transition-fast);
    border-right: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(-5px);
    border-right-color: var(--primary-orange);
    background: var(--accent-white);
}

.feature-icon {
    color: var(--primary-orange);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ===== ACADEMIC CARDS ===== */
.academic-card {
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.academic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-blue));
}

.academic-icon {
    font-size: 4rem;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-fast);
}

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

.academic-card h4 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.age-group {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange), var(--premium-purple));
    color: var(--accent-white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* ===== NEWS CARDS ===== */
.news-card {
    overflow: hidden;
    height: 100%;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
}

.news-image img {
    width: 100%;
    height: 100%;
    /* Show the whole image inside its frame (no cropping) */
    object-fit: contain;
    transition: transform var(--transition-medium);
}

/* Featured news image container... */
.news-featured-image {
    background: rgba(0, 0, 0, 0.04);
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

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

.news-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-orange);
    color: var(--accent-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    background: var(--secondary-blue);
    color: var(--accent-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-meta {
    color: var(--medium-text);
    font-size: 2rem;
    margin: 0.5rem 0;
}

.news-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.news-link:hover {
    color: var(--secondary-blue);
}

/* ===== ACTIVITIES GALLERY ===== */
.activities-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--light-gray);
    border: 2px solid transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    color: var(--dark-text);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-blue));
    color: var(--accent-white);
    border-color: transparent;
}

.activity-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    height: 300px;
}

.activity-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.activity-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--accent-white);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.activity-gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.activity-badge {
    background: var(--primary-orange);
    color: var(--accent-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== FACULTY CARDS ===== */
.faculty-card {
    padding: 2rem;
    height: 100%;
    text-align: center;
}

.faculty-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--light-gray);
}

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

.faculty-position {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.faculty-bio {
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

.faculty-expertise {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.expertise-tag {
    background: var(--light-gray);
    color: var(--secondary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== ADMISSIONS ===== */
.admission-card {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--premium-purple) 100%);
    color: var(--accent-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.discount-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

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

.timer-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-white);
    color: var(--secondary-blue);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.timer-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.pricing-card {
    padding: 2rem;
    position: relative;
    height: 100%;
    text-align: center;
}

.pricing-card.featured {
    border: 3px solid var(--primary-orange);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: var(--accent-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== CONTACT ===== */
.contact-info-card {
    padding: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

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

.contact-details h5 {
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.contact-form-card {
    padding: 2rem;
}

.map-container {
    background: var(--light-gray);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    text-align: center;
    color: var(--secondary-blue);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

/* ===== FOOTER ===== */
.custom-footer {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #2D3748 100%);
    color: var(--accent-white);
    padding: 4rem 0 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-brand .school-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

/* ===== ABOUT PAGE STYLES ===== */
.about-gallery {
    position: relative;
    text-align: center;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumb.active,
.thumb:hover {
    border-color: var(--secondary-blue);
    transform: scale(1.1);
}

.vision-card {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--premium-purple) 100%);
    color: var(--accent-white);
    border: none;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    height: 100%;
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ===== FACILITIES ===== */
.facility-card {
    overflow: hidden;
    height: 100%;
}

.facility-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.facility-content {
    padding: 1.5rem;
}

/* ===== DIRECTOR SECTION ===== */
.director-image {
    text-align: center;
    position: relative;
}

.director-image img {
    width: 100%;
    max-width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.director-info {
    background: linear-gradient(135deg, var(--secondary-blue), var(--premium-purple));
    color: var(--accent-white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TEACHER CARDS ===== */
.teacher-card {
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.teacher-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    padding: 25px;
    height: 100%;
    border-top: 4px solid var(--secondary-blue);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    color: rgba(58, 134, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.client-image {
    margin-left: 15px;
}

.client-image i {
    font-size: 40px;
    color: var(--secondary-blue);
}

.client-info {
    flex: 1;
}

.client-info h5 {
    margin-bottom: 5px;
    color: var(--dark-text);
    font-weight: 700;
}

.client-info span {
    color: var(--medium-text);
    font-size: 0.9rem;
}

.rating {
    color: var(--gold);
}

.rating i {
    margin-left: 2px;
}

.stage-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-white);
}

.stage-kg {
    background: linear-gradient(135deg, var(--primary-orange), #FFB347);
}

.stage-primary {
    background: linear-gradient(135deg, var(--secondary-blue), #64B5F6);
}

.stage-upper {
    background: linear-gradient(135deg, var(--gold), #FFE082);
    color: var(--dark-text);
}

.testimonial-body {
    position: relative;
    z-index: 1;
}

.testimonial-body p {
    color: var(--medium-text);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== METHODOLOGY PAGE ===== */
.methodology-page .page-header {
    background: var(--hero-gradient) !important;
}

.methodology-page {
    background: var(--accent-white) !important;
}

.methodology-item {
    padding: 2.5rem !important;
    border-left: 4px solid var(--secondary-blue) !important;
}

.methodology-item h2 {
    color: var(--secondary-blue) !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    border-bottom: 3px solid var(--primary-orange) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.methodology-item h2 i {
    color: var(--primary-orange) !important;
}

/* ===== FORM ELEMENTS ===== */
.form-label {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    color: var(--dark-text);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.25);
}

/* ===== UTILITY CLASSES ===== */
.ltr-numbers {
    direction: ltr;
    display: inline-block;
    unicode-bidi: isolate;
}

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

.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-primary {
    background: var(--hero-gradient) !important;
}

/* ===== ACTIVITIES UTILITIES (Shared between activities.html and activity-view.html) ===== */
.object-fit-cover { object-fit: cover; }
.object-fit-contain { object-fit: contain; background: rgba(0, 0, 0, 0.04); }
.activity-media-wrap { border-radius: 12px; overflow: hidden; }
.view-activity-btn { position: absolute; bottom: 10px; left: 10px; z-index: 5; border-radius: 999px; }
.activity-hero { border-radius: 16px; overflow: hidden; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .section-padding {
        padding: 6rem 0 5rem 0;
    }
    
    .page-header {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-section {
        margin-top: 80px;
    }
    
    .custom-navbar {
        min-height: 70px;
        padding: 0.5rem 0;
    }
    
    .footer-brand .school-logo {
        width: 60px;
        height: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumb {
        width: 60px;
        height: 60px;
    }
    
    .facility-image {
        height: 200px;
    }
    
    .director-image img {
        height: 300px;
    }
    
    .teacher-image {
        width: 120px;
        height: 120px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .client-image {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .rating {
        margin-top: 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        margin: 0.3rem 0;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 5rem 0 4rem 0;
    }
    
    .page-header {
        padding-top: 110px;
        padding-bottom: 50px;
    }
    
    .hero-section {
        margin-top: 70px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .school-logo {
        margin-left: 0;
        margin-bottom: 5px;
    }
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(0,0,0,0.05) 100%);
}

#gbd_review_box_s {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .review-box-wrapper {
        padding: 1.5rem;
    }
}