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


/* ----------------- Utilities ----------------- */
.text-color-info { color: #0cd2dd !important; }
.text-light-black { color: #949494 !important; }
.text-color-white, .text-white { color: #ffffff !important; }
.bg-color-info { background-color: #0cd2dd !important; }
.bg-color-white { background-color: #ffffff !important; }
.bg-light-grey { background-color: #f5f5f5 !important; }
.bg-info2 { background-color: #a5fbff !important; }
.pr-7 { padding-right: 7rem !important; }
.pl-40 { padding-left: 40px !important; }
.pl-60 { padding-left: 60px !important; }
.b-none { border: none !important; }
.radius-20 { border-radius: 20px; }
.radius-10 { border-radius: 10px; }
.font-family-inter { font-family: "Inter", sans-serif; }
.font-family-merriweather { font-family: 'Merriweather', serif; }
.fs-49 { font-size: 49px; }
.fs-20 { font-size: 20px; }
.fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; }
.text-capitalize { text-transform: capitalize; }
.text-tracking-wide { letter-spacing: 0.05em; }
.text-tracking-wider { letter-spacing: 0.1em; }
.text-tracking-tight { letter-spacing: -0.05em; }
.f15rem { font-size: 1.15rem; }
.active{color: #0dcaf0;}
.navbar {
  --bs-navbar-active-color: #0dcaf0; /* or any color you want */
}
.custom-tabs-wrapper .nav-link.active, .custom-tabs-wrapper .nav-link:hover{
  color: #ffffff !important;
}


/* ----------------- Global ----------------- */
body {
  font-family: "Roboto", sans-serif;
  color: #000;
}
p {
  line-height: 1.6;
  color: #766f6f;
}

/* ----------------- Navbar ----------------- */
.logo-img {
  width: 150px;
  height: 60px;
  object-fit: contain;
}
.menu-links {
  text-align: center;
}
.menu-links .nav-link {
  font-weight: 600;
  color: #000;
  padding: 0 15px;
  margin: 0 9px;
  font-family: sans-serif;
}
.menu-links .nav-link:hover { color: #0dcaf0; }
.mobile-menu { padding-left: 0; }
.mobile-menu .nav-item { border-bottom: 1px solid #ddd; }
.mobile-menu .nav-link {
  text-align: left;
  padding: 12px 5px;
  font-weight: 600;
  color: #000;
}
.mobile-menu .nav-link:hover { color: #0dcaf0; }
.navbar-toggler {
  padding: 4px 8px;
  font-size: 18px;
  border: none;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar .wallet:hover { background-color: #0cd2dd10; }

/* ----------------- Hero Section ----------------- */
.hero {
  background-color: #f1fbfc;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #000;
}
.hero-bg-color { background-color: #f1fbfc; }
.hero h1, .hero h2 {
  font-weight: 600;
  font-size: 50px;
}
.hero h1 { color: #0dcaf0; margin-top: 50px; }
.hero h2 { margin-bottom: 1.5rem; }
.home-hero-heading {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 49px;
  line-height: 1.2;
  text-transform: capitalize;
  color: #0cd2dd;
}
.home-hero-heading span { color: #000; }
.hero .btn {
  min-width: 180px;
  font-weight: 600;
  margin: 10px 10px 30px;
  padding: 12px 25px;
  border-radius: 8px;
  margin-bottom: 50px;
}

/* ----------------- Map ----------------- */
.map-container {
  width: 600px;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 20px;
}
.map-container-home {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 20px;
}
.map-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------- Community Alert Section ----------------- */
.section-heading {
  font-size: 2.5rem;
  color: #000;
  max-width: 500px;
}
.alert-card {
  background-color: #fff;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
  height: 100%;
}
.alert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}
.map-card-image {
  max-height: 170px;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
}
.map-card-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.alert-tag {
  background-color: #ffe0e0;
  border-radius: 20px;
  padding: 5px 15px;
  margin-top: 10px;
}
.alert-tag .alert-text {
  color: #ff0000;
  font-weight: 600;
  font-size: 0.9rem;
}
.alert-tag .alert-icon {
  width: 18px;
  height: 18px;
}
.icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 15px;
  padding: 12px;
}
.feature-icon {
  max-width: 25px;
  max-height: 25px;
}

/* ----------------- Towed Vehicle Finder ----------------- */
.towed-vehicle-finder { background-color: #fff; }
.towed-vehicle-finder .map-card-image {
  max-height: 270px;
  height: 270px;
}
.map-finder-container { border-radius: 20px; }
.map-finder-container .map-image-custom { border-radius: 20px; }
.instructions-heading { font-size: 2.25rem; }
.custom-input-field {
  height: 55px;
  border: 1px solid #ced4da;
  border-radius: 10px;
  padding: 15px;
  box-shadow: none;
}
.custom-input-field:focus {
  border-color: #0cd2dd;
  box-shadow: 0 0 0 0.1rem rgba(12,210,221,0.25);
}
textarea.custom-input-field {
  height: auto;
  resize: vertical;
  max-height: 70px;
}

/* ----------------- Registered Vehicles ----------------- */
.registered-vehicles { background-color: #f1fbfc; }
.heading-row {
  font-size: 22px !important;
  padding: 24px 8px !important;
}
.vehicle-data-row {
  background-color: #fff;
  transition: transform 0.2s;
  font-size: 1.1rem;
  color: #766f6f;
}
.vehicle-data-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}
.vehicle-icon { width: 30px; height: 30px; }
.status-active {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  background-color: rgba(181,232,93,0.29) !important;
  color: #b5e85d !important;
}
.action-icons i { cursor: pointer; font-size: 1.1rem; }
.action-delete { color: #ff5757; }
.action-edit { color: #0cd2dd; }
.car-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: #d8fdff;
}
.vehicle-icon { max-width: 22px; max-height: 22px; }
.action-icons .action-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* ----------------- Newsletter ----------------- */
.newsletter-section { background-color: #fff; }
.newsletter-form {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(208,209,215,0.5);
}
.newsletter-input {
  border: none;
  flex-grow: 1;
  padding: 10px 15px;
  box-shadow: none !important;
}
.newsletter-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px !important;
}
.newsletter-input::placeholder { color: #999; }

/* ----------------- Footer ----------------- */
.main-footer { background-color: #f1fbfc; color: #333; }
.footer-links li a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 2.2;
  transition: color 0.2s;
}
.footer-links li a:hover { color: #0cd2dd; }
.footer-legal-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 15px;
}
.footer-legal-links a:hover { color: #0cd2dd; }
.footer-logo-img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* ----------------- Report Tow Modal ----------------- */
.custom-modal-content { background-color: #fff; padding: 20px; }
.map-modal-preview { border: none; overflow: hidden; }
.custom-input-field {
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  background-color: #f2f2f2;
  max-height: 45px;
}
.custom-input-field::placeholder,
.custom-input-location::placeholder { color: #c0c0c0; }
textarea.custom-input-field {
  background-color: #f2f2f2;
  border: none;
}
.custom-input-location .input-group-text {
  background-color: #f2f2f2;
  border-left: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #0cd2dd;
  border: none !important;
}
.custom-input-location input {
  background-color: #f2f2f2;
  border: none !important;
}
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230dcaf0' stroke-width='2' viewBox='0 0 16 16'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
  color: #c0c0c0;
}

/* Upload Area */
.upload-area {
  background-color: #f2f2f2;
  border: none !important;
  cursor: pointer;
  transition: background-color 0.3s;
}
.upload-area:hover { background-color: #f0f0f0; }
.upload-icon-lg { font-size: 3rem; color: #949494; }
.upload-label { display: block; cursor: pointer; }

/* -----------------  User Profile Page ----------------- */

.profile-main {
    min-height: 85vh; /* Center content vertically, leaving space for the navbar */
}

/* Avatar Styling */
.avatar-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /* Subtle border for separation */
    border: 5px solid white; 
    box-shadow: 0 0 0 2px #0CD2DD50; /* Light primary color ring */
    overflow: hidden;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Community Badge Card Styling */
.community-badge-card {
    /* The light yellow background from the image */
    background-color: #FBF4CA; 
    max-width: 520px;
    border: 1px solid #FBF4CA; /* Slightly darker yellow border */
}

.badge-icon {
    width: 60px;
    height: 60px;
}

.badge-level-2 {
    background-color: #FFDB02; 
    color: #333;
}
/* --- Dashboard Stats Section --- */

.stat-icon-lg {
    /* Large icon size */
    width: auto;
    height: 60px;
}

.stat-card h3 {
    /* Use the primary color defined earlier */
    color: black; 
    font-size: 1.5rem;
    font-weight: 600;
}


/* --- Dashboard Tabs & Reports Section --- */

.custom-tabs-wrapper {
    /* Container for the pill navigation */
    border-radius: 10px;
    display: inline-flex; /* Shrink to fit content width */
}

/* Base style for all tab links */
.nav-pills .nav-link {
    color: #333;
    background-color: transparent;
    transition: all 0.2s;
}

/* Style for the active tab */
.nav-pills .nav-link.active, 
.nav-pills .nav-link:hover,
.tab-active {
    color: white !important;
    background-color: #0CD2DD; /* Primary color active state */
    box-shadow: 0 4px 8px rgba(0, 205, 221, 0.3);
}

/* Styling for individual report items */
.report-item {
    border: 1px solid #eee;
}

.report-icon {
    width: 35px;
    height: 35px;
}

.status-complete {
    background-color: #f1fbfc; /* Light green background */
    color: #0cd2dd; /* Green text */
    border-radius: 5px;
    padding: 10px 20px;
}

.download-icon {
    cursor: pointer;
    font-size: 1.1rem;
}

/* --- Contact Us Page Styling --- */

.contact-us-page {
    /* Use the light background color */
    background-color: #F1FBFC;
}

.contact-card {
    /* Ensures the card is visibly raised and rounded */
    transition: transform 0.3s;
    /* border: 1px solid #eee; */
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 1.5rem!important
}

.contact-icon {
    /* Large icon size */
    width: 115px;
    height: 100px;
    padding: 20px;
    border: 1px solid #0CD2DD;
    border-radius: 15px;
    /* Optional: apply a background/border if your icon design requires it */
}

/* Ensure the H4 title uses the dark text and the P uses muted text */
.contact-card h4 {
    color: #000;
}
.contact-card p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Services Page Features --- */

.services-intro .section-heading {
    /* Ensure the main heading is black/dark */
    color: #000;
}

.service-card {
    /* Make the card stand out and have a subtle shadow */
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 180px; /* Ensure cards are uniform height for better visual balance */
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.service-card-icon {
    /* Style for the large, blue icon container */
    width: 80px;
    height: 103px;
    /* padding: 15px; */
    border-radius: 10px;
    /* Use a light blue background for the icon image wrapper */
    /* background-color: #d8fdff;  */
    object-fit: contain;
}

.service-card h5 {
    font-size: 1.25rem;
}

.coming-soon-badge {
    /* Customizing the badge for 'Coming Soon' to use the muted yellow */
    background-color: #fff3cd !important;
    color: #856404 !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
}
/* --- About Us Page Styling --- */

.about-intro {
    /* Uses the light blue background */
    background-color: #f1fbfc; 
}

.about-intro h1 {
    /* Styling the main title */
    font-size: 2.5rem;
}

.about-features li {
    /* Customizing the dot point icon */
    font-weight: 500;
    color: #333;
}
.about-features .fa-dot-circle {
    /* Using the primary color for the bullet points */
    color: #0cd2dd;
}

.about-illustration {
    max-width: 450px;
    height: auto;
}


/* Mission and Vision Headings */
.mission-heading, .vision-heading {
    /* Ensures these stand out */
    color: #0cd2dd;
    font-size: 2.2rem;
}

/* Goals Section Styling */
.goals-wrapper {
    /* The main container background from the design */
    background-color: #e5f0f6; 
    border: 1px solid #d2e4f0;
}

.goals-illustration-container {
    flex-shrink: 0;
}

.goals-illustration {
    /* Sizing the image */
    max-width: 390px;
    height: auto;
}

.goals-heading {
    /* Sizing the Goals title */
    font-size: 2rem;
    color: #000;
}

.goals-list {
    /* Adjusting list style */
    padding-left: 0;
}

.goals-list li {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
}

/* Using the check icon with the primary color for the list */
.goals-list .fa-circle-check {
    color: #0cd2dd;
    font-size: 1.2rem;
    position: relative;
    top: 2px;
}
.goals-content{
  margin-left: 35px;
}

.vehicle-table-wrapper {
  width: 100%;
  max-width: 1200px;
}

/* Hide data labels by default (desktop) */
[data-label]::before {
  display: none;
}

/* Responsive adjustments for goals section */
@media (max-width: 992px) {
    .goals-wrapper {
        flex-direction: column;
    }
    .goals-content {
        order: 2;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .goals-illustration-container {
        order: 1;
        margin-bottom: 30px;
    }
}


/* Responsive Tweaks */
@media (max-width: 768px) {
    .custom-tabs-wrapper {
        /* Make tabs stack/scroll horizontally on small screens */
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .custom-tabs-wrapper .nav-item {
        flex-shrink: 0;
    }
    .report-item {
        /* Reduce padding on small screens */
        padding: 10px;
    }
    .about-illustration {
      max-width: 100%;
      height: auto;
    }
    .goals-illustration {
      max-width: 100%;
      height: auto;
    }
     .home-hero-heading {
        font-size: 24px; /* smaller heading size for mobile */
    }
     .col-lg-7.mb-4.mb-lg-0.pl-3.pr-7.text-center {
        padding-right: 0 !important;
    }
    .pl-60 { padding-left: 15px !important; }

    /* Hide heading row */
  .heading-row {
    display: none !important;
  }

  /* Each data row becomes a card */
  .vehicle-data-row {
    display: block;
    text-align: left;
    padding: 1rem;
    border-radius: 12px;
  }

  /* Each col takes full width */
  .vehicle-data-row > [class*="col-"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    width: 100%;
  }

  /* Show label before value */
  .vehicle-data-row > [data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    flex: 1;
  }

  /* Value styling */
  .vehicle-data-row > [data-label] {
    flex: 1;
    text-align: right;
    color: #555;
  }

  /* Vehicle name & image row fix */
  .vehicle-data-row .d-flex.align-items-center {
    justify-content: flex-start;
    gap: 10px;
  }

  /* Actions aligned right */
  .vehicle-data-row .action-icons {
    justify-content: flex-end !important;
  }
  .profile-main {
    min-height: auto; /* normal height */
  }
}


/* ----------------- Responsive ----------------- */
@media (max-width: 992px) {
  .hero h1, .hero h2 { font-size: 36px; }
  .navbar .d-none.d-lg-flex.ms-auto { display: none; }
  .find-form-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .instructions-heading { margin-top: 30px; font-size: 1.8rem; }
  .form-label { text-align: left; display: block; }
}
@media (max-width: 768px) {
  .hero h1, .hero h2 { font-size: 35px; margin-top: 20px; }
  .map-pic { width: 600px; height: 280px; border-radius: 10px; }
  .hero .btn { min-width: 140px; padding: 10px 20px; }
  .section-heading { font-size: 2rem; }
  .alert-card { margin-bottom: 20px; }
}
@media (max-width: 576px) {
  .hero h1, .hero h2 { font-size: 22px; }
  .hero .btn { display: block; width: 100%; margin: 10px auto; }
  .footer-top-row h6 { margin-top: 15px; }
  .footer-legal-links { text-align: center; padding-left: 0; }
  .footer-legal-links li { display: block; margin-left: 0 !important; }
}
@media (max-width: 767.98px) {
  .vehicle-data-row { display: block; text-align: left; }
  .vehicle-data-row > div {
    width: 100% !important;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
  }
  .vehicle-data-row > div:first-child {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
  }
  .vehicle-data-row > div:not(:first-child)::before {
    content: attr(data-label);
    font-weight: bold;
    display: inline-block;
    width: 120px;
    color: #555;
  }
  .action-icons { margin-top: 10px; text-align: center !important; }
}
