/* ================================
   GLOBAL STYLES - RESET & BASE
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1f2933;
  --secondary-color: #079bdb;
  --accent-color: #055f88;
  --text-dark: #1f2933;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
   NAVIGATION - SHARED ACROSS ALL PAGES
   ================================ */

.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: -20px;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* ================================
   HOME PAGE - HERO SECTION
   ================================ */

.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, #f5f7fa 0%, #079bdb 45%, #055f88 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(44, 90, 160, 0.8) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--bg-white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   BUTTONS - SHARED ACROSS ALL PAGES
   ================================ */

.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: #1e4a7a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--secondary-color);
}

.btn-outline {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.btn-reset {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  padding: 0.875rem 2rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 5px;
}

.btn-reset:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
  border-color: var(--secondary-color);
}

.btn-full {
  width: 100%;
}

/* ================================
   HOME PAGE - BRAND GRID SECTION
   ================================ */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-bottom: 10rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.brand-grid-item {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-grid-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-grid-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brand-grid-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ================================
   HOME PAGE - ABOUT SECTION
   ================================ */

.about-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.about-content-wrapper-with-image {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 4rem;
  align-items: start;
  margin-top: 6rem;
  margin-bottom: 5rem;
  padding: 0;
}

.about-text-content {
  display: flex;
  flex-direction: column;
}

.about-text-content-flex {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  width: 100%;
}

.about-text-content-flex .about-subtitle,
.about-text-content-flex .about-text-small {
  text-align: left;
  width: 100%;
}

.about-content-wrapper-with-image .about-subtitle {
  text-align: left;
  padding-left: 0;
}

.about-content-wrapper-with-image .about-section-centered {
  align-items: flex-start;
  text-align: left;
}

.about-content-wrapper-with-image .about-section-centered .about-subtitle,
.about-content-wrapper-with-image .about-section-centered .about-text-small {
  text-align: left;
}

.about-image-container {
  position: relative;
  margin-left: 0;
  margin-right: -50px;
  height: calc(100% - 80px);
  display: flex;
  align-items: stretch;
}

.about-workforce-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-section-block {
  margin-bottom: 3rem;
}

.about-section-centered .about-list {
  text-align: left;
  display: block;
  margin-left: 0;
  padding-left: 1.5rem;
  list-style-position: outside;
  width: 100%;
  max-width: 800px;
}

.about-section-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-section-centered .about-title,
.about-section-centered .about-subtitle {
  text-align: center;
}

.about-section-centered .about-text,
.about-section-centered .about-text-small {
  text-align: justify;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.about-section-left-justified {
  align-items: flex-start;
  text-align: left;
}

.about-section-left-justified .about-subtitle {
  text-align: left;
  width: 100%;
}

.about-section-left-justified .about-text,
.about-section-left-justified .about-text-small {
  text-align: justify;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.about-title {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 1.7rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.about-subtitle {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.25;
}

.about-text,
.about-text-small {
  font-size: 1.13rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 1.6rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.about-text-small {
  margin-bottom: 1.2rem;
}

.about-list {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.about-link {
  color: var(--secondary-color);
}

/* ================================
   TABS SECTION - SHARED
   ================================ */

.tabs-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.tabs-container {
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabs-header {
  display: flex;
  background: var(--bg-light);
  border-bottom: 2px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tab-btn:hover {
  color: var(--secondary-color);
  background: rgba(44, 90, 160, 0.05);
}

.tab-btn.active {
  color: var(--secondary-color);
  background: var(--bg-white);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
}

.tab-content {
  display: none;
  padding: 3rem;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-section .section-header {
  text-align: left;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ================================
   CAR SALES PAGE - FILTERS
   ================================ */

.category-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: rgba(44, 90, 160, 0.05);
}

.category-btn.active {
  background: var(--secondary-color);
  color: var(--bg-white);
  border-color: var(--secondary-color);
}

.category-btn.active:hover {
  background: #1e4a7a;
  border-color: #1e4a7a;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.filter-select {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  background: var(--bg-white);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.filter-select option {
  padding: 0.75rem;
  transition: all 0.2s ease;
}

.filter-select:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 155, 219, 0.15);
}

/* ================================
   CAR SALES PAGE - VEHICLE GRID
   ================================ */

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.vehicle-card {
  background: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    all 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.vehicle-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
  flex-shrink: 0;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.1);
}

.vehicle-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.brand-logo-container {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  height: 30px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: brightness(0) invert(0);
}

.vehicle-badge.rental {
  background: var(--accent-color);
}

.vehicle-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-specs {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: auto;
  padding-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vehicle-specs span {
  display: inline-flex;
  align-items: center;
}

.vehicle-specs span:not(:last-child)::after {
  content: "|";
  margin-left: 0.5rem;
  color: rgba(0, 0, 0, 0.2);
}

.vehicle-price {
  font-size: 1.13rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
}

/* Pagination */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.pagination-info {
  display: none;
}

.pagination-items {
  display: none;
}

/* Page Number Buttons - Circular Design */
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Individual Page Number Buttons - Circular */
.pagination-btn.page {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn.page:hover:not(:disabled):not(.active) {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: scale(1.1);
}

.pagination-btn.page.active {
  background: var(--secondary-color);
  color: var(--bg-white);
  border-color: var(--secondary-color);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(7, 155, 219, 0.4);
}

/* Previous/Next Arrow Buttons - Circular */
.pagination-controls{
  display:flex;
  justify-content:center;
  margin-top:2.5rem;
  padding:1.5rem 0;
}

.pagination-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(0,0,0,0.06);
  border:1px solid var(--border-color);
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.pagination-btn{
  width:36px;
  height:36px;
  border-radius:999px;
  border:0;
  background:var(--bg-white);
  color:var(--text-dark);
  font-weight:700;
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,0.14);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.pagination-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,0.18);
}

.pagination-btn.page.active{
  background:var(--secondary-color);
  color:#fff;
  box-shadow:0 10px 26px rgba(7,155,219,0.35);
}

.pagination-btn.arrow{
  font-size:18px;
  font-weight:900;
}

@media (max-width:768px){
  .pagination-btn{ width:34px; height:34px; }
}

@media (max-width:480px){
  .pagination-btn{ width:32px; height:32px; }
  .pagination-wrap{ gap:8px; padding:9px 12px; }
}

/* ================================
   LEASING SECTION
   ================================ */

.leasing-section {
  margin-bottom: 4rem;
}

.leasing-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.renting-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 2px solid var(--border-color);
}

.leasing-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: 50%;
  color: var(--bg-white);
  font-weight: 700;
}

/* Icons */
.icon-car::before {
  content: "🚗";
  font-size: 2rem;
}

.icon-money::before {
  content: "💰";
  font-size: 2rem;
}

.icon-check::before {
  content: "✓";
  font-size: 2rem;
}

.icon-upgrade::before {
  content: "↻";
  font-size: 2rem;
}

.icon-calendar-day::before {
  content: "📅";
  font-size: 2rem;
}

.icon-calendar-week::before {
  content: "📆";
  font-size: 2rem;
}

.icon-calendar-month::before {
  content: "🗓";
  font-size: 2rem;
}

.icon-location::before {
  content: "📍";
  font-size: 1.5rem;
}

.icon-phone::before {
  content: "☎";
  font-size: 1.5rem;
}

.icon-email::before {
  content: "✉";
  font-size: 1.5rem;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.leasing-form-container {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
}

.leasing-form-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ================================
   RENTAL SECTION
   ================================ */

.renting-content {
  margin-top: 2rem;
}

.rental-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.rental-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.rental-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.rental-card.featured {
  border-color: var(--secondary-color);
  background: linear-gradient(
    135deg,
    rgba(44, 90, 160, 0.05) 0%,
    rgba(44, 90, 160, 0.02) 100%
  );
}

.rental-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--bg-white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.rental-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: 50%;
  color: var(--bg-white);
}

.rental-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.rental-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.rental-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.rental-features li {
  padding: 0.5rem 0;
  color: var(--text-dark);
}

.rental-vehicles {
  margin-top: 3rem;
}

.rental-vehicles h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* ================================
   CONTACT SECTION - FINAL (ALIGNED)
   ================================ */

.contact-section {
  padding: 4rem 0;
}

.address-link,
.address-link:visited,
.address-link:active,
.address-link:focus {
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.address-link:hover {
  color: #6b7280;         
  text-decoration: underline;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr; /* balanced, matches car section width feel */
  gap: 2rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: 0; /* remove offset */
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 0 0 auto;
  min-width: 0; /* IMPORTANT: prevents pushing layout */
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon::before {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.8;
}

.contact-form {
  width: 100%;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* ✅ Map aligned with the cars (no margin-left push) */
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-left: 0; /* remove push */
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 12px;
}

/* ================================
   FOOTER - SHARED ACROSS ALL PAGES
   ================================ */

.footer {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--bg-white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-links a:hover .social-icon {
  fill: var(--bg-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ================================
   CAR DETAILS PAGE - CAROUSEL
   ================================ */

.car-details-container {
  max-width: 1200px;
  margin: 80px auto 50px;
  padding: 20px;
}

.image-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: 12px;
}

.carousel-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 15px 0;
  scrollbar-width: thin;
  margin-bottom: 15px;
  justify-content: center;
}

.carousel-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
  background: #079bdb;
  border-radius: 3px;
}

.thumbnail {
  margin-top: 33px;
  position: relative;
  min-width: 150px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #e5e7eb;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  background: #000;
  flex-shrink: 0;
}

.thumbnail:hover {
  border-color: #079bdb;
}

.thumbnail.active {
  border-color: #079bdb;
  box-shadow: 0 0 15px rgba(7, 155, 219, 0.6);
}

.thumbnail .photo-count {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  z-index: 10;
  pointer-events: none;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  border-radius: 12px;
}

.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
  cursor: pointer;
}

.carousel-main img.active {
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
  left: 20px;
}

.carousel-arrow.right {
  right: 20px;
}

.car-info-section {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.car-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.spec-item {
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 155, 219, 0.15);
  border-color: #079bdb;
}

.spec-label {
  font-size: 0.8125rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.spec-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2933;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-value.price-value {
  font-size: 1.3rem;
  color: var(--secondary-color);
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.contact-cta {
  background: linear-gradient(135deg, #079bdb 0%, #055f88 100%);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  color: white;
  margin-top: 30px;
}

.contact-cta h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-cta p {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-contact {
  background: white;
  color: #079bdb;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ================================
   CAR DETAILS PAGE - LIGHTBOX MODAL
   ================================ */

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10000;
}

.lightbox-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.left {
  left: 30px;
}

.lightbox-arrow.right {
  right: 30px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 10000;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #079bdb;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.back-link:hover {
  gap: 12px;
}

.loading {
  text-align: center;
  padding: 100px 20px;
  font-size: 18px;
  color: #6b7280;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ================================ */

@media (max-width: 968px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .leasing-content {
    grid-template-columns: 1fr;
  }

  .leasing-info {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-map {
    min-height: 400px;
    height: 400px;
  }

  .about-content-wrapper {
    margin-bottom: 2rem;
  }

  .about-content-wrapper-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-container {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 2rem;
    order: -1;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .tabs-header {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .logo img {
    height: 40px;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .pagination-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .pagination-btn {
    width: 100%;
    min-width: unset;
  }

  .pagination-info {
    order: -1;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-map {
    height: 350px;
    min-height: 350px;
  }

  .about-content-wrapper {
    margin-bottom: 3rem;
  }

  .about-content-wrapper-with-image {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .about-text-content-flex {
    max-width: 100%;
    padding: 0 1rem;
  }

  .about-content-wrapper-with-image .about-subtitle {
    padding-left: 0;
  }

  .about-image-container {
    margin-left: 0;
    height: 350px;
    order: 2;
  }

  .about-section-centered .about-list {
    padding-left: 1.5rem;
    padding-right: 1rem;
  }

  .rental-options {
    grid-template-columns: 1fr;
  }

  .tab-content {
    padding: 1.5rem;
  }

  .back-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 35px;
  }

  .logo {
    margin-left: -10px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .brand-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-image-container {
    margin-top: 1rem;
  }

  .contact-map {
    height: 300px;
    min-height: 300px;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-info {
    gap: 1.5rem;
  }

  .contact-item {
    gap: 1rem;
  }

  .contact-section {
    padding: 2rem 0;
  }
}

/* ================================
   UTILITY CLASSES
   ================================ */

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #666;
}

.p-40 {
  padding: 40px;
}

.border-0 {
  border: 0;
}

.border-radius-12 {
  border-radius: 12px;
}

.no-underline {
  text-decoration: none;
  color: inherit;
}

.iframe-map {
  border: 0;
  border-radius: 12px;
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: #666;
}

.table-col-order {
  width: 50px;
}

.loading-message {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  font-size: 1.2rem;
  color: var(--text-light);
}