body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Header */
header {
  margin-right: 100PX;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px; /* Height for larger screens */
  background-color: #dbb03cb2;
  color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  transition: top 0.3s ease-in-out;
  flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

header.hidden {
  top: -100px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex: 1; /* Allow the logo to take up space */
}

.logo img {
  margin-top: 9PX;
  height: 80px;
  width: 79px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Navigation Links */
nav {
  flex: 2; /* Allow navigation to take space */
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap; /* Wrap links if space is limited */
}

nav a {
  margin: 5px 10px;
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  background-color: transparent;
  transition: background-color 0.2s;
}

nav a:hover {
  background-color: orange;
}

/* Hero Section */
.hero {
  text-align: center;
  background: url('charminar.webp') no-repeat center center/cover;
  background-size: cover; /* Ensures the image fully covers the area */
  min-height: 600px; /* Height of hero section set to more than 600px */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px; /* Add padding for smaller screens */
  animation: fadeIn 1s ease-in;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust transparency here */
  z-index: 2;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem; /* Adjusted size for larger screens */
  margin: 0;
  animation: fadeIn 3s ease-in-out;
}

.hero h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: orange;
  animation: slideUp 2s ease-in-out;
  font-size: 40px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.hero p {
  margin-top: 20px;
  font-size: 1.2rem;
  animation: fadeIn 3s ease-in-out;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  background-color: orange;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  animation: fadeIn 4s ease-in-out;
}

button:hover {
  background-color: darkorange;
}

/* Content */
.content {
  padding: 20px;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Media Queries for Responsiveness */
@media (max-width: 700px) {
  header {
    height: auto; /* Adjust height for smaller screens */
    padding: 10px;
    flex-direction: column; /* Stack logo and nav links */
    align-items: center;
  }

  .logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  .logo img {
    height: 50px; /* Adjust logo size */
    width: 50px;
  }

  nav {
    justify-content: center; /* Center nav links */
  }

  nav a {
    padding: 8px 10px; /* Adjust padding for links */
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2rem; /* Smaller headline */
  }

  .hero h2 {
    font-size: 1.5rem; /* Smaller subheadline */
  }

  .hero p {
    font-size: 1rem; /* Adjust text size */
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 0.8rem; /* Further reduce link size */
    margin: 5px;
  }

  .hero h1 {
    font-size: 1.8rem; /* Further reduce headline size */
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}
/* Services Section */
.services {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 50px 20px;
text-align: center;
background: linear-gradient(90deg, #3c3d3de6 50%, #ffa6004e 50%);
color: white;
}

.multi-line-color h2{
  text-decoration: underline;
  text-decoration-thickness: 5px;
}
.multi-line-color h2 {
  display: inline-block;  /* Ensure the text behaves like an inline-block element */
  position: relative;  /* For positioning the pseudo-elements */
}

.multi-line-color h2::before,
.multi-line-color h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 50%;  /* Control the length of the underline */
  height: 4px;  /* Adjust the thickness of the underline */
  transition: all 0.6s ease;
}

.multi-line-color h2::before {
  left: 0;  /* Position the left-side underline */
  background: linear-gradient(to right, orange, transparent);  /* Two-color gradient for the left part */
}

.multi-line-color h2::after {
  right: 0;  /* Position the right-side underline */
  background: linear-gradient(to left, #3c3d3de6, transparent);  /* Two-color gradient for the right part */
}

/* animation in service container*/
/* Slide-in animation */
@keyframes slideIn {
  0% {
    transform: translateY(50px);
    opacity: 2;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Initial state of the service-container (hidden and off-screen) */
.service-container {
  opacity: 0;
  transform: translateY(50px); /* Start off-screen */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Animated class when the element comes into view */
.service-container.animate {
  animation: slideIn 1s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}


.services h2 {
font-size: 2rem;
margin-bottom: 30px;
position: relative;
animation: fadeIn 2s ease-in-out;
}

.service-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
width: 100%;
max-width: 1200px;
}

.service {
flex: 1;
max-width: 45%;
background-color: transparent;
padding: 20px;
border-radius: 10px;
animation: slideUp 1.5s ease-in-out;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease-in-out;
}
/* Hero Section - Service Availability */
.hero .service-availability {
margin-top: 10px;
font-size: 1.5rem;
font-weight: bold;
color: #ffd700; /* Gold color for emphasis */
animation: fadeIn 3s ease-in-out; /* Add smooth fade-in animation */
}

/* Adjust text sizes for smaller screens */
@media (max-width: 768px) {
.hero .service-availability {
font-size: 1.2rem;
}
}

@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


.service:hover {
transform: scale(1.05);
}

.round-trip {
background-color:#3c3d3de6;
color: rgb(255, 255, 255);
}
.round-trip h3{
  text-decoration: underline;
  text-decoration-thickness: 1px; 
}

.drop-services {
background-color: orange;
color: black;
}
.drop-services h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px; 
}

.service h3 {
font-size: 1.8rem;
margin-bottom: 20px;
text-transform: uppercase;
}

.service p {
font-size: 1rem;
margin-bottom: 20px;
}

.service button {
padding: 10px 20px;
font-size: 1rem;
background-color: black;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.service button:hover {
background-color: rgba(255, 166, 0, 0.644);
}

/* Responsive Design */
@media (max-width: 768px) {
.service-container {
flex-direction: column;
}

.service {
max-width: 100%;
}

.services h2 {
font-size: 1.5rem;
}

.service h3 {
font-size: 1.5rem;
}

.service p {
font-size: 0.9rem;
}
}

@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@keyframes slideUp {
0% {
transform: translateY(30px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}


/* Explore More Button */
.explore-button {
  padding: 12px 24px; /* Button padding */
  background-color: #ff9800; /* A vibrant orange background */
  color: #fff; /* White text */
  border: none; /* Removes the default border */
  border-radius: 25px; /* Rounded corners */
  font-size: 1.2rem; /* Font size */
  font-weight: bold; /* Bold text */
  text-transform: uppercase; /* Capitalizes the text */
  cursor: pointer; /* Pointer cursor when hovering */
  position: absolute; /* Position relative to the parent container */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust to truly center the button */
  bottom: 20px; /* Moves the button 20px up from the bottom */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.main-explore {
  position: relative; /* Ensure the container is the reference point for the button */
  height: 150px; /* Set a fixed height for the container, or leave it dynamic based on content */
  background-color: whitesmoke /* Just for visual reference */
}

.explore-button a {
  color: white;
}

.explore-button:hover {
  background-color: #e68900; /* Darker shade of orange on hover */
  transform: translateX(-50%) translateY(-2px); /* Slight upward movement on hover */
}

.explore-button:focus {
  outline: none; /* Removes the outline when the button is clicked */
}

.explore-button:active {
  transform: translateX(-50%) translateY(0); /* Resets only the upward movement on click */
}

.explore-cities {
  text-align: center; /* Centers the text horizontally */
  font-weight: 300; /* Makes the text thinner */
  font-size: 1.2rem; /* Adjust the font size */
  margin: 0 auto; /* Centers the block element */
  padding: 1rem; /* Optional: Adds some space around the text */
  max-width: 800px; /* Limits the text width for better readability */
}

@media (max-width: 768px) {
  .explore-cities h3 {
      font-size: 1rem; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .explore-cities h3 {
      font-size: 0.9rem; /* Further adjust font size for mobile screens */
  }
}

/* why deccan cabs css */

.container1{
  background-color: orange;
}

.btnn button{
  border-radius: 8px;
  height: 3px;
}