/* =============================================
   RIYAD SALIHEEN SCHOOL - MAIN STYLESHEET
   Professional Islamic Education Website
   ============================================= */

/* CSS Variables */
:root {
    --primary-color: #0d7377;
    --secondary-color: #f4a261;
    --accent-color: #2a9d8f;
    --tertiary-color: #e76f51;
    --purple-accent: #6a4c93;
    --blue-accent: #1982c4;
    --dark-color: #1a1a1a;
    --light-color: #f0f7f4;
    --white: #ffffff;
    --text-color: #2d3748;
    --border-color: #cbd5e0;
    --shadow: 0 4px 15px rgba(13, 115, 119, 0.15);
    --shadow-lg: 0 15px 40px rgba(13, 115, 119, 0.2);
    --shadow-color: 0 8px 25px rgba(42, 157, 143, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #0d7377 0%, #2a9d8f 100%);
    --gradient-secondary: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    --gradient-accent: linear-gradient(135deg, #6a4c93 0%, #1982c4 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to bottom, #ffffff 0%, #f0f7f4 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0d7377 0%, #2a9d8f 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(13, 115, 119, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1982c4 0%, #6a4c93 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 130, 196, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e76f51 0%, #6a4c93 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 111, 81, 0.4);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--accent-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #0d7377, #2a9d8f, #f4a261, #e76f51);
    margin: 15px auto;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(13, 115, 119, 0.3);
}

.divider::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #f4a261, #e76f51);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(244, 162, 97, 0.6);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 247, 244, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(13, 115, 119, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #0d7377, #2a9d8f, #f4a261) 1;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(13, 115, 119, 0.3));
}

.logo h1 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-item-with-submenu {
    position: relative;
}

.nav-item-with-submenu > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item-with-submenu > a i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(13, 115, 119, 0.2);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    margin-top: 8px;
}

.nav-item-with-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 12px 18px;
    color: var(--text-color);
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: none;
}

.submenu a:hover {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1) 0%, rgba(244, 162, 97, 0.1) 100%);
    color: var(--primary-color);
    padding-left: 22px;
}

.submenu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.submenu li:last-child a {
    border-radius: 0 0 8px 8px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    background: linear-gradient(to right, transparent, rgba(42, 157, 143, 0.1), transparent);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* =============================================
   HERO SLIDER
   ============================================= */

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.slide:nth-child(1):not([style*="background-image"]) {
    background: linear-gradient(135deg, #0d7377 0%, #14919b 50%, #2a9d8f 100%);
}

.slide:nth-child(2):not([style*="background-image"]) {
    background: linear-gradient(135deg, #6a4c93 0%, #8b6bb7 50%, #1982c4 100%);
}

.slide:nth-child(3):not([style*="background-image"]) {
    background: linear-gradient(135deg, #f4a261 0%, #d68147 50%, #e76f51 100%);
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-text {
    color: var(--white);
    max-width: 700px;
}

.slide-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.slide-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: slideInRight 1s ease-out;
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

@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);
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.9), rgba(231, 111, 81, 0.9));
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    width: 35px;
    border-radius: 8px;
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.6);
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* =============================================
   WELCOME SECTION
   ============================================= */

.welcome-section {
    padding: 80px 0;
    background-color: var(--white);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}

.welcome-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image img {
    width: 100%;
    height: auto;
}

/* =============================================
   FEATURES SECTION
   ============================================= */

.features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, transparent 70%);
    transition: var(--transition);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(13, 115, 119, 0.25);
    border-color: var(--secondary-color);
}

.feature-card:hover::before {
    opacity: 1;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0d7377 0%, #2a9d8f 50%, #1982c4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(13, 115, 119, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 50%, #6a4c93 100%);
    box-shadow: 0 12px 30px rgba(244, 162, 97, 0.4);
}

.feature-icon i {
    font-size: 2.8rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* =============================================
   QUOTE SECTION
   ============================================= */

.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d7377 0%, #2a9d8f 50%, #1982c4 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.2) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 1.2rem;
    font-weight: 600;
}

/* =============================================
   PROGRAMS PREVIEW
   ============================================= */

.programs-preview {
    padding: 80px 0;
    background-color: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 157, 143, 0.1), transparent);
    transition: left 0.5s;
}

.program-card:hover::after {
    left: 100%;
}

.program-card:hover {
    border-image: linear-gradient(135deg, #0d7377, #2a9d8f, #f4a261) 1;
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(13, 115, 119, 0.25);
}

.program-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(13, 115, 119, 0.2), inset 0 2px 10px rgba(42, 157, 143, 0.1);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.program-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d7377, #2a9d8f, #f4a261, #e76f51);
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.program-card:hover .program-icon {
    transform: scale(1.1);
}

.program-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #0d7377, #2a9d8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(13, 115, 119, 0.3));
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* =============================================
   CALL TO ACTION
   ============================================= */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 50%, #6a4c93 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: linear-gradient(135deg, #1a2c2e 0%, #0d7377 50%, #2a9d8f 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #f4a261, #e76f51, #6a4c93, #1982c4, #2a9d8f);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(244, 162, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 76, 147, 0.1) 0%, transparent 50%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.2), rgba(42, 157, 143, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    color: var(--white);
    font-size: 1.2rem;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f4a261, #e76f51, #6a4c93, #1982c4);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: rotateBorder 3s linear infinite;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    transform: translateY(-5px) scale(1.1) rotate(360deg);
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* =============================================
   PAGE HEADER (INNER PAGES)
   ============================================= */

.page-header {
    background: linear-gradient(135deg, #0d7377 0%, #2a9d8f 50%, #1982c4 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(244, 162, 97, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 76, 147, 0.2) 0%, transparent 50%);
    animation: rotateGradient 15s linear infinite;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* =============================================
   ABOUT PAGE STYLES
   ============================================= */

.about-content {
    padding: 80px 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 50px;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.arabic-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-list {
    list-style: none;
}

.vision-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.vision-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.values-section {
    margin-bottom: 60px;
}

.values-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0d7377, #2a9d8f, #f4a261);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(42, 157, 143, 0.25);
    border-color: var(--secondary-color);
}

.value-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6a4c93 0%, #1982c4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(106, 76, 147, 0.3);
    transition: var(--transition);
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f4a261, #e76f51, #6a4c93, #1982c4);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: rotateBorder 4s linear infinite;
}

.value-card:hover .value-icon::after {
    opacity: 1;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
}

.value-icon i {
    font-size: 2.2rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.philosophy-section,
.history-section,
.methodology-section {
    margin-bottom: 60px;
}

.philosophy-section h2,
.history-section h2,
.methodology-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.philosophy-text p {
    margin-bottom: 20px;
}

.philosophy-quote .quote-box {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
}

.quote-box i {
    color: var(--secondary-color);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 10px;
}

.quote-box p {
    font-style: italic;
    margin-bottom: 10px;
}

.quote-box span {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.method-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.method-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.method-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-card i {
    color: var(--secondary-color);
}

/* =============================================
   PROGRAMS PAGE STYLES
   ============================================= */

.programs-overview {
    padding: 60px 0;
    background-color: var(--light-color);
}

.program-detail {
    padding: 80px 0;
}

.program-detail.alternate {
    background-color: var(--light-color);
}

.program-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.program-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.program-badge i {
    font-size: 3rem;
    color: var(--white);
}

.program-detail h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.program-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.program-detail h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.feature-list,
.outcome-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li,
.outcome-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.info-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    border-image: linear-gradient(to bottom, #0d7377, #2a9d8f, #f4a261) 1;
    transition: var(--transition);
}

.info-box:hover {
    box-shadow: 0 12px 30px rgba(13, 115, 119, 0.2);
    transform: translateX(5px);
}

.program-detail.alternate .info-box {
    background-color: var(--light-color);
    border: 2px solid var(--border-color);
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    margin-bottom: 10px;
}

.info-box.highlight {
    background: linear-gradient(135deg, #6a4c93 0%, #1982c4 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(106, 76, 147, 0.3);
    border-image: none;
    border-left: none;
    position: relative;
    overflow: hidden;
}

.info-box.highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.2) 0%, transparent 70%);
    animation: rotateGradient 10s linear infinite;
}

.info-box.highlight h4,
.info-box.highlight p {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.subject-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.subject-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subject-section i {
    color: var(--secondary-color);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.level-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.level-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.academic-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.academic-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.academic-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.academic-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.additional-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.program-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.program-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.program-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* =============================================
   ADMISSIONS PAGE STYLES
   ============================================= */

.admissions-process {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 162, 97, 0.1), transparent);
    transition: left 0.6s;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 115, 119, 0.25);
    border-image: linear-gradient(135deg, #0d7377, #2a9d8f, #f4a261) 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
    transition: var(--transition);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6a4c93, #1982c4, #2a9d8f, #f4a261);
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover .step-number::before {
    opacity: 1;
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(360deg);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.requirements-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.requirements-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.requirements-card h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: var(--light-color);
    border-radius: 5px;
}

.requirements-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.tuition-section {
    padding: 80px 0;
}

.tuition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tuition-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    padding: 45px 35px;
    border-radius: 20px;
    border: 3px solid transparent;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tuition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #0d7377, #2a9d8f, #f4a261, #e76f51);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.tuition-card:hover::before {
    transform: scaleX(1);
}

.tuition-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(13, 115, 119, 0.25);
    border-image: linear-gradient(135deg, #0d7377, #2a9d8f, #f4a261) 1;
}

.tuition-card.featured {
    border-image: linear-gradient(135deg, #f4a261, #e76f51, #6a4c93) 1;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.3);
}

.tuition-card.featured::before {
    transform: scaleX(1);
    background: linear-gradient(to right, #f4a261, #e76f51, #6a4c93, #1982c4);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.tuition-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price {
    margin: 30px 0;
}

.currency {
    font-size: 1.5rem;
    color: var(--secondary-color);
    vertical-align: super;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.period {
    font-size: 1.2rem;
    color: var(--text-color);
}

.tuition-includes {
    list-style: none;
    text-align: left;
}

.tuition-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tuition-includes i {
    color: var(--accent-color);
}

.payment-info {
    margin-top: 60px;
    text-align: center;
}

.payment-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.payment-option {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.payment-option i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.payment-option h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.financial-aid {
    margin-top: 60px;
}

.aid-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.aid-box i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.aid-box h3,
.aid-box p {
    color: var(--white);
}

.important-dates {
    padding: 80px 0;
    background-color: var(--light-color);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.date-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.date-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.date-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.date-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item i {
    color: var(--secondary-color);
}

.application-cta {
    padding: 80px 0;
    background-color: var(--light-color);
}

.cta-box {
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.application-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.contact-text {
    margin-top: 20px;
    color: var(--text-color);
}

.contact-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--accent-color);
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2a9d8f;
    border-image: linear-gradient(135deg, #0d7377, #2a9d8f, #f4a261) 1;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1), 0 8px 20px rgba(13, 115, 119, 0.15);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
}

.info-cards {
    margin-top: 30px;
}

.info-card {
    display: flex;
    gap: 20px;
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.info-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.social-section {
    margin-top: 40px;
}

.social-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.5rem;
}

.map-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visit-section {
    padding: 80px 0;
}

.visit-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.visit-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.visit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.visit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.visit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.departments-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.department-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.department-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.department-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.prayer-times-notice {
    padding: 60px 0;
}

.notice-box {
    background: linear-gradient(135deg, var(--secondary-color), #b89852);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.notice-box i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.notice-box h3,
.notice-box p {
    color: var(--white);
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
    position: relative;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0d7377, #2a9d8f, #f4a261, #e76f51);
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
    opacity: 0;
}

.scroll-to-top:hover::before {
    opacity: 1;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.5s;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.scroll-to-top:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 12px 30px rgba(231, 111, 81, 0.5);
    background: linear-gradient(135deg, #6a4c93, #1982c4);
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        box-shadow: none;
        background: rgba(42, 157, 143, 0.1);
        margin-top: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-item-with-submenu:hover .submenu {
        opacity: 0;
        visibility: hidden;
    }

    .nav-item-with-submenu.active .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
    }

    .submenu li:first-child a,
    .submenu li:last-child a {
        border-radius: 0;
    }

    .welcome-content {
        grid-template-columns: 1fr;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1.1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .content-grid,
    .philosophy-content,
    .program-detail-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .requirements-grid,
    .tuition-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .features-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .quote-text {
        font-size: 1.3rem;
    }

    .content-grid,
    .requirements-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .social-links-large {
        grid-template-columns: 1fr;
    }
}
