/* 1. GLOBAL VARIABLES & RESET */
/*:root {
    --bg-main: #0f0f0f;*/ /* Main background black */
/*--bg-card-dark: #1a1a1a;*/ /* Card background grey */
/*--primary-cyan: #5ce1e6;*/ /* The accent blue color */
/*--text-grey: #a0a0a0;*/ /* Muted text color */
/*--text-black: #ffffff;
}*/

:root {
    --bg-main: #eeeeee; /* Main background grey */
    --bg-card-white: #fefefe; /* Card background white */
    --primary-cyan: #5ce1e6; /* The accent blue color */
    --primary-orange: #f3b33f;
    --text-grey: #1a1a1a; /* Muted text color */
    --text-black: #000000;
}

body {
    background-color: var(--bg-main);
    color: var(--text-black);
    font-family: 'Microsoft YaHei', 'Î¢ÈíÑÅºÚ', 'Segoe UI' Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* 2. WRAPPER */
.autoaid-landing {
    background-color: var(--bg-main);
    min-height: 100vh;
    width: 100%;
}

/* 3. SOLID NAVIGATION BAR (No Transparency) */
.solid-nav {
    /* Uses the exact same color as the body background */
    background-color: var(--bg-card-white);
    /*    border-bottom: 0.2px solid var(--text-grey);*/
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    z-index: 1030; /* Ensures it stays on top of content */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* 4. TYPOGRAPHY HELPERS */
h1, h2, h3, h4 {
    color: var(--text-black);
}

.text-grey {
    color: var(--text-grey) !important;
}

.text-black {
    color: var(--text-black) !important;
}

/* 5. CUSTOM BUTTONS */
.btn-cyan {
    background-color: var(--primary-cyan);
    color: #fff;
    border: none;
    transition: all 0.2s ease-in-out;
}

    .btn-cyan:hover {
        background-color: #4accd1;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
    }


.btn-outline-light {
    background-color: var(--primary-orange);
    color: #fff;
    border: none;
    transition: all 0.2s ease-in-out;
}

    .btn-outline-light:hover {
        background-color: #f3b33f;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
    }

/*.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s ease-in-out;
}

    .btn-outline-light:hover {
        background-color: #ffffff;
    }*/

/* 6. HERO SECTION CARD */
.hero-card {
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 12px solid #fff;
    transition: transform 0.3s ease;
}

    .hero-card:hover {
        transform: rotate(0deg) scale(1.02) !important;
    }

/* 7. FEATURE CARDS */
.bg-dark-card {
    background-color: var(--bg-card-white);
}

.feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* 8. ADAPTIVE LAYOUT (Mobile vs Desktop) */
@media (min-width: 992px) {
    .text-end-lg {
        text-align: right;
    }
}

@media (max-width: 991px) {
    .hero-section,
    .feature-card {
        text-align: center;
    }

    .stats-row {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .feature-card .row {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    /* On mobile, ensure menu background is solid too */
    .navbar-collapse {
        background-color: var(--bg-main);
        padding: 1rem;
        border-radius: 0 0 1rem 1rem;
        border: 1px solid rgba(255,255,255,0.1);
    }
}

/* 9. FOOTER */
.text-small {
    font-size: 0.9rem;
}

    .text-small a {
        opacity: 0.7;
        transition: opacity 0.2s;
    }

        .text-small a:hover {
            opacity: 1;
            color: var(--primary-cyan) !important;
        }

.nav-link {
    font-weight: bold;
}

    .nav-link.active {
        border-bottom: 1px solid var(--text-black);
    }

.space-text {
    margin-right: 1em;
}


/* --- HOVER DROPDOWN LOGIC --- */

/* Only apply hover effect on Desktop (screens wider than 992px) */
/* On mobile, we still want 'Click' behavior because there is no 'Hover' */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Ensures the menu touches the navbar so mouse doesn't lose focus */
    }
}

/* Optional: Styling the Dropdown to match your Glass/Solid look */
.dropdown-menu-dark {
    background-color: #1a1a1a; /* Matches your Card Dark Color */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover {
    background-color: var(--primary-cyan);
    color: #000; /* Black text on Cyan background */
}

.dark-checkbox {
    background-color: #2a2a2a;
    border-color: #444;
}

    .dark-checkbox:checked {
        background-color: var(--primary-cyan);
        border-color: var(--primary-cyan);
    }
