
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Base Styles */
:root {
  --primary: #0056b3;
  --primary-light: #e6f0ff;
  --primary-hover: #004494;
  --secondary: #6c757d;
  --secondary-hover: #5a6268;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --border-radius: 0.375rem;
  --border-radius-lg: 0.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style-type: none;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

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

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

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

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

.btn-outline {
  color: var(--gray-800);
  background-color: transparent;
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--gray-500);
  background-color: var(--gray-100);
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 400px) {
  .btn-group {
    flex-direction: row;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.logo small{font-size: 1rem; font-weight: 500; color: var(--secondary); display: block; font-weight: 300;}
@media (min-width: 768px) {
  .logo small{display: inline-block;}
}

.nav {
  display: none;
}
.nav.show-nav {
  display: block;
  position:absolute;  top: 65px;
    background-color: white;
    width: 100%;
    left: 0px;
}
.nav.show-nav .nav-link {
 margin-left: 0px;
    text-align: center;
    display: block;
    font-size: 1.4rem;
    margin-bottom: 10px;
    border-bottom: 1px #ddcece solid;}

.nav-link {
  margin-left: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
}

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

.call-button {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-800);
  background-color: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
  }

  .call-button {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  padding: 2rem 0 4rem;
  background: linear-gradient(to bottom right, var(--gray-50), var(--white));
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--gray-200);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 3rem 0 4rem;
  }

  .hero-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    height: 400px;
  }
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray-600);
}

/* Fleet Section */
.fleet-section {
  padding: 4rem 0;
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.vehicle-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vehicle-card:hover {
  box-shadow: var(--shadow-md);
}

.vehicle-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--primary);
  border-radius: var(--border-radius);
}

.vehicle-details {
  padding: 1.5rem;
}

.vehicle-details h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vehicle-details p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.features {
  margin-bottom: 1.5rem;
}

.features h4 {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-700);
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
}

@media (min-width: 768px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fleet-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-text {
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

.grid-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--gray-200);
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: blovk;
 justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
}
@media (min-width: 1024px) {
  .contact-grid {display: flex;}
  .contact-card{width:300px;}
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.hours-section {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.hours-section h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.hours-row {
  display: flex;
  justify-content:center;
}

.hours-row span:first-child {
  color: var(--gray-600);
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: var(--gray-900);
  color: var(--gray-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-col p {
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-links li,
.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--gray-400);
}

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

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Responsive Adjustments */
@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 3rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}


 .road {
      position: relative;
      width: 100%; overflow: hidden;
      height: 60px;
      background-color:var(--primary);
    }
   

    .scrolling-text {
      position: absolute;
      bottom:-7px;   width:100%; text-align: center; 
    }
     .scrolling-text h2{width:100%; text-align: center;   color: rgb(255, 255, 255); font-weight: 300;  font-size: 28px;}

     
      .car-img{ position: absolute; width: 80px; bottom:0px;  animation: car 10s linear infinite;}
     .van-img{ position: absolute; width: 60px; bottom:0px;  animation: van 14s linear infinite; display: none;}
     .bus-img{ position: absolute; width: 120px; bottom:0px;  animation: bus 18s linear infinite; display: none;}
    

    @keyframes text {
      0% {
        right: 0px; opacity: 0;
      }
       5% {
        opacity: 1;
      }
      100% {
        right: 100%;
      }
    }

    
    @keyframes car {
      0% {
        right: 0px; opacity: 0;
      }
     5% {
        opacity: 1;
      }
      100% {
        right: 100%;
      }
    }

    
    @keyframes van {
      0% {
        right: 0px; opacity: 0;
      }
       5% {
        opacity: 1;
      }
      100% {
        right: 100%
      }
    }

    
    @keyframes bus {
      0% {
        right: 0px; opacity: 0;
      }
       5% {
        opacity: 1;
      }
      100% {
        right: 100%;
      }
    }
    @media (min-width: 768px) {
.scrolling-text {
      position: absolute;
      bottom:-7px; width: auto;
      animation: text 30s linear infinite;
    }
    .scrolling-text h2{width:460px;}
    }
    @media (min-width: 1024px) {

 .car-img{ position: absolute; width: 80px; bottom:0px;  animation: car 10s linear infinite; }
     .van-img{ position: absolute; width: 90px; bottom:0px;  animation: van 14s linear infinite; display: block;}
     .bus-img{ position: absolute; width: 150px; bottom:0px;  animation: bus 18s linear infinite; display: block;}
     .scrolling-text h2{ font-size: 34px;}
    }

    .taxi-kottayam{
        padding: 4rem 0;
  background-color: var(--gray-50);
    }
    .taxi-kottayam ul{list-style: circle; font-size: 0.85rem; line-height: 2rem;}
    .taxi-kottayam ul li{padding:2px 4px;}
    .taxi-kottayam ul li:nth-child(even){background-color: white;}
    .taxi-kottayam h2{  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;}