* {
  padding: 0;
  margin: 0;
  box-sizing: border;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

/* Navbar Section */
.navbar {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: white !important;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s;
}

.nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: white;
  font-weight: 600;
  border-bottom: 2px solid white;
}

/* Emergency Navbar Item */
.emergency-link {
  background-color: #e11f33; /* Beautiful Red */
  color: #fff !important; /* White Text */
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  /* font-weight: bold; */
}

/* Hover Effect */
.emergency-link:hover {
  background-color: #be091e; /* Darker Red */
  transform: scale(1.1); /* Slight Zoom */
  box-shadow: 0 0 10px rgba(113, 170, 205, 0.6); /* Red Glow */
}

/* Optional: Make Icon White */
.emergency-link i {
  color: #fff;
}

/* For Index.html styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --light-color: #ecf0f1;
  --partner-color: #9b59b6;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../mountain-ranges-5938639.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: white;
  padding: 150px 20px;
  text-align: center;
  margin-bottom: 50px;
  height: 100vh;
}

/* Hero Section Heading */
.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 2.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

/* Hero Section Paragraph */
.hero-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Two div (under hero section) */
.under-hero-section.card {
  transition: transform 0.3s ease; /* Add a smooth transition for the transform property */
}

.under-hero-section.card:hover {
  transform: translateY(-5px); /* Move the card up slightly on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover */
}

.travel-heading .text-danger {
  transition: color 0.3s ease;
}

.travel-heading .text-danger:hover {
  color: #ff8484; /* Slightly lighter red on hover */
}

.travel-heading .text-info {
  transition: color 0.3s ease;
}

.travel-heading .text-info:hover {
  color: #6ad6cc; /* Slightly lighter blue on hover */
}
.card-text {
  margin-top: 1.5rem;
}

.btn {
  margin-top: 3rem;
  transition: transform 0.2s ease-in-out; /* Add transition to buttons */
}

.btn:hover {
  transform: scale(1.05); /* Slightly scale up the button on hover */
}

/* Add weather styles */
.weather-alerts-content {
  padding: 20px;
}

.weather-alerts-content h4 {
  font-size: 1.2em; /* Adjust as needed */
  margin-bottom: 5px;
  color: #333; /* Dark gray color */
}

.weather-alerts-content p {
  font-size: 1.1em; /* Slightly smaller than heading */
  margin-bottom: 15px;
  color: #666; /* Medium gray color */
}

.weather-alerts-content hr {
  border: 1px solid #4f4c4c; /* Light gray separator */
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Optional: Add a subtle background or border for each city's info */
.weather-alerts-content > div {
  /* Target the implicit div created by innerHTML */
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 5px;
  /* background-color: #f9f9f9; Light background */
  /* border: 1px solid #eee; Light border */
}

/* Style for the time */
.weather-alerts-content h4 span.time {
  font-size: 0.9em;
  color: #777;
  font-style: italic;
}
/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 20px; /* Reduce padding for mobile */
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* Gemini Section */
.gemini-section {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 15px;
  color: var(--dark-color);
  font-weight: 700;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.gemini-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa, #e4e8eb);
  max-width: 800px;
  margin: 0 auto;
}

.gemini-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
}

.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  margin-bottom: 20px;
}

.btn-gemini {
  background: linear-gradient(135deg, var(--primary-color), #2980b9);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
  width: 100%;
}

.btn-gemini:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.itinerary-result {
  display: none;
  margin-top: 30px;
  padding: 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--secondary-color);
}

.download-btn {
  background: linear-gradient(135deg, var(--secondary-color), #27ae60);
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
  margin-top: 20px;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.6);
}

/* Features Section */
/* Card Hover Effects */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border: none !important;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
  transition: transform 0.5s ease;
  height: 60%;
  object-fit: cover;
}

.card:hover .card-img-top {
  transform: scale(1.08);
}

.card-body {
  transition: all 0.3s ease;
  background: white;
  position: relative;
  z-index: 1;
}

.card:hover .card-body {
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.card:hover .card-title {
  color: #0d6efd; /* Changes title color on hover */
}

.card:hover .card-text {
  color: #555; /* Darkens text slightly on hover */
}

.btn-primary {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover .btn-primary {
  background-color: #0b5ed7;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: all 0.5s ease;
}

.card:hover .btn-primary::after {
  left: 120%;
}

.features-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.feature-card {
  border: none;
  border-radius: 12px;
  padding: 30px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Loading Spinner */
.spinner-border {
  display: none;
  width: 3rem;
  height: 3rem;
  margin: 20px auto;
}
/* rental */
/* Partner Cards */
.partner-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
  border: 2px solid var(--partner-color);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(155, 89, 182, 0.3);
}

.partner-header {
  background-color: var(--partner-color);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.partner-badge {
  background-color: var(--partner-color);
  color: white;
}

.partner-benefit {
  color: var(--partner-color);
  font-weight: 600;
}

/* Special Offer Ribbon */
.ribbon {
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: var(--partner-color);
  color: white;
  padding: 3px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
