body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9fafb;
}
.text-primary {
    /* color: #20cc7a !important; */
    color: #008446 !important;
}
.fs-sm {
    font-size: 14px !important;
}
.underline {
    background: linear-gradient(180deg, rgba(97, 206, 112, 0) 50%, #008446 50%);
}
.btn-primary {
    background-color: #008446 !important;
    border: 0;
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #008446 !important;
    border: 0;
    color: #ffffff;
}
.btn-secondary {
    background-color: #008446;
    border: 0;
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: #008446;
    border: 0;
    color: #ffffff;
}
.btn-outline-primary {
    border: 1px solid #008446;
    color: #008446;
}
.btn-outline-primary:hover {
    border: 1px solid #008446;
    background-color: #008446;
    color: #ffffff;
}
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.navbar-brand {
    color: #008446;
}
.hero {
    position: relative;
    height: 80vh;
    background: url('../images/hero-bg-image.jpg') center center/cover no-repeat;
    color: white;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgb(69 69 69 / 70%), rgb(32 204 122 / 40%));
    backdrop-filter: blur(2px);
}
  
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease forwards;
}

.hero p {
    color: #eaeaea;
    animation: fadeInUp 1.2s ease forwards;
}

.hero .btn {
    animation: fadeIn 1.5s ease forwards;
    transition: all 0.3s ease;
}

.hero .btn:hover {
    background-color: #fff;
    color: #0d6efd;
    transform: scale(1.05);
}

/* Simple fade animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
  
.hero .search-box {
    max-width: 600px;
    margin: 40px auto 0;
    z-index: 2;
    position: relative;
}
.search-box {
    max-width: 600px;
    margin: 30px auto;
}

.choose-role {
    background-color: #ffffff;
}

.role-card {
    height: 450px;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.role-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background-size: cover;
    background-position: center;
    /* filter: brightness(0.6); */
    transition: transform 0.5s ease;
}

.role-card:hover .role-bg {
    transform: scale(1.05);
}

.role-card .card-content {
    position: relative;
    z-index: 2;
}

.role-card .cta {
    background-color: transparent;
    color: #008446;
    border: 1px solid #008446;
}

.why-choose {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.login-card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}  

.login-section .form-control,
.register-card .form-control {
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.login-section label,
.register-card label {
    font-weight: 500;
}

.register-card {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.6s ease;
}  

.toggle-password {
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.toggle-password:hover {
    color: #0d6efd;
    transform: scale(1.1);
}  

footer {
  background: #0d1b2a;
  color: white;
  padding: 30px 0;
  text-align: center;
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}
  
#nearby-parking {
    position: relative;
    background: linear-gradient(135deg, #f9fafc 0%, #eef3f9 100%);
}
  
#nearby-parking .content-wrapper {
    padding: 20px;
    animation: fadeInLeft 0.8s ease;
}
  
#nearby-parking h2 {
    font-family: 'Montserrat', sans-serif;
    color: #222;
}
  
#nearby-parking p {
    font-size: 1.05rem;
    line-height: 1.6;
}
  
#nearby-parking ul li {
    font-size: 1rem;
    color: #444;
}
  
@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}
  
.parking-marker {
    position: relative;
    width: 40px;
    height: 40px;
    background: #2563eb; /* modern blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    animation: bounce 1.5s infinite;
}
  
.parking-marker::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border: 2px solid #2563eb;
}
  
.parking-marker::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}
  
@keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
}
  
@keyframes pulse {
    0% {
      transform: scale(0.8);
      opacity: 0.7;
    }
    100% {
      transform: scale(1.4);
      opacity: 0;
    }
}  

#spinnerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
  
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #2563eb;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-wrapper {
    display: flex;
    /* height: 100vh; */
}

.sidebar {
    width: 50%;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
    overflow-y: auto;
    padding: 20px;
}

.sidebar-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 40px;
    height: 45px;
    border-radius: 10px;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 20px;
}

.parking-card {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0px 4px 16px #cecece;
}

.parking-card:hover {
    background: #eef2f3;
    transform: scale(1.02);
}

.parking-img {
    width: 150px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Parking Info */
.parking-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.parking-address,
.parking-price {
    font-size: 12px;
    margin-bottom: 3px;
    color: #555;
}

.book-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 22px;
    background: #008446;
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.book-btn:hover {
    background: #0056c1;
}

#parking_map {
    width: 50%;
    height: 100vh;
    position: fixed;
    right: 0;
}

.parking-marker {
    position: relative;
    width: 42px;
    height: 42px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.parking-price-badge {
    position: absolute;
    top: -16px;
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}