/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #2c3e50;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
}

.login-btn {
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white !important;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #2980b9;
}

.login-btn.admin {
    background: #2c3e50;
}

.login-btn.admin:hover {
    background: #34495e;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)),
                url('sc.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.stat-box h3 {
    color: #e74c3c;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Academics Section */
.academics-section {
    padding: 5rem 0;
    background: white;
}

.academics-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.academics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.feature-item {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.subjects-container {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.subjects-container h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.subjects-list {
    list-style: none;
}

.subjects-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #2c3e50;
}

.subjects-list li:last-child {
    border-bottom: none;
}

/* Admissions Section */
.admissions-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.admissions-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.admissions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.admission-info h3,
.fees-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.admission-requirements,
.admission-process {
    margin-top: 2rem;
}

.admission-requirements h4,
.admission-process h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.admission-requirements ul,
.admission-process ol {
    padding-left: 1.5rem;
}

.admission-requirements li,
.admission-process li {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.fees-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.fee-structure {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.fee-item h4 {
    color: #2c3e50;
    margin: 0;
}

.fee-item p {
    color: #e74c3c;
    font-weight: 600;
    margin: 0;
}

.fee-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #3498db;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
}

/* News & Events Section */
.news-events {
    padding: 5rem 0;
}

.news-events h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #3498db;
    text-decoration: none;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .academics-grid,
    .admissions-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .curriculum-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #2c3e50;
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        gap: 1.5rem;
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .nav-links a {
        color: white;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        color: #3498db;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .login-btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
} 