/* ═══ GUARANTEED BASE RESET ═══ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}a{text-decoration:none}
ul,ol{list-style:none;margin:0;padding:0}li{list-style:none}button{cursor:pointer}
.dx-nav,.dx-nav ul,.dx-nav ol,.dx-nav li,nav ul,nav ol,nav li,.menu,.menu ul,.menu li{list-style:none!important;list-style-type:none!important;margin:0;padding:0}
.dx-nav>ul{display:flex;align-items:center;gap:0;flex-wrap:wrap}
.dx-nav>ul>li{position:relative}.dx-nav>ul>li>a{display:block;padding:10px 16px;font-size:14px;font-weight:600;white-space:nowrap}
.dx-nav>ul>li.dx-cta-item>a,.dx-nav .dx-nav-cta{border-radius:50px!important;padding:10px 24px!important}
.dx-nav>a{display:inline-flex;align-items:center;padding:10px 16px;font-size:14px;font-weight:600}
.dx-container{max-width:1200px;margin:0 auto;padding:0 24px}
.dx-menu-toggle{display:none;background:none;border:none;font-size:28px;cursor:pointer;padding:4px}
@media(max-width:768px){
.dx-menu-toggle{display:block}
.dx-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 0;box-shadow:0 8px 24px rgba(0,0,0,.1);z-index:999}
.dx-nav.active{display:block}.dx-nav>ul{flex-direction:column}.dx-nav>ul>li>a{padding:12px 24px}.dx-nav>a{display:block;padding:12px 24px}}
body.admin-bar .dx-header{top:32px}@media(max-width:782px){body.admin-bar .dx-header{top:46px}}

/* ═══ AI-GENERATED STYLES ═══ */

/*
Theme Name: Drivex Car Hire and Tours
Description: Professional car rental and tour services website theme
Author: Elite Design Studio
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --dx-primary: #2563eb;
  --dx-secondary: #1e40af;
  --dx-accent: #3b82f6;
  --dx-dark: #1e293b;
  --dx-darker: #0f172a;
  --dx-light: #f1f5f9;
  --dx-lighter: #f8fafc;
  --dx-gray: #64748b;
  --dx-gray-light: #94a3b8;
  --dx-white: #ffffff;
  --dx-success: #10b981;
  --dx-warning: #f59e0b;
  --dx-danger: #ef4444;
  
  --dx-font-primary: 'Poppins', sans-serif;
  --dx-font-secondary: 'Inter', sans-serif;
  
  --dx-gradient-primary: linear-gradient(135deg, var(--dx-primary) 0%, var(--dx-secondary) 100%);
  --dx-gradient-light: linear-gradient(135deg, var(--dx-light) 0%, var(--dx-lighter) 100%);
  
  --dx-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --dx-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --dx-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --dx-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --dx-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --dx-radius: 8px;
  --dx-radius-sm: 4px;
  --dx-radius-lg: 12px;
  --dx-radius-xl: 16px;
  --dx-radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--dx-font-secondary);
  line-height: 1.6;
  color: var(--dx-dark);
  background: var(--dx-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dx-font-primary);
  line-height: 1.2;
  color: var(--dx-darker);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

a {
  text-decoration: none;
  color: var(--dx-primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dx-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 1rem;
  color: var(--dx-gray);
  line-height: 1.7;
}

.dx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.dx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--dx-radius);
  font-family: var(--dx-font-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  gap: 8px;
}

.dx-btn-primary {
  background: var(--dx-gradient-primary);
  color: var(--dx-white);
  box-shadow: var(--dx-shadow-md);
}

.dx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--dx-shadow-lg);
  color: var(--dx-white);
}

.dx-btn-outline {
  background: transparent;
  color: var(--dx-primary);
  border: 2px solid var(--dx-primary);
}

.dx-btn-outline:hover {
  background: var(--dx-primary);
  color: var(--dx-white);
}

.dx-btn-white {
  background: var(--dx-white);
  color: var(--dx-primary);
  box-shadow: var(--dx-shadow);
}

.dx-btn-white:hover {
  background: var(--dx-light);
  color: var(--dx-secondary);
}

.dx-btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.dx-btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.dx-topbar {
  background: var(--dx-primary);
  color: var(--dx-white);
  padding: 8px 0;
  font-size: 14px;
}

.dx-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dx-topbar-contact {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dx-topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dx-white);
}

.dx-header {
  position: sticky;
  top: 0;
  background: var(--dx-white);
  box-shadow: var(--dx-shadow);
  z-index: 1000;
  min-height: 72px;
}

.dx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.dx-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.dx-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--dx-gradient-primary);
  border-radius: var(--dx-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dx-white);
  font-size: 20px;
  font-weight: 800;
}

.dx-logo-text {
  color: var(--dx-darker);
  font-family: var(--dx-font-primary);
  font-size: 20px;
  font-weight: 700;
}

.dx-nav {
  display: flex;
  align-items: center;
}

.dx-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dx-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dx-nav a {
  color: #334155;
  padding: 26px 16px;
  font-size: 14px;
  font-weight: 600;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dx-nav a:hover {
  color: var(--dx-primary);
}

.dx-nav-cta {
  background: var(--dx-primary) !important;
  color: var(--dx-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--dx-radius-full);
  margin-left: 16px;
}

.dx-nav-cta:hover {
  background: var(--dx-secondary) !important;
  color: var(--dx-white) !important;
  transform: translateY(-1px);
}

.dx-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dx-dark);
}

.dx-hero {
  background: var(--dx-gradient-primary);
  color: var(--dx-white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dx-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  opacity: 0.1;
}

.dx-hero-content {
  position: relative;
  z-index: 2;
}

.dx-hero h1 {
  color: var(--dx-white);
  font-size: 56px;
  margin-bottom: 24px;
}

.dx-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 32px;
}

.dx-hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 64px;
}

.dx-hero-stat {
  text-align: center;
}

.dx-hero-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--dx-white);
  display: block;
}

.dx-hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.dx-page-hero {
  background: var(--dx-gradient-primary);
  color: var(--dx-white);
  padding: 56px 0;
  text-align: center;
}

.dx-page-hero h1 {
  color: var(--dx-white);
  font-size: 48px;
  margin-bottom: 16px;
}

.dx-page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.dx-section {
  padding: 80px 0;
}

.dx-section-white {
  background: var(--dx-white);
}

.dx-section-gray {
  background: var(--dx-light);
}

.dx-section-dark {
  background: var(--dx-darker);
  color: var(--dx-white);
}

.dx-section-primary {
  background: var(--dx-gradient-primary);
  color: var(--dx-white);
}

.dx-section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.dx-section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.dx-section-header p {
  font-size: 18px;
  color: var(--dx-gray);
}

.dx-section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--dx-gradient-primary);
  margin: 24px auto 0;
  border-radius: var(--dx-radius-full);
}

.dx-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.dx-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dx-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.dx-card {
  background: var(--dx-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--dx-radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--dx-shadow-sm);
}

.dx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dx-shadow-lg);
}

.dx-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--dx-radius);
  background: var(--dx-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dx-white);
  font-size: 24px;
  margin-bottom: 24px;
}

.dx-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--dx-darker);
}

.dx-card p {
  color: var(--dx-gray);
  margin-bottom: 0;
}

.dx-card-dark {
  background: var(--dx-dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.dx-card-dark h3 {
  color: var(--dx-white);
}

.dx-card-dark p {
  color: var(--dx-gray-light);
}

.dx-benefit {
  padding: 24px;
  border-left: 4px solid var(--dx-primary);
  background: var(--dx-white);
  border-radius: 0 var(--dx-radius) var(--dx-radius) 0;
  margin-bottom: 16px;
}

.dx-benefit h4 {
  color: var(--dx-primary);
  margin-bottom: 8px;
}

.dx-benefit p {
  margin: 0;
}

.dx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.dx-step {
  position: relative;
  text-align: center;
}

.dx-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dx-gradient-primary);
  color: var(--dx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.dx-step h3 {
  margin-bottom: 16px;
}

.dx-cta {
  background: var(--dx-gradient-primary);
  color: var(--dx-white);
  padding: 64px 0;
  text-align: center;
}

.dx-cta h2 {
  color: var(--dx-white);
  margin-bottom: 16px;
}

.dx-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--dx-radius-lg);
  overflow: hidden;
  box-shadow: var(--dx-shadow-lg);
}

.dx-contact-info {
  background: var(--dx-darker);
  color: var(--dx-white);
  padding: 48px 40px;
}

.dx-contact-info h3 {
  color: var(--dx-white);
  margin-bottom: 32px;
}

.dx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.dx-contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--dx-radius);
  background: var(--dx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dx-white);
  font-size: 20px;
}

.dx-contact-item-content h4 {
  color: var(--dx-white);
  margin-bottom: 8px;
  font-size: 16px;
}

.dx-contact-item-content p {
  color: var(--dx-gray-light);
  margin: 0;
}

.dx-contact-form {
  background: var(--dx-white);
  padding: 48px 40px;
}

.dx-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.dx-form-group {
  margin-bottom: 24px;
}

.dx-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dx-darker);
}

.dx-form-group input,
.dx-form-group select,
.dx-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--dx-radius);
  font-family: var(--dx-font-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
  background: var(--dx-white);
}

.dx-form-group input:focus,
.dx-form-group select:focus,
.dx-form-group textarea:focus {
  outline: none;
  border-color: var(--dx-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dx-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.dx-faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--dx-radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.dx-faq-q {
  padding: 24px;
  background: var(--dx-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--dx-darker);
  transition: all 0.3s ease;
}

.dx-faq-q:hover {
  background: var(--dx-light);
}

.dx-faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  color: var(--dx-primary);
  transition: transform 0.3s ease;
}

.dx-faq-item.active .dx-faq-q::after {
  transform: rotate(45deg);
}

.dx-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--dx-lighter);
}

.dx-faq-item.active .dx-faq-a {
  max-height: 500px;
}

.dx-faq-a-content {
  padding: 0 24px 24px;
  color: var(--dx-gray);
}

.dx-footer {
  background: var(--dx-darker);
  color: var(--dx-white);
  padding: 64px 0 0;
}

.dx-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.dx-footer-column h4 {
  color: var(--dx-white);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.dx-footer-column a {
  color: var(--dx-gray-light);
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.dx-footer-column a:hover {
  color: var(--dx-white);
}

.dx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  color: var(--dx-gray-light);
}

@media (max-width: 1024px) {
  .dx-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dx-hero h1 {
    font-size: 48px;
  }
  
  .dx-hero-stats {
    gap: 32px;
  }
  
  .dx-section {
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .dx-menu-toggle {
    display: block;
  }
  
  .dx-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dx-white);
    flex-direction: column;
    box-shadow: var(--dx-shadow-lg);
    z-index: 999;
  }
  
  .dx-nav.active {
    display: flex;
  }
  
  .dx-nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  .dx-nav li {
    width: 100%;
  }
  
  .dx-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--dx-light);
  }
  
  .dx-nav-cta {
    margin: 16px 24px !important;
    text-align: center;
  }
  
  .dx-hero {
    padding: 64px 0;
  }
  
  .dx-hero h1 {
    font-size: 36px;
  }
  
  .dx-hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .dx-page-hero h1 {
    font-size: 32px;
  }
  
  .dx-section {
    padding: 48px 0;
  }
  
  .dx-section-header h2 {
    font-size: 32px;
  }
  
  .dx-grid-2,
  .dx-grid-3,
  .dx-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .dx-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .dx-form-row {
    grid-template-columns: 1fr;
  }
  
  .dx-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .dx-topbar-contact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .dx-container {
    padding: 0 16px;
  }
  
  .dx-card {
    padding: 24px;
  }
  
  .dx-contact-info,
  .dx-contact-form {
    padding: 32px 24px;
  }
}

body.admin-bar .dx-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .dx-header {
    top: 46px;
  }
}
/* ═══ IMAGE HELPERS ═══ */
.dx-hero img, .dx-page-hero img { max-width: 100%; height: auto; }
.dx-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
img[style*="object-fit"] { display: block; }
@media (max-width: 768px) {
    .dx-card img { height: 160px; }
    img[style*="height:400px"] { height: 200px !important; }
    img[style*="height:300px"] { height: 180px !important; }
}