/* Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
}
body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background: #f8fafc; 
    color: #222; 
    animation: pageFadeIn 0.5s ease-in-out;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 0;
}
img, picture, svg, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}
button, input, select, textarea, a {
    font-family: inherit;
}
a {
    text-decoration: none;
}
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; }
.table-responsive { width: 100%; overflow-x: auto; }

/* Responsive utility containers */
.grid-3, .card-grid, .services-grid, .courses-grid, .mission-vision-grid, .trust-grid, .about-stats, .academic-flex, .admission-flex, .about-container, .contact-flex {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

@media (max-width: 1200px) {
    .container { max-width: 1140px; }
}
@media (max-width: 992px) {
    .container { padding: 0 18px; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-flex, .admission-flex, .academic-flex, .about-content, .about-stats, .trust-grid, .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hero-content, .course-categories, .about-content, .admission-content, .contact-flex, .admission-flex, .academic-flex {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .hero h1, .hero h2, .section-title, .cta h2, .page-header h1 { text-align: center; }
    .btn, .submit-btn, .unique-header-header-btn, .unique-header-auth-btn { width: 100%; }
    .unique-header-header-search { width: 100%; margin: 10px 0; }
}
@media (max-width: 576px) {
    .container { padding: 0 12px; }
    .contact-section, .admission-section, .about-section, .hero, .cta { padding-left: 12px; padding-right: 12px; }
    .hero h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
    .hero p, .section-text, .footer-section p, .contact-info p { font-size: 0.95rem; }
}

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

/* Combined style for active and hover states on main navigation */


/* .main-nav a.active */

/* 
.navbar { background: #2563eb; color: #fff; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand h1 { font-size: 2rem; margin-bottom: 0; }
.nav-brand span { font-size: 1rem; color: #e0e7ff; }
.nav-menu { list-style: none; display: flex; gap: 2rem; }
.nav-menu li a { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 16px; border-radius: 4px; transition: background 0.2s; }
.nav-toggle { display: none; } */

/* Buttons */
.btn { display: inline-block; padding: 12px 32px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1e40af; }
.btn-secondary { background: #fff; color: #2563eb; border: 2px solid #2563eb; }
.btn-secondary:hover { background: #e0e7ff; }
.btn-large { padding: 16px 40px; font-size: 1.1rem; border-radius: 8px; }

/* Footer Styles */
.footer {
    background: #0a2342;
    color: #fff;
    padding: 32px 0 20px 0;
    font-size: 1rem;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 24px auto;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-section h3, .footer-section h4 {
    color: #fff;
    margin-bottom: 12px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links a {
    color: #e0e7ff;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #2563eb;
}

.site-footer-bottom {
    background: #09203f;
    padding: 10px 0;
}

/* Additional style for copyright text */
.site-footer-bottom p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .navbar .container, .footer-content { flex-direction: column; gap: 16px; }
    .nav-menu { flex-direction: column; gap: 1rem; }
}
@media (max-width: 600px) {
    .container { padding: 0 8px; }
    .footer-content { gap: 8px; }
}

/* Explore menu styles - now on hover and with an icon */
.explore-container {
    position: relative;
    z-index: 100;
}
.explore-container:hover .explore-menu {
    display: grid;
    animation: fadeIn 0.3s ease-in-out;
}

.explore-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e2e8f0;
    color: #0a2342;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
    margin-right: 20px;
}

.explore-btn:hover {
    background: #d4dbe8;
}

.explore-btn i {
    font-size: 1.2rem;
}

.explore-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 5px;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #e2e8eb;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 320px;
    padding: 10px;
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    list-style: none; /* Removed bullet points for a cleaner look */
    padding: 0; /* Removed default padding to control spacing manually */
}

.explore-menu li {
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 8px; /* Space between the bullet and the text */
}

/* Creating the custom bullet point */
.explore-menu li::before {
    content: "•"; /* Use the bullet character */
    color: #4a5568; /* Match the color of the text */
    font-size: 1.2rem;
    line-height: 1; /* Aligns the bullet vertically with the text */
}

.explore-menu li a {
    white-space: nowrap;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 400;
    transition: color 0.2s, font-weight 0.2s;
    text-decoration: none;
}

.explore-menu li a:hover {
    color: #2563eb;
    font-weight: 600;
}

.explore-menu li:hover {
    background-color: #f7fafc;
}

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

/* Responsive Styles */

/* Consistent Section Spacing */


@media (max-width: 900px) {
    .header-top,
    .header-bottom {
        flex-direction: column;
        gap: 15px;
        padding: 12px 8px;
    }
    .header-top {
        align-items: stretch;
    }
    .header-cta,
    .main-nav {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .header-search {
        width: 100%;
        margin: 10px 0;
    }
    .header-search form {
        width: 100%;
        max-width: 100%;
    }
    .explore-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: none;
        grid-template-columns: 1fr;
        padding: 0;
        margin-top: 0;
    }
    .explore-container.active .explore-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        animation: none;
    }
    .explore-menu li a {
        padding: 10px 15px;
        border: 1px solid #e5e7eb;
        background-color: #f9f9f9;
        font-weight: 500;
        border-radius: 4px;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}
.hero {
    /* Generic hero styles removed to allow page-specific hero designs */
    padding: 0 !important;
}
.header-btn {
    background: #0a2342;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background 0.2s;
    white-space: nowrap;
    margin-right: 20px;
}

.header-btn:hover {
    background: #2563eb;
}

/* Custom styles to remove top and bottom margin and padding of header sections and adjust navigation padding */
header {
    margin: 0;
    padding: 0;
}

nav {
    margin: 0;
    padding: 0;
}
