/* Responsive header flex container for logo and nav */
/* Header flex: logo left, nav right */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2.5rem;
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 2.5rem;
  margin-left: 0;
  margin-top: 0;
}
.header-flex nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
@media (max-width: 900px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .logo-img {
    height: 60px !important;
    max-width: 160px !important;
    margin-bottom: 0.5rem !important;
  }
  .header-flex nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .logo-img {
    height: 44px !important;
    max-width: 120px !important;
    margin-bottom: 0.3rem !important;
  }
  .header-flex nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .logo-img {
    height: 60px !important;
    max-width: 160px !important;
    margin-bottom: 0.5rem !important;
  }
  header nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .logo-img {
    height: 44px !important;
    max-width: 120px !important;
    margin-bottom: 0.3rem !important;
  }
  header nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
/* Equal height for about page panels */
.equal-height-row {
  display: flex;
  gap: 2rem;
}
.equal-height-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
}
@media (max-width: 900px) {
  .equal-height-row {
    flex-direction: column;
  }
  .equal-height-card {
    min-height: unset;
  }
}
/* Gold button for About page */
.gold-button {
  background-color: var(--gold-color) !important;
  color: #1E1E1E !important;
  border-color: var(--gold-color) !important;
  box-shadow: 0 4px 15px rgba(254,198,37,0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.gold-button i {
  color: #1E1E1E !important;
  margin-bottom: 0 !important;
  font-size: 1.5rem !important;
}
.gold-button:hover {
  transform: translateY(-5px) !important;
  background-color: var(--gold-color) !important;
  box-shadow: 0 6px 20px rgba(254,198,37,0.5) !important;
}
/* Gold button for Book a Ride */
.gold-button {
  background-color: var(--gold-color) !important;
  color: #1E1E1E !important;
  border-color: #ffd700 !important;
  box-shadow: 0 4px 15px rgba(254,198,37,0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.gold-button i {
  color: #1E1E1E !important;
  margin-bottom: 0 !important;
  font-size: 1.5rem !important;
}
.gold-button:hover {
  transform: translateY(-5px) !important;
  background-color: var(--gold-color) !important;
  box-shadow: 0 6px 20px rgba(254,198,37,0.5) !important;
}
/* Define color variables for the entire system */
:root {
  --primary-color: #FEC625; /* Golden Yellow (from YETU logo) */
  --secondary-color: #1E1E1E; /* Dark Gray/Near Black (from logo background) */
  --gold-color: #FEC625; /* Keep for backward compatibility - now using primary color */
  --old-yellow: #ffd700; /* Original yellow color for reference */
}

/* Make the header logo bigger and responsive */
.logo-img {
  height: 120px;
  width: auto;
  max-width: 240px;
  display: block;
}

/* Additional responsive adjustments to prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--secondary-color); /* Using secondary color instead of #1a1a1a */
  color: white;
  min-height: 100vh;
  line-height: 1.6;
}

/* Header styles */
header {
  background-color: var(--secondary-color); /* Using secondary color for consistency */
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 120px;
}

header img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  header {
    min-height: 80px;
    padding: 0.3rem 1.5rem;
  }
  
  header img {
    height: 70px; /* Slightly larger on mobile than before */
  }
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto; /* Push to the right */
}

/* Cabyetu header bar and logo styles */
.nav-separator {
  width: 100%;
  height: 6px;
  background: #fff;
  margin: 0;
  box-shadow: 0 2px 8px 0 rgba(255,255,255,0.25);
  border-bottom: none;
  opacity: 1;
  z-index: 10;
}
.template-header-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cabyetu-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-color); /* Using primary color */
  box-shadow: 0 0 2px #ccc;
  object-fit: cover;
}
.cabyetu-name {
  font-weight: bold;
  font-size: 1.1rem;
}

/* Dark mode toggle removed */

/* Navigation styles */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--primary-color); /* Using primary color */
  transition: width 0.3s ease;
}

nav a:hover:after, nav a:focus:after {
  width: 100%;
}

nav a:focus {
  outline: none;
  color: #004d00;
}

/* Menu toggle button for mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--primary-color); /* Using primary color */
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Content styles */
.content {
  padding: 2rem;
  min-height: 70vh;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography improvements */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold-color);
  position: relative;
  padding-bottom: 0.5rem;
}

h1:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--gold-color);
  bottom: 0;
  left: 0;
}

h2 {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Home actions styles */
.home-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color); /* Using secondary color for consistency */
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(212,175,55,0.10);
  padding: 1.2rem 1rem;
  min-width: 200px;
  min-height: 100px;
  text-decoration: none;
  color: var(--gold-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid var(--gold-color);
}

.action-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--gold-color);
}

.action-card.passenger-download {
  border-color: var(--gold-color);
}

.action-card.passenger-download i {
  color: var(--gold-color);
}

.action-card.driver-download {
  border-color: var(--gold-color);
}

.action-card.driver-download i {
  color: var(--gold-color);
}

.action-card.driver-register {
  border-color: var(--gold-color);
}

.action-card.driver-register i {
  color: var(--gold-color);
}

.action-card.book {
  border-color: var(--gold-color);
}

.action-card.corporate {
  border-color: var(--gold-color);
}

.action-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(212,175,55,0.18);
  background: var(--secondary-color); /* Using secondary color for consistency */
}

/* About page styles */
.about-section p {
  font-size: 1.05rem;
}

.about-section h2 {
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1rem; /* Reduced margin */
}

/* Mission, Vision, Values Container Layout */
.mvv-container {
  margin: 2rem 0; /* Reduced top margin */
  width: 100%;
}

.mvv-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Common Box Styles */
.box {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  background-color: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.box h3 {
  text-align: center;
  margin-top: 0;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 2px solid var(--gold-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  color: #006400;
  letter-spacing: 1px;
}

/* Vision and Mission Boxes */
.vision-box, .mission-box {
  flex: 1;
}

.vision-box {
  border-left: 5px solid var(--gold-color);
}

.mission-box {
  border-left: 5px solid #1ca14e;
}

.vision-box h3 {
  color: var(--gold-color);
  border-bottom-color: var(--gold-color);
}

.mission-box h3 {
  color: #1ca14e;
  border-bottom-color: #1ca14e;
}

/* Core Values Box */
.values-box {
  border-top: 5px solid var(--gold-color);
  margin-bottom: 2rem;
  padding: 1.5rem 1rem 1rem; /* Optimized padding */
  overflow: hidden; /* Contain the content */
}

.values-grid {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping by default */
  justify-content: space-evenly; /* Distribute items evenly */
  gap: 1.5rem; /* Slightly increased for better spacing */
  padding-bottom: 0.5rem;
  position: relative;
  margin: 0 auto; /* Center the grid */
  max-width: 1000px; /* Limit maximum width */
}

/* Scroll indicator arrows for mobile view */
.values-grid-container {
  position: relative;
  padding: 0 30px; /* Add space for the arrows */
  margin-bottom: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.scroll-indicator {
  display: none; /* Hidden by default, shown in media queries */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 161, 78, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  z-index: 5;
  cursor: pointer;
  color: #006400;
  transition: all 0.2s ease;
  padding: 0;
}

.scroll-indicator:hover {
  background: rgba(28, 161, 78, 0.1);
  color: #1ca14e;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.scroll-indicator:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 161, 78, 0.3);
}

.scroll-left {
  left: 5px;
}

.scroll-right {
  right: 5px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  width: calc(50% - 1rem); /* Two items per row by default */
  max-width: 220px; /* Maximum width */
  min-width: 140px; /* Minimum width */
  padding: 0.85rem 0.7rem;
  transition: all 0.3s ease;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.7); /* More visible background */
  border: 1px solid rgba(0, 100, 0, 0.08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), #1ca14e); /* Using primary color */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(28, 161, 78, 0.15);
}

.value-item:hover::before {
  opacity: 1;
}

.value-letter {
  font-size: 1.8rem; /* Further reduced size */
  font-weight: bold;
  color: var(--gold-color);
  line-height: 1;
  text-align: center;
  margin-bottom: 0.5rem;
  background: #006400;
  border-radius: 50%;
  width: 42px; /* Smaller circle */
  height: 42px; /* Smaller circle */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0; /* Prevent shrinking */
}

.value-item:hover .value-letter {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.value-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Make all content boxes the same height */
  justify-content: flex-start; /* Align content from the top */
  width: 100%;
}

.value-content h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  text-align: center;
  color: #006400;
  font-weight: 600;
  min-height: 1.2rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  line-clamp: 2; /* Standard property for compatibility */
  max-width: 100%;
  letter-spacing: -0.01em; /* Slight letter spacing adjustment */
}

.value-content p {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  line-clamp: 3; /* Standard property for compatibility */
  max-height: 3.5rem;
  color: #444; /* Slightly darker for better contrast */
}

/* Footer styles */
.footer {
  background-color: var(--secondary-color); /* Match header color for consistency */
  color: white;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle separator */
}

.social-links {
  margin-top: 0.5rem;
}

.social-links a {
  color: var(--gold-color);
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #fff;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #1ca14e;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(28, 161, 78, 0.2);
}

.btn:hover {
  background-color: #006400;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(28, 161, 78, 0.3);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 161, 78, 0.4);
}

.btn-secondary {
  background-color: var(--gold-color);
  color: #006400;
}

.btn-secondary:hover {
  background-color: var(--primary-color); /* Using primary color */
}

/* Card component */
.card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%; /* Make all cards the same height */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Contact page styles */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: white;
}

/* Keep "Contact Us" heading in gold */
.contact-section h1 {
  color: var(--gold-color);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-card {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
  color: #1ca14e;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h3 i {
  color: var(--gold-color);
}

.info-card p {
  margin-bottom: 0;
  line-height: 1.6;
  color: #333;
}

.info-card a {
  color: #1ca14e;
  text-decoration: none;
  transition: color 0.3s;
}

.info-card a:hover {
  color: #006400;
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  color: #1ca14e;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1ca14e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 161, 78, 0.2);
}

/* Map Section */
.map-section {
  margin-bottom: 3rem;
}

.map-section h3 {
  text-align: center;
  color: #1ca14e;
  margin-bottom: 1.5rem;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* CTA Section */
.cta-section {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.cta-section h3 {
  color: #1ca14e;
  margin-top: 0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Services page styles */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
}

.services-intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: white;
}

/* Keep "Our Services" heading in gold */
.services-section h1 {
  color: var(--gold-color);
}

.service-category {
  margin-bottom: 4rem;
}

.service-category h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #1ca14e;
  font-size: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-color);
}

.service-category h2 i {
  color: var(--gold-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card.premium {
  border-top: 5px solid var(--gold-color);
}

.service-card.coming-soon {
  opacity: 0.85;
}

.service-icon {
  font-size: 2.5rem;
  color: #1ca14e;
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #333;
}

.service-card p {
  margin-bottom: 0.8rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.feature-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.feature-list li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--gold-color);
  position: absolute;
  left: 0;
}

.service-btn {
  margin-top: auto;
  align-self: flex-start;
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--gold-color);
  color: #006400;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* App features section */
.app-features {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.app-content {
  flex: 2;
}

.app-image {
  flex: 1;
  text-align: center;
}

.app-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--gold-color);
  margin-bottom: 0.8rem;
}

.feature-item h4 {
  margin: 0.5rem 0;
  color: #1ca14e;
}

.feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.app-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--secondary-color); /* Using secondary color */
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
  font-size: 0.9rem;
}

.app-store-btn:hover {
  background-color: #000; /* Keep pure black for hover state for better contrast */
  transform: translateY(-3px);
}

.app-store-btn i {
  font-size: 1rem;
}

/* Testimonial section */
.testimonial-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.testimonials {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 300px;
  max-width: 400px;
  flex: 1;
}

.testimonial-content {
  font-style: italic;
  position: relative;
  padding: 0.5rem 1.5rem;
}

.testimonial-content:before {
  content: '\201C';
  font-size: 3rem;
  color: var(--gold-color);
  position: absolute;
  left: -0.5rem;
  top: -1rem;
  opacity: 0.3;
}

.testimonial-author {
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.testimonial-author strong {
  display: block;
  color: #1ca14e;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}

/* CTA container */
.cta-container {
  background-color: #f8f9fa;
  padding: 3rem 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Corporate Registration Page Styles */
.corporate-registration {
  max-width: 1200px;
  margin: 0 auto;
}

.registration-intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #444;
}

.form-container {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}

.form-benefits {
  flex: 1;
  min-width: 300px;
}

.registration-form {
  flex: 2;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.registration-form h3 {
  color: #1ca14e;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

.form-message {
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
  display: none;
}

.form-message.info {
  display: block;
  background-color: #e3f2fd;
  color: #0d47a1;
  border: 1px solid #bbdefb;
}

.form-message.success {
  display: block;
  background-color: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

.form-message.error {
  display: block;
  background-color: #ffebee;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
}

.terms-link {
  color: #1ca14e;
  text-decoration: underline;
}

.registration-next-steps {
  margin-bottom: 3rem;
}

.steps-list {
  counter-reset: step;
  list-style-type: none;
  padding-left: 2rem;
}

.steps-list li {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.steps-list li:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  height: 30px;
  background-color: var(--gold-color);
  color: #006400;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  left: -15px;
  top: -5px;
}

/* Home page enhancements */
.user-selection {
  margin-bottom: 3rem;
  text-align: center;
}

.user-selection h2 {
  margin-bottom: 2rem;
  color: #1ca14e;
  font-size: 2rem;
}

.action-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.action-group h3 {
  margin-bottom: 0.5rem;
  color: #006400;
  font-size: 1.3rem;
}

.actions {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fffbe6;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(28,161,78,0.10);
  padding: 1.2rem 1rem;
  min-width: 200px;
  min-height: 100px;
  text-decoration: none;
  color: #1ca14e;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid #ffe94d;
}

.action-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--gold-color);
}

.action-card.passenger-download {
  border-color: #1ca14e;
}

.action-card.passenger-download i {
  color: #1ca14e;
}

.action-card.driver-download {
  border-color: #ff9800;
}

.action-card.driver-download i {
  color: #ff9800;
}

.action-card.driver-register {
  border-color: #ff5722;
}

.action-card.driver-register i {
  color: #ff5722;
}

.action-card.book {
  border-color: #1ca14e;
}

.action-card.corporate {
  border-color: #009245;
}

.action-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(28,161,78,0.18);
  background: #fffde7;
}

/* App download section */
.app-download-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.app-download-section h2 {
  text-align: center;
  margin-bottom: 1.2rem;
  color: #1ca14e;
}

.app-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.app-card {
  background-color: white;
  border-radius: 15px;
  padding: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  flex: 1;
  min-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.app-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.passenger-app .app-icon {
  color: #1ca14e;
}

.driver-app .app-icon {
  color: #ff9800;
}

.app-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #333;
}

.app-card p {
  margin-bottom: 0.8rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

/* Cards Row Layout */
.cards-row {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.cards-row .card {
  flex: 1;
  min-width: 250px;
  margin-bottom: 0;
}

/* Expandable Card Styles */
.expandable-card {
  position: relative;
}

.expandable-card .card-content {
  position: relative;
}

.expandable-card .preview-text {
  margin-bottom: 0.5rem;
}

.expandable-card .expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.expandable-card.expanded .expanded-content {
  max-height: 300px; /* Adjust as needed */
  opacity: 1;
  margin-top: 0.5rem;
}

.read-more-btn {
  background: none;
  border: none;
  color: #1ca14e;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.read-more-btn:hover {
  color: #006400;
  text-decoration: underline;
}

.expandable-card.expanded .read-more-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.read-more-btn .fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

/* Intro Card Specific Styling */
.intro-card {
  padding: 0.5rem 1rem; /* Reduced padding */
  margin-bottom: 0.5rem; /* Small bottom margin */
  height: auto; /* Override the height: 100% from general card style */
  transform: none; /* Remove hover transform effect to save space */
  min-height: auto; /* Ensure no minimum height is enforced */
  background: linear-gradient(to right, #ffffff, #f8fdf9); /* Subtle gradient background */
  position: relative; /* For potential pseudo-elements */
  overflow: hidden; /* Keep everything contained */
}

.intro-card:hover {
  transform: translateY(-2px); /* Subtle lift effect */
  box-shadow: 0 6px 16px rgba(0, 60, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
  border-left-width: 5px; /* Slightly thicker border on hover */
}

.intro-card p {
  font-size: 0.9rem; /* Smaller font */
  line-height: 1.4; /* Slightly increased line height for readability */
  margin: 0; /* Remove all margins */
  padding: 0; /* Remove all padding */
  color: #333; /* Darker text for better contrast */
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5); /* Subtle text shadow for clarity */
  position: relative; /* For potential decorative elements */
  z-index: 1; /* Ensure text is above any background effects */
}

/* Add subtle decorative accent to intro card */
.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at top right, rgba(28, 161, 78, 0.1), transparent 70%);
  z-index: 0;
  opacity: 0.7;
}

/* Additional styles to ensure the intro card is as compact as possible and visually appealing */
.intro-card.card {
  box-shadow: 0 4px 12px rgba(0, 60, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08); /* Enhanced shadow with green tint */
  border-radius: 6px; /* Smaller border radius */
  margin-bottom: 0.5rem; /* Very small bottom margin */
  border-left: 3px solid #1ca14e; /* Green accent border */
  animation: subtle-glow 3s infinite alternate; /* Subtle glowing animation */
  transition: all 0.3s ease; /* Smooth transition for any changes */
}

/* Media query to ensure the intro card is even more compact on mobile */
@media (max-width: 767px) {
  .intro-card {
    padding: 0.5rem 0.9rem;
    animation-duration: 4s; /* Slower animation on mobile for better performance */
    border-left-width: 4px; /* Slightly thicker border on mobile for visibility */
  }
  
  .intro-card p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .intro-card::before {
    width: 40px; /* Smaller decorative element on mobile */
    height: 40px;
  }
}

/* Responsive styles for cards row */
@media (max-width: 768px) {
  .cards-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cards-row .card {
    width: 100%;
  }
}

/* Media queries for values grid responsiveness */
@media (min-width: 992px) {
  /* For large screens - display as a single row */
  .values-grid {
    flex-wrap: nowrap;
  }
  
  .value-item {
    width: 22%; /* Four items per row */
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  /* For tablet screens - horizontal scrolling with visual hints */
  .values-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px; /* Space for scrollbar */
    margin-bottom: 10px;
  }
  
  .value-item {
    width: 230px; /* Fixed width */
    flex-shrink: 0;
    scroll-snap-align: start;
    margin-right: 15px;
  }

  .value-item:last-child {
    margin-right: 0;
  }
  
  .scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Style scrollbar for better visibility */
  .values-grid::-webkit-scrollbar {
    height: 6px;
    background-color: #f5f5f5;
    border-radius: 3px;
  }
  
  .values-grid::-webkit-scrollbar-thumb {
    background-color: rgba(28, 161, 78, 0.5);
    border-radius: 3px;
  }
  
  /* Scroll hint visual indicators */
  .values-grid-container::after {
    content: '';
    position: absolute;
    right: 40px;
    top: 0;
    bottom: 15px;
    width: 30px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 3;
  }
  
  .values-grid-container::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 15px;
    width: 30px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 3;
  }
}

@media (max-width: 767px) {
  /* For mobile screens - hybrid layout: 2x2 grid or swipeable */
  .values-grid-container {
    padding: 0 25px; /* Adjust padding for arrows */
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px;
    justify-content: center;
  }
  
  .value-item {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    min-height: 120px; /* Ensure minimum height */
  }
  
  .value-content h4 {
    height: auto;
    min-height: 0;
    font-size: 0.9rem;
    -webkit-line-clamp: 1; /* Show only 1 line on mobile */
    line-clamp: 1;
  }
  
  .value-content p {
    font-size: 0.78rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  
  .value-letter {
    font-size: 1.6rem;
    width: 36px;
    height: 36px;
    margin-bottom: 0.3rem;
  }
  
  /* Hide scroll indicators on small screens with grid layout */
  .scroll-indicator {
    display: none;
  }
}

/* Special layout for very small screens */
@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr; /* 1 column */
  }
  
  .value-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 10px;
  }
  
  .value-letter {
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .value-content {
    align-items: flex-start;
    text-align: left;
  }
  
  .value-content h4 {
    text-align: left;
  }
  
  .value-content p {
    text-align: left;
  }
}

@media (max-width: 360px) {
  /* Extreme small screen improvements */
  header {
    padding: 0.6rem 1rem;
  }
  
  header img {
    height: 50px; /* Even smaller logo */
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  .content {
    padding: 0.8rem;
  }
  
  .action-card {
    min-height: 80px;
    padding: 0.8rem 0.5rem;
  }
  
  .action-card i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }
  
  .app-card {
    min-width: 250px;
    padding: 1rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem;
  }
}

/* Accessibility improvements */
:focus {
  outline: 2px dashed #1ca14e;
  outline-offset: 2px;
}

/* All dark mode support has been removed */

/* Animation utilities */
.fade-in {
  animation: fadeIn 1s ease-in;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Subtle glow animation for intro card */
@keyframes subtle-glow {
  0% {
    box-shadow: 0 4px 12px rgba(0, 60, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  100% {
    box-shadow: 0 5px 15px rgba(28, 161, 78, 0.2), 0 2px 5px rgba(0, 0, 0, 0.1);
  }
}

/* Responsive image improvements */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive table improvements */
table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  max-width: fit-content;
  margin: 0 auto;
}

@media (min-width: 768px) {
  table {
    display: table;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.expandable-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.expandable-card h3 i {
  color: #1ca14e;
}

.full-width-action {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.full-width-action .action-card {
  width: 100%;
  max-width: calc(100% - 4rem);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  min-height: 60px;
}

.success-button {
  background-color: #1ca14e !important;
  color: white !important;
  border-color: #0b8a3e !important;
  box-shadow: 0 4px 15px rgba(28, 161, 78, 0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.success-button i {
  color: white !important;
  margin-bottom: 0 !important;
  font-size: 1.5rem !important;
}

.success-button:hover {
  transform: translateY(-5px) !important;
  background-color: #0b8a3e !important;
  box-shadow: 0 6px 20px rgba(28, 161, 78, 0.5) !important;
}

