/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.5; background-color: #f5f5f5; min-height: 100vh; min-width: 320px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar { background: rgba(255,255,255,0.85); position: sticky; top: 0; z-index: 1300; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.navbar-toolbar { max-width: 1200px; margin: 0 auto; padding: 0 16px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.navbar-logo img { height: 48px; width: auto; display: block; }
.navbar-links { display: flex; align-items: center; }
.navbar-links a { color: #23235F; font-weight: 600; margin: 0 8px; font-size: 14px; padding: 6px 4px; transition: color 0.2s; display: flex; align-items: center; gap: 4px; }
.navbar-links a:hover, .navbar-links a.active { color: #00BFAE; }
.btn-signin-outline { margin-left: 16px; font-weight: 600; border-radius: 12px; border: 2px solid #00BFAE; color: #00BFAE; background: transparent; padding: 6px 16px; font-size: 14px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.btn-signin-outline:hover { border-color: #009e90; color: #009e90; }
.btn-signin-filled { margin-left: 8px; font-weight: 600; border-radius: 12px; background: #00BFAE; color: white; border: none; padding: 6px 16px; font-size: 14px; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.btn-signin-filled:hover { background: #009e90; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #23235F; }
.mobile-menu { display: none; flex-direction: column; background: #fff; border-top: 1px solid #eee; padding: 8px 16px 16px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #23235F; font-weight: 600; padding: 12px 0; font-size: 15px; border-bottom: 1px solid #f0f0f0; }

/* ===== FEATURES BAR ===== */
.features-bar { background: #f6f6f6; padding: 32px 16px 48px; }
.features-bar-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-item { text-align: center; }
.feature-item .icon-wrap { margin-bottom: 8px; display: flex; justify-content: center; }
.feature-item .icon-wrap svg { font-size: 64px; width: 64px; height: 64px; color: #111; fill: #111; }
.feature-item h5 { font-weight: 700; margin-bottom: 4px; font-size: 1.25rem; }
.feature-item h6 { font-weight: 700; letter-spacing: 1px; font-size: 1.1rem; }

/* ===== HOME HERO ===== */
.home-hero { background: #ffffff; padding: 48px 16px; }
.home-hero-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 0 16px 0 32px; }
.home-hero-text { flex: 1; max-width: 60%; }
.home-hero-text h4 { font-weight: bold; color: #1a007a; margin-bottom: 16px; font-size: clamp(1.4rem,3vw,2rem); line-height: 1.3; }
.home-hero-text p { margin-bottom: 24px; color: #333; font-size: 16px; line-height: 1.6; }
.home-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-book-truck { background: #1a007a; color: white; font-weight: bold; padding: 10px 24px; border-radius: 4px; border: none; font-size: 14px; cursor: pointer; transition: background 0.2s; display: inline-block; }
.btn-book-truck:hover { background: #12004f; color: white; }
.btn-import-car { border: 2px solid #ff3b00; color: #ff3b00; font-weight: bold; padding: 10px 24px; border-radius: 4px; background: transparent; font-size: 14px; cursor: pointer; transition: all 0.2s; display: inline-block; }
.btn-import-car:hover { border-color: #cc3200; background: #ffe6e0; }
.home-hero-images { flex: 1; display: flex; flex-direction: column; gap: 16px; align-items: flex-end; max-width: 40%; }
.home-hero-images img { width: 100%; max-width: 300px; object-fit: contain; }

/* ===== HOME ABOUT ===== */
.home-about { background: #fff; padding: 48px 16px; }
.home-about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.home-about h4 { font-size: clamp(1.3rem,2.5vw,1.8rem); font-weight: 700; color: #1a007a; margin-bottom: 16px; }
.home-about p { color: #333; font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.home-about img { width: 100%; border-radius: 8px; object-fit: cover; height: 340px; }

/* ===== MAP ===== */
.map-section { background: #f5f5f5; }
.map-header { padding: 32px 16px; text-align: center; }
.map-header h2 { font-size: 2rem; font-weight: 700; color: #1a007a; margin-bottom: 8px; }
.map-header p { color: #555; font-size: 15px; }
.map-section iframe { display: block; width: 100%; height: 500px; border: 0; }

/* ===== HOME CTA ===== */
.cta-section { background: #fff; padding: 48px 32px; border-top: 1px solid #eee; }
.cta-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; }
.cta-col h4 { font-weight: 700; color: #1a007a; margin-bottom: 12px; font-size: 1.4rem; }
.cta-col p { color: #333; font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.btn-contacts { display: inline-flex; align-items: center; gap: 6px; border: 2px solid #00BFAE; color: #00BFAE; border-radius: 8px; padding: 8px 20px; font-weight: 600; font-size: 14px; background: transparent; cursor: pointer; transition: all 0.2s; }
.btn-contacts:hover { background: #00BFAE; color: #fff; }

/* ===== PAGE HERO BANNER ===== */
.page-hero-banner { position: relative; min-height: 320px; background-size: cover; background-position: center; display: flex; align-items: center; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 48px 16px; color: #fff; }
.page-hero-content h4 { font-weight: 700; font-size: clamp(1.5rem,4vw,2.5rem); margin-bottom: 16px; }
.page-hero-content p { font-size: 16px; opacity: 0.9; max-width: 600px; line-height: 1.6; }

/* ===== CAR SEARCH FORM ===== */
.car-search-form { background: rgba(255,255,255,0.95); border-radius: 8px; padding: 20px 24px; margin-top: 24px; max-width: 560px; }
.car-search-form h6 { font-weight: 700; color: #222; margin-bottom: 16px; font-size: 1rem; text-align: center; }
.car-search-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; align-items: end; }
.car-field label { display: block; font-size: 11px; font-weight: 700; color: #555; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.car-field input, .car-field select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit; }
.btn-search-red { background: #F60011; color: white; font-weight: 700; font-size: 1.1rem; border-radius: 8px; padding: 10px 20px; border: none; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.2); white-space: nowrap; transition: background 0.2s; }
.btn-search-red:hover { background: #d9000d; }

/* ===== SECTIONS ===== */
.section { padding: 48px 16px; }
.section-white { background: #fff; }
.section-gray { background: #f5f5f5; }
.container { max-width: 1200px; margin: 0 auto; }
.container-md { max-width: 900px; margin: 0 auto; }
.section-title { font-weight: 700; color: #1a007a; margin-bottom: 16px; font-size: clamp(1.3rem,3vw,1.8rem); }
.section-body { color: #555; font-size: 15px; line-height: 1.7; margin-bottom: 16px; }

/* ===== CAR CARDS ===== */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.car-card { border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); background: #fff; overflow: hidden; position: relative; }
.car-card-img-wrap { position: relative; }
.car-card-img-wrap img { width: 100%; height: 180px; object-fit: cover; border-top-left-radius: 8px; border-top-right-radius: 8px; display: block; }
.car-badge-price { position: absolute; top: 8px; right: 8px; background: #0b1e7f; font-weight: bold; color: white; padding: 4px 10px; border-radius: 4px; font-size: 13px; }
.car-card-body { padding: 16px; }
.car-card-title { font-size: 1rem; font-weight: 700; color: #1a007a; margin-bottom: 4px; }
.car-card-price { font-size: 1.1rem; font-weight: 700; color: #1a007a; }
.car-card-location { font-size: 13px; color: #666; }
.car-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-card-outline { flex: 1; border: 2px solid #0b1e7f; color: #0b1e7f; border-radius: 4px; padding: 8px 12px; font-size: 13px; font-weight: 600; background: transparent; cursor: pointer; transition: all 0.2s; text-align: center; }
.btn-card-outline:hover { background: #e6e9f0; }

/* ===== INQUIRY PANEL (inline, inside car-card) ===== */
.aaa-inquiry-panel { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee; }
.aaa-inquiry-panel.is-open { display: block; }
.aaa-inquiry-panel input, .aaa-inquiry-panel textarea { width: 100%; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; font-family: inherit; margin-bottom: 8px; box-sizing: border-box; }
.aaa-inquiry-panel textarea { resize: vertical; min-height: 60px; }
.aaa-inquiry-actions { display: flex; gap: 8px; }
.aaa-inquiry-actions button { flex: 1; border-radius: 4px; padding: 8px 10px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; }
.aaa-inquiry-send { background: #00BFAE; color: #fff; }
.aaa-inquiry-send:disabled { opacity: 0.6; cursor: default; }
.aaa-inquiry-cancel { background: transparent; color: #666; border: 1px solid #ccc !important; }
.aaa-inquiry-msg { font-size: 12.5px; margin-top: 8px; padding: 8px 10px; border-radius: 4px; }
.aaa-inquiry-msg.success { background: #e8f5e9; color: #2e7d32; }
.aaa-inquiry-msg.error { background: #ffebee; color: #c62828; }

/* ===== CARD IMAGE SLIDER ===== */
.car-card-img-wrap, .aaa-rental-img-wrap { position: relative; overflow: hidden; height: 180px; }
.aaa-slider { position: relative; width: 100%; height: 100%; overflow: hidden; }
.aaa-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity .35s ease;
  pointer-events: none;
}
.aaa-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.aaa-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(15,20,30,0.45);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .aaa-slide-nav { opacity: 0; transition: opacity .2s ease; }
  .aaa-slider:hover .aaa-slide-nav { opacity: 1; }
}
.aaa-slide-prev { left: 8px; }
.aaa-slide-next { right: 8px; }
.aaa-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.aaa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.aaa-dot.is-active {
  background: #fff;
  width: 16px;
  border-radius: 3px;
}
/* ===== RENTAL ===== */
.rental-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 24px; }
.rental-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); overflow: hidden; }
.rental-card img { width: 100%; height: 180px; object-fit: cover; }
.rental-card-body { padding: 16px; }
.rental-card-body h6 { font-weight: 700; font-size: 1rem; color: #1a007a; margin-bottom: 6px; }
.rental-card-price { font-weight: 700; color: #1a007a; font-size: 1.1rem; margin-bottom: 8px; }

/* ===== TRUCKING FORM ===== */
.booking-form-card { background: #fff; border-radius: 8px; padding: 32px; border: 1px solid #eee; max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #00BFAE; box-shadow: 0 0 0 3px rgba(0,191,174,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-teal { background: #00BFAE; color: white; font-weight: 600; padding: 12px 32px; border-radius: 8px; border: none; font-size: 15px; cursor: pointer; transition: background 0.2s; }
.btn-teal:hover { background: #009e90; }

/* ===== CAR CARE ===== */
.car-care-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.car-care-card h4 { font-size: 1.4rem; font-weight: 700; color: #1a007a; margin-bottom: 12px; }
.car-care-card p { color: #444; font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.car-care-card h6 { font-weight: 700; color: #333; margin-bottom: 8px; font-size: 1rem; }
.car-care-card ul { padding-left: 20px; color: #555; font-size: 14px; line-height: 1.8; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; }
.contact-info h4 { font-size: 1.4rem; font-weight: 700; color: #1a007a; margin-bottom: 16px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { color: #00BFAE; font-size: 22px; margin-top: 2px; }
.contact-text strong { display: block; color: #1a007a; font-size: 14px; margin-bottom: 2px; }
.contact-text span { color: #555; font-size: 14px; }

/* ===== FAQ ===== */
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.faq-tab { padding: 10px 20px; border-radius: 999px; border: 2px solid #00BFAE; background: transparent; color: #00BFAE; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.faq-tab.active, .faq-tab:hover { background: #00BFAE; color: #fff; }
.faq-group { display: none; }
.faq-group.active { display: block; }
.faq-item { background: #fff; border-radius: 8px; border: 1px solid #e0e0e0; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 20px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #1a007a; }
.faq-q::after { content: '+'; font-size: 20px; font-weight: 300; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 20px 18px; color: #555; font-size: 14px; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ===== ABOUT ===== */
.about-stats { display: flex; gap: 48px; margin: 32px 0; flex-wrap: wrap; }
.about-stat .num { font-size: 2rem; font-weight: 700; color: #1a007a; }
.about-stat .label { color: #555; font-size: 14px; }

/* ===== AUTH ===== */
.auth-page { min-height: calc(100vh - 64px); background: #f5f5f5; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { background: #fff; border-radius: 8px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.auth-card h5 { font-size: 1.5rem; font-weight: 700; color: #1a007a; margin-bottom: 8px; }
.auth-card .sub { color: #555; margin-bottom: 24px; font-size: 14px; }
.auth-card a { color: #00BFAE; font-weight: 600; }

/* ===== FOOTER ===== */
footer { background: #1a1a4d; color: #ccc; padding: 48px 16px 24px; margin-top: 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col h6 { color: #eee; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #ccc; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #00BFAE; }
.footer-links .sep { color: #666; margin: 0 6px; font-size: 14px; }
.footer-brands { display: flex; flex-wrap: wrap; align-items: center; }
.footer-brands span { color: #ccc; font-size: 14px; }
.footer-brands .sep { color: #666; margin: 0 6px; }
.footer-social { display: flex; gap: 8px; margin-top: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #444; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 14px; transition: all 0.2s; }
.footer-social a:hover { border-color: #00BFAE; color: #00BFAE; }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid #2a2a5a; text-align: center; font-size: 14px; color: #999; }

/* ===== ALERTS ===== */
.alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ===== TERMS ===== */
.terms-content h2 { font-size: 1.3rem; color: #1a007a; margin: 28px 0 10px; }
.terms-content h3 { font-size: 1rem; color: #1a007a; margin: 20px 0 8px; }
.terms-content p { color: #555; line-height: 1.8; margin-bottom: 12px; font-size: 14px; }
.terms-content ul { padding-left: 20px; color: #555; font-size: 14px; line-height: 1.8; margin-bottom: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .features-bar-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-hero-inner { flex-direction: column; }
  .home-hero-text { max-width: 100%; }
  .home-hero-images { max-width: 100%; align-items: center; }
  .home-about-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .car-search-row { grid-template-columns: 1fr 1fr; }
  .car-care-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .car-search-row { grid-template-columns: 1fr; } }
/* ===== HOME BANNER HERO ===== */
.home-banner-hero {
  position: relative;
  display: flex;
  align-items: center;
  background-color: rgb(25, 118, 210);
  color: white;
  background-image: url(/assets/images/bannernew.jpeg);
  background-size: cover;
  background-position: center center;
  min-height: 400px;
  width: 100%;
}
@media (max-width: 768px) {
  .home-banner-hero { min-height: 320px; }
}

/* ===== MOBILE APP-STYLE BOTTOM NAV ===== */
.aaa-mnav{
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid #E5E8EC;
  box-shadow: 0 -6px 24px rgba(27,42,74,0.08);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
}
.aaa-mnav-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #8894A3;
  font-size: 10.5px;
  font-weight: 600;
  flex: 1;
  padding: 6px 2px;
  border-radius: 10px;
  transition: color .15s ease, transform .15s ease;
}
.aaa-mnav-item svg{
  width: 22px;
  height: 22px;
  transition: transform .15s ease;
}
.aaa-mnav-item:active{ transform: scale(0.92); }
.aaa-mnav-item.active{ color: #1AAE9F; }
.aaa-mnav-item.active svg{ transform: translateY(-1px); }
.aaa-mnav-item.active::before{
  content: "";
  position: absolute;
  margin-top: -30px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #1AAE9F;
}

/* Center "Rentals" tab styled as a raised FAB, like a native app's primary action */
.aaa-mnav-fab{ position: relative; }
.aaa-mnav-fab svg{
  background: #1B2A4A;
  color: #fff;
  border-radius: 50%;
  padding: 9px;
  width: 40px; height: 40px;
  margin-top: -18px;
  box-shadow: 0 6px 16px rgba(27,42,74,0.35);
  transition: background .15s ease;
}
.aaa-mnav-fab.active svg{ background: #1AAE9F; }
.aaa-mnav-fab span{ margin-top: 1px; }

@media (max-width: 860px){
  .aaa-mnav{ display: flex; }
  body{ padding-bottom: 64px; } /* keep content clear of the fixed bar */
}
@media (max-width: 600px) {
  .car-grid { grid-template-columns: 1fr; }
  .rental-grid { grid-template-columns: 1fr; }
}