/* FontAwesome is loaded via HTML link tags in each page - no need for @import */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Add smooth scrolling behavior */
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Mobile view specific styles */
body.mobile-view .about-us-nav:hover .about-dropdown,
body.mobile-view .dropdown-nav:hover .nav-dropdown {
    display: none !important; /* Prevent hover effect on mobile */
}

body.mobile-view .about-us-nav.active .about-dropdown,
body.mobile-view .dropdown-nav.active .nav-dropdown {
    display: block !important; /* Show dropdown on toggle click */
    position: static;
    width: 100%;
    opacity: 1;
    transform: none;
    max-width: 100%;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Disable dropdown functionality in mobile view */
    .about-dropdown, 
    .nav-dropdown,
    .services-dropdown,
    .qualify-dropdown,
    .sponsorships-dropdown {
        display: none !important;
    }
    
    /* Prevent dropdown from showing on hover or click in mobile */
    .about-us-nav:hover .about-dropdown,
    .dropdown-nav:hover .nav-dropdown,
    .about-us-nav.active .about-dropdown,
    .dropdown-nav.active .nav-dropdown {
        display: none !important;
    }
    
    /* Reset the left padding we just added */
    nav ul li a {
        padding-left: 5% !important;
        width: 90% !important;
        margin-left: 5%;
        margin-right: 5%;
        box-sizing: border-box;
    }
    
    /* Fix highlighted buttons */
    #nav-contact, #nav-fix-credit {
        padding-left: 5% !important;
        width: 90% !important;
        margin-left: 5%;
        margin-right: 5%;
        box-sizing: border-box;
    }
    
    /* Ensure the popup menu doesn't extend past the top nav */
    nav ul {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 30px 0;
        border-left: none;
        border-right: none;
    }
    
    /* Fix container alignment */
    .nav-top-bar, header, nav {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }
    
    /* Ensure highlighted buttons also get consistent padding */
    #nav-contact, #nav-fix-credit {
        padding-left: 8% !important;
        width: 87% !important;
        margin-left: 5%;
        margin-right: 5%;
        box-sizing: border-box;
        text-align: left;
    }
    
    /* Prevent scrolling in navbar */
    nav ul {
        overflow-y: visible;
        height: auto;
        max-height: none;
        width: 100%;
        margin: 0;
        padding-bottom: 30px; /* Add bottom padding */
        box-sizing: border-box;
    }
    
    /* Ensure navbar doesn't extend beyond screen width */
    nav ul li {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix button alignment and prevent overflow */
    nav ul li a, #nav-contact, #nav-fix-credit {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        box-sizing: border-box;
        display: block;
        text-align: left;
    }
    
    /* Add more padding after the last item */
    nav ul li:last-child {
        margin-bottom: 20px;
    }
    
    /* Ensure dropdown overlays don't extend beyond screen */
    .about-dropdown, .nav-dropdown {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        box-sizing: border-box;
    }
    
    /* Make sure header is above all content */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 9999;
        border-bottom: 4px solid;
        border-image: linear-gradient(to right, #00008B, #3939dd, #00008B) 1;
        min-height: 60px;
    }
    
    /* Main content needs to be pushed down to accommodate fixed header */
    main {
        padding-top: 70px;
        position: relative;
        z-index: 1;
    }
    
    /* Navigation container */
    nav {
        position: relative;
        width: 100%;
        z-index: 9999;
    }
    
    /* Top navigation bar with gradient background */
    .nav-top-bar {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.7rem 2%;
        box-sizing: border-box;
        padding-left: 3%;
        background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 15%, #eaf0ff 30%, #e0eaff 50%, #d5e3ff 70%, #c8d8ff 85%, #b8caff 100%);
        border-bottom: 4px solid;
        border-image: linear-gradient(to right, #00008B, #3939dd, #00008B) 1;
        min-height: 60px;
        z-index: 9999;
    }
    
    /* Mobile navigation menu */
    nav ul {
        display: none !important;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        padding: 0;
        background-color: white;
        flex-direction: column;
        margin: 0;
        box-shadow: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Make menu visible when active */
    nav ul.active {
        display: flex !important;
    }
    
    /* Ensure each menu item takes up more space for better touch targets */
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding: 0;
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        width: 100% !important;
        padding: 18px 5% !important;
        margin: 0 !important;
        color: #333;
        font-size: 18px;
    }
    
    /* Ensure the content is pushed below the fixed header */
    main {
        padding-top: 60px;
    }
    
    /* Hamburger menu */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 10000;
    }
    
    /* Hamburger menu lines */
    .hamburger-menu span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #00008B;
        border-radius: 3px;
        transition: all 0.3s ease;
        margin: 2px 0;
    }
    
    /* Hamburger menu animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
    
    /* Nav actions container */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        z-index: 10000;
    }
    
    /* Mobile phone display */
    .nav-phone-mobile {
        display: flex;
        align-items: center;
        margin-right: 15px;
        z-index: 10000;
    }
    
    .nav-phone-mobile a {
        color: #00008B;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
    }
    
    .nav-phone-mobile i {
        margin-right: 5px;
    }
    
    /* Overlay for mobile navigation */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9997;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    /* Show overlay when active */
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Hide phone number in the navigation dropdown menu */
    li.nav-phone {
        display: none !important;
    }
    
    /* Make sure mobile phone in top bar is visible */
    .nav-phone-mobile {
        display: flex !important;
        margin-right: 15px;
    }
    
    /* Ensure the phone number is aligned correctly */
    .nav-phone-mobile a {
        display: flex;
        align-items: center;
        font-size: 0.95rem;
    }
    
    /* Box sizing fix for all elements to prevent width issues */
    nav, nav ul, nav ul li, nav ul li a, .nav-top-bar, header {
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: visible;
    }
    
    /* Full width container to prevent overflow */
    .nav-top-bar {
        width: 100%;
        max-width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        margin: 0;
    }
    
    /* Reset padding on mobile menu */
    nav ul {
        width: 100%;
        max-width: 100%;
        padding: 20px 0;
        margin: 0;
        border-radius: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile navigation links with consistent spacing */
    nav ul li a {
        padding: 12px 5%;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        display: block;
        text-align: left;
    }
    
    /* Specific styling for highlighted buttons */
    #nav-contact, #nav-fix-credit {
        padding: 12px 5%;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        display: block;
        text-align: left;
    }
}

/* Safari/iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        /* Ensure header stays on top */
        header {
            z-index: 9999;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        /* Force menu to appear above content */
        nav ul {
            z-index: 9998;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        /* Main content needs to be pushed down and below nav */
        main {
            padding-top: 70px;
            position: relative;
            z-index: 1;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        /* Remove blur effect */
        .nav-overlay {
            z-index: 9997;
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
            background-color: rgba(0, 0, 0, 0.5);
        }
    }
}

/* For smaller mobile screens */
@media (max-width: 480px) {
    .nav-top-bar {
        padding-left: 2%;
        padding-right: 2%;
        gap: 5px;
    }
    
    .nav-logo-container {
        max-width: 45%; /* Further limit logo width on smallest screens */
    }
    
    .nav-logo {
        height: auto;
        width: 140px;
        max-width: 100%; /* Ensure logo scales with container */
    }
    
    .nav-actions {
        gap: 8px; /* Reduce gap between phone and hamburger */
    }
    
    .nav-actions .nav-phone-mobile a {
        font-size: 0.8rem; /* Slightly smaller font */
    }
    
    .nav-actions .nav-phone-mobile i {
        margin-right: 4px; /* Reduce icon spacing */
    }
}

/* Desktop styles - SINGLE SIMPLE SOLUTION FOR ALL NON-MOBILE SIZES */
@media (min-width: 769px) {
    /* Basic fixed header */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 15%, #eaf0ff 30%, #e0eaff 50%, #d5e3ff 70%, #c8d8ff 85%, #b8caff 100%) !important;
        border-bottom: 4px solid !important;
        border-image: linear-gradient(to right, #00008B, #3939dd, #00008B) 1 !important;
        z-index: 9990 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* NEW STRUCTURE: Keep the nav-top-bar visible in desktop mode */
    .nav-top-bar {
        position: absolute !important; 
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        width: 170px !important; /* Increased from 140px to accommodate larger logo */
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        z-index: 9999 !important;
    }
    
    .nav-logo-container {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-left: 1rem !important;
        padding-right: 0 !important;
    }
    
    .nav-logo-container a {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    .nav-logo {
        height: 48px !important; /* Increased from 40px */
        width: auto !important;
        max-width: 180px !important; /* Increased from 150px */
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Hide unnecessary mobile elements */
    .hamburger-menu, .nav-phone-mobile, .nav-overlay, .nav-actions {
        display: none !important;
    }
    
    /* Single-row nav */
    nav {
        width: 100% !important;
        height: 100% !important;
        max-width: 1600px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }
    
    /* Navigation in center */
    nav ul {
        display: flex !important;
        flex: 1 !important;
        height: 100% !important;
        justify-content: flex-start !important; /* Changed from center to flex-start */
        align-items: center !important;
        margin: 0 !important;
        margin-left: 180px !important; /* Slightly increased from 170px to add more space after logo */
        padding: 0 !important;
        list-style: none !important;
        background: none !important;
        border: none !important;
        position: static !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        max-height: none !important;
        width: auto !important;
        gap: 0 !important;
    }
    
    nav ul li {
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        width: auto !important;
    }
    
    nav ul li a {
        font-family: 'Rubik', sans-serif !important; /* Match the font of the rest of the page */
        font-size: 0.75rem !important;
        padding: 0.25rem !important;
        color: #333 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        display: block !important;
        margin: 0 8px !important; /* Increased from 2px to add more space between links */
        font-weight: 500 !important; /* Added to match the rest of the page */
    }
    
    /* Special buttons */
    nav ul li.fix-credit-nav a, 
    nav ul li a#nav-contact {
        padding: 0.25rem 0.4rem !important;
        background-color: #00008B !important;
        color: white !important;
        border-radius: 4px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 8px !important; /* Increased from 3px to match other links */
        font-weight: 600 !important; /* Slightly bolder than regular links */
    }
    
    /* Phone on right - FIXED POSITION */
    .nav-phone {
        display: block !important;
        position: absolute !important;
        right: 0.5rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        height: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-phone a {
        background-color: #00008B !important;
        color: white !important;
        padding: 0.4rem 0.7rem !important; /* Increased from 0.25rem 0.5rem */
        border-radius: 5px !important;
        font-size: 0.85rem !important; /* Increased from 0.75rem */
        white-space: nowrap !important;
        display: block !important;
        font-weight: 600 !important; /* Added font weight */
    }
    
    /* Adjust main content */
    main {
        padding-top: 74px !important;
        margin-top: 0 !important;
    }
}

/* Very small desktop/tablet */
@media (min-width: 769px) and (max-width: 900px) {
    .nav-top-bar {
        width: 150px !important; /* Adjusted from 120px for larger logo */
    }
    
    nav ul {
        margin-left: 160px !important; /* Adjusted to fit in smaller space */
        justify-content: flex-start !important;
    }
    
    nav ul li a {
        font-family: 'Rubik', sans-serif !important;
        font-size: 0.65rem !important;
        padding: 0.2rem !important;
        margin: 0 5px !important; /* Slightly reduced spacing for smaller screens */
        font-weight: 500 !important;
    }
    
    nav ul li.fix-credit-nav a, 
    nav ul li a#nav-contact {
        padding: 0.2rem 0.3rem !important;
        font-size: 0.65rem !important;
        margin: 0 5px !important; /* Consistent with other links */
        font-weight: 600 !important;
    }
    
    .nav-logo {
        height: 42px !important; /* Increased from 35px */
        max-width: 140px !important; /* Increased from 110px */
    }
    
    .nav-phone a {
        padding: 0.3rem 0.6rem !important; /* Increased from 0.2rem 0.4rem */
        font-size: 0.75rem !important; /* Increased from 0.65rem */
        font-weight: 600 !important;
    }
}

a {
    text-decoration: none;
    color: #00008B;
}

ul {
    list-style: none;
}

/* Make all images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    nav ul {
        justify-content: flex-start;
        gap: 0.3rem;
    }
    
    nav a {
        font-size: 0.7rem; /* Further reduced */
    }
    
    .nav-logo {
        width: 200px; /* Same fixed size */
        max-height: 65px;
    }
    
    .nav-phone a {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .phone-icon {
        font-size: 0.75rem;
        margin-right: 3px;
    }
}

@media (max-width: 640px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    nav ul {
        justify-content: flex-start;
        gap: 0.3rem;
    }
    
    nav a {
        font-size: 0.7rem; /* Further reduced */
    }
    
    .nav-phone a {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .phone-icon {
        font-size: 0.75rem;
        margin-right: 3px;
    }
}

/* For very small screens, improve layout */
@media (max-width: 480px) {
    /* Optimize header layout */
    header {
        padding: 0.7rem 3%; /* Reduce padding to save space */
    }
    
    nav {
        padding: 5px 0;
        gap: 5px; /* Reduce space between elements */
    }
    
    .nav-logo-container {
        margin-right: 0;
    }
    
    .nav-logo {
        height: auto; /* Allow proportional height */
        width: 160px; /* Increased from previous small size */
    }
    
    .hamburger-menu {
        margin-right: 5px;
        width: 24px;
        height: 18px;
    }
    
    .nav-phone {
        margin-left: 0;
        margin-right: 0;
    }
    
    .nav-phone a {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    /* Fix full-width display */
    html, body, header, footer, main, nav {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Fix the mobile menu size */
    nav ul {
        width: 100%;
        max-width: 300px; /* Slightly reduced for better display */
        padding-top: 70px;
    }
    
    /* Make dropdowns more readable */
    .about-dropdown, .nav-dropdown {
        padding: 10px 15px;
    }
    
    .dropdown-toggle {
        width: 24px;
        height: 24px;
        font-size: 16px;
        right: 10px;
        top: 14px;
    }
    
    /* Optimize spacing in the mobile menu */
    nav ul li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    /* Adjust footer for very small screens */
    footer {
        padding: 1.5rem 3%;
    }
}

/* Main content styles */
main {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 4rem 5%;  /* Increased from 3rem to 4rem */
    position: relative;
    z-index: 10;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
}

/* Hero container - holds both hero and supplement */
.hero-container {
    display: flex;
    margin-bottom: 3rem;
    gap: 30px;
}

/* Hero section - now left-aligned */
.hero {
    text-align: center;
    padding: 5rem 1rem;
        /* Note: landcruiser.jpg (1.8MB) could be optimized with WebP format and compression for better performance */
    background-image: url('images/landcruiser.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    color: white;
    width: 50%;
    max-width: 600px;
    flex: 1;
}

/* Add an overlay to improve text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1;
}

.hero h2,
.hero p,
.hero .cta-button {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: #00008B;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #000066;
}

/* Hero supplement - new right side section */
.hero-supplement {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 5px solid #00008B;
}

.hero-supplement h3 {
    color: #00008B;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #00008B;
    padding-bottom: 10px;
}

.hero-supplement p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

/* Stats container */
.stat-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.stat-box {
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    flex: 1;
    margin: 0 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-bottom: 3px solid #00008B;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom-color: #000066;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00008B;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
}

/* Feature list */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-icon {
    color: #00008B;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Image Button Grid */
.image-button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.image-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 1px solid #eaeaea;
    border-bottom: 3px solid #00008B;
}

.image-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom-color: #000066;
}

.button-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

.button-text {
    font-weight: 600;
    color: #00008B;
    font-size: 0.9rem;
}

/* Services section */
.services {
    scroll-margin-top: 100px; /* Add scroll margin to position the section higher when scrolled to */
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* Service grid layout */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

/* Service Card Styling */
.service-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 5px solid #00008B;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Service Image Styling */
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.02);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top-color: #000066;
}

.service-card h3 {
    color: #00008B;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #00008B;
}

.service-details {
    margin-top: 20px;
    flex-grow: 1;
}

.service-details ul {
    margin-top: 15px;
    padding-left: 20px;
}

.service-details li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: #555;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
    }
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 20px;
        padding: 0 10px;
    }
    
    .service-image {
        height: 180px; /* Slightly larger images on mobile single column */
    }
    
    .service-card {
        padding: 1.25rem; /* More padding for single column cards */
        margin-bottom: 10px;
    }
}

/* Footer styles */
footer {
    background-color: #00008B;
    color: #fff;
    text-align: center;
    padding: 2rem 5%;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.credit-rep-info {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Mobile footer styles */
@media (max-width: 768px) {
    footer {
        width: 100%;
        padding: 2rem 5%;
        margin-top: 2rem;
        box-sizing: border-box;
    }
    
    /* Ensure footer content is properly centered and spaced */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .credit-rep-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 4%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* About Us dropdown styles */
.about-us-nav {
    position: relative;
}

.about-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 101;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    border-top: 3px solid #6610f2; /* Purple color for the About dropdown */
}

.about-us-nav:hover .about-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Common dropdown styles for all navigation dropdowns */
.dropdown-nav {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 101;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.dropdown-nav:hover .nav-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Specific dropdown styles */
.services-dropdown {
    border-top: 3px solid #007bff;
}

.qualify-dropdown {
    border-top: 3px solid #28a745;
}

.sponsorships-dropdown {
    border-top: 3px solid #fd7e14;
}

.nav-dropdown h3 {
    color: #00008B;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00008B;
    font-size: 1.1rem;
}

.nav-dropdown p {
    color: #333;
    line-height: 1.5;
    font-size: 0.9rem;
}

.about-dropdown h3 {
    color: #00008B;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00008B;
    font-size: 1.1rem;
}

.about-dropdown p {
    color: #333;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Responsive styles for About dropdown */
@media (max-width: 900px) {
    .about-dropdown {
        width: 350px; /* Slightly reduce width */
    }
    
    .about-dropdown h3 {
        font-size: 1rem;
    }
    
    .about-dropdown p {
        font-size: 0.85rem;
    }
    
    .nav-dropdown {
        width: 350px; /* Slightly reduce width */
    }
    
    .nav-dropdown h3 {
        font-size: 1rem;
    }
    
    .nav-dropdown p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .about-dropdown {
        width: 300px;
        padding: 15px;
    }
    
    .nav-dropdown {
        width: 300px;
        padding: 15px;
    }
}

@media (max-width: 640px) {
    .about-dropdown {
        width: 250px;
        padding: 12px;
    }
    
    .about-dropdown h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .about-dropdown p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .nav-dropdown {
        width: 250px;
        padding: 12px;
    }
    
    .nav-dropdown h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .nav-dropdown p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .about-dropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        display: none;
        box-shadow: none;
        padding: 10px;
        background-color: #f5f5f5;
    }
    
    .about-us-nav:hover .about-dropdown {
        display: block;
    }
    
    .nav-dropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        display: none;
        box-shadow: none;
        padding: 10px;
        background-color: #f5f5f5;
    }
    
    .dropdown-nav:hover .nav-dropdown {
        display: block;
    }
}

/* Modal styles */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 10001;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    animation: modalAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto 0;
    position: relative;
}

@keyframes modalAppear {
    from { 
        opacity: 0; 
        transform: translateY(-30px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Special styling for the contact modal */
.contact-modal {
    max-width: 800px !important;
    border: 3px solid #00008B;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.modal-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #00008B 0%, #000066 100%);
    color: white;
    position: relative;
    z-index: 2;
    border-bottom: 4px solid #FFD700;
    box-shadow: 0 2px 10px rgba(0, 0, 139, 0.3);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-close {
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: scale(1.1) rotate(90deg);
    color: #FFD700;
}

.modal-body {
    padding: 35px;
    line-height: 1.6;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none; /* Remove default styling on iOS */
    appearance: none; /* Standardized property */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #00008B;
    box-shadow: 0 0 0 2px rgba(0, 0, 139, 0.1);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Improve select inputs */
.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300008B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-submit {
    background: linear-gradient(135deg, #00008B 0%, #000066 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 139, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit:hover {
    background: linear-gradient(135deg, #000066 0%, #00004D 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 139, 0.4);
    border: 2px solid #FFD700;
}

/* Contact info styling */
.contact-container-modal {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.contact-container-modal > div:first-child {
    flex: 1;
    min-width: 300px;
}

.contact-container-modal > div:last-child {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 6px solid #00008B;
    box-shadow: 0 8px 20px rgba(0, 0, 139, 0.15);
    border: 1px solid rgba(0, 0, 139, 0.1);
}

.contact-container-modal > div:last-child > div {
    margin-bottom: 20px;
}

.contact-container-modal > div:last-child h3 {
    color: #00008B;
    margin-bottom: 10px;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(0, 0, 139, 0.2);
    padding-bottom: 8px;
}

.contact-container-modal > div:last-child a {
    color: #00008B;
    font-weight: 600;
    text-decoration: none;
}

.contact-container-modal > div:last-child a:hover {
    text-decoration: underline;
}

/* Hours styling */
.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.hours-row:first-of-type {
    border-bottom: 1px dashed #ddd;
}

/* Reviews section styling */
.reviews-section {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 20px;
}

.reviews-section h3 {
    color: #00008B;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.reviews-section > div {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #00008B #f0f0f0;
}

.reviews-section > div::-webkit-scrollbar {
    height: 8px;
}

.reviews-section > div::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.reviews-section > div::-webkit-scrollbar-thumb {
    background-color: #00008B;
    border-radius: 10px;
}

.reviews-section > div > div {
    min-width: 220px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-top: 3px solid #00008B;
}

.reviews-section > div > div:hover {
    transform: translateY(-5px);
}

.reviews-section > div > div > div:first-child {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.reviews-section > div > div > p:nth-child(2) {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.reviews-section > div > div > p:last-child {
    font-weight: 600;
    color: #333;
}

.reviews-section > p:last-child {
    font-size: 0.9rem;
    color: #777;
    text-align: right;
    margin-top: 15px;
    font-style: italic;
}

/* Responsive media queries for contact form and modal */
@media (max-width: 768px) {
    .contact-container-modal {
        flex-direction: column;
    }
    
    .form-submit {
        padding: 10px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .reviews-section > div {
        gap: 15px;
    }
    
    .reviews-section > div > div {
        min-width: 200px;
        padding: 15px;
    }
}



/* Form styling continues */

/* Responsive styles for hero container */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero, .hero-supplement {
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        min-height: 300px;
        padding: 3rem 1rem;
    }
    
    .stat-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-box {
        min-width: 120px;
    }
}

/* Lenders section styles */
.lenders-section {
    margin: 3rem 0;
    text-align: center;
    width: 100%;
}

.lenders-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.lenders-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

.lender-logo-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 160px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-top: 3px solid #00008B;
}

.lender-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border-top-color: #000066;
}

.lender-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Responsive styles for lenders */
@media (max-width: 992px) {
    .lender-logo-box {
        width: 140px;
        height: 110px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .lender-logo-box {
        width: 120px;
        height: 100px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .lender-logo-box {
        width: 110px;
        height: 90px;
        padding: 8px;
        gap: 15px;
    }
}

/* Responsive styles for image buttons */
@media (max-width: 768px) {
    .image-button-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .button-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .image-button {
        padding: 10px;
    }
    
    .button-icon {
        width: 36px;
        height: 36px;
    }
    
    .button-text {
        font-size: 0.8rem;
    }
}

/* Cleanup of legacy phone button styles */
.phone-button {
    display: none !important; /* Hide any old phone button styles */
}

.nav-phone-item {
    display: none !important; /* Hide any old nav-phone-item styles */
}

/* Solution section styles */
.solution-section {
    margin: 4rem 0;
    padding: 0 5%;
}

.solution-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    border-top: 5px solid #00008B;
}

.solution-section h2 {
    color: #00008B;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #00008B;
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}

.solution-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
}

.enquire-button {
    display: block;
    width: 200px;
    background-color: #00008B;
    color: white;
    text-align: center;
    padding: 1rem 1.5rem;
    margin: 2rem auto 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.enquire-button:hover {
    background-color: #000066;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .solution-container {
        padding: 2rem 1.5rem;
    }
    
    .solution-section h2 {
        font-size: 1.6rem;
    }
    
    .solution-content p {
        font-size: 1rem;
    }
    
    .enquire-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Contact link highlight */
#nav-contact {
    outline: 2px solid #00008B;
    border-radius: 4px;
    padding: 6px 15px;
    margin: -6px 0;
}

#nav-contact:hover {
    background-color: #00008B;
    color: white;
    outline: none;
}

/* Fix Your Credit link highlight */
#nav-fix-credit {
    outline: 2px solid #00008B;
    border-radius: 4px;
    padding: 6px 15px;
    margin: -6px 0;
}

#nav-fix-credit:hover {
    background-color: #00008B;
    color: #FFD700;
    outline: none;
}

/* Media query for contact link on smaller screens */
@media (max-width: 768px) {
    #nav-contact, #nav-fix-credit {
        outline: 1px solid #00008B;
        padding: 4px 10px;
        margin: -4px 0;
    }
}

@media (max-width: 480px) {
    #nav-contact, #nav-fix-credit {
        outline: none;
        padding: 8px 10px;
        margin: 0;
        background-color: rgba(0, 0, 139, 0.1);
        border-radius: 0;
    }
}

/* Make sure all content is mobile-friendly */
@media (max-width: 768px) {
    /* Update hero section for mobile */
    .hero-container {
        flex-direction: column;
    }
    
    .hero, .hero-supplement {
        width: 100%;
        min-height: auto;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-supplement h3 {
        font-size: 1.5rem;
    }
    
    /* Update stats for mobile */
    .stat-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .stat-box {
        min-width: 45%;
    }

    /* Update service grid for mobile */
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure forms are properly sized on mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px; /* Larger touch target */
    }
    
    /* Improve select inputs on mobile */
    .form-group select {
        background-position: right 15px center;
    }
    
    /* Ensure all buttons are properly sized */
    .cta-button, .enquire-button, .form-submit, button {
        width: 100%;
        text-align: center;
        min-height: 48px; /* Better touch target */
        padding: 12px 20px;
    }
    
    /* Fix footer content on mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-supplement {
        padding: 1.5rem;
    }
    
    .hero-supplement h3 {
        font-size: 1.3rem;
    }
    
    .stat-box {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .image-button-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure padding and font sizes are appropriate */
    h2 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .about-content, .credit-content, .contact-content, .sponsorship-content, .qualify-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Make sure all content is mobile-friendly */
    /* Update hero section for mobile */
    .hero-container {
        flex-direction: column;
    }
    
    .hero, .hero-supplement {
        width: 100%;
        min-height: auto;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-supplement h3 {
        font-size: 1.5rem;
    }
    
    /* Update stats for mobile */
    .stat-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .stat-box {
        min-width: 45%;
    }

    /* Update service grid for mobile */
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure forms are properly sized on mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px; /* Larger touch target */
    }
    
    /* Improve select inputs on mobile */
    .form-group select {
        background-position: right 15px center;
    }
    
    /* Ensure all buttons are properly sized */
    .cta-button, .enquire-button, .form-submit, button {
        width: 100%;
        text-align: center;
        min-height: 48px; /* Better touch target */
        padding: 12px 20px;
    }
    
    /* Ensure touch targets are adequate size */
    nav a, 
    .dropdown-toggle,
    .hamburger-menu,
    .social-link,
    .nav-phone a {
        min-height: 44px; /* Apple's recommended minimum touch target size */
        display: flex;
        align-items: center;
    }
    
    /* Fix footer content on mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Body class for when mobile menu is open */
body.nav-open {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

/* FINAL MOBILE MENU FIX - CLEAN VERSION */
@media (max-width: 768px) {
    /* Header stays fixed at the top */
    html body header,
    html body header.header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        height: 60px !important;
        max-height: 60px !important;
        background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 15%, #eaf0ff 30%, #e0eaff 50%, #d5e3ff 70%, #c8d8ff 85%, #b8caff 100%) !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important; /* Very important - allows the menu to extend outside */
        border-bottom: 4px solid !important;
        border-image: linear-gradient(to right, #00008B, #3939dd, #00008B) 1 !important;
    }
    
    /* Main nav container */
    html body header nav,
    html body header.header nav {
        position: static !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important; /* Very important - allows the menu to extend outside */
    }
    
    /* Navigation top bar with logo and hamburger - stays in header */
    html body header nav .nav-top-bar,
    html body header.header nav .nav-top-bar {
        position: relative !important;
        z-index: 9999 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        height: 56px !important; /* Slightly less than header to account for border */
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Push main content below fixed header */
    html body main,
    html body div main {
        padding-top: 90px !important;  /* Increased from 80px to 90px */
        margin-top: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Hamburger menu button - stays inside header */
    html body header nav .nav-top-bar .nav-actions .hamburger-menu,
    html body header.header nav .nav-top-bar .nav-actions .hamburger-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 28px !important;
        height: 20px !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Hamburger menu lines */
    html body header nav .nav-top-bar .nav-actions .hamburger-menu span,
    html body header.header nav .nav-top-bar .nav-actions .hamburger-menu span {
        display: block !important;
        height: 3px !important;
        width: 100% !important;
        background-color: #00008B !important;
        border-radius: 3px !important;
        transition: all 0.3s ease !important;
        margin: 2px 0 !important;
        padding: 0 !important;
    }
    
    /* Hamburger animation */
    html body header nav .nav-top-bar .nav-actions .hamburger-menu.active span:nth-child(1),
    html body header.header nav .nav-top-bar .nav-actions .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    
    html body header nav .nav-top-bar .nav-actions .hamburger-menu.active span:nth-child(2),
    html body header.header nav .nav-top-bar .nav-actions .hamburger-menu.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    html body header nav .nav-top-bar .nav-actions .hamburger-menu.active span:nth-child(3),
    html body header.header nav .nav-top-bar .nav-actions .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }
    
    /* Mobile navigation menu - EXTENDS OUTSIDE the header */
    html body header nav ul,
    html body header.header nav ul {
        display: none !important; /* Hidden by default */
        position: fixed !important;
        top: 60px !important; /* Position below header */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100vh - 60px) !important;
        min-height: calc(100vh - 60px) !important;
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background-color: white !important;
        z-index: 9500 !important; /* Below header but above content */
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
        border-top: 1px solid rgba(0,0,0,0.1) !important;
        box-sizing: border-box !important;
    }
    
    /* Show mobile menu when active */
    html body header nav ul.active,
    html body header.header nav ul.active {
        display: block !important;
    }
    
    /* Mobile menu items */
    html body header nav ul li,
    html body header.header nav ul li {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
        position: relative !important;
        box-sizing: border-box !important;
        background: white !important;
    }
    
    /* Mobile menu links */
    html body header nav ul li a,
    html body header.header nav ul li a {
        display: block !important;
        width: 100% !important;
        padding: 15px 5% !important;
        color: #333 !important;
        font-size: 16px !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        background: white !important;
        text-align: left !important;
    }
    
    /* Hide all dropdowns in mobile view */
    html body header nav ul li .about-dropdown,
    html body header nav ul li .nav-dropdown,
    html body header nav ul li .services-dropdown,
    html body header nav ul li .qualify-dropdown,
    html body header nav ul li .sponsorships-dropdown,
    html body header.header nav ul li .about-dropdown,
    html body header.header nav ul li .nav-dropdown,
    html body header.header nav ul li .services-dropdown,
    html body header.header nav ul li .qualify-dropdown,
    html body header.header nav ul li .sponsorships-dropdown {
        display: none !important; 
    }
    
    /* Hide desktop phone in nav */
    html body header nav ul li.nav-phone,
    html body header.header nav ul li.nav-phone {
        display: none !important;
    }
    
    /* Show mobile phone in top bar */
    html body header nav .nav-top-bar .nav-actions .nav-phone-mobile,
    html body header.header nav .nav-top-bar .nav-actions .nav-phone-mobile {
        display: flex !important;
        z-index: 10000 !important;
        margin-right: 15px !important;
    }
    
    /* Overlay styling */
    html body .nav-overlay,
    html body header + .nav-overlay,
    html body header nav + .nav-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-color: rgba(0,0,0,0.5) !important;
        z-index: 9400 !important; /* Below menu but above content */
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    
    /* Show overlay when active */
    html body .nav-overlay.active,
    html body header + .nav-overlay.active,
    html body header nav + .nav-overlay.active {
        display: block !important;
    }
    
    /* Ensure body doesn't scroll when menu is open */
    html body.nav-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
}

/* Mobile menu special buttons - make them stand out */
@media (max-width: 768px) {
    /* Fix Your Credit and Contact buttons - make them stand out */
    html body header nav ul li.fix-credit-nav a,
    html body header nav ul li:last-child a,
    html body header nav ul li a#nav-contact,
    html body header nav ul li a#nav-fix-credit {
        background-color: #00008B !important;
        color: white !important;
        margin: 10px 0 !important;
        padding: 15px !important;
        text-align: center !important;
        border-radius: 5px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
        display: block !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        outline: none !important;
    }
    
    /* Hover effect for buttons */
    html body header nav ul li.fix-credit-nav a:hover,
    html body header nav ul li:last-child a:hover,
    html body header nav ul li a#nav-contact:hover,
    html body header nav ul li a#nav-fix-credit:hover {
        background-color: #000066 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
    }
    
    /* Make the mobile menu stop at the contact button */
    html body header nav ul {
        padding-bottom: 20px !important;
        max-height: auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-y: visible !important;
    }
    
    /* Container to make sure menu doesn't extend beyond content */
    html body header nav ul:after {
        content: '' !important;
        display: block !important;
        height: 0 !important;
        clear: both !important;
        visibility: hidden !important;
    }
    
    /* Important: Make sure Contact is the last item and nothing extends beyond it */
    html body header nav ul li:last-child {
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }
}

@media (max-width: 768px) {
    /* Make the mobile menu stop at the contact button */
    html body header nav ul {
        padding-bottom: 0 !important;
    }
    
    /* Ensure the last item has no margin/padding at bottom */
    html body header nav ul li:last-child {
        margin-bottom: 0 !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    /* Ensure the last button has no margin at bottom */
    html body header nav ul li:last-child a {
        margin-bottom: 10px !important;
    }
}

/* Credit Guide Footer Styles */
.credit-guide-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 3rem 5% 1rem;
    margin-top: 2rem;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.credit-guide-container {
    max-width: 1200px;
    margin: 0 auto;
}

.credit-guide-title {
    color: #00008B;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 3px solid #00008B;
    padding-bottom: 1rem;
}

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

.credit-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #00008B;
}

.credit-section h3 {
    color: #00008B;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.credit-section p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: justify;
}

.company-info {
    background: #00008B;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.company-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item strong {
    color: #ffd700;
}

.lenders-list {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 600;
    color: #00008B;
    text-align: center;
}

.credit-footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile responsiveness for credit guide footer */
@media (max-width: 768px) {
    .credit-guide-footer {
        padding: 2rem 4% 1rem;
    }
    
    .credit-guide-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .credit-guide-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .credit-section {
        padding: 1rem;
    }
    
    .credit-section h3 {
        font-size: 1.1rem;
    }
    
    .credit-section p {
        font-size: 0.85rem;
    }
    
    .company-info {
        padding: 1rem;
    }
    
    .company-info h3 {
        font-size: 1.2rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .credit-guide-footer {
        padding: 1.5rem 3% 1rem;
    }
    
    .credit-guide-title {
        font-size: 1.3rem;
    }
    
    .credit-section {
        padding: 0.8rem;
    }
    
    .credit-section h3 {
        font-size: 1rem;
    }
    
    .credit-section p {
        font-size: 0.8rem;
    }
    
    .company-info {
        padding: 0.8rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
}

/* Credit Guide Link Section */
.credit-guide-link {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.credit-guide-link-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.credit-guide-link-container p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.credit-guide-link-container a {
    color: #00008B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.credit-guide-link-container a:hover {
    color: #000066;
    text-decoration: underline;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
}

.social-link {
    color: #00008B;
    font-size: 24px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #00008B;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
}

.social-link:hover {
    background-color: #000066;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: #f0f0f0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #f0f0f0;
}

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

.footer-bottom p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-links {
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 12px;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (min-width: 769px) {
    /* Adjust main content */
    main {
        padding-top: 84px !important;  /* Increased from 74px to 84px */
        margin-top: 0 !important;
    }
}

/* Policy Pages Styles */
.policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    margin-top: 3rem; /* Increased from 2rem to 3rem */
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 15%, #eaf0ff 30%, #e0eaff 50%, #d5e3ff 70%, #c8d8ff 85%, #b8caff 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, #00008B, #3939dd, #00008B) 1;
}

.policy-header h1 {
    color: #00008B;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.policy-header p {
    color: #666;
    font-size: 1.1rem;
}

.policy-content {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #00008B;
}

.policy-content h2 {
    color: #00008B;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0eaff;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 25px;
}

.policy-content li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.policy-content a {
    color: #00008B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: #000066;
    text-decoration: underline;
}

.complaint-steps {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #00008B;
}

.complaint-steps ol {
    margin-left: 25px;
}

.complaint-steps li {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.complaint-steps strong {
    color: #00008B;
    font-weight: 600;
}

@media (max-width: 768px) {
    .policy-container {
        padding: 20px;
        margin-top: 1rem;
    }
    
    .policy-header {
        padding: 1.5rem;
        margin-bottom: 30px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 25px;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 1rem;
    }
    
    .complaint-steps {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .policy-content {
        padding: 20px;
    }
    
    .policy-content h2 {
        font-size: 1.3rem;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 0.95rem;
    }
}

/* Footer social links */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #00008B;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 2px solid #fff;
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: #000066;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: #f0f0f0;
}

/* Modern Contact Page Styles - Redesigned Layout */

/* Contact Hero Header */
.contact-hero-header {
    background: linear-gradient(135deg, #00008B 0%, #000066 50%, #00004A 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-phone-btn, .hero-form-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-phone-btn {
    background: #FFD700;
    color: #00008B;
}

.hero-phone-btn:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.hero-form-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-form-btn:hover {
    background: white;
    color: #00008B;
    transform: translateY(-2px);
}

.contact-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Main Contact Section - Two Column Layout */
.contact-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-left-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-right-column {
    position: relative;
}

/* Contact Form Sticky */
.contact-form-sticky {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 139, 0.1);
    border: 1px solid rgba(0, 0, 139, 0.1);
    position: sticky;
    top: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #00008B;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header p {
    color: #444;
    font-size: 1rem;
}

/* Modern Contact Form */
.modern-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-contact-form .form-group {
    margin-bottom: 0;
}

.modern-contact-form label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: #00008B;
}

.form-submit.modern-submit {
    background: linear-gradient(135deg, #00008B, #000066);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit.modern-submit:hover {
    background: linear-gradient(135deg, #000066, #00004A);
    transform: translateY(-2px);
}

/* Form Benefits */
.form-benefits {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

.benefit-item i {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Team Contact Integration */
.team-contact-integrated {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 139, 0.1);
    border: 1px solid rgba(0, 0, 139, 0.1);
}

.team-contact-integrated h2 {
    color: #00008B;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-intro {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.team-cards-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-details h4 {
    color: #00008B;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.member-role-compact {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: block;
}

.team-contact-buttons {
    display: flex;
    gap: 0.5rem;
}

.team-email-btn, .team-phone-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.team-email-btn {
    background: #f0f0f0;
    color: #00008B;
}

.team-phone-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #00008B;
}

.team-email-btn:hover, .team-phone-btn:hover {
    transform: translateY(-2px);
}

/* Contact Bottom Section */
.contact-bottom-section {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.info-cards-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card-horizontal {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 139, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: #00008B;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.info-content li:before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: 0;
}

/* Emergency Contact Banner */
.emergency-contact-banner {
    background: linear-gradient(135deg, #00008B 0%, #000066 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.emergency-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    opacity: 0.9;
}

.emergency-phone-btn {
    background: white;
    border: 3px solid #00008B;
    color: #00008B;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.emergency-phone-btn:hover {
    background: #FFD700;
    border-color: #FFD700;
    transform: translateY(-2px);
}

/* Contact Link Styling */
.contact-link {
    color: #00008B;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    color: #FFD700;
}

.response-time, .appointment-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.address-compact {
    color: #555;
    line-height: 1.4;
}

/* Quick Contact Section */
.quick-contact-section h2 {
    color: #00008B;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-contact-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 139, 0.1);
    border: 1px solid rgba(0, 0, 139, 0.1);
    margin-bottom: 2rem;
}

.primary-contact-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.primary-contact-info h3 {
    color: #00008B;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.primary-contact-info p {
    color: #555;
    margin-bottom: 1.5rem;
}

.primary-phone-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #00008B;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.primary-phone-btn:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.contact-hours-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Secondary Contact Grid */
.secondary-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.secondary-contact-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.secondary-contact-item:hover {
    transform: translateY(-5px);
}

.secondary-icon {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid #00008B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #00008B;
    font-size: 1.5rem;
}

.secondary-contact-item h4 {
    color: #00008B;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00008B, #3939dd);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Fix Your Credit page styles */
.credit-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
}

.credit-content h2 {
    color: #00008B;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00008B;
}

.credit-section {
    margin-bottom: 3rem;
}

.credit-section h3 {
    color: #00008B;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.credit-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.credit-steps {
    list-style-type: none;
    padding: 0;
    counter-reset: step-counter;
}

.credit-steps li {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9ff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    counter-increment: step-counter;
}

.credit-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    width: 2rem;
    height: 2rem;
    background-color: #00008B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.credit-steps h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #00008B;
}

.credit-steps p {
    margin: 0;
}

.credit-cta {
    background-color: #f0f2ff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #00008B;
    margin-top: 2rem;
    text-align: center;
}

.credit-cta h3 {
    color: #00008B;
    margin-bottom: 1rem;
}

.credit-cta p {
    margin-bottom: 1.5rem;
}

/* Apply Now button styling */
.apply-now-container {
    background-color: #f0f8ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    border-left: 4px solid #00008B;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.apply-now-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: 2px solid #FFD700;
    color: #00008B;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.apply-now-button:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    border-color: #FFA500;
    color: #00008B;
}

.apply-now-container p {
    margin: 0;
    color: #444;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .apply-now-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Qualify page styles */
.qualify-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
}

.qualify-content h2 {
    color: #00008B;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00008B;
}

.application-form {
    margin-top: 1rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #00008B;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.info-panel {
    background-color: #f0f2ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #00008B;
}

.info-panel h3 {
    color: #00008B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-panel ul {
    padding-left: 20px;
}

.info-panel li {
    margin-bottom: 10px;
}

/* Multi-step form styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.progress-container {
    margin: 2rem 0;
    background-color: #eee;
    border-radius: 10px;
    height: 10px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: #00008B;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.step-bubble {
    width: 30px;
    height: 30px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    border: 2px solid #ddd;
}

.step-bubble.active {
    background-color: #00008B;
    color: white;
    border-color: #00008B;
}

.step-bubble.completed {
    background-color: #00008B;
    color: white;
    border-color: #00008B;
}

.form-nav button {
    background-color: #00008B;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
}

.form-nav button:hover {
    background-color: #000066;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-nav button.prev {
    background-color: #6c757d;
}

.form-nav button.prev:hover {
    background-color: #5a6268;
}

.form-nav button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.step-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #00008B;
    font-size: 1.5rem;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-item {
    flex: 1;
    min-width: 200px;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-item label {
    display: block;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"]:checked + label {
    border-color: #00008B;
    background-color: #f0f2ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .radio-item {
        min-width: 100%;
    }
}

/* Team member styles */
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Credit Guide styles */
.credit-guide-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 40px 20px;
}

.credit-guide-header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #00008B, #1a1a8f);
    padding: 40px 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.credit-guide-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.credit-guide-content {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.credit-guide-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00008B;
}

.credit-guide-section h2 {
    color: #00008B;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.credit-guide-section h2 i {
    color: #00008B;
}

.credit-guide-section p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.credit-guide-section ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.credit-guide-section li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.credit-guide-section li:before {
    content: "•";
    color: #00008B;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info {
    background: #e8f4ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .credit-guide-header h1 {
        font-size: 2rem;
    }
    
    .credit-guide-content {
        padding: 20px;
    }
    
    .credit-guide-section {
        padding: 15px;
    }
}

/* Complaints Policy styles */
/* Duplicate policy styles removed - using main policy styles above */

/* Privacy Policy Styles */
.policy-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 40px 20px;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-header h1 {
    color: #00008B;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.policy-content {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    color: #00008B;
    font-size: 1.8rem;
    margin: 30px 0 15px;
}

.policy-content p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.policy-content a {
    color: #00008B;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 20px;
    }
}

/* Sponsorships Styles */
.sponsorship-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
}

.sponsorship-content h2 {
    color: #00008B;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00008B;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.sponsor-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #00008B;
}

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

.sponsor-image {
    width: 100%;
    height: 200px;
    background-color: #f0f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00008B;
    font-size: 1.5rem;
    font-weight: 600;
    overflow: hidden;
}

.actual-sponsor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsor-info {
    padding: 1.5rem;
}

.sponsor-name {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.sponsor-type {
    display: inline-block;
    background-color: #00008B;
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.sponsor-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.application-form {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #00008B;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-submit {
    background-color: #00008B;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Rubik', sans-serif;
}

.form-submit:hover {
    background-color: #000066;
}

/* Duplicate removed - using main form styles above */

.hidden {
    display: none;
}

.error {
    border-color: #dc3545;
}



/* Navigation Styles */
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    display: block;
}

nav ul {
    display: none;
}

nav ul.active {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-navigation {
        flex-direction: column;
    }
    
    .form-navigation button {
        width: 100%;
    }
    
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
}

/* Duplicate removed - using main form-navigation styles above */

.form-navigation button.previous-step {
    background-color: #666;
}

.form-navigation button.previous-step:hover {
    background-color: #888;
}

.form-navigation button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Ensure buttons are clickable */
/* Duplicate removed - z-index rules consolidated above */

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    position: relative;
    z-index: 1000;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: white;
    position: relative;
    z-index: 1001;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: #007bff;
}

.checkbox-group label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    position: relative;
    z-index: 1001;
}

.checkbox-group a {
    color: #007bff;
    text-decoration: none;
    position: relative;
    z-index: 1001;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Duplicate removed - using main checkbox styles above */

/* Ensure form elements don't interfere */
.form-group {
    position: relative;
    z-index: 1;
}

/* Make sure the last form step is above others */
.form-step:last-child {
    z-index: 999;
}

/* Ensure the checkbox container is above everything */
.form-step:last-child .checkbox-group {
    position: relative;
    z-index: 1000;
}

/* Responsive Design for New Contact Layout */
@media (max-width: 1200px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .contact-main-section {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-main-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-sticky {
        position: static;
    }
    
    .info-cards-horizontal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-header {
        padding: 3rem 0;
    }
    
    .contact-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .hero-phone-btn, .hero-form-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .primary-contact-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contact-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .secondary-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-card-compact {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-form-sticky {
        padding: 2rem;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit-item {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-header {
        padding: 2rem 0;
    }
    
    .contact-hero-content {
        padding: 0 1rem;
    }
    
    .contact-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-phone-btn, .hero-form-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .contact-main-section {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .quick-contact-section h2 {
        font-size: 1.5rem;
    }
    
    .primary-contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon-large {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .primary-phone-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .secondary-contact-item {
        padding: 1.5rem;
    }
    
    .secondary-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .team-contact-integrated h2 {
        font-size: 1.5rem;
    }
    
    .team-member-avatar {
        width: 60px;
        height: 60px;
    }
    
    .team-contact-buttons {
        justify-content: center;
    }
    
    .team-email-btn, .team-phone-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contact-form-sticky {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-bottom-section {
        padding: 0 1rem;
    }
    
    .info-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    
    .emergency-contact-banner {
        padding: 1.5rem;
    }
    
    .emergency-icon {
        width: 80px;
        height: 80px;
        background: white;
        border: 3px solid #00008B;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #00008B;
        font-size: 2rem;
        flex-shrink: 0;
    }
    
    .emergency-text h3 {
        font-size: 1.2rem;
    }
    
    .emergency-phone-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Qualify Page Gold Accents - Minimal */
.progress-bar {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    height: 6px;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Subtle Gold Accents for Original Pages */

/* About Page - Subtle Gold Touches */
.hero-about .hero-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #FFD700;
    margin: 0.5rem 0;
}

.mission-box h3 {
    color: #fff;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.3rem;
    display: inline-block;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mission-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FFD700;
    margin: 0.5rem auto;
}

/* Fix Your Credit Page - Subtle Gold Touches */
.credit-content h2 {
    color: #00008B;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.3rem;
    display: inline-block;
}

.apply-now-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: 2px solid #FFD700;
    color: #00008B;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.apply-now-button:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    border-color: #FFA500;
    color: #00008B;
}

/* Sponsorships Page - Subtle Gold Touches */
.sponsorship-content h2 {
    color: #00008B;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.3rem;
    display: inline-block;
}

.sponsor-card {
    border-left: 3px solid #FFD700;
}

/* Privacy and Complaints Policy - Subtle Gold Touches */
.policy-header h1 {
    color: #00008B;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.policy-content h2 {
    color: #00008B;
    border-bottom: 1px solid #FFD700;
    padding-bottom: 0.2rem;
    display: inline-block;
}

/* Credit Guide Page - Subtle Gold Touches */
.credit-guide-header h1 {
    color: #333;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 0.5rem;
    display: inline-block;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.credit-guide-section h2 {
    color: #00008B;
    border-bottom: 1px solid #FFD700;
    padding-bottom: 0.2rem;
    display: inline-block;
}

/* Team Cards - Wider Layout */
.team-card-compact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 400px; /* Make cards wider */
    max-width: 500px; /* Set max width for better text layout */
}

.mission-section {
    padding: 4rem 8%;
    background: linear-gradient(135deg, #00008B 0%, #000066 50%, #00004A 100%);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.mission-box {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Hero section for about page */
.hero-about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 8% 6rem 8%;
    background: linear-gradient(135deg, #00008B 0%, #3939dd 100%);
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,139,0.05) 0%, rgba(57,57,221,0.05) 100%);
    z-index: 1;
}

.hero-text {
    flex: 0 0 50%;
    position: relative;
    z-index: 2;
}

.hero-content {
    margin-top: 2rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.hero-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, #fff, transparent);
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-image {
    flex: 0 0 45%;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Quote section for about page */
.quote-section {
    padding: 6rem 8%;
    background: linear-gradient(135deg, #00008B 0%, #3939dd 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.featured-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin: 1.5rem 0;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.quote-attribution-large {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Team section for about page */
.team-section {
    padding: 6rem 8%;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #00008B;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00008B, #3939dd);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* About page mobile responsive styles */
@media (max-width: 768px) {
    .hero-about {
        flex-direction: column;
        padding: 2rem 5% 3rem 5%;
        text-align: center;
    }
    
    .hero-text {
        flex: none;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .quote-section {
        padding: 3rem 5%;
    }
    
    .featured-quote {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .quote-attribution-large {
        font-size: 1.1rem;
    }
    
    .team-section {
        padding: 3rem 5%;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-about {
        padding: 1.5rem 4% 2rem 4%;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .quote-section {
        padding: 2rem 4%;
    }
    
    .featured-quote {
        font-size: 1.1rem;
    }
    
    .team-section {
        padding: 2rem 4%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* About page h1 styling for white text */
.hero-about h1,
.about-content h1,
.hero-text h1,
.credit-guide-header h1,
.featured-quote {
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ensure hero h2 is definitely white */
.hero-text h2 {
    font-size: 3.5rem;
    color: #fff !important;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero CTA Section */
.hero-cta-section {
    margin-top: 2.5rem;
    text-align: left;
}

/* Meet Our Team Button - Enhanced for Hero Section */
.meet-team-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.meet-team-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.meet-team-button:hover::before {
    left: 100%;
}

.meet-team-button:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    color: #000;
}

.meet-team-button i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Team styling from old CSS */
.team-member {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    min-height: 500px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    padding: 2rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

.team-member:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
}

.member-photo {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
    border: 4px solid #00008B;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-info {
    padding: 1.5rem;
    flex-grow: 1;
    max-width: 700px;
}

.member-name {
    font-size: 1.75rem;
    color: #00008B;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.member-title {
    font-size: 1.2rem;
    color: #3939dd;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.member-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.member-contact {
    margin-top: 1.5rem;
    text-align: center;
}

.member-email-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00008B 0%, #3939dd 100%);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 139, 0.2);
}

.member-email-btn:hover {
    background: linear-gradient(135deg, #3939dd 0%, #5555ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 139, 0.3);
    color: #fff;
}

.member-email-btn i {
    margin-right: 6px;
}

@media (max-width: 1200px) {
    .team-grid {
        padding: 2rem;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2.5rem;
    }

    .member-photo {
        width: 200px;
        height: 200px;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-title {
        font-size: 1.1rem;
    }

    .meet-team-button {
        padding: 12px 22px;
        font-size: 1rem;
    }
    
    .member-email-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .hero-cta-section {
        margin-top: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 2rem;
    }

    .member-photo {
        width: 180px;
        height: 180px;
    }

    .member-name {
        font-size: 1.4rem;
    }

    .member-bio {
        font-size: 1rem;
        line-height: 1.6;
    }

    .meet-team-button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .member-email-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-cta-section {
        margin-top: 1.5rem;
        text-align: center;
    }
}