/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f4f8;
    color: #333;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: #003366;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
}

.logo h2 {
    font-size: 24px;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

nav ul li a.active {
    background: gold;
    color: #003366;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 500px;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), 
                url('../images/school.jpg') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: gold;
    color: #003366;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #003366;
    transform: translateY(-3px);
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #003366;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: gold;
    margin: 10px auto;
    border-radius: 2px;
}

/* ===== FEATURES / CARDS ===== */
.features {
    padding: 60px 50px;
    background: white;
}

.cards {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 15px;
    width: 30%;
    min-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid gold;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 48px;
    color: gold;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #003366;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

.card-link {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.card-link:hover {
    color: gold;
}

/* ===== STATISTICS ===== */
.statistics {
    display: flex;
    justify-content: space-around;
    padding: 60px 50px;
    background: linear-gradient(135deg, #003366, #004080);
    color: white;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item i {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
    color: gold;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    display: block;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #003366, #004080);
    color: white;
    padding: 60px 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 44px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    color: #003366;
    margin: 25px 0 15px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.values-list {
    list-style: none;
    margin-top: 10px;
}

.values-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.values-list li i {
    color: gold;
    font-size: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===== NEWS PAGE ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-block;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-date i {
    margin-right: 5px;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #003366;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.read-more:hover {
    color: gold;
    gap: 15px;
}

/* ===== GALLERY PAGE ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 60px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 51, 102, 0.9));
    color: white;
    padding: 30px 20px;
    transition: bottom 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    opacity: 0.9;
    font-size: 14px;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 30px;
    color: gold;
    margin-top: 5px;
}

.contact-item h4 {
    color: #003366;
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #555;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h3 {
    color: #003366;
    font-size: 26px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: gold;
}

.form-group textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
footer {
    background: #003366;
    color: white;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 50px 50px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: gold;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 22px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: gold;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cards {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #003366;
        padding: 20px;
        gap: 10px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .statistics {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .contact-content {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}