:root {
    --primary: #004A99;      /* Dark Blue from logo */
    --secondary: #0066CC;    /* Lighter blue complement */
    --accent: #FF9800;       /* Orange from logo lightbulb */
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 0; /* Reduced header padding significantly */
    text-align: center;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo styling - Ensure consistency across all pages */
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 120px !important; /* Added !important to override any conflicting styles */
    width: auto;
    margin-right: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
}

.nav-links .dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    position: relative;
}

.dropdown-menu a {
    color: var(--dark);
    padding: 0.75rem 1.25rem;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: var(--primary);
    color: white;
}

/* Second-level dropdown */
.dropdown-menu .dropdown {
    position: relative;
}

.dropdown-menu .dropdown > a::after {
    content: '►';
    position: absolute;
    right: 1rem;
    font-size: 0.7rem;
}

.dropdown-menu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
}

.dropdown-menu .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Dropdown Styles */
.dropdown-menu.mobile-open {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding-left: 1rem;
}

.dropdown-menu.mobile-open a {
    color: white;
    padding: 0.5rem 1rem;
}

.dropdown-menu.mobile-open a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Enhanced Glass-like Hero Section with Gradient */
.hero {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.25) 0%, rgba(0, 74, 153, 0.3) 33%, rgba(0, 102, 204, 0.35) 66%, rgba(255, 152, 0, 0.25) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.8rem 3rem; /* Further reduced vertical padding */
    border-radius: 20px;
    margin: 1.5rem auto; /* Reduced vertical margin more */
    max-width: 1200px; /* Increased width even more */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 20px 20px 0 0;
}

.hero h1 {
    font-size: 2.5rem; /* Slightly reduced font size */
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem; /* Further reduced margin */
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem; /* Slightly reduced font size */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem; /* Further reduced margin */
    max-width: 750px; /* Increased max width */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero .btn {
    background: linear-gradient(135deg, var(--accent), #F57C00);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.4);
}

/* Hero Statistics */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 5rem; /* Increased gap for more horizontal spread */
    margin-top: 1.5rem; /* Further reduced top margin */
    padding-top: 1.2rem; /* Further reduced top padding */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #F57C00;
}

section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary); /* Fixed the syntax error */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.features {
    background-color: #f0f4ff;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta {
    background-color: var(--secondary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    color: white;
}

.cta-btn {
    background-color: white;
    color: var(--secondary);
    margin-top: 1.5rem;
    min-height: 44px;
}

.cta-btn:hover {
    background-color: #f0f0f0;
}

/* FIND THESE LINES IN YOUR STYLES.CSS (around lines 269-290) AND DELETE THEM: */

footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 1rem 0;
}

.footer-links li {
    margin: 0 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

/* REPLACE THE ABOVE WITH THIS ENHANCED FOOTER CSS: */

/* Enhanced Footer Styles */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 1rem;
    min-height: 44px;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

.checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer; /* Add this */
}

.radio-item input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer; /* Add this */
}

.service-icon, .user-icon, .form-label {
    pointer-events: none; /* Add this to prevent interference */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links li a {
        padding: 0.75rem 1rem;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        box-shadow: none;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu.mobile-open {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-toggle::after {
        margin-left: auto;
    }

    .hero {
        padding: 1.5rem 1.5rem; /* Reduced mobile padding */
        margin: 1rem auto;
    }

    .hero h1 {
        font-size: 1.8rem; /* Reduced for mobile */
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .logo-image {
        height: 60px !important; /* Ensure mobile logo size is consistent */
    }
}
