:root {
    --primary-blue: #4A90E2;
    --dark-blue: #2C3E50;
    --light-bg: #E8F4F8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-blue) !important;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.btn-login {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.btn-login:hover {
    background: #357ABD;
    color: white;
}

/* Exam Navigation */
.exam-nav {
    background: var(--light-bg);
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1000;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

.exam-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    text-decoration: none;
    margin: 0 1rem;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

.exam-nav .nav-link:hover {
    color: var(--dark-blue) !important;
}

.exam-nav .nav-link::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Dropdown Menus */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-blue);
    color: white;
    min-width: 250px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-container:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom.mega-menu {
    min-width: 800px;
    left: -200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dropdown-menu-custom.state-books-menu {
    min-width: 600px;
    left: -100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dropdown-column h6 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
}

.dropdown-column a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.dropdown-column a:hover {
    color: white;
    padding-left: 0.5rem;
}

.dropdown-menu-custom.simple-menu {
    min-width: 200px;
}

.dropdown-menu-custom.simple-menu a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #444;
}

.dropdown-menu-custom.simple-menu a:hover {
    color: white;
    padding-left: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9fa 100%);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background: var(--primary-blue);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    margin-right: 1rem;
}

.btn-primary-custom:hover {
    background: #357ABD;
}

.btn-outline-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-blue);
    color: white;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: #357ABD;
    color: white;
}

.copyright {
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #bbb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Hide exam nav on mobile */
    .exam-nav {
        display: none !important;
    }
    
    /* Adjust hero section margin since exam-nav is hidden */
    .hero-section {
        margin-top: 76px;
    }
    
    /* Mobile navbar styles */
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;      
     } }

    