:root {
    --primary-color: black;
    --secondary-color: #6c757d;
    --primary-dark: white;    
    --primary-light: #e6f7ff;
    --primary-lighter: #b3e5fc;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background-color: white;
}

/* ============= MODERN HEADER STYLES ============= */
.navbar {
    padding: 0.5rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #fff !important;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    height: 45px;
    
}

.navbar-brand span {
    color: #fff;
    font-size: 1.3rem;
    margin-left: 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

.nav-link {
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-item.danger .nav-link {
    color: #fff !important;
}

/* Buttons */
.btn-coparking,
.btn-map {
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-coparking:hover,
.btn-map:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Dropdown menu */
.dropdown-menu {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 0.5rem;
    min-width: 250px;
    font-family: Montserrat;

}

.dropdown-item {
    color: #000;
    padding: 0.5rem 0;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}


/* Buttons styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 139, 199, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 139, 199, 0.4);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-primary:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        height: 35px;
    }
}

.search-container {
    max-width: 100%;
    margin: 0 auto;
}

.nav-tabs .nav-link {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px 10px 0 0;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Forms */
.form-control,
.input-group-text {
    border-radius: 20px !important;
}

/* Footer icons */
.footer-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px !important;
        margin: 5px 0;
    }

    .homeCar {
        padding-bottom: 10px;
    }

    .navbar-collapse {
        background: linear-gradient(135deg, rgba(13, 90, 138, 0.98) 0%, rgba(33, 139, 199, 0.98) 100%);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: none;
    }

    .dropdown-item {
        color: black !important;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .navbar-brand img {
        height: 35px;
    }
}

/* CSS for Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-nav .nav-link {
        font-size: 1.3rem;
        padding: 12px 25px !important;
    }

    .navbar-brand img {
        height: 40px;
    }
}

@media (min-width: 992px) {
    .navbar-nav.d-flex.flex-row {
        justify-content: flex-end;
        width: 85%;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav.d-flex.flex-row .nav-item {
        margin-left: 10px;
    }
}

.btn {
    border-radius: 50px;
    font-weight: 600;
}

/* ============= MODERN FOOTER STYLES ============= */
.footer {
    background: linear-gradient(135deg, #D0A96E 0%, #85512D 50%, #D0A96E 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D0A96E 0%, white 50%, #b3e5fc 100%);
}


.footer-content {
    padding: 60px 40px 20px;
}

.footer-logo-section {
    margin-bottom: 25px;
}

.footer-logo-section img {
    width: 200px;
    
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo-section img:hover {
    transform: scale(1.05);
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-cta-button {
    background: linear-gradient(135deg, #000 0%, #000 100%);
    color: white;
    font-size: 1rem;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(33, 139, 199, 0.3);
}

.footer-cta-button:hover {
    background: linear-gradient(135deg, #000 0%, #000 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 139, 199, 0.4);
    color: white;
}

.footer-links-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, white 0%, transparent 100%);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links .menu-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.footer-links .menu-link::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links .menu-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links .menu-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-info {
    padding-top: 10px;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer-contact-item i {
    color: white;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-link:hover {
    background: linear-gradient(135deg, #000 0%, #000 100%);
    border-color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(77, 208, 225, 0.4);
}

.social-icon-link i {
    color: white;
    font-size: 1.3rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    padding: 20px 15px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 20px;
    }

    .footer-content .row {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-item {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Medical/Healthcare specific styles */
.medical-badge {
    background: linear-gradient(135deg, #D0A96E 0%, #1a8ccc 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(33, 139, 199, 0.3);
}

.doctor-card {
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    padding: 25px;
    background: white;
}

.doctor-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(33, 139, 199, 0.2);
    transform: translateY(-5px);
}

.specialty-tag {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Hide Leaflet attribution */
.leaflet-control-attribution a[title="A JS library for interactive maps"] {
    display: none !important;
}