/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: ltr;
    text-align: left;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #F5B71A; /* Golden Yellow */
    --secondary-color: #C72127; /* Deep Red */
    --accent-color: #18305A; /* Dark Navy Blue */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #FFD700);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #FF4757);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #2C5282);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a2332 50%, var(--accent-color) 100%);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 
                0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(245, 183, 26, 0.2);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 183, 26, 0.03);
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.navbar.scrolled {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a2332 50%, var(--accent-color) 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid rgba(245, 183, 26, 0.3);
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    position: relative;
    gap: 20px;
    min-height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: auto;
    height: auto;
    position: relative;
}

/* Removed pulse animation from nav-logo container */

/* Removed hover effects from nav-logo */

.nav-logo .logo-image {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
    animation: logoFloat 6s ease-in-out infinite;
}

/* Removed hover effects from logo image */

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-subtitle {
    opacity: 1;
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 12px 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

/* Removed ::before elements for cleaner navigation */

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 249, 250, 0.7) 100%);
    border: 1px solid rgba(245, 183, 26, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.hamburger:hover {
    background: linear-gradient(135deg, 
        rgba(245, 183, 26, 0.2) 0%, 
        rgba(199, 33, 39, 0.1) 50%, 
        rgba(24, 48, 90, 0.2) 100%);
    border-color: rgba(245, 183, 26, 0.5);
    transform: translateY(-1px) scale(1.08);
    box-shadow: 0 5px 15px rgba(245, 183, 26, 0.25);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, 
        rgba(24, 48, 90, 0.8) 0%, 
        rgba(245, 183, 26, 0.9) 100%);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.9) 0%, rgba(199, 33, 39, 0.8) 100%);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.9) 0%, rgba(199, 33, 39, 0.8) 100%);
}

/* Sections */
.section {
    padding: 60px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Home Section */
.home-section {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 50%, #dee2e6 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(245, 183, 26, 0.05), rgba(199, 33, 39, 0.05));
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}



.hero-content {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 183, 26, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 183, 26, 0.3);
    padding: 8px 20px;
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
}

.title-highlight {
    display: block;
    font-size: 1rem;
    font-weight: 300;
    color: #C72127 !important;
    margin-bottom: 8px;
    text-shadow: 0 1px 5px rgba(199, 33, 39, 0.2);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.title-main {
    display: block;
    color: #18305A !important;
    font-weight: bold;
    font-size: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 180px;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, #18305A 0%, #0f1f3d 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(24, 48, 90, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f1f3d 0%, #18305A 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(24, 48, 90, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #C72127 0%, #a01c21 100%);
    color: #ffffff;
    border: 2px solid rgba(199, 33, 39, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(199, 33, 39, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #a01c21 0%, #C72127 100%);
    border-color: rgba(199, 33, 39, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(199, 33, 39, 0.5);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(15px);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(248, 249, 250, 0.95));
    border-color: rgba(245, 183, 26, 0.3);
}

.feature-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), #e6a617);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--text-dark);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%);
    backdrop-filter: blur(15px);
    padding: 60px 40px;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(245, 183, 26, 0.05) 0%, rgba(199, 33, 39, 0.03) 100%);
    pointer-events: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.stats-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.stats-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

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

.stats-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stats-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    justify-items: center;
}

.stat-item {
    text-align: center;
    color: var(--text-dark);
    padding: 30px 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 1) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #e6a617);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #e6a617);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 1);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 48, 90, 0.03);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.about-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(15px);
    padding: 45px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.about-card:hover::before {
    opacity: 0.05;
}

.about-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card:nth-child(3) {
    animation-delay: 0.3s;
}

.card-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
}

.about-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.about-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 10px 30px rgba(17, 153, 142, 0.3);
}

.about-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.about-card:hover .card-icon::before {
    opacity: 0.3;
}

.card-icon i {
    font-size: 2.8rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.about-card:hover .card-icon i {
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.about-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    transition: all 0.3s ease;
}




}
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
}

/* Programs Section */
.programs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 48, 90, 0.03);
    pointer-events: none;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23F5B71A" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23C72127" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2318305A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.program-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(15px);
    padding: 45px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.program-card:hover::before {
    opacity: 0.05;
}

.program-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.program-card:nth-child(1) {
    animation-delay: 0.1s;
}

.program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card:nth-child(3) {
    animation-delay: 0.3s;
}

.program-card:nth-child(4) {
    animation-delay: 0.4s;
}

.program-card:nth-child(5) {
    animation-delay: 0.5s;
}

.program-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
}

.program-card:nth-child(1) .program-icon {
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.3);
}

.program-card:nth-child(2) .program-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 30px rgba(199, 33, 39, 0.3);
}

.program-card:nth-child(3) .program-icon {
    background: var(--gradient-accent);
    box-shadow: 0 10px 30px rgba(24, 48, 90, 0.3);
}

.program-card:nth-child(4) .program-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.program-card:nth-child(5) .program-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 10px 30px rgba(17, 153, 142, 0.3);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.program-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.program-card:hover .program-icon::before {
    opacity: 0.3;
}

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

.program-icon i {
    font-size: 2.8rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-align: center;
    margin-top: 0;
    transition: all 0.3s ease;
}

.program-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.program-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    margin-top: 0;
    transition: all 0.3s ease;
}

.program-card:hover > p {
    color: var(--text-dark);
}

.program-card ul {
    list-style: none;
    text-align: right;
}

.program-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-right: 20px;
}

.program-card li:before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Academic Stages Direction Support */
[dir="ltr"] .program-card ul {
    text-align: left;
}

[dir="rtl"] .program-card ul {
    text-align: right;
}

[dir="ltr"] .program-card li {
    padding-left: 20px;
    padding-right: 8px;
}

[dir="rtl"] .program-card li {
    padding-right: 20px;
    padding-left: 8px;
}

[dir="ltr"] .program-card li:before {
    left: 0;
    right: auto;
}

[dir="rtl"] .program-card li:before {
    right: 0;
    left: auto;
}

/* Override general list styles for program cards */
.program-card ul li {
    list-style: none;
}

.program-card ul li::before {
    content: '✓' !important;
}

[dir="ltr"] .program-card ul li::before {
    content: '✓' !important;
    left: 0 !important;
    right: auto !important;
}

[dir="rtl"] .program-card ul li::before {
    content: '✓' !important;
    right: 0 !important;
    left: auto !important;
}

.program-card li:last-child {
    border-bottom: none;
}

/* School Staff Section */
.teachers-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.teachers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23F5B71A" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23C72127" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2318305A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.teacher-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.teacher-card:hover::before {
    opacity: 0.05;
}

.teacher-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.teacher-card:nth-child(1) {
    animation-delay: 0.1s;
}

.teacher-card:nth-child(2) {
    animation-delay: 0.2s;
}

.teacher-card:nth-child(3) {
    animation-delay: 0.3s;
}

.teacher-card:nth-child(4) {
    animation-delay: 0.4s;
}

.teacher-card:nth-child(5) {
    animation-delay: 0.5s;
}

.teacher-card:nth-child(6) {
    animation-delay: 0.6s;
}

.teacher-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.3);
}

.teacher-card:nth-child(even) .teacher-avatar {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 30px rgba(199, 33, 39, 0.3);
}

.teacher-card:hover .teacher-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.teacher-avatar i {
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-avatar i {
    transform: scale(1.1);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-avatar img {
    border-color: rgba(255, 255, 255, 0.6);
}

.teacher-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.teacher-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.teacher-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-title {
    color: var(--primary-color);
}

.teacher-subject {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-subject {
    color: var(--text-dark);
}

/* News Section */
.news-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23F5B71A" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23C72127" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2318305A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.news-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    gap: 25px;
    padding: 30px;
    position: relative;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.news-card:hover::before {
    opacity: 0.05;
}

.news-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.3s;
}

.news-card:nth-child(4) {
    animation-delay: 0.4s;
}

.news-date {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
    min-width: 90px;
    height: fit-content;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.3);
    position: relative;
    overflow: hidden;
}

.news-card:nth-child(even) .news-date {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 30px rgba(199, 33, 39, 0.3);
}

.news-card:hover .news-date {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.news-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.news-card:hover .news-date .day {
    transform: scale(1.1);
}

.news-date .month {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.news-card:hover .news-content h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.news-card:hover .news-content p {
    color: var(--text-dark);
}

.news-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

.news-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.news-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.news-link:hover::after {
    width: 100%;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23F5B71A" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23C72127" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2318305A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.contact-card:hover::before {
    opacity: 0.08;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-card:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 15px 40px rgba(245, 183, 26, 0.3);
    transition: all 0.5s ease;
}

.contact-card-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 20px 50px rgba(245, 183, 26, 0.4);
}

.contact-card:hover .contact-card-icon::before {
    opacity: 0.4;
}

.contact-card-icon i {
    font-size: 1.8rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon i {
    transform: scale(1.1);
}

.contact-card-content {
    flex: 1;
}

.contact-card-title {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-we#2563eb
    transition: color 0.3s ease;
}

.contact-card:hover .contact-card-title {
    color: var(--primary-color);
}

.contact-card-textext-dark
    color: var(--accent-color);
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-card:hover .contact-card-text {
    color: var(--text-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(245, 183, 26, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-form-wrapper:hover::before {
    opacity: 0.03;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-header h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
}

.contact-form-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(24, 48, 90, 0.1);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 183, 26, 0.15);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 183, 26, 0.4);
}

/* Map */
.map-container {
    margin-top: 60px;
    position: relative;
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.map-header h3 i {
    color: var(--primary-color);
    font-size: 2rem;
}

.map-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(245, 183, 26, 0.3);
    transition: all 0.3s ease;
}

.map-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 183, 26, 0.4);
}

/* RTL support for map logo */
[dir="rtl"] .map-logo {
    margin-right: 0;
    margin-left: 10px;
}

.map-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(245, 183, 26, 0.1);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border-color: rgba(245, 183, 26, 0.2);
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.05), rgba(199, 33, 39, 0.05));
    padding: 80px;
    border-radius: 20px;
    text-align: center;
    border: 3px dashed rgba(245, 183, 26, 0.3);
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: rgba(245, 183, 26, 0.5);
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.08), rgba(199, 33, 39, 0.08));
}

.map-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.map-placeholder:hover i {
    transform: scale(1.1);
}

.map-placeholder p {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.map-placeholder small {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .contact-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-content {
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-card-icon i {
        font-size: 1.6rem;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .contact-form-header h3 {
        font-size: 1.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .map-wrapper {
        padding: 30px;
    }
    
    .map-placeholder {
        padding: 60px 30px;
    }
    
    .map-placeholder i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-card-icon i {
        font-size: 1.4rem;
    }
    
    .contact-card-title {
        font-size: 1.1rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .contact-form-header h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .map-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .map-wrapper {
        padding: 20px;
    }
    
    .map-placeholder {
        padding: 40px 20px;
    }
    
    .map-placeholder i {
        font-size: 3rem;
    }
    
    .map-placeholder p {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a2332 50%, var(--accent-color) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(245, 183, 26, 0.15);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.08) 0%, rgba(199, 33, 39, 0.08) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.footer-section:hover::before {
    left: 0;
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 183, 26, 0.2);
    border-color: rgba(245, 183, 26, 0.3);
}

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 60px;
}

.footer-section-icon {
    font-size: 1.2rem;
    padding: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 183, 26, 0.3);
    transition: all 0.3s ease;
}

.footer-section:hover .footer-section-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(245, 183, 26, 0.4);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(245, 183, 26, 0.2);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 183, 26, 0.4);
    transform: scale(1.02);
}

.footer-logo .logo-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(245, 183, 26, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover .logo-image {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(245, 183, 26, 0.4));
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section:hover p {
    color: rgba(255, 255, 255, 0.95);
}

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

.footer-section ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(8px);
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.15) 0%, rgba(199, 33, 39, 0.15) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.footer-section ul li a:hover::before {
    left: 0;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    background: rgba(245, 183, 26, 0.1);
    border: 1px solid rgba(245, 183, 26, 0.2);
    transform: translateX(5px);
}

.footer-link-icon {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover .footer-link-icon {
    transform: scale(1.2) rotate(15deg);
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.15) 0%, rgba(199, 33, 39, 0.15) 100%);
    border: 1px solid rgba(245, 183, 26, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.4);
    border-color: var(--primary-color);
}

.social-links a i {
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* Specific social media colors */
.social-links a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.social-links a.twitter:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #e6683c;
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
}

.social-links a.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.social-links a.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* Social tooltip styling */
.social-tooltip {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.social-links a:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 65px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(245, 183, 26, 0.1);
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 183, 26, 0.2);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-info p:hover i {
    transform: scale(1.2) rotate(10deg);
}

.working-hours p {
    margin-bottom: 8px;
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.working-hours p:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.working-hours span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Info Horizontal Cards */
.contact-info-horizontal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(245, 183, 26, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    flex: 1;
    min-width: 280px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 183, 26, 0.1) 0%, rgba(199, 33, 39, 0.1) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.contact-card:hover::before {
    left: 0;
}

.contact-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(245, 183, 26, 0.25);
    border-color: rgba(245, 183, 26, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(245, 183, 26, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(245, 183, 26, 0.4);
}

.contact-card:hover .contact-card-icon::before {
    opacity: 1;
}

.contact-card-content {
    flex: 1;
    min-width: 0;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    transition: all 0.3s ease;
}#2563eb

.contact-card:hover .contact-card-title {
    color: var(--white);
    transform: translateX(5px);
}

.contact-card-text {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.5;
    transition: all 0.3s ease;
    word-wrap: break-word;
    font-weight: 500;
}

.contact-card:hover .contact-card-text {
    color: #1d4ed8;
    transform: translateX(5px);
}

/* Responsive Design for Contact Cards */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .contact-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-card-title {
        font-size: 1rem;
    }
    
    .contact-card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-info-horizontal {
        gap: 15px;
    }
    
    .contact-card {
        padding: 15px;
        gap: 12px;
    }
    
    .contact-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(245, 183, 26, 0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    padding: 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-bottom:hover p {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes logoFloat {
    0% {
        transform: translateY(0px) scale(0.8);
        opacity: 0.7;
    }
    25% {
        transform: translateY(5px) scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px) scale(1.0);
        opacity: 1;
    }
    75% {
        transform: translateY(5px) scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) scale(0.8);
        opacity: 0.7;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 183, 26, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.lang-btn {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid rgba(245, 183, 26, 0.4);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    background: rgba(245, 183, 26, 0.2);
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(245, 183, 26, 0.2);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(245, 183, 26, 0.4);
    transform: translateY(-1px);
}

.lang-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lang-btn.active:hover::before {
    transform: translateX(100%);
}

/* RTL Support for Language Switcher */
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 0;
}

/* Ensure language switcher is always visible */
.language-switcher {
    flex-shrink: 0;
    z-index: 10;
}

.nav-right {
    flex-shrink: 0;
}

/* Language Direction Support */
[dir="ltr"] {
    text-align: left;
}

[dir="rtl"] {
    text-align: right;
}

/* Enhanced Direction Support for All Elements */
[dir="ltr"] .nav-logo {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .nav-logo {
    margin-left: 0;
    margin-right: auto;
}

[dir="ltr"] .nav-logo .logo-image {
    margin-right: 15px;
    margin-left: 0;
}

[dir="rtl"] .nav-logo .logo-image {
    margin-left: 15px;
    margin-right: 0;
}

[dir="ltr"] .nav-right {
    justify-content: flex-start;
}

[dir="rtl"] .nav-right {
    justify-content: flex-end;
}

/* Hero Section Direction Support */
[dir="ltr"] .hero-container {
    flex-direction: row;
}

[dir="rtl"] .hero-container {
    flex-direction: row-reverse;
}

[dir="ltr"] .hero-content {
    text-align: left;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

/* Cards Direction Support */
[dir="ltr"] .hero-card,
[dir="ltr"] .program-card,
[dir="ltr"] .teacher-card,
[dir="ltr"] .news-card {
    text-align: left;
}

[dir="rtl"] .hero-card,
[dir="rtl"] .program-card,
[dir="rtl"] .teacher-card,
[dir="rtl"] .news-card {
    text-align: right;
}

/* Form Direction Support */
[dir="ltr"] .contact-form {
    text-align: left;
}

[dir="rtl"] .contact-form {
    text-align: right;
}

[dir="ltr"] .form-group input,
[dir="ltr"] .form-group textarea {
    text-align: left;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

/* Footer Direction Support */
[dir="ltr"] .footer-content {
    text-align: left;
}

[dir="rtl"] .footer-content {
    text-align: right;
}

/* Button Direction Support */
[dir="ltr"] .btn {
    margin-right: 10px;
    margin-left: 0;
}

[dir="rtl"] .btn {
    margin-left: 10px;
    margin-right: 0;
}

/* List Direction Support */
[dir="ltr"] ul,
[dir="ltr"] ol {
    padding-left: 20px;
    padding-right: 0;
    text-align: left;
}

[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 20px;
    padding-left: 0;
    text-align: right;
}

/* Ordered List Numbering Direction Support */
[dir="ltr"] ol {
    counter-reset: item;
}

[dir="rtl"] ol {
    counter-reset: item;
}

[dir="ltr"] ol li {
    counter-increment: item;
    position: relative;
}

[dir="rtl"] ol li {
    counter-increment: item;
    position: relative;
}

[dir="ltr"] ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: -20px;
    font-weight: bold;
    color: var(--primary-color);
}

[dir="rtl"] ol li::before {
    content: counter(item) ".";
    position: absolute;
    right: -20px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Unordered List Bullet Direction Support */
[dir="ltr"] ul li {
    position: relative;
}

[dir="rtl"] ul li {
    position: relative;
}

[dir="ltr"] ul li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--primary-color);
    font-weight: bold;
}

[dir="rtl"] ul li::before {
    content: "•";
    position: absolute;
    right: -15px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer Lists Direction Support */
[dir="ltr"] .footer-section ul {
    text-align: left;
}

[dir="rtl"] .footer-section ul {
    text-align: right;
}

[dir="ltr"] .footer-section ul li {
    padding-left: 0;
    padding-right: 0;
}

[dir="rtl"] .footer-section ul li {
    padding-right: 0;
    padding-left: 0;
}

/* Contact Info Icons Direction Support */
[dir="ltr"] .contact-info i {
    margin-right: 10px;
    margin-left: 0;
}

[dir="rtl"] .contact-info i {
    margin-left: 10px;
    margin-right: 0;
}

/* Working Hours Direction Support */
[dir="ltr"] .working-hours {
    text-align: left;
}

[dir="rtl"] .working-hours {
    text-align: right;
}

/* Icon Direction Support */
[dir="ltr"] .icon-left {
    margin-right: 10px;
    margin-left: 0;
}

[dir="rtl"] .icon-left {
    margin-left: 10px;
    margin-right: 0;
}

[dir="ltr"] .icon-right {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .icon-right {
    margin-right: 10px;
    margin-left: 0;
}

/* Section and Content Direction Support */
[dir="ltr"] .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

[dir="rtl"] .section-title::after {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

[dir="ltr"] .section-subtitle {
    text-align: left;
}

[dir="rtl"] .section-subtitle {
    text-align: right;
}

/* Navigation Menu Direction Support */
[dir="ltr"] .nav-menu {
    flex-direction: row;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

/* Language Switcher Direction Support */
[dir="ltr"] .language-switcher {
    margin-left: 20px;
    margin-right: 0;
}

[dir="rtl"] .language-switcher {
    margin-right: 20px;
    margin-left: 0;
}

/* Contact Info Direction Support */
[dir="ltr"] .contact-info {
    text-align: left;
}

[dir="rtl"] .contact-info {
    text-align: right;
}

[dir="ltr"] .contact-info i {
    margin-right: 10px;
    margin-left: 0;
}

[dir="rtl"] .contact-info i {
    margin-left: 10px;
    margin-right: 0;
}

/* Grid Direction Support */
[dir="ltr"] .grid {
    direction: ltr;
}

[dir="rtl"] .grid {
    direction: rtl;
}

/* Flex Container Direction Support */
[dir="ltr"] .flex-container {
    flex-direction: row;
}

[dir="rtl"] .flex-container {
    flex-direction: row-reverse;
}

/* Text Content Direction Support */
[dir="ltr"] p,
[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4,
[dir="ltr"] h5,
[dir="ltr"] h6 {
    text-align: left;
}

[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

/* Override center alignment for specific elements */
[dir="ltr"] .section-header,
[dir="ltr"] .section-title,
[dir="ltr"] .hero-title,
[dir="ltr"] .text-center {
    text-align: center !important;
}

[dir="rtl"] .section-header,
[dir="rtl"] .section-title,
[dir="rtl"] .hero-title,
[dir="rtl"] .text-center {
    text-align: center !important;
}

/* Font adjustments for different languages */
body[data-lang="ar"] {
    font-family: 'Amiri', 'Cairo', serif;
}

body[data-lang="en"] {
    font-family: 'Inter', 'Roboto', sans-serif;
}

body[data-lang="fr"] {
    font-family: 'Inter', 'Roboto', sans-serif;
}

/* Enhanced Responsive Design */

/* Extra Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Large Screens */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
}

/* Medium Screens */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Screens */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    .navbar {
        padding: 15px 0;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .language-switcher {
        gap: 6px;
        padding: 5px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 25px;
    }
    
    [dir="rtl"] .language-switcher {
        order: -1;
    }
    
    .lang-btn {
        padding: 8px 14px;
        font-size: 12px;
        min-width: 42px;
        border-width: 1px;
        height: 36px;
        border-radius: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 20px 0;
        width: 85%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 18px 25px;
        display: block;
        border-radius: 15px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        text-align: center;
        background: rgba(245, 183, 26, 0.05);
        border: 1px solid rgba(245, 183, 26, 0.1);
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    .nav-link:hover {
        color: rgba(245, 183, 26, 0.9);
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        padding: 12px;
        border-radius: 15px;
        background: rgba(245, 183, 26, 0.1);
        border: 2px solid rgba(245, 183, 26, 0.2);
        transition: all 0.3s ease;
    }
    
    .hamburger:hover {
        background: rgba(245, 183, 26, 0.2);
        transform: scale(1.05);
        border-color: rgba(245, 183, 26, 0.4);
    }
    
    .hamburger span {
        width: 28px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    [dir="rtl"] .hamburger {
        margin-right: auto;
        margin-left: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .home-section {
        min-height: auto;
        padding: 40px 0 30px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .hero-card {
        padding: 25px 20px;
    }
    
    .hero-card i {
        font-size: 3rem;
    }
    
    .stats-section {
        padding: 60px 0;
        margin-top: 40px;
        border-radius: 20px 20px 0 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    .stats-grid {
        justify-content: center;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-card {
        padding: 30px;
        margin-top: 30px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .program-card {
        padding: 30px;
        margin-top: 30px;
    }
    
    .program-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .program-icon i {
        font-size: 2.2rem;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Mobile Screens */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .language-switcher {
        margin-left: 5px;
        gap: 3px;
    }
    
    [dir="rtl"] .language-switcher {
        margin-right: 5px;
        margin-left: 0;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 9px;
        min-width: 25px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .about-card,
    .program-card,
    .teacher-card,
    .news-card {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .hamburger {
        padding: 8px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .lang-btn {
        padding: 2px 4px;
        font-size: 8px;
        min-width: 20px;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .home-section {
        padding: 30px 0 20px;
    }
    
    .hero-container {
        gap: 30px;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hero-card {
        padding: 18px 15px;
    }
    
    .hero-card i {
        font-size: 2rem;
    }
    
    .hero-card h3 {
        font-size: 1.1rem;
    }
    
    .hero-card p {
        font-size: 0.85rem;
    }
    
    .stats-section {
        padding: 40px 0;
        margin-top: 25px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        padding: 18px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .teacher-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Home Section Responsive Design */
@media (max-width: 1024px) {
    .home-section {
        padding: 40px 0 30px;
    }
    
    .hero-container {
        gap: 40px;
        padding: 0 20px;
        max-width: 1000px;
    }
    
    .stats-section {
        max-width: 1000px;
        width: calc(100% - 40px);
        margin: 40px auto 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .stats-section {
        padding: 60px 0;
        margin-top: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 35px 0 25px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .stats-section {
        max-width: 100%;
        width: calc(100% - 30px);
        margin: 30px auto 0;
        padding: 50px 15px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .title-highlight {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-card i {
        font-size: 2.5rem;
    }
    
    .stats-section {
        padding: 50px 0;
        margin-top: 30px;
        border-radius: 20px 20px 0 0;
    }
    
    .stats-header h3 {
        font-size: 2.2rem;
    }
    
    .stats-header p {
        font-size: 1.1rem;
        max-width: 500px;
    }
    
    .stats-header::after {
        width: 150px;
        height: 150px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-logo {
        gap: 10px;
        padding: 8px 15px;
    }
    
    .nav-logo .logo-image {
        width: 65px;
        height: 65px;
    }
    
    .logo-title {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
        padding-top: 30px;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 90%;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .hamburger {
        padding: 10px;
    }
    
    .hamburger span {
        width: 25px;
        height: 2.5px;
    }
    
    .home-section {
        padding: 25px 0 20px;
    }
    
    .hero-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .stats-section {
        max-width: 100%;
        width: calc(100% - 30px);
        margin: 25px auto 0;
        padding: 40px 15px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card i {
        font-size: 2.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .stats-section {
        padding: 40px 0;
        margin-top: 25px;
    }
    
    .stats-header {
        margin-bottom: 30px;
    }
    
    .stats-header {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    .stats-header::before {
        width: 60px;
        height: 3px;
    }
    
    .stats-header::after {
        width: 120px;
        height: 120px;
    }
    
    .stats-header h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .stats-header p {
        font-size: 1rem;
        max-width: 400px;
        line-height: 1.6;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .language-switcher,
    .btn {
        display: none !important;
    }
    
    .home-section {
        padding-top: 10px;
    }
    
    .section {
        padding: 15px 0;
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-title {
        font-size: 24pt;
    }
    
    .section-title {
        font-size: 20pt;
    }
}

/* Scroll animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Why Choose GSY Section - Enhanced Design */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23F5B71A" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23C72127" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2318305A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.why-choose-content {
    position: relative;
    z-index: 2;
}

.why-choose-description {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(245, 183, 26, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.why-choose-description p::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.feature-card:nth-child(1) .feature-icon {
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 30px rgba(199, 33, 39, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-accent);
    box-shadow: 0 10px 30px rgba(24, 48, 90, 0.3);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.program-icon i {
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon i {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: var(--text-dark);
}

/* Animation for cards appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Features Section Styles */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.01);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.features-section .feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.features-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.features-section .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(245, 183, 26, 0.3);
}

.features-section .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.features-section .feature-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: all 0.3s ease;
    z-index: 2;
}

.features-section .feature-card:nth-child(1) .feature-icon {
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(245, 183, 26, 0.3);
}

.features-section .feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 30px rgba(199, 33, 39, 0.3);
}

.features-section .feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-accent);
    box-shadow: 0 10px 30px rgba(24, 48, 90, 0.3);
}

.features-section .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.features-section .feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.features-section .feature-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.features-section .feature-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.features-section .feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.features-section .feature-card:hover p {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .why-choose-description p {
        font-size: 1.1rem;
        padding: 25px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .features-section .feature-card {
        padding: 30px 20px;
    }
    
    .features-section .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .features-section .feature-icon i {
        font-size: 2rem;
    }
}

/* Modern Navigation Styles */
.modern-navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 183, 26, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.modern-navbar .nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    height: 80px;
}

.modern-navbar .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-navbar .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-navbar .nav-center {
    display: flex;
    justify-content: center;
}

.modern-navbar .nav-menu {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 183, 26, 0.2);
}

.modern-navbar .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), #FFD700);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 183, 26, 0.3);
}

.modern-navbar .nav-link i {
    font-size: 0.8rem;
}

.nav-cta-btn {
    background: linear-gradient(135deg, var(--secondary-color), #FF4757);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 33, 39, 0.3);
}

/* Modern Home Section */
.modern-home-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url('images/schoolback.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), #FFD700);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), #FF4757);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), #2C5282);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

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

.modern-home-section .container {
    position: relative;
    z-index: 2;
}

.modern-home-section .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-left {
    animation: slideInLeft 1s ease-out;
}

.hero-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.modern-home-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 183, 26, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 183, 26, 0.2);
}

.modern-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.title-line-1 {
    display: block;
    color: var(--accent-color);
}

.title-line-2 {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    display: block;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.modern-hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.modern-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), #FFD700);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 183, 26, 0.4);
}

.secondary-btn {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.secondary-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 48, 90, 0.2);
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
}

.visual-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 183, 26, 0.1);
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-4:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.visual-card i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.card-1 i { color: var(--primary-color); }
.card-2 i { color: var(--secondary-color); }
.card-3 i { color: var(--accent-color); }
.card-4 i { color: #28a745; }

.visual-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.visual-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.card-1 {
    animation: cardFloat 3s ease-in-out infinite;
}

.card-2 {
    animation: cardFloat 3s ease-in-out infinite 1s;
}

.card-3 {
    animation: cardFloat 3s ease-in-out infinite 2s;
}

.card-4 {
    animation: cardFloat 3s ease-in-out infinite 3s;
}

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

/* Responsive Design for Modern Layout */
@media (max-width: 1024px) {
    .modern-home-section .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .modern-hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modern-navbar .nav-container {
        grid-template-columns: auto auto;
        gap: 20px;
    }
    
    .modern-navbar .nav-center {
        display: none;
    }
    
    .modern-home-section {
        padding: 100px 0 60px;
    }
    
    .modern-hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .modern-hero-buttons {
        justify-content: center;
    }
    
    .shape-1, .shape-2, .shape-3 {
        opacity: 0.05;
    }
}

@media (max-width: 480px) {
    .modern-hero-title {
        font-size: 2rem;
    }
    
    .title-accent {
        font-size: 1.8rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .modern-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modern-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Modern Gallery Section */
.modern-gallery-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    overflow: hidden;
}

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

.gallery-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.gallery-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.gallery-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 10%;
    animation-delay: 3s;
}

.gallery-shape.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 6s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(245, 183, 26, 0.05) 0%, transparent 50%);
}

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

.gallery-showcase {
    display: grid;
    gap: 3rem;
}

.main-gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.gallery-viewer {
    position: relative;
    background: white;
    border-radius: 25px;
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 20px;
}

.gallery-main-image.active {
    opacity: 1;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    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;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    pointer-events: all;
}

.gallery-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-btn i {
    font-size: 1.2rem;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.indicator:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.gallery-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-stats {
    display: grid;
    gap: 1.5rem;
}

.gallery-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.gallery-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gallery-stats .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-stats .stat-icon i {
    font-size: 1.3rem;
    color: white;
}

.gallery-stats .stat-data {
    display: flex;
    flex-direction: column;
}

.gallery-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.gallery-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-description {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.gallery-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.gallery-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.gallery-features {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.gallery-thumbnails {
    margin-top: 2rem;
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: white;
    font-size: 1.2rem;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .main-gallery-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-image-container {
        height: 300px;
    }
    
    .gallery-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .gallery-stats .stat-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .gallery-stats .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .gallery-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .gallery-description {
        padding: 1.5rem;
    }
    
    .gallery-features {
        grid-template-columns: 1fr;
    }
}