/* ========== Global Reset ========== */
/* ------- Basic Reset / Utilities ------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Roboto", sans-serif;
  color: #333;
}

/* ------- Navbar Styles ------- */
.navbar {
  width: 100%;
  left: 0;
  z-index: 100;
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.nav__logo {
  height: 130px; /* controls vertical size */
  cursor: pointer;
}

.navbar__list {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar__link {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
  position: relative;
  top: 10px;
}

.navbar__link:hover {
  color: #004aad;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #004aad;
  transition: width 0.3s ease;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #004aad;
  color: white;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.navbar__btn:hover {
  background-color: #00337a;
}

/* ------- Responsive / Mobile ------- */
@media (max-width: 768px) {
  /* For simplicity: stack or collapse links on mobile */
  .navbar__list {
    gap: 15px;
  }
}

/* ========== Hero Section ========== */
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-section {
  flex: 1;
  max-width: 600px;
}

.intro-section h1 {
  margin-top: 9%;
  font-size: 3em;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.intro-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #555;
}

.try-now-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.try-now-button:hover {
  background-color: #0056b3;
}

/* Highlight text style */
.Highlight {
  color: #1e3089;
  font-weight: 700;
}

/* ========== Mockups Section ========== */
.mockups-section {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.mockup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 6%;
}

.mockup-title {
  font-weight: 600;
  margin-top: 15%;
  font-size: 1.1em;
  background: linear-gradient(90deg, #51b8ec, #1e3089);
  color: white;
}

.phone-frame {
  border: 5px solid #333;
  border-radius: 30px;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  width: 200px;
  height: 270px;
}

.smart-routes-frame,
.weather-alert-frame,
.food-picks-frame {
  border-color: #004aad;
}

.mockup-image {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  display: block;
}

/* ========== Services Section ========== */
.services-section {
  width: 100%;
  padding: 80px 40px;
  background-color: #fff;
  text-align: center;
}

.services-header {
  margin-bottom: 50px;
}

.services-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #001f3f;
  line-height: 1.2;
}

.services-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  padding: 35px 25px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  text-align: center;
  max-width: 280px;
  flex: 1 1 220px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.icon-circle {
  width: 80px;
  height: 80px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
}

.icon-circle svg {
  width: 40px;
  height: 40px;
  color: #0056b3;
  stroke-width: 2;
}

.service-card h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #001f3f;
  margin-bottom: 10px;
}

.service-card h2 strong {
  font-weight: 700;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .intro-section {
    margin-bottom: 40px;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .services-header h1 {
    font-size: 2.2rem;
  }

  .intro-section h1 {
    font-size: 2.2rem;
  }
}
.tours-section {
  padding: 40px 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.tag {
  background: linear-gradient(90deg, #51b8ec, #1e3089);
  display: inline-block;
  color: white;
  padding: 0.4em 0.9em;
  transform: skewX(-12deg);
  border-radius: 20px;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 2.5em;
  color: #333;
  margin-top: 10px;
  margin-bottom: 40px;
  font-weight: 700;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(280px, 1fr)
  ); /* Default for smaller screens */
  gap: 20px;
}

.tour-card {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tour-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.7); /* Darken images slightly for text contrast */
  transition: filter 0.3s ease;
}

.tour-card:hover img {
  filter: brightness(0.6);
}

.tour-info {
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  text-align: left;
}

.tour-info h3 {
  font-family: "Playfair Display", serif; /* Use a more elegant font for city names */
  font-size: 2.2em;
  margin-bottom: 5px;
  font-weight: 700;
}

.tour-info p {
  font-family: "Roboto", sans-serif;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Specific card sizing for the layout */
.tour-card.large {
  min-height: 350px; /* Standard height for most cards */
}

.tour-card.extra-large {
  grid-column: span 2; /* Occupy two columns on larger screens */
  min-height: 380px; /* Slightly taller for visual balance */
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
  }

  /* Adjust layout for the specific arrangement in the image */
  .tours-grid > div:nth-child(1) {
    /* Big Ben */
    grid-row: span 2; /* Takes up 2 rows */
  }

  .tours-grid > div:nth-child(3) {
    /* Sydney */
    grid-column: span 2; /* Takes up 2 columns */
  }
}

@media (min-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns for large screens */
  }

  /* Re-adjust for the specific layout on very large screens */
  .tours-grid > div:nth-child(1) {
    /* Big Ben */
    grid-row: span 2;
    grid-column: span 1; /* Reset column span to 1 if it was changed by other rules */
  }

  .tours-grid > div:nth-child(3) {
    /* Sydney */
    grid-column: span 2;
    grid-row: span 1; /* Reset row span to 1 if it was changed by other rules */
  }
  .tours-grid > div:nth-child(2) {
    /* Bali */
    grid-row: span 1;
    grid-column: span 1;
  }
}

/* Adjustments for the specific image layout which is not perfectly regular */
/* This part is tricky as CSS Grid is very strict and the image isn't */
/* We'll use specific grid-template-areas or direct grid-column/row for exact replica */

@media (min-width: 1024px) {
  .tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    grid-template-rows: repeat(
      2,
      minmax(180px, 1fr)
    ); /* 2 rows, adjust min-height as needed */
    gap: 20px;
  }

  .tours-grid > div:nth-child(1) {
    /* Big Ben (London) */
    grid-column: 1;
    grid-row: 1 / span 2; /* Starts at row 1, spans 2 rows */
    height: unset; /* Let grid control height */
  }

  .tours-grid > div:nth-child(2) {
    /* Bali (Indonesia) */
    grid-column: 2;
    grid-row: 1;
  }

  .tours-grid > div:nth-child(3) {
    /* Sydney (Australia) */
    grid-column: 3 / span 2; /* Starts at column 3, spans 2 columns */
    grid-row: 1;
  }

  .tours-grid > div:nth-child(4) {
    /* Dubai (UAE) */
    grid-column: 2;
    grid-row: 2;
  }

  .tours-grid > div:nth-child(5) {
    /* Phetchabun (Thailand) */
    grid-column: 3;
    grid-row: 2;
  }

  .tours-grid > div:nth-child(6) {
    /* Paris (France) */
    grid-column: 4;
    grid-row: 2;
  }
  .tour-card.large {
    min-height: unset; /* Remove fixed height if grid sets it */
  }
  .tour-card.extra-large {
    min-height: unset; /* Remove fixed height if grid sets it */
  }
}

/* Ensure images fill their container correctly */
.tour-card img {
  height: 100%; /* Important for grid items */
}

.gallery-section {
  padding: 40px 20px;
  max-width: 1200px;
  width: 100%;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 2.5em;
  color: #333;
  margin-top: 10px;
  margin-bottom: 40px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(150px, auto);
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specific layout for desktop to match the image */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }

  /* Layout for the first image (wide) */
  .gallery-grid > div:nth-child(1) {
    grid-column: span 2;
  }

  /* Layout for the second and fourth images in the first row (regular) */
  .gallery-grid > div:nth-child(2),
  .gallery-grid > div:nth-child(3),
  .gallery-grid > div:nth-child(4) {
    grid-row: 1;
  }

  /* Layout for the other images in the second row */
  .gallery-grid > div:nth-child(5),
  .gallery-grid > div:nth-child(6) {
    grid-row: 2;
  }

  /* Layout for the last two images (tall) */
  .gallery-grid > div:nth-child(7),
  .gallery-grid > div:nth-child(8) {
    grid-row: span 2;
  }
}

.testimonials-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #333;
  margin-top: 10px;
  margin-bottom: 40px;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex: 1 1 300px;
  text-align: left;
}

.testimonial-card .quote {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-text h4 {
  font-size: 1.1em;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.profile-text .profile-title {
  font-size: 0.9em;
  color: #888;
  margin: 0;
}
.subscribe-section {
  background-color: #e6f0ff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

@media (min-width: 768px) {
  .subscribe-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.subscribe-content {
  text-align: left;
  max-width: 600px;
}

.subscribe-content h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.email-input {
  flex-grow: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 25px 0 0 25px;
  font-size: 1rem;
  outline: none;
}

.subscribe-btn {
  background-color: #f7a70c;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 0 25px 25px 0;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #e0950a;
}

.subscribe-content p {
  font-size: 1em;
  color: #666;
  line-height: 1.5;
}

.traveler-image {
  max-width: 400px;
  height: auto;
}
footer {
  background-color: #fff;
  padding: 50px 0;
  color: var(--secondary-text-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-brand {
  flex: 1 1 300px;
  margin-right: 20px;
}

.brand-logo {
  height: 40px; /* Adjust as needed */
  margin-bottom: 10px;
}

.brand-name {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-text-color);
  margin-bottom: 10px;
}

.brand-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: var(--social-icon-color);
  text-align: center;
  line-height: 35px;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.social-links a[aria-label="YouTube"] {
  background-color: var(--youtube-color);
}
.social-links a[aria-label="Twitter"] {
  background-color: var(--twitter-color);
}
.social-links a[aria-label="Facebook"] {
  background-color: var(--facebook-color);
}
.social-links a[aria-label="Instagram"] {
  background-color: var(--instagram-color);
}

.copyright {
  font-size: 12px;
}

.footer-links-group {
  flex: 1 1 200px;
  margin-bottom: 20px;
  margin-left: 30%;
}

.footer-links-group h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-text-color);
  margin-.gallery-grid > div:nth-child(1) {
    grid-column: span 2;
  }
  bottom: 20px;
}

.footer-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-group li {
  margin-bottom: 10px;
  margin-left: 5%;
}

.footer-links-group a {
  text-decoration: none;
  color: var(--secondary-text-color);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links-group a:hover {
  color: var(--primary-text-color);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .social-links {
    justify-content: center;
  }
}

.map-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-card:hover .map-container {
  opacity: 1;
}

.map-container iframe {
  border-radius: 15px;
}
