/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Islamic Green Theme */
    --primary-color: #1a7a4c;
    --primary-dark: #145c3a;
    --primary-light: #2d9d66;
    
    /* Secondary Colors - Gold Accent */
    --secondary-color: #d4a84b;
    --secondary-dark: #b8923e;
    --secondary-light: #e8c77a;
    
    /* Neutral Colors */
    --dark-color: #1a1a2e;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-arabic: 'Amiri', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 15px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero outline button override */
.hero .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
}

/* ===== Development Notice (Hero) ===== */
.dev-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f59e0b !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.dev-notice i {
    font-size: 14px;
}

/* Dev Banner for inner pages */
.dev-banner {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.dev-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dev-banner i {
    font-size: 16px;
}

/* ===== Top Bar ===== */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 24px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 13px;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius);
}

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

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

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 122, 76, 0.92) 0%, rgba(20, 92, 58, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 30px 0 60px;
}

.hero-text {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--secondary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.hero-scroll {
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    z-index: 1;
}

.hero-scroll a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== Stats Section ===== */
.stats-section {
    background-color: var(--white);
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

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

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
}

.stat-number,
.stat-ratio {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {
    padding: var(--section-padding);
    background-color: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    padding: 25px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .years {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.about-image-badge .text {
    font-size: 14px;
    color: var(--white);
    line-height: 1.3;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--gray-700);
}

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

/* ===== Programs Section ===== */
.programs-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 122, 76, 0.1), rgba(45, 157, 102, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.program-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.program-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.program-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.program-meta i {
    color: var(--secondary-color);
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

.program-link:hover {
    gap: 12px;
}

.programs-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== Why Section ===== */
.why-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content .section-badge {
    margin-bottom: 12px;
}

.why-content .section-title {
    text-align: left;
    margin-bottom: 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.why-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.why-text p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.why-image {
    position: relative;
}

.why-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== News Section ===== */
.news-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: 1;
    grid-row: 1 / 3;
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card.featured .news-image {
    height: 300px;
}

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

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

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.featured .news-title {
    font-size: 22px;
    -webkit-line-clamp: 3;
}

.news-excerpt {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

.news-link:hover {
    gap: 12px;
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    background-image: url('../assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 122, 76, 0.95), rgba(20, 92, 58, 0.95));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    margin: 0 auto 16px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 122, 76, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    display: block;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

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

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

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

.footer-logo-text span:first-child {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text span:last-child {
    font-size: 11px;
    color: var(--gray-400);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 16px;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-badge {
        right: 20px;
        bottom: -20px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 0;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        justify-content: center;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: auto;
        grid-row: auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image-badge {
        padding: 20px;
    }
    
    .about-image-badge .years {
        font-size: 32px;
    }
    
    .program-card {
        padding: 25px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}
