    /* Import modern font from Google Fonts */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

    .main-card {
        background: rgba(255, 255, 255, 0.5); /* 90% opacity white */
        padding: 40px;
        border-radius: 15px;
        margin: 50px auto;
        width: 90%;
        max-width: 600px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        position: relative;
    }
    
    .footer-container {
        background-color: rgba(248, 249, 250, 0.7); /* Slight transparency */
        padding: 20px;
        text-align: center;
    }

    body {
        background-image: url('assets/backgroundD3.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        font-family: 'Inter', sans-serif;
        margin: 0;
        min-height: 100vh;
    }

    .header-logo {
        display: flex;
        flex-direction: column; /* Stacks items vertically */
        align-items: center;    /* Centers items horizontally */
        margin: 20px 0;         /* Adds space above and below the header */
    }
    
    .header-logo img {
        width: 200px;
        height: auto;
    }
    
    .company-name {
        margin-top: 10px;       /* Gap between logo and text */
        font-size: 0.9em;       /* Adjust size to look professional */
        font-weight: bold;
        color: #333;            /* Matches your clean aesthetic */
        letter-spacing: 1px;    /* Optional: adds a modern feel */
        text-transform: uppercase;
    }

    .page-menu {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 20;
        padding: 0;
    }

    .menu-toggle {
        border: none;
        background: rgba(255, 255, 255, 0.95);
        width: 44px;
        height: 44px;
        border-radius: 12px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        transition: transform 0.2s ease, background-color 0.2s ease;
        padding: 0;
        position: relative;
    }

    .menu-toggle:hover,
    .menu-toggle:focus {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-1px);
    }

    .menu-icon-img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .menu-dropdown {
        position: absolute;
        top: 72px;
        left: 0;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.18);
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        min-width: 200px;
        z-index: 10;
    }

    .menu-dropdown.show {
        display: flex;
    }

    .menu-dropdown a {
        display: block;
        color: #111;
        background: rgba(0, 0, 0, 0.04);
        padding: 10px 14px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        transition: background 0.2s ease;
    }

    .menu-dropdown a:hover,
    .menu-dropdown a:focus {
        background: rgba(0, 0, 0, 0.08);
    }

    .menu-bonus-link,
    .menu-item-link {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
    }

    .menu-bonus-link .menu-bonus-value {
        margin-left: auto;
    }

    .menu-item-icon,
    .menu-bonus-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .menu-item-icon {
        background: rgba(0, 0, 0, 0.06);
        color: #111;
    }

    .menu-bonus-icon {
        background: #ef4b4b;
        color: #fff;
    }

    .menu-bonus-value {
        background: #ffecea;
        color: #c31e1e;
        padding: 4px 10px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .page-link {
        display: inline-block;
        margin-top: 18px;
        color: #111;
        background: rgba(255,255,255,0.92);
        border-radius: 12px;
        padding: 10px 16px;
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    }

    .page-link:hover,
    .page-link:focus {
        background: rgba(255,255,255,1);
    }

    .info-section {
        background: rgba(255, 255, 255, 0.72);
        margin: 20px auto;
        padding: 24px;
        border-radius: 18px;
        max-width: 760px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

    .info-section h3 {
        margin-top: 0;
        font-size: 1.2rem;
        color: #111;
    }

    .info-section p {
        margin: 10px 0 0;
        line-height: 1.6;
        color: #333;
    }

    h1 { text-align: center; color: #1a1a1a; margin-bottom: 30px; }
    h2 { text-align: center; color: #1a1a1a; margin-top: 0; font-size: 1.4em; }
    
    @media (max-width: 768px) {
        body { padding: 10px; }
        .main-card {
            width: 95%;
            padding: 30px;
        }
        .page-menu {
            top: 12px;
            left: 12px;
        }
        .menu-dropdown {
            top: 64px;
            right: auto;
            left: 12px;
            min-width: calc(100vw - 48px);
            max-width: 300px;
        }
        .whatsapp-apply-btn {
            width: 100%;
            padding: 15px;
        }
        .form-control-group {
            width: 100%;
        }
                #district, #other-district, #platform, #name, #phone, #ap-name, #ap-phone, #ap-hub-name, #ap-hub-incharge, #ap-location {
            width: 100%;
            max-width: 100%;
        }
    }

    @media (max-width: 600px) {
        body { padding: 10px; }
        .main-card {
            padding: 24px;
        }
    }

    .whatsapp-apply-btn {
        display: inline-block;
        background-color: #25D366; /* Official WhatsApp Green */
        color: white;
        padding: 15px 40px;
        border-radius: 50px; /* This makes it pill-shaped */
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1em;
        text-align: center;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: background-color 0.3s, transform 0.2s;
    }
    
    .whatsapp-apply-btn:hover {
        background-color: #128C7E; /* Darker green on hover */
        transform: scale(1.05); /* Slight pop effect */
    }

    /* Container for the district selection group */
.form-control-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Keeps everything centered */
    margin-bottom: 30px;
}

/* Force both the select and input to have the exact same width and padding */
#district, #other-district, #platform, #name, #phone, #ap-name, #ap-phone, #ap-hub-name, #ap-hub-incharge, #ap-location, #rf-name, #rf-phone, #rf-hub-name, #rf-referral-name, #rf-location, #cm-name, #cm-phone, #cm-hub-name, #cm-complaint {
    width: 220px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* This is crucial for consistent alignment */
    margin-top: 5px;
}


/* Ensure the footer inherits the card look */
.footer-container.main-card {
    margin-top: 50px;
    padding: 30px;
    display: block; /* Ensures it acts like a card */
}

/* Use Flexbox to align contact/address side-by-side */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.footer-heading {
    color: #d63384; 
    font-size: 1.1em; 
    border-left: 4px solid #d63384; 
    padding-left: 10px;
}


.platform-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

/* Hide the actual radio button circles */
.option-card input[type="radio"] {
    display: none;
}

/* The card now acts as the primary interactive element */
.card-content {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7); /* Matching your glass effect */
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    backdrop-filter: blur(5px);
}

/* Hover effect for better UX */
.card-content:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* When the HIDDEN radio is checked, style the card content */
.option-card input[type="radio"]:checked + .card-content {
    border-color: #d63384; /* Your pink/brand color */
    background: #fff;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3);
    transform: scale(1.05); /* Slight pop to show selection */
}

.card-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Prevents logos from stretching */
}

/* Style for the 'Other' text to match logo height */
.card-content span {
    font-weight: bold;
    color: #555;
}

/* Loading Spinner Styles */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-overlay.show {
    display: flex;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.delivery-bike {
    position: relative;
    width: 300px;
    height: 100px;
}

.bike-body {
    font-size: 80px;
    animation: bikeDrive 2s ease-in-out infinite;
    display: inline-block;
}

.bike-trail {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 300px;
    height: 3px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    border-radius: 2px;
    animation: trailMove 2s ease-in-out infinite;
}

@keyframes bikeDrive {
    0% {
        transform: translateX(0) scaleX(1);
        opacity: 0.8;
    }
    50% {
        transform: translateX(150px) scaleX(1);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scaleX(1);
        opacity: 0.8;
    }
}

@keyframes trailMove {
    0% {
        width: 0;
    }
    50% {
        width: 300px;
    }
    100% {
        width: 0;
    }
}

.spinner {
    display: none;
}

.loading-text {
    position: relative;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    font-weight: 500;
    text-align: left;
    width: 220px;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 3px 5px;
    border-radius: 3px;
    border-left: 3px solid #e74c3c;
}

