* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0f172a;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #facc15;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #facc15;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

.hero-container {
    max-width: 800px;
    padding: 0 20px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: transparent;
    padding: 0px;
    border-radius: 50%;
    margin: 0 auto 40px;
    box-shadow: 0 30px; rgba(12, 4, 126, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.tagline {
    color: #facc15;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    font-style: italic;
}

.main-heading {
    color: white;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.quote {
    font-size: 36px;
    font-weight: 600;
    color: #0f172a;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 80px;
    color: #facc15;
    position: absolute;
    left: -20px;
    top: -20px;
}

/* Section Titles */
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #facc15;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Courses Section */
.courses-section {
    padding: 100px 0;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border-top: 4px solid #e2e8f0;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-top-color: #facc15;
}

.course-card h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.course-card p {
    color: #64748b;
    font-weight: 500;
}

.olympiad { border-top-color: #3b82f6; }
.crash { border-top-color: #10b981; }

/* Board Section */
.board-section {
    padding: 80px 0;
    background: #f8fafc;
}

.boards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.board-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.board-card h3 {
    font-size: 24px;
    color: #0f172a;
    font-weight: 700;
}

/* Director Section */
.director-section {
    padding: 100px 0;
    background: white;
}

.director-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.director-image-container {
    position: corner;
}

.director-image {
    width: 50%;
    max-width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.director-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #facc15;
    color: #0f172a;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.4);
    text-align: center;
}

.director-badge h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.director-message {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.director-message p {
    margin-bottom: 20px;
}

.director-sign {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.director-sign h4 {
    color: #0f172a;
    font-size: 20px;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
}

/* Results Section */
.results-section {
    padding: 100px 0;
    background: #f8fafc;
    text-align: center;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.result-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.result-card h3 {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.result-card p {
    font-size: 24px;
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 10px;
}

.result-card span {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    color: white;
}

.vision-quote {
    font-size: 32px;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.mission-item {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #0f172a;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 15px 35px rgba(250, 204, 21, 0.3);
    transition: all 0.3s ease;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(250, 204, 21, 0.4);
}

/* Goal Section */
.goal-section {
    padding: 100px 0;
    background: #f8fafc;
    text-align: center;
}

.goal-quote {
    font-size: 28px;
    color: #0f172a;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 500;
    font-style: italic;
}

.motivational-line {
    font-size: 22px;
    color: #facc15;
    font-weight: 600;
    margin-top: 30px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.section-subtitle {
    color: #64748b;
    font-size: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    color: #0f172a;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    color: #64748b;
    line-height: 1.7;
}

.map {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 28px;
    font-weight: 700;
    color: #facc15;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #facc15;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .main-heading {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .director-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .quote {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 0;
        min-height: 80vh;
    }
    
    .logo {
        width: 180px;
        height: 180px;
    }
    
    .courses-grid,
    .features-grid,
    .results-container {
        grid-template-columns: 1fr;
    }
}