/* --- Global Styles & CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
  --primary-color: #0d47a1; /* Rich Blue */
  --secondary-color: #2e7d32; /* Green */
  --accent-color: #ff9800; /* Bright Orange */
  --accent-hover-color: #fb8c00;
  --background-light: #f4f6f8;
  --background-white: #ffffff;
  --text-dark: #212121;
  --text-muted: #666666;
  --border-color: #e0e0e0;
  --shadow: 0 8px 24px rgba(0, 31, 63, 0.1);
  --header-height: 80px;
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --border-radius: 12px;
  --container-width: 1200px;
  --section-padding: clamp(4rem, 8vw, 6rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--background-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

a:hover {
  color: var(--accent-hover-color);
  text-decoration: underline;
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding-block: var(--section-padding);
}

.section-bg {
  background-color: var(--background-light);
}

.text-center {
  text-align: center;
}

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

.section-header .subtitle {
  color: var(--accent-color);
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover-color);
  border-color: var(--accent-hover-color);
  color: var(--background-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: var(--header-height);
  transition: all 0.3s ease;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links li a {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary-color);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.pexels.com/photos/33456636/pexels-photo-33456636.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
  background-size: cover;
  background-position: center;
  color: var(--background-white);
  text-align: center;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(13, 71, 161, 0.7) 0%, rgba(13, 71, 161, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--background-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 1.5rem auto 2.5rem;
  max-width: 600px;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--background-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 31, 63, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background-white);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  color: var(--primary-color);
}

/* --- Popular Routes Section --- */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.route-card {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.route-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 31, 63, 0.15);
}

.route-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.route-card-content {
  padding: 1.5rem;
}

.route-card-tag {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* --- About Intro Section --- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-img {
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-intro-content h2 {
  color: var(--primary-color);
}

/* --- Testimonials Section --- */
.testimonial-card {
  background-color: var(--primary-color);
  color: var(--background-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  position: relative;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.testimonial-author-info strong {
  display: block;
  font-weight: 700;
}
.testimonial-author-info span {
  opacity: 0.8;
}

/* --- CTA Section --- */
.cta-section {
  background-color: var(--primary-color);
  color: var(--background-white);
  padding-block: var(--section-padding);
  border-radius: var(--border-radius);
  margin: var(--section-padding) auto;
}
.cta-section h2 {
  color: var(--background-white);
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: #a0a0a0;
  padding-top: 4rem;
}

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

.footer-column h4 {
  color: var(--background-white);
  margin-bottom: 1.5rem;
  font-family: var(--font-header);
}
.footer-column ul {
  list-style-type: none;
}
.footer-column ul li {
  margin-bottom: 0.8rem;
}
.footer-column ul li a {
  color: #a0a0a0;
  text-decoration: none;
}
.footer-column ul li a:hover {
  color: var(--background-white);
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  color: var(--background-white);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.footer-socials a:hover {
  background-color: var(--accent-color);
}
.social-icon {
  width: 20px;
  height: 20px;
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: #333;
  color: #a0a0a0;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.6;
  border: 1px solid #444;
}
.disclaimer-section strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--background-white);
  font-family: var(--font-header);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* --- About Page Specific --- */
.page-header {
  min-height: 40vh;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-header h1 {
  color: var(--background-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.team-member {
  text-align: center;
}
.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent-color);
}
.team-member h4 {
  color: var(--primary-color);
}
.team-member p {
  font-size: 0.9rem;
}

/* --- Contact Page Specific --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: flex-start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 50%;
}
.contact-info-icon svg { width: 20px; height: 20px;}
.contact-info-item h4 { margin-bottom: 0.25rem; }

.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.contact-form .form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}
.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 3rem;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Privacy Policy Page --- */
.privacy-content h2 { margin-top: 2rem; }
.privacy-content ul { list-style-position: inside; padding-left: 1rem; }
.privacy-content li { margin-bottom: 0.5rem; }

/* --- Thank You Page --- */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}
.thank-you-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.thank-you-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 30px; }

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--background-white);
  padding: 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
#cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: #e0e0e0;
}
#cookie-banner a {
  color: var(--accent-color);
}
.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.cookie-buttons .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}
.cookie-buttons .btn-decline {
  background-color: #555;
  color: white;
  border-color: #555;
}
.cookie-buttons .btn-decline:hover {
  background-color: #666;
   border-color: #666;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .header { height: 70px; }
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: var(--background-white);
    transition: right 0.4s ease-in-out;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li a { font-size: 1.5rem; }
  .hamburger {
    display: block;
    z-index: 1001;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { text-align: center; }
  .footer-socials { justify-content: center; }
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}