/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e40af;
}

.nav-logo i {
    font-size: 2rem;
    color: #1e40af;
}

.logo-text .school-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1e40af;
    display: block;
}

.logo-text .school-country {
    font-size: 0.8rem;
    color: #dc2626;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
    background-color: #fef2f2;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #dc2626;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    transition: 0.3s;
}

/* Section Styles */
.section {
    display: none;
    padding-top: 70px;
}

.section.active {
    display: block;
}

.page-hero {
    background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.pexels.com/photos/5212345/pexels-photo-5212345.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    color: #fca5a5;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #bfdbfe;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: #dc2626;
    color: white;
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 3rem;
    color: #fca5a5;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #bfdbfe;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: bold;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card:nth-child(odd) i {
    color: #1e40af;
}

.feature-card:nth-child(even) i {
    color: #dc2626;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-content h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.news-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1e3a8a;
}

/* About Section Styles */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.mission-card,
.vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mission-card i,
.vision-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card i {
    color: #1e40af;
}

.vision-card i {
    color: #dc2626;
}

.mission-card h2,
.vision-card h2 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.mission-card p,
.vision-card p {
    color: #6b7280;
    line-height: 1.7;
}

.values-section {
    padding: 4rem 0;
    background: white;
    margin: 4rem 0;
    border-radius: 12px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.value-card:nth-child(1) i {
    color: #dc2626;
}

.value-card:nth-child(2) i {
    color: #1e40af;
}

.value-card:nth-child(3) i {
    color: #dc2626;
}

.value-card h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

.history-section {
    margin: 4rem 0;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.history-text h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.history-text p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.history-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
}

.contact-info h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.contact-item h3 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Team Section Styles */
.team-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.team-grid.leadership {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.team-grid.departments {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-grid.departments .team-card img {
    height: 200px;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.position {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 1rem;
}

.education {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education i {
    color: #9ca3af;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1e3a8a;
}

.contact-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Gallery Section Styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #1e40af;
    color: white;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay .category {
    background: #dc2626;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Notices Section Styles */
.notices-list {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.notice-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.notice-card.pinned {
    border-left: 4px solid #dc2626;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1rem;
}

.notice-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pin-icon {
    color: #dc2626;
}

.notice-info i:not(.pin-icon) {
    font-size: 1.3rem;
    margin-top: 0.25rem;
}

.notice-info h3 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.priority {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

.priority.high {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.priority.medium {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fed7aa;
}

.priority.low {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.notice-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.important {
    background: #1e40af;
    color: white;
}

.badge.meeting {
    background: #1e40af;
    color: white;
}

.badge.event {
    background: #16a34a;
    color: white;
}

.badge.reminder {
    background: #d97706;
    color: white;
}

.badge.pinned {
    background: #dc2626;
    color: white;
}

.notice-card p {
    color: #6b7280;
    line-height: 1.6;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

.notice-footer span {
    color: #6b7280;
    font-size: 0.9rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1e40af;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #1e3a8a;
}

.load-more {
    text-align: center;
}

/* Downloads Section Styles */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.download-category {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e5e7eb 100%);
}

.category-header i {
    font-size: 2rem;
}

.category-header:nth-child(1) i {
    color: #1e40af;
}

.category-header h2 {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: bold;
}

.files-list {
    padding: 1.5rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: #e5f3ff;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-info i {
    font-size: 1.3rem;
    color: #dc2626;
}

.file-info h3 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.file-meta i {
    font-size: 0.7rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fca5a5;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: #fca5a5;
}

.footer-logo h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #bfdbfe;
}

.footer-section p {
    color: #bfdbfe;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #bfdbfe;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.footer-section .contact-item:hover {
    transform: none;
    box-shadow: none;
}

.footer-section .contact-item i {
    color: #fca5a5;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.footer-section .contact-item p {
    color: #bfdbfe;
    margin: 0;
    line-height: 1.4;
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

.newsletter input::placeholder {
    color: #bfdbfe;
}

.newsletter input:focus {
    outline: none;
    border-color: #fca5a5;
}

.newsletter .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #3b82f6;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #bfdbfe;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #ccc;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.modal-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.modal-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.modal-info p {
    color: #bfdbfe;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .news-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .team-grid.leadership,
    .team-grid.departments {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
    }

    .modal-nav {
        display: none;
    }

    .modal-content {
        padding: 10px;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .feature-card,
    .news-card,
    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.9rem;
    }

    .notice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .notice-badges {
        align-self: flex-start;
    }

    .notice-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .downloads-grid {
        gap: 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section.active {
    animation: fadeIn 0.5s ease-in-out;
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.filter-btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .btn,
    .modal {
        display: none !important;
    }
    
    .section {
        display: block !important;
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}