* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --secondary-color: #50C878;
    --accent-color: #FF6B6B;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    position: relative;
    overflow-x: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand .logo i {
    animation: fadeInScale 2s ease-in-out infinite alternate;
}

.nav-brand .logo i:first-child {
    animation-delay: 0.3s;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-style: italic;
}

@keyframes fadeInScale {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animations للأشكال الهندسية */
@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.03;
        transform: scale(1);
    }
    50% {
        opacity: 0.05;
        transform: scale(1.1);
    }
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -40px);
    }
    50% {
        transform: translate(-20px, -80px);
    }
    75% {
        transform: translate(-40px, -40px);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-50px, 30px);
    }
    66% {
        transform: translate(30px, -30px);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -60px) scale(1.2);
    }
}

@keyframes rotate-float-1 {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    25% {
        transform: rotate(135deg) translate(20px, -30px);
    }
    50% {
        transform: rotate(225deg) translate(-30px, -50px);
    }
    75% {
        transform: rotate(315deg) translate(-20px, -20px);
    }
}

@keyframes rotate-float-2 {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        transform: rotate(225deg) translate(50px, 40px);
    }
}

@keyframes float-rotate {
    0%, 100% {
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(90deg) translateY(-30px);
    }
    50% {
        transform: rotate(180deg) translateY(-60px);
    }
    75% {
        transform: rotate(270deg) translateY(-30px);
    }
}

@keyframes float-rotate-reverse {
    0%, 100% {
        transform: rotate(180deg) translateY(0);
    }
    25% {
        transform: rotate(270deg) translateY(30px);
    }
    50% {
        transform: rotate(360deg) translateY(60px);
    }
    75% {
        transform: rotate(450deg) translateY(30px);
    }
}

@keyframes wave-move {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-100px);
    }
}

@keyframes wave-move-reverse {
    0%, 100% {
        transform: rotate(180deg) translateX(0);
    }
    50% {
        transform: rotate(180deg) translateX(100px);
    }
}

@keyframes dot-float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.15;
    }
    25% {
        transform: translate(30px, -50px);
        opacity: 0.25;
    }
    50% {
        transform: translate(-30px, -100px);
        opacity: 0.1;
    }
    75% {
        transform: translate(50px, -70px);
        opacity: 0.2;
    }
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.06;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.12;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s ease-out;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    right: auto;
    left: 0;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.95) 0%, rgba(80, 200, 120, 0.95) 100%),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"%3E%3Cdefs%3E%3ClinearGradient id="grad1" x1="0%25" y1="0%25" x2="100%25" y2="100%25"%3E%3Cstop offset="0%25" style="stop-color:%234A90E2;stop-opacity:1" /%3E%3Cstop offset="100%25" style="stop-color:%2350C878;stop-opacity:1" /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width="1920" height="1080" fill="url(%23grad1)"/%3E%3C!-- Books --%3E%3Cg opacity="0.15"%3E%3Crect x="100" y="200" width="80" height="120" fill="%23fff" transform="rotate(-15 140 260)"/%3E%3Crect x="200" y="150" width="70" height="110" fill="%23fff" transform="rotate(10 235 205)"/%3E%3Crect x="1600" y="300" width="90" height="130" fill="%23fff" transform="rotate(20 1645 365)"/%3E%3Crect x="1700" y="200" width="75" height="115" fill="%23fff" transform="rotate(-10 1737 257)"/%3E%3C!-- Graduation caps --%3E%3Cpath d="M 400 800 L 500 850 L 600 800 L 500 750 Z" fill="%23fff"/%3E%3Crect x="490" y="850" width="20" height="60" fill="%23fff"/%3E%3Cpath d="M 1400 700 L 1500 750 L 1600 700 L 1500 650 Z" fill="%23fff"/%3E%3Crect x="1490" y="750" width="20" height="60" fill="%23fff"/%3E%3C!-- Pencils --%3E%3Crect x="300" y="600" width="15" height="150" fill="%23fff" transform="rotate(30 307 675)"/%3E%3Cpolygon points="300,590 315,590 307,570" fill="%23fff" transform="rotate(30 307 580)"/%3E%3Crect x="1500" y="500" width="15" height="150" fill="%23fff" transform="rotate(-25 1507 575)"/%3E%3Cpolygon points="1500,490 1515,490 1507,470" fill="%23fff" transform="rotate(-25 1507 480)"/%3E%3C!-- Abstract patterns --%3E%3Ccircle cx="800" cy="200" r="50" fill="%23fff" opacity="0.1"/%3E%3Ccircle cx="1200" cy="900" r="70" fill="%23fff" opacity="0.1"/%3E%3Ccircle cx="200" cy="500" r="40" fill="%23fff" opacity="0.1"/%3E%3Ccircle cx="1700" cy="600" r="60" fill="%23fff" opacity="0.1"/%3E%3C/g%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.hero-description {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

.quick-access {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeIn 1.5s;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Dashboard */
.dashboard {
    background: var(--white);
}

.dashboard-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 600;
    color: var(--dark-color);
}

.select-box {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.3s;
}

.select-box:focus {
    outline: none;
    border-color: var(--primary-color);
}

.select-box:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate-gradient 10s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.subjects-section,
.study-plan {
    margin-bottom: 3rem;
}

.subjects-section h3,
.study-plan h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: right;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.subject-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-right: 4px solid var(--primary-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(74, 144, 226, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.subject-card:hover {
    transform: translateY(-5px) translateX(-3px);
    box-shadow: var(--shadow-hover);
    border-right-width: 6px;
}

.subject-card:hover::before {
    opacity: 1;
}

.subject-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.subject-card p {
    color: #666;
    font-size: 0.95rem;
}

.plan-grid {
    display: grid;
    gap: 1rem;
}

.plan-day {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-right: 4px solid var(--secondary-color);
}

.plan-day h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.plan-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.plan-subject {
    background: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Library */
.library {
    background: #f8f9fa;
}

.library-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.search-box {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 300px;
    transition: border-color 0.3s;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-color);
}

.library-welcome {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.library-welcome i {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.library-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.resource-header {
    padding: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
}

.resource-header h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.resource-body {
    padding: 1.5rem;
}

.resource-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.resource-card p {
    color: #666;
    margin-bottom: 1rem;
}

.resource-card .btn {
    width: 100%;
    justify-content: center;
}

/* Calendar */
/* Guidance */
.guidance {
    background: var(--white);
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guidance-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.guidance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.guidance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.guidance-card:hover::before {
    opacity: 1;
    animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.guidance-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.guidance-card p {
    color: #666;
    margin-bottom: 1rem;
}

.guidance-card ul {
    list-style: none;
    padding-right: 0;
}

.guidance-card li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: #555;
}

.guidance-card li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Achievements */
.achievements {
    background: #f8f9fa;
}

.achievements-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.student-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #ddd;
}

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

.student-card.gold {
    border-top-color: #FFD700;
}

.student-card.silver {
    border-top-color: #C0C0C0;
}

.student-card.bronze {
    border-top-color: #CD7F32;
}

.student-card .rank {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.student-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.student-card .class {
    color: #666;
    margin-bottom: 0.5rem;
}

.student-card .average {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.competitions-list {
    display: grid;
    gap: 1.5rem;
}

.competition-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.competition-item i {
    font-size: 3rem;
    color: #FFD700;
}

.competition-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.competition-item p {
    color: #666;
    font-size: 0.95rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-card h4 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.activity-card p {
    padding: 0 1.5rem;
    color: #666;
}

.activity-card .date {
    display: block;
    padding: 0.5rem 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.poet-quote {
    font-style: italic;
    color: var(--secondary-color) !important;
    opacity: 1 !important;
    margin-top: 1rem;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    /* إخفاء بعض الأشكال على الشاشات الصغيرة */
    .shape.circle-3,
    .shape.square-2,
    .shape.triangle-2,
    .shape.wave-2,
    .shape.ring-2,
    .shape.dot-3,
    .shape.dot-4,
    .shape.dot-5 {
        display: none;
    }
    
    .shape.circle-1,
    .shape.circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape.square-1 {
        width: 120px;
        height: 120px;
    }
    
    .shape.ring-1 {
        width: 200px;
        height: 200px;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
    }

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

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .quick-access {
        flex-direction: column;
        align-items: stretch;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .dashboard-controls {
        flex-direction: column;
    }

    .select-box,
    .search-box {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .subjects-grid,
    .guidance-grid,
    .students-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .library-filters {
        flex-direction: column;
    }

    .map-info {
        width: 90%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
}
