/* Main Stylesheet */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fcfcfc;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Position right below the nav item */
    left: 0;
    background-color: #fff;
    min-width: 180px; /* Slightly wider for readability */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 3px solid #E63946; /* Accent color top border */
    border-radius: 0 0 4px 4px;
    max-height: 400px; /* Limit height */
    overflow-y: auto; /* Enable scrolling */
}

.dropdown-content.keys-dropdown {
    min-width: 130px; /* Narrower for car keys */
}

.dropdown-content a {
    color: #333 !important; /* Override nav a color */
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #E63946 !important;
    padding-left: 25px; /* Slide effect */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile dropdown overrides */
@media (max-width: 900px) {
    .dropdown {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown .dropbtn {
        display: block !important;
        width: 100% !important;
        padding: 15px 20px !important;
    }
    .dropdown .dropbtn::after {
        content: ' ▼';
        font-size: 0.7rem;
        margin-left: 5px;
    }
    .dropdown.open .dropbtn::after {
        content: ' ▲';
    }
    .dropdown .dropdown-content {
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .dropdown.open .dropdown-content {
        display: block !important;
        position: static !important;
        background: #2a2a2a !important;
        box-shadow: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .dropdown.open .dropdown-content a {
        color: #ffffff !important;
        background: #2a2a2a !important;
        padding: 12px 30px !important;
        border-bottom: 1px solid #444 !important;
        font-size: 14px !important;
        display: block !important;
    }
    .dropdown.open .dropdown-content a:hover {
        background: #3a3a3a !important;
        color: #E63946 !important;
        padding-left: 35px !important;
    }
}

/* Card Styling */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #E63946;
}

/* Grid Layouts */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

