 
/* Navbar Styles */
.navbar { 
    background-color: #FFFFFF;
    box-shadow: rgba(2, 8, 20, 0.06) 0px 1px 3px, rgba(2, 8, 20, 0.04) 0px 1px 2px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; 
    margin-top: 0;
}

.nav-container { 
    padding: 0 50px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Desktop dropdown container */
.nav-dropdowns {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hide mobile-only dropdowns on desktop */
.mobile-only {
    display: none; 
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none; 
}

.logo-img {
    height: 90px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: #F8FAFD;
}

.dropdown {
    position: relative;
}

.dropbtn {
    border: 1px solid var(--primary-color);
    background: none; 
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

@media (max-width: 1400px) {
    .nav-link {
        padding: 4px 10px;
    }
    .dropbtn {
        padding:4px 10px;
    } 
}


.dropbtn i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    color: var(--primary-color);
}

.dropdown.active .dropbtn {
    color: var(--primary-color);
    background-color: #F8FAFD;
}

.dropdown.active .dropbtn i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.mega-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: -200px;
    background-color: #FFFFFF;
    min-width: 280px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    border-radius: 8px;
    padding: 8px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.dropdown.active .mega-dropdown {
    border: 1px solid var(--primary-color);
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mega-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4px;
}

.dropdown-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-section h3 {
    color: #000000;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 12px;
}

.dropdown-section h4 {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px 4px 12px;
    margin: 8px 0 4px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Regular dropdown links */
.dropdown-section a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    line-height: 1.5;
    padding: 12px 16px;
    font-size: 0.9rem;
    /*background: #f0f6ff;*/
}

.dropdown-section a:hover {
    background-color: #F8FAFD;
    color: var(--primary-color);
}


.other-courses {
    width: 100%;
}

.other-courses h3 {
    font-size: 0.95rem;
    padding: 0;
    margin: 0;
    background: #f0f6ff;
    border-bottom: 1px solid #eee;
    white-space: normal;
    transition: all 0.3s ease;
}

.other-courses h3 a {
    color: #333 !important;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
}

.other-courses h3 a:hover {
    background-color: #e3f2fd;
    color: var(--primary-color) !important;
}


/* Sub-item links (links that come after h4) */
.dropdown-section h4 + a,
.dropdown-section h4 ~ a {
    color: #555;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 6px 12px 6px 24px;
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 0 4px 4px 0;
    position: relative;
}

/* Add bullet point for sub-items */
.dropdown-section h4 + a::before,
.dropdown-section h4 ~ a::before {
    content: ">";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
    font-size: 0.75rem;
}

.dropdown-section h4 + a:hover,
.dropdown-section h4 ~ a:hover {
    background-color: #e3f2fd;
    color: var(--primary-color);
    border-left-color: #1557B0;
    transform: translateX(2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.signup-btn {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 9px 24px;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.15s ease;
    letter-spacing: 0.25px;
}

.signup-btn:hover {
    background-color: #1557B0;
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgb(60, 64, 67);
    border-radius: 50%;
    transition: all 0.15s ease;
}

.menu-toggle:hover {
    background-color: #F8FAFD;
}

.menu-toggle i {
    font-size: 20px;
}

/* Top Strip Styles */
.top-strip {
    background-color: var(--primary-color);
    padding: 8px 0;
    color: white;
    display: block;
}

.strip-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}



.contact-info a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    font-size: 14px;
}


/*new css for the mobile numbers*/
/* Course labels for desktop */
.contact-info .course-label {
    color: #FFD700;
    font-weight: 600;
    margin-right: 8px;
    display: inline;
}

/* Hide mobile labels on desktop */
.contact-info .course-label-mobile {
    display: none;
}

/* Mobile modifications */
@media screen and (max-width: 992px) {
    /* Hide social media icons on mobile */
    .social-links {
        display: none;
    }
    
    /* Hide full course labels on mobile */
    .contact-info .course-label {
        display: none;
    }
    
    /* Show abbreviated labels on mobile */
    .contact-info .course-label-mobile {
        display: inline;
        color: #FFD700;
        font-weight: 600;
        margin-right: 0px;
    }
    
    /* Show both phone numbers on mobile */
    .contact-info .mobile-link {
        display: flex !important;
    }
    
    /* Adjust spacing for mobile */
    .contact-info {
        gap: 15px;
        justify-content: center;
    }
}

/* Small mobile devices */
@media screen and (max-width: 576px) {
    .contact-info .mobile-link {
        display: flex !important;
    }
}





/* Large Screen Mega Menu */
@media screen and (min-width: 993px) {
    
    .mega-dropdown.services-menu { 
        width: 800px;
        padding: 24px;
        margin-left:200px;
    }

    .mega-dropdown.blogs-menu {
        min-width: 1200px; 
        padding: 10px;
    }

    .services-menu .mega-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
     
    .blogs-menu .mega-content {
        grid-template-columns: repeat(4, 1fr); 
    }

    .services-menu .dropdown-section h3,
    .blogs-menu .dropdown-section h3 {
        color: var(--primary-color);
        font-size: 0.9375rem;
        font-weight: 600;
        text-transform: none;
        letter-spacing: normal;
        padding: 0 0 8px 0;
        border-bottom: 1px solid var(--primary-color);
        margin-bottom: 8px;
    }

    .services-menu .dropdown-section h4,
    .blogs-menu .dropdown-section h4 {
        color: #666;
        font-size: 0.8125rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 8px 0 4px 0;
        margin: 12px 0 6px 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .services-menu .dropdown-section h4 + a,
    .services-menu .dropdown-section h4 ~ a,
    .blogs-menu .dropdown-section h4 + a,
    .blogs-menu .dropdown-section h4 ~ a {
        font-size: 0.8125rem;
        color: #555;
        padding: 4px 12px 4px 20px;
        background: #f8f9fa;
        border-left: 2px solid var(--primary-color);
        margin: 2px 0;
        border-radius: 0 3px 3px 0;
    }

    .services-menu .dropdown-section h4 + a:hover,
    .services-menu .dropdown-section h4 ~ a:hover,
    .blogs-menu .dropdown-section h4 + a:hover,
    .blogs-menu .dropdown-section h4 ~ a:hover {
        background: #e3f2fd;
        color: var(--primary-color);
        border-left-color: #1557B0;
    }
}

/* Mobile Menu Styles */
@media screen and (max-width: 992px) {
    .navbar {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .nav-container {
        padding: 0 20px;
        height: 90px;
        background: white;
        position: relative;
    }

    .nav-left {
        gap: 20px;
    }

    /* Hide desktop dropdowns on mobile */
    .nav-dropdowns {
        display: none;
    }

    /* Show mobile-only dropdowns */
    .mobile-only {
        display: block;
        width: -webkit-fill-available;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 90px);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        color: var(--primary-color);
        padding: 8px;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    /* Main Navigation Links */
    .nav-link {
        width: 100%;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        font-size: 1rem;
        color: #333;
        font-weight: 500;
        white-space: normal;
    }

    .nav-link:hover {
        background: #f8f9fa;
        color: var(--primary-color);
    }

    /* Dropdown Button */
    .dropbtn {
        width: 100%;
        padding: 16px 20px;
        border: none;
        background: none;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        font-size: 1rem;
        color: #333;
        font-weight: 500;
        white-space: normal;
    }

    .dropbtn i {
        transition: transform 0.3s ease;
        font-size: 14px;
        color: #666;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .dropdown.active .dropbtn {
        background: #f8f9fa;
        color: var(--primary-color);
    }

    .dropdown.active .dropbtn i {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    /* Mega Dropdown */
    .mega-dropdown {
        display: none;
        position: static;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
        opacity: 1;
        transform: none;
        border: none;
        background: #f8f9fa;
        overflow: hidden;
    }

    .dropdown.active .mega-dropdown {
        display: block; 
        justify-self: center;
        border: none;
        border-radius: none;
    }

    .mega-content {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
    }

    /* Dropdown Sections */
    .dropdown-section {
        padding: 0; 
        width: 100%;
    }

    .dropdown-section:last-child {
        border-bottom: none;
    }

    .dropdown-section h3 {
        font-size: 0.95rem;
        padding: 14px 20px;
        margin: 0;
        color: #333;
        background: #fff;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 500;
        border-bottom: 1px solid #eee;
        white-space: normal;
        transition: all 0.3s ease;
    }

    .dropdown-section h4 {
        font-size: 0.85rem;
        padding: 10px 20px 6px 20px;
        margin: 0;
        color: var(--primary-color);
        background: #f8f9fa;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid #e0e0e0;
        display: none;
    }

    .dropdown-section h3::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        transition: transform 0.3s ease;
        color: #666;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .dropdown-section.active h3 {
        color: var(--primary-color);
        background: #f8f9fa;
    }

    .dropdown-section.active h3::after {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    .dropdown-section a {
        padding: 12px 30px;
        color: #333;
        font-size: 0.9rem;
        display: none;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: normal;
        word-wrap: break-word;
    }

    .dropdown-section h4 {
        display: none;
    }

    /* Mobile sub-item styling */
    .dropdown-section h4 + a,
    .dropdown-section h4 ~ a {
        padding: 10px 20px 10px 40px;
        color: #666;
        font-size: 0.85rem;
        background: #f0f4f8;
        border-left: 3px solid var(--primary-color);
        margin: 0 10px;
        border-radius: 0 4px 4px 0;
        position: relative;
    }

    .dropdown-section h4 + a::before,
    .dropdown-section h4 ~ a::before {
        content: ">";
        color: var(--primary-color);
        font-weight: bold;
        margin-right: 8px;
        font-size: 0.8rem;
    }

    .dropdown-section.active h4 + a,
    .dropdown-section.active h4 ~ a {
        display: block;
    }

    .dropdown-section h4 + a:hover,
    .dropdown-section h4 ~ a:hover {
        background: #e3f2fd;
        color: var(--primary-color);
        padding-left: 45px;
    }

    .dropdown-section.active a {
        display: block;
    }

    .dropdown-section.active h4 {
        display: block;
    }

    .dropdown-section a:last-child {
        border-bottom: none;
    }

    .dropdown-section a:hover {
        background: #fff;
        color: var(--primary-color);
        padding-left: 35px;
    }

    /* Signup Button */
    .signup-btn {
        width: 50%;
        align-self: center;
        text-align: center;
        margin: 0;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        background: var(--primary-color);
        color: white;
        font-weight: 500;
        font-size: 1rem;
        white-space: normal;
        margin-top: 10px;
    }

    .signup-btn:hover {
        background: #1557B0;
    }

    /* Top Strip Mobile */
    .strip-container { 
        gap: 10px;
        padding: 0 20px;
    }

    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 576px) {
    .nav-container {
        padding: 0 16px;
        height: 70px;
    }

    .logo-img {
        height: 70px;
    }

    .nav-links {
        top: 100px;
        height: calc(100vh - 100px);
    }

    .nav-link,
    .dropbtn,
    .signup-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .dropdown-section h3 {
        padding: 12px 16px;
        font-size: 0.9rem; 
        background: #f0f6ff;
    }

    .dropdown-section a {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
 
    
    .contact-info {
        gap: 30px;  /*10px*/
    }
    
    .contact-info a {
        font-size: 12px;
    }
    
    .contact-info .email-link {
        display: none;
    }
    .contact-info .mobile-link {
        display: none;
    }
} 


/* Sticky Social Media Bar - Mobile Only */
.sticky-social-mobile {
    display: none;
}

@media screen and (max-width: 992px) {
    .sticky-social-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        gap: 0;
        background: #FFD700;
        border-radius: 8px 0 0 8px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .sticky-social-mobile a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: #FFB607;
        color: var(--primary-color);
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(42, 49, 130, 0.2);
    }
    
    .sticky-social-mobile a:first-child {
        border-radius: 8px 0 0 0;
    }
    
    .sticky-social-mobile a:last-child {
        border-radius: 0 0 0 8px !important;
        border-bottom: none;
    }
    
    .sticky-social-mobile a:hover {
        background: #FFC700;
        transform: translateX(5px);
        color: #1557B0;
    }
    
    .sticky-social-mobile a i {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .sticky-social-mobile a {
        width: 40px;
        height: 40px;
    }
    
    .sticky-social-mobile a i {
        font-size: 16px;
    }
}




/* Force 2 phone numbers in contact-info to always display side-by-side on all screens */
@media screen and (max-width: 600px) {
    .contact-info {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    .contact-info a {
        font-size: 14px !important;
        white-space: nowrap !important;
        padding: 2px 4px !important;
        min-width: 0 !important; /* Prevent weird width issues */
        font-weight: 600;
    }
    .course-label, .course-label-mobile {
        margin-right: 2px !important;
        font-size: 14px !important;
    }
    .contact-info i {
        font-size: 13px !important;
        margin-right: 3px !important;
    }
    .email-link {
        display: none !important; /* Hide mail link for all mobile screens */
    }
}
@media screen and (max-width: 400px) {
    .contact-info a {
        font-size: 12px !important;
        padding: 1px 2px !important;
    }
    .course-label, .course-label-mobile {
        font-size: 12px !important;
    }
}


/*@media screen and (max-width: 700px){*/
/*    .top-strip{*/
/*        display: none;*/
/*    }*/
/*}*/


/* Styling for standalone course headings in desktop dropdown */
@media screen and (min-width: 993px) {
    .services-menu .dropdown-section h3 a {
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 0;
        display: block;
        transition: all 0.15s ease;
    }
    
    .services-menu .dropdown-section h3 a:hover {
        color: #1557B0;
        background: transparent;
    }
    
    .services-menu .dropdown-section h3:has(a) {
        cursor: pointer;
        margin-bottom: 12px;
    }
}
