/* ==========================================================
   BALAJI TRAVELS – FINAL STYLE.CSS (2025 PRO EDITION)
   Brand Colors: Blue / Orange / Yellow
   Modern Hero + Booking Page + Fixed Tables
========================================================== */

/* ---------------------------
   GLOBAL
--------------------------- */
:root {
  --blue:#1e3a8a;
  --darkblue:#1e40af;
  --orange:#f97316;
  --yellow:#facc15;
  --muted:#6b7280;
  --bg:#f7f9fc;
  --card:#ffffff;
  --radius:12px;
  --maxw:1200px;
  --text:#1f2937;
  font-family:"Poppins","Inter",system-ui,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--bg);color:var(--text);line-height:1.6;scroll-behavior:smooth}
img{max-width:100%;height:auto;display:block}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ---------------------------
   HEADER & NAVIGATION
--------------------------- */
header,.header {
  background:linear-gradient(90deg,var(--darkblue),var(--blue));
  color:#fff;
  position:sticky;top:0;z-index:1000;
  box-shadow:0 3px 12px rgba(0,0,0,.15);
  width:100%;
}
.nav-container {
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;max-width:var(--maxw);margin:0 auto;padding:14px 20px;
}
.brand{display:flex;align-items:center;gap:10px}
.logo img{height:90px;width:auto}
.nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;flex:1;text-align:center}
.nav-links a{color:#fff;text-decoration:none;font-weight:600;padding:8px 14px;border-radius:6px;transition:background .3s ease,color .3s ease}
.nav-links a:hover{background:rgba(255,255,255,.15);color:var(--yellow)}
@media (max-width:768px){
  .nav-container{flex-direction:column;align-items:center}
  .nav-links{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;justify-content:flex-start;padding-bottom:6px}
  .nav-links a{flex:0 0 auto;font-size:14px;padding:6px 10px}
}

/* ---------------------------
   ENHANCED BRAND HEADER STYLE
--------------------------- */
.enhanced-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.logo-wrap {
  background: linear-gradient(135deg, #facc15, #f97316);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-wrap:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.brand-logo {height: 70px;width: auto;border-radius: 50%;}
.brand-text h1 {
  font-size: 28px;font-weight: 900;color: #ffffff;margin: 0;letter-spacing: 0.5px;
}
.brand-text p {
  font-size: 14px;color: #ffeaa7;margin-top: 2px;letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .brand-text h1 {font-size: 22px;}
  .brand-logo {height: 55px;}
}

/* ---------------------------
   HERO SECTION
--------------------------- */
.hero-section {
  background: linear-gradient(180deg, #e6f0ff 0%, #ffffff 100%);
  padding: 70px 20px;
}
.hero-container {
  display: flex;justify-content: space-between;align-items: flex-start;
  flex-wrap: wrap;max-width: 1200px;margin: 0 auto;gap: 30px;
}
.hero-text {flex: 1;min-width: 300px;color: #1e3a8a;}
.hero-text h1 {font-size: 42px;font-weight: 800;margin-bottom: 10px;color: #1e3a8a;}
.hero-text p {font-size: 17px;line-height: 1.7;color: #374151;margin-bottom: 20px;max-width: 600px;}
.hero-buttons {display: flex;gap: 10px;flex-wrap: wrap;margin-bottom: 20px;}
.btn-primary {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #fff;border: none;border-radius: 10px;padding: 12px 24px;font-weight: 700;
  cursor: pointer;text-decoration: none;transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {transform: translateY(-2px);box-shadow: 0 6px 18px rgba(249,115,22,0.3);}
.btn-secondary {
  background: #fff;border: 2px solid #f97316;color: #f97316;border-radius: 10px;
  padding: 12px 24px;font-weight: 700;text-decoration: none;transition: all 0.3s ease;
}
.btn-secondary:hover {background: #f97316;color: #fff;}
.hero-form {
  background: #fff;padding: 25px;border-radius: 18px;box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  flex: 0 0 350px;max-width: 100%;
}
.hero-form input,.hero-form select {
  width: 100%;padding: 10px;border: 1px solid #cbd5e1;border-radius: 8px;margin-bottom: 15px;font-size: 15px;
}
.hero-form .btn-primary.full {width: 100%;text-align: center;}
@media (max-width:900px){
  .hero-container{flex-direction:column;align-items:center;}
  .hero-text h1{font-size:32px;}
  .hero-form{width:100%;max-width:500px;margin-top:20px;}
}

/* =========================================== 
FIXED TARIFF TABLE COLORS (2025 UPDATE) =========================================== */ 
table { width: 100%; border-collapse: collapse; font-size: 15px; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); } /* Header styling */ thead th { padding: 12px; font-weight: 700; color: #fff; text-align: left; } /* Local Tariff Colors */ section:nth-of-type(2) thead th:nth-child(1) { background: #1e3a8a; } section:nth-of-type(2) thead th:nth-child(2) { background: #2563eb; } section:nth-of-type(2) thead th:nth-child(3) { background: #f97316; } section:nth-of-type(2) thead th:nth-child(4) { background: #facc15; } section:nth-of-type(2) thead th:nth-child(5) { background: #0f172a; } /* Outstation Tariff Colors */ section:nth-of-type(3) thead th:nth-child(1) { background: #0b74de; } section:nth-of-type(3) thead th:nth-child(2) { background: #2563eb; } section:nth-of-type(3) thead th:nth-child(3) { background: #ff7a18; } section:nth-of-type(3) thead th:nth-child(4) { background: #22c55e; } section:nth-of-type(3) thead th:nth-child(5) { background: #facc15; } section:nth-of-type(3) thead th:nth-child(6) { background: #0f172a; } /* Fixed Outstation Tariff Colors */ section:nth-of-type(4) thead th:nth-child(1) { background: #1e3a8a; } section:nth-of-type(4) thead th:nth-child(2) { background: #2563eb; } section:nth-of-type(4) thead th:nth-child(3) { background: #f97316; } section:nth-of-type(4) thead th:nth-child(4) { background: #22c55e; } section:nth-of-type(4) thead th:nth-child(5) { background: #facc15; } section:nth-of-type(4) thead th:nth-child(6) { background: #0f172a; } section:nth-of-type(4) thead th:nth-child(7) { background: #820000; } /* Alternating rows & hover */ tbody tr:nth-child(even) { background: #f9fafb; } tbody tr:nth-child(odd) { background: #ffffff; } td { padding: 12px; border-bottom: 1px solid #e2e8f0; } tr:hover td { background: rgba(30,58,138,0.08); transition: background .3s ease; } /* Responsive fix – keep table scrollable */ @media (max-width:700px) { table { display: block; overflow-x: auto; white-space: nowrap; border: 1px solid #e5e7eb; } thead th, tbody td { padding: 8px 10px; font-size: 13px; } }

/* ---------------------------
   MODERN BOOKING PAGE
--------------------------- */
.booking-modern {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 30px;
  align-items: flex-start;
}
.booking-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.booking-card:hover {transform: translateY(-4px);}
.booking-card h1 {font-size: 32px;font-weight: 800;color: var(--blue);margin-bottom: 10px;}
.booking-card .muted {color: var(--muted);margin-bottom: 24px;}
.modern-form {display: grid;gap: 18px;}
.input-group label {
  font-weight: 600;color: var(--darkblue);margin-bottom: 6px;display: block;
}
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;padding: 12px 14px;font-size: 15px;
  border: 1px solid #cbd5e1;border-radius: 10px;
  transition: border 0.3s, box-shadow 0.3s;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.25);
  outline: none;
}
button.btn-primary {
  background: var(--orange);color: #fff;font-weight: 700;
  padding: 14px 22px;border-radius: 10px;border: none;
  cursor: pointer;transition: background 0.3s ease;
}
button.btn-primary:hover {background: #ff963e;}
.booking-info {
  background: linear-gradient(135deg, #eaf3ff 0%, #f9fcff 100%);
  color: #1e3a8a;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.booking-info h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0b2970;
}

.booking-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.booking-info ul li {
  margin: 10px 0;
  font-size: 16px;
  color: #374151;
}

.booking-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 116, 222, 0.15);
}

.contact-highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 235, 0.95));
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  color: #1e3a8a;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-highlight:hover {
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.3s ease;
}
.btn-whatsapp:hover {background: #1da851;}
@media (max-width:900px){
  .booking-grid {grid-template-columns: 1fr;}
  .booking-card, .booking-info {padding: 25px 20px;}
  .booking-card h1 {font-size: 26px;}
}

/* ===============================
   WHY CHOOSE SECTION (2025 NEW)
   =============================== */

.why-choose {
  background: linear-gradient(180deg,#fffdf8 0%,#f7faff 100%);
  padding: 80px 20px;
  text-align: center;
}

.why-choose h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.why-box {
  border-radius: 14px;
  padding: 30px 25px;
  color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.why-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* Mild pastel gradient colors for better contrast */
.why-taxi {
  background: linear-gradient(135deg,#fff9e6,#ffffff);
}

.why-availability {
  background: linear-gradient(135deg,#fff7e0,#ffffff);
}

.why-safety {
  background: linear-gradient(135deg,#fefae0,#ffffff);
}

.why-clean {
  background: linear-gradient(135deg,#e7f9f1,#ffffff);
}

.why-drivers {
  background: linear-gradient(135deg,#eaf6ff,#ffffff);
}

.why-price {
  background: linear-gradient(135deg,#fde2e4,#ffffff);
}

.why-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.why-box p {
  color: #374151;
  font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 700px) {
  .why-choose {
    padding: 50px 15px;
  }
  .why-box {
    padding: 25px 18px;
  }
  .why-box h3 {
    font-size: 18px;
  }
  .why-box p {
    font-size: 14px;
  }
}

/* ===============================
   WHY CHOOSE SECTION – 8 BOX (4x2)
   =============================== */

.why-choose {
  background: linear-gradient(180deg, #fffef9 0%, #f8faff 100%);
  padding: 80px 20px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-content: center;
}

.why-box {
  border-radius: 16px;
  padding: 30px 24px;
  color: #1e3a8a;
  background: linear-gradient(135deg, #ffffff, #f7f9fb);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.why-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  background: linear-gradient(135deg, #fff8e1, #ffffff);
}

/* Box text */
.why-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}
.why-box p {
  font-size: 15px;
  color: #374151;
}

/* Unique light gradient colors per box */
.why-taxi { background: linear-gradient(135deg,#fff9e6,#ffffff); }
.why-availability { background: linear-gradient(135deg,#fff7e0,#ffffff); }
.why-safety { background: linear-gradient(135deg,#fefae0,#ffffff); }
.why-clean { background: linear-gradient(135deg,#e7f9f1,#ffffff); }
.why-drivers { background: linear-gradient(135deg,#eaf6ff,#ffffff); }
.why-price { background: linear-gradient(135deg,#fde2e4,#ffffff); }
.why-fleet { background: linear-gradient(135deg,#fff4e6,#ffffff); }
.why-support { background: linear-gradient(135deg,#e6f4ff,#ffffff); }

/* Subtle hover highlight */
.why-taxi:hover,
.why-availability:hover,
.why-safety:hover,
.why-clean:hover,
.why-drivers:hover,
.why-price:hover,
.why-fleet:hover,
.why-support:hover {
  background: linear-gradient(135deg,#fffde7,#ffffff);
}

/* Responsive layout */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-box {
    padding: 25px 18px;
  }
  .why-box h3 {
    font-size: 18px;
  }
  .why-box p {
    font-size: 14px;
  }
}


/* ---------------------------
   SUCCESS POPUP
--------------------------- */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-box {
  background: #fff;
  color: #1e3a8a;
  padding: 25px 35px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  max-width: 320px;
  width: 90%;
  animation: fadeIn 0.3s ease;
}
.popup-box h2 {font-size: 22px;margin-bottom: 10px;color: #22c55e;}
.popup-box button {
  margin-top: 15px;
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
.popup-box button:hover {background: #2563eb;}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------------------------
   FOOTER
--------------------------- */
footer {
  background:linear-gradient(135deg,var(--darkblue),var(--blue));
  color:#fff;text-align:center;padding:40px 20px;
}
footer a {color:var(--yellow);text-decoration:none;font-weight:600}
footer a:hover{text-decoration:underline}
