    /* Reset & Base */

    *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    html {
    font-size: 16px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #222;
    }
    body {
    line-height: 1.6;
    }
    
    /* Background image for pages */
    body.bg-page {
    background: url('../images/background.webp') center/cover no-repeat fixed;
    }
    
    /* Background fixes for very small screens */
    @media (max-width: 372px) {
        body.bg-page {
            background: url('../images/background.webp') center/cover no-repeat fixed;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: 100vh;
            width: 100%;
            overflow-x: hidden;
        }
        
        html {
            min-height: 100vh;
            width: 100%;
            overflow-x: hidden;
        }
        
        body {
            min-height: 100vh;
            width: 100%;
            overflow-x: hidden;
        }
    }
    
    /* Additional background fixes for extremely small screens */
    @media (max-width: 320px) {
        body.bg-page {
            background: url('../images/background.webp') center/cover no-repeat fixed;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: 100vh;
            width: 100vw;
            height: 100vh;
            overflow-x: hidden;
            position: relative;
        }
        
        html {
            min-height: 100vh;
            width: 100vw;
            height: 100vh;
            overflow-x: hidden;
        }
        
        body {
            min-height: 100vh;
            width: 100vw;
            height: 100vh;
            overflow-x: hidden;
            position: relative;
        }
        
        /* Ensure the background covers the entire viewport */
        body.bg-page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: url('../images/background.webp') center/cover no-repeat;
            z-index: -1;
        }
    }
    
    /* Remove duplicate background from hero section on background pages */
    body.bg-page .hero-section {
    background: none;
    }
    
    /* Transparent navbar for pages with background */
    body.bg-page header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    }

    /* Adjust text colors for transparent navbar on background pages */
    body.bg-page .main-nav > ul > li > a {
    color: #fff !important;
    }

    body.bg-page .main-nav > ul > li > a:hover {
    color: #f0f0f0 !important;
    }

    body.bg-page .main-nav ul li:not(#nav-account):not(#nav-login-signup):not(.dropdown-parent) > a {
    color: #fff !important;
    }

    body.bg-page .main-nav ul li:not(#nav-account):not(#nav-login-signup):not(.dropdown-parent) > a:hover {
    color: #f0f0f0 !important;
    }

    body.bg-page .nav-toggle {
    color: #fff !important;
    }

    body.bg-page .account-icon {
    fill: #fff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.7));
    }

    body.bg-page .dropdown-parent > button.dropdown-toggle {
    color: #fff !important;
    }

    /* Ensure dropdown menu items are visible on bg-page */
    body.bg-page .dropdown-menu a {
    color: #333 !important;
    background: rgba(255, 255, 255, 0.95);
    }

    /* About dropdown menu styling for bg-page */
    body.bg-page .dropdown-parent > .dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    }

    body.bg-page .dropdown-parent > .dropdown-menu li a {
    color: #333 !important;
    background: transparent !important;
    }

    body.bg-page .dropdown-parent > .dropdown-menu li a:hover {
    color: #2c3e50 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    }

    /* Additional specificity for About dropdown links on bg-page */
    body.bg-page .main-nav .dropdown-parent .dropdown-menu li a {
    color: #333 !important;
    }

    body.bg-page .main-nav .dropdown-parent .dropdown-menu li a:hover {
    color: #2c3e50 !important;
    }

    /* Mobile dropdown styling for background pages */
    @media (max-width: 1050px) {
        body.bg-page .main-nav ul {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }
        
        body.bg-page .main-nav > ul > li > a {
            color: #000 !important;
            text-shadow: none;
        }
        
        body.bg-page .main-nav > ul > li > a:hover {
            color: #333 !important;
        }
        
        body.bg-page .main-nav ul li:not(#nav-account):not(#nav-login-signup):not(.dropdown-parent) > a {
            color: #000 !important;
        }
        
        body.bg-page .main-nav ul li:not(#nav-account):not(#nav-login-signup):not(.dropdown-parent) > a:hover {
            color: #333 !important;
        }
        
        body.bg-page .account-icon {
            fill: #000 !important;
            filter: none;
        }
    }
    .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    }
    .hidden {
    display: none !important;
    }
    .btn-primary,
    .btn-secondary {
    display: inline-block;
    padding: 1rem 1.5rem;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    }
    .btn-primary {
    background-color: #333;
    color: #fff;
    }
    .btn-primary:hover {
    background-color: #555;
    }
    .btn-secondary {
    background-color: #e0e0e0;
    color: #333;
    }
    .btn-secondary:hover {
    background-color: #c8c8c8;
    }
    
    /* Navbar Redesign */
    header {
    background: transparent;
    position: relative;
    z-index: 1000;
    padding: 0 1.5rem;
    box-shadow: none;
    border-bottom: none;
    }
    .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    max-width: 1200px;
    margin: 0 auto;
    }
    .logo {
    text-decoration: none;
    display: block;
    }
    .logo:hover {
    transform: none;
    }
    .logo img {
    height: 100px;
    width: auto;
    display: block;
    }
    .main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
    }
    .main-nav ul li {
    margin: 0;
    padding: 0;
    }
    .main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    }
    .main-nav ul li a:hover {
        color: #2c3e50;
    }
    
    /* Updated Nav Link Animation */
    .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a {
    position: relative;
    text-decoration: none;
    color: #333;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    }

    .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a:hover {
    color: var(--primary-color);
    }

    .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c3e50;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    }
    .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a:hover::after {
        transform: scaleX(1);
    }
    
    /* Remove underline animation from dropdown menu items */
    .dropdown-parent .dropdown-menu li a::after,
    .dropdown-parent .dropdown-menu a::after {
        display: none !important;
        content: none !important;
    }
    
    /* Ensure no text-decoration animations on dropdown items */
    .dropdown-parent .dropdown-menu li a,
    .dropdown-parent .dropdown-menu a {
        text-decoration: none !important;
        border-bottom: none !important;
        position: relative;
    }
    
    .mobile-account-icons {
        display: none;
    }
    
    .nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    }
    
    /* Dropdown styles */
    .dropdown {
    position: relative;
    display: inline-block;
    }

    .dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    }

    .account-icon {
    width: 32px;
    height: 32px;
    fill: #333;
    }

    .nav-icon {
        width: 32px;
        height: 32px;
        fill: #333;
    }

    .dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    min-width: 150px;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    overflow: hidden;
    }

    .dropdown-menu a {
    color: #333;
    padding: 1rem 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dropdown-menu a:hover {
    background-color: #f0f4f8;
    color: var(--primary-color);
    }
    
    /* Hero Section */
    .hero-section {
    background: url('../images/background.webp') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 22rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    }

    .hero-content {
    max-width: 1000px;
    padding: 2rem;
    }

    .hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    }

    /* Responsive typography for hero section */
    @media (max-width: 768px) {
        .hero-section h1 {
            font-size: 2.5rem;
        }
        
        .hero-section {
            padding: 16rem 1.5rem;
            min-height: 65vh;
        }
        
        .hero-content {
            max-width: 900px;
            padding: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .hero-section h1 {
            font-size: 2rem;
        }
        
        .hero-section {
            padding: 14rem 1rem;
            min-height: 60vh;
        }
        
        .hero-content {
            max-width: 100%;
            padding: 1rem;
        }
    }

    .hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    }

    .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    }
    
    .with-background {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/background.webp') center/cover no-repeat;
    color: #fff;
    padding: 4rem 1rem;
    }
    
    /* Content Sections */
    .content-section {
    padding: 4rem 1rem;
    }

    .content-section.bg-light {
    background-color: #f9f9f9;
    }

    .content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    }

    .content-section p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: #555;
    }
    
    /* Help Options */
    .help-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    }
    
    /* Product Grid */
    .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    }
 
    

    /* Footer */
    footer {
    background: #2a2a2a;
    color: #f0f4f8;
    padding: 3rem 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
    text-align: left;
    }
    .newsletter-section h3, .footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    }
    .newsletter-section form {
    display: flex;
    gap: 0.5rem;
    }
    .newsletter-section input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #555;
    border-radius: 4px;
    background: #3a3a3a;
    color: #fff;
    font-size: 1rem;
    }
    .newsletter-section input::placeholder {
    color: #aaa;
    }
    .newsletter-section .btn-secondary {
    background-color: #0077cc;
    color: #fff;
    transition: background-color 0.2s;
    }
    .newsletter-section .btn-secondary:hover {
    background-color: #005fa3;
    }
    .footer-links {
    display: flex;
    flex-direction: column;
    }
    .social-icons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    }
    .social-icons a {
    color: #f0f4f8;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.2s;
    display: inline-block;
    }
    .social-icons a:hover {
    transform: scale(1.1);
    }
    .social-icon {
      height: 32px;
      width: 32px;
      fill: #f0f4f8;
      transition: fill 0.2s;
    }
    .social-icon:hover {
      fill: #005fa3;
    }
    .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #aaa;
    }
    
    /* Responsive Breakpoints */
    @media (min-width: 481px) {
    .product-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    #mobile-menu-toggle {
    display: none;
    }
    .nav-list {
    display: flex;
    }
    }
    @media (min-width: 769px) {
    .product-grid {
    grid-template-columns: repeat(3, 1fr);
    }
    }
    @media (max-width: 1050px) {
    .logo img {
        height: 70px;
    }
    .nav-container {
    padding: 1rem;
    }
    .main-nav ul {
    gap: 1rem;
    }
    header {
        padding: 0 0;
    }
    .nav-toggle {
        display: block;
        position: absolute;   /* or relative, depending on your layout */
        top: 1rem;            /* tweak to align vertically */
        right: 2rem;          /* tweak to align horizontally */
        z-index: 1000;        /* ensure it sits above the nav */
    }


    .main-nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
        gap: 0;
    }

    .main-nav ul.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-account-icons {
        display: flex;
        justify-content: space-around;
        width: 100%;
        padding: 0.5rem 0;
        background-color: #f9f9f9;
    }
    
    .mobile-account-icons a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 0.75rem;
        padding: 0.5rem;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    .mobile-account-icons a:hover {
        background-color: transparent;
    }

    .mobile-account-icons a svg {
        fill: #333;
        margin-bottom: 0;
        width: 24px;
        height: 24px;
    }
    
    .main-nav ul li {
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        color: #000;
    }

    .main-nav ul li a:hover,
    .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a:hover {
        color: #333;
    }

    .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a::after {
        content: none;
    }

    #nav-account {
        width: 100%;
        padding: 0;
        border-top: 1px solid #eee;
    }
    }

    @media (min-width: 701px) {
        .main-nav ul li a:hover {
            color: #2c3e50;
        }

        .main-nav ul li:not(#nav-account):not(#nav-login-signup) > a:hover {
            color: var(--primary-color);
        }
    }

    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

    .modal-content {
        background: #fff;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        position: relative;
        max-width: 900px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        transition: transform 0.3s ease-out;
        transform: translateY(-20px);
    }

    .modal-overlay.visible .modal-content {
        transform: translateY(0);
    }

    .modal-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        background: none;
        border: none;
        cursor: pointer;
        transition: color 0.2s;
    }

    .modal-close-btn:hover {
        color: #e00;
    }

    /* New Modal Layout Styles */
    .modal-layout {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .modal-image-container {
        flex: 0 0 40%;
    }

    .modal-event-poster {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .modal-details-container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .modal-details-container h2 {
        margin-top: 0;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .modal-details-container p {
        margin-bottom: 0.75rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    @media (max-width: 768px) {
        .modal-layout {
            flex-direction: column;
        }
        .modal-image-container {
            width: 100%;
            height: 300px; /* Or a fixed aspect ratio */
        }
    }

    /* NEW EVENT CARD STYLES */
    #events-grid,
    #events-grid-home {
        display: grid;
        grid-template-columns: repeat(auto-fit, 320px);
        justify-content: center;
        gap: 2rem;
    }

    .event-card-page {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        cursor: pointer;
        width: 320px; /* A fixed width for cards on the homepage */
        height: 480px; /* A fixed height for cards on the homepage */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .event-card-page:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    }

    .event-card-page:hover .event-poster-overlay {
        opacity: 1;
    }

    .event-card-page .event-card-poster-container {
        width: 100%;
        height: 100%;
    }

    .event-card-page .event-card-poster {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Overlay for poster-only card on homepage */
    .event-poster-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, transparent);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 1.5rem 1rem;
    }

    .overlay-event-name {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    /* Shared button style for register */
    .register-btn {
        background-color: #007bff;
        color: white;
        padding: 10px 100px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s ease;
    }

    .register-btn:hover:not(:disabled) {
        background-color: #0056b3;
    }

    .register-btn:disabled {
        background-color: #5a5a5a;
        cursor: not-allowed;
    }



    .section-description {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        color: #666;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 4rem;
    }

    /* Footer */
    footer {
        background-color: #333;
    }

    /* Contact Page Specific Styles */
    #contact-info-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form-container, .address-section {
        display: flex;
        gap: 2rem;
    }

    .contact-info, .contact-form-wrapper, .map-container, .address-details {
        flex: 1;
    }

    @media (max-width: 700px) {
        .contact-form-container, .address-section {
            flex-direction: column;
        }
    }

    /* About Dropdown Styles */
    .dropdown-parent {
        position: relative;
    }

    .dropdown-parent > .dropdown-menu {
        position: absolute;
        right: 0;
        top: 100%;
        background-color: #fff;
        list-style: none;
        margin: 0;
        padding: 0.5rem 0.75rem;
        min-width: 150px;
        border-radius: 8px;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        overflow: hidden;
        display: none;
        z-index: 1000;
    }

    .dropdown-parent:hover > .dropdown-menu,
    .dropdown-parent:focus-within > .dropdown-menu {
        display: block;
    }

    .dropdown-parent > button.dropdown-toggle {
        background: none;
        border: none;
        cursor: pointer;
        font: inherit;
        padding: 0;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .dropdown-parent > button.dropdown-toggle::after {
        content: "\25BE"; /* Down arrow */
        font-size: 0.75rem;
    }

    .dropdown-parent > .dropdown-menu li {
        padding: 0;
    }

    .dropdown-parent > .dropdown-menu li a {
        display: block;
        padding: 1rem 1.5rem;
        color: #333;
        text-decoration: none;
        font-size: 0.95rem;
    }

    .dropdown-parent > .dropdown-menu li a:hover {
        background-color: #f0f4f8;
        color: var(--primary-color);
    }

    @media (max-width: 700px) {
        /* In mobile view, ensure submenu is indented and shows when parent is tapped */
        .dropdown-parent > .dropdown-menu {
            position: static;
            box-shadow: none;
            padding-left: 1rem;
        }
    }

    .dropdown-parent > .dropdown-menu.open {
        display: block;
    }

/* Force About dropdown text to be black with highest specificity */
body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a {
    color: #333 !important;
    background: transparent !important;
}

body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a:hover {
    color: #2c3e50 !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

/* ===== UNIVERSAL ABOUT DROPDOWN COLOR FIX FOR ALL BG-PAGE PAGES ===== */
/* Maximum specificity rules to ensure About dropdown text is black on all pages */
html body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a,
html body.bg-page .main-nav .dropdown-parent .dropdown-menu li a,
html body .dropdown-parent .dropdown-menu li a,
html .dropdown-parent .dropdown-menu li a,
.dropdown-parent .dropdown-menu li a,
.dropdown-parent ul li a,
ul.dropdown-menu li a {
    color: #333 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

html body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a:hover,
html body.bg-page .main-nav .dropdown-parent .dropdown-menu li a:hover,
html body .dropdown-parent .dropdown-menu li a:hover,
html .dropdown-parent .dropdown-menu li a:hover,
.dropdown-parent .dropdown-menu li a:hover,
.dropdown-parent ul li a:hover,
ul.dropdown-menu li a:hover {
    color: #2c3e50 !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    text-shadow: none !important;
}

/* FINAL OVERRIDE: Force About dropdown to have black text */
body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a,
body.bg-page .main-nav ul li.dropdown-parent ul.dropdown-menu li a,
body.bg-page .main-nav .dropdown-parent .dropdown-menu li a,
body.bg-page .dropdown-parent .dropdown-menu a {
    color: #333 !important;
    background-color: transparent !important;
}

body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a:hover,
body.bg-page .main-nav ul li.dropdown-parent ul.dropdown-menu li a:hover,
body.bg-page .main-nav .dropdown-parent .dropdown-menu li a:hover,
body.bg-page .dropdown-parent .dropdown-menu a:hover {
    color: #2c3e50 !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Account dropdown hover effect for bg-page */
body.bg-page .dropdown .dropdown-menu a:hover {
    color: #2c3e50 !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* FINAL FIX: Maximum specificity dropdown text fix for ALL bg-page pages */
html body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a,
html body.bg-page nav.main-nav .dropdown-parent .dropdown-menu li a,
html body.bg-page .main-nav .dropdown-parent ul.dropdown-menu li a,
html body.bg-page .dropdown-parent .dropdown-menu li a,
html body.bg-page .dropdown-parent ul li a,
html body.bg-page nav ul li.dropdown-parent .dropdown-menu li a,
body.bg-page nav.main-nav .dropdown-parent .dropdown-menu li a,
body.bg-page .main-nav .dropdown-parent .dropdown-menu li a,
body.bg-page .dropdown-parent .dropdown-menu li a {
    color: #333 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

html body.bg-page nav.main-nav ul li.dropdown-parent ul.dropdown-menu li a:hover,
html body.bg-page nav.main-nav .dropdown-parent .dropdown-menu li a:hover,
html body.bg-page .main-nav .dropdown-parent ul.dropdown-menu li a:hover,
html body.bg-page .dropdown-parent .dropdown-menu li a:hover,
html body.bg-page .dropdown-parent ul li a:hover,
html body.bg-page nav ul li.dropdown-parent .dropdown-menu li a:hover,
body.bg-page nav.main-nav .dropdown-parent .dropdown-menu li a:hover,
body.bg-page .main-nav .dropdown-parent .dropdown-menu li a:hover,
body.bg-page .dropdown-parent .dropdown-menu li a:hover {
    color: #2c3e50 !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    text-shadow: none !important;
}