* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  padding-top: 80px; /* To offset the fixed navbar */
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  min-height: 100vh;
}

nav {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 16px;
            padding: 15px 40px;
            background-color: white;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .logo img { height: 40px; width: auto; display: block; margin-top: 4px; cursor:pointer; }

        .logo {
            display: flex;
            align-items: center;
        }

        .auth-buttons { display: none; }

        .nav-links {
            display: flex;
            gap: 15px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .nav-link {
            text-decoration: none;
            color: #555;
            font-weight: 500;
            font-size: 16px;
            padding: 8px 16px;
            border-radius: 20px;
            transition: all 0.3s ease;
            background-color: #f8f8f8;
            border: 1px solid #e0e0e0;
        }

        .nav-link:hover {
            background-color: #ebecec;
            color: #333;
            border-color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .nav-link:active {
            transform: translateY(0);
            box-shadow: none;
        }

        /* Nav Search Bar */
        .nav-search {
            display: flex;
            align-items: center;
            background: #f4f4f4;
            border: 1.5px solid #e0e0e0;
            border-radius: 25px;
            padding: 6px 14px;
            gap: 8px;
            max-width: 340px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-search:focus-within {
            border-color: #FF6820;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(255, 104, 32, 0.12);
        }

        .nav-search i { color: #767676; font-size: 14px; flex-shrink: 0; }

        .nav-search input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 14px;
            color: #333;
            width: 180px;
            font-family: 'Inter', sans-serif;
        }

        .nav-search input::placeholder { color: #767676; }

        .nav-search-btn {
            background: #FF6820;
            color: #fff;
            border: none;
            border-radius: 20px;
            padding: 5px 14px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: background 0.2s ease;
            font-family: 'Inter', sans-serif;
        }

        .nav-search-btn:hover { background: #e05510; }

        /* Autocomplete Dropdown */
        .nav-suggestions-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: 320px;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            z-index: 9999;
            overflow: hidden;
            max-height: 320px;
            overflow-y: auto;
        }

        .nav-suggestion-header {
            padding: 8px 16px;
            font-size: 11px;
            font-weight: 700;
            color: #767676;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            background: #fafafa;
            border-bottom: 1px solid #f0f0f0;
        }

        .nav-suggestion-item {
            padding: 10px 16px;
            font-size: 14px;
            color: #333;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.15s;
        }

        .nav-suggestion-item:hover {
            background: #fff5f0;
            color: #FF6820;
        }

        .nav-suggestion-item i {
            color: #FF6820;
            font-size: 13px;
            width: 16px;
        }

        @media (max-width: 900px) {
            .nav-search { display: none; }
        }



        /* Content styles */

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section {
  background: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.placeholder {
  height: 300px;
  background: linear-gradient(45deg, #3498db, #9b59b6);
  border-radius: 8px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  .nav-links {
    display: none; /* Hide nav links on mobile */
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }
}

/* Responsive styles for navbar only */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 12px 15px;
  }

  .logo img { height: 40px; width: auto; display: block; margin-top: 4px; }
}

.mobile-menu-btn {
  display: none;
}

/* odisha introduction container */

.andhra-pradesh-introduction-container {
  background-color: #ffffff;
  max-width: 1200px;
  border-color: #000;
  width: 100%;
  height: auto; min-height: 150px;
  margin: 30px auto;
  position: relative;
  /* overflow: hidden; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */ }

  /* Section Styles */
  section {
    padding-top: 20px;
  }

  .section-title {
    text-align: center;
    margin-bottom: 20px;
  }

  .section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
  }

  .section-title p {
    color: #595959;
    max-width: 700px;
    font-weight: 400;
    text-align: center;
    margin: 0 auto;
  }

  /* About Section */

  .about-text {
    /*width: 1100px;*/
    width: 95%;
    font-size: 0.9rem;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    position: relative;
    margin: 20px auto;
  }
  p{ padding: 4px; }

/* Swiper Demo styles */

.swiper {
  width: 100%; max-width: 100%; max-width: 100%; max-width: 1200px;
  height: 400px;
  border-radius: 12px;
}

.swiper-wrapper {
  width: 100%;
  height: 400px;
}

.swiper-slide {
  width: 100%;
  height: 400px;
  text-align: center;
  color: #000;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* Responsive styles for all devices */
@media (max-width: 1200px) {
  .swiper,
  .swiper-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .about-text {
    width: 90%;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }

  .andhra-pradesh-introduction-container {
    height: auto;
    padding: 20px;
  }

  .swiper,
  .swiper-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .swiper,
  .swiper-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .logo img { height: 40px; width: auto; display: block; margin-top: 4px; }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 0.9rem;
  }

  .about-text {
    width: 95%;
    font-size: 0.9rem;
  }

  .swiper,
  .swiper-wrapper {
    height: 250px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Mobile menu styles */
.mobile-menu-btn {
  display: none;
}

/* odisha most search places container */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
}

h1 {
  font-size: 2.8rem;
  color: #1a3a5f;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

h1:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: #ff8000;
  border-radius: 3px;
}

.subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Odisha Most Searchable Places Carousel */
.andhra-pradesh-most-searchable-places-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.andhra-pradesh-most-searchable-places-title {
  font-size: 32px;
  margin-bottom: 25px;
  color: #1a3a5f;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.andhra-pradesh-most-searchable-places-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff8000;
  margin: 10px auto 0;
  border-radius: 2px;
}

.andhra-pradesh-most-searchable-places-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 10px 0;
}

.andhra-pradesh-most-searchable-places-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.andhra-pradesh-most-searchable-places-group {
  display: flex;
  flex: 0 0 100%;
  justify-content: space-between;
  padding: 0 10px;
  gap: 20px;
}

.andhra-pradesh-most-searchable-places-item {
  width: calc(25% - 15px);
  height: 280px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.andhra-pradesh-most-searchable-places-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.andhra-pradesh-most-searchable-places-img-container {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.andhra-pradesh-most-searchable-places-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.andhra-pradesh-most-searchable-places-item:hover
  .andhra-pradesh-most-searchable-places-img {
  transform: scale(1.08);
}

.andhra-pradesh-most-searchable-places-info {
  padding: 15px;
  flex-grow: 1;
  background: #fff;
}

.andhra-pradesh-most-searchable-places-name {
  font-weight: 700;
  margin-bottom: 5px;
  color: #1a3a5f;
  font-size: 16px;
}

.andhra-pradesh-most-searchable-places-location {
  font-size: 14px;
  color: #666;
}

.andhra-pradesh-most-searchable-places-nav {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.andhra-pradesh-most-searchable-places-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.andhra-pradesh-most-searchable-places-dot.active {
  background-color: #ff8000;
  transform: scale(1.2);
}

.andhra-pradesh-most-searchable-places-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: #1a3a5f;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.andhra-pradesh-most-searchable-places-arrow:hover {
  background-color: #ff8000;
  color: white;
}

.andhra-pradesh-most-searchable-places-arrow.prev {
  left: 15px;
}

.andhra-pradesh-most-searchable-places-arrow.next {
  right: 15px;
}

@media (max-width: 992px) {
  .andhra-pradesh-most-searchable-places-item {
    width: calc(33.33% - 14px);
  }
}

@media (max-width: 768px) {
  .andhra-pradesh-most-searchable-places-item {
    width: calc(50% - 10px);
  }

  .andhra-pradesh-most-searchable-places-group {
    gap: 15px;
  }

  h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .andhra-pradesh-most-searchable-places-item {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .andhra-pradesh-most-searchable-places-group {
    justify-content: center;
  }

  .andhra-pradesh-most-searchable-places-title {
    font-size: 26px;
  }

  h1 {
    font-size: 1.8rem;
  }
}

/* All places in Odisha */

/* Main container for the state cards */
.states-container {
  display: grid;
  /* Creates a responsive grid that adjusts the number of columns based on screen width */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px; /* Increased gap for better spacing with images */
  padding: 25px;
  width: 100%;
  max-width: 1200px; /* Max width for larger screens */
  margin: 0 auto; /* Centers the container */
  font-family: "Inter", sans-serif; /* A clean, modern font */
}

/* Styling for each individual state card */
.state-card {
  background-color: #ffffff; /* White background for the card */
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for a "floating" effect */
  padding: 15px; /* Adjusted padding to accommodate the image */
  text-align: center;
  color: #333; /* Dark text color for readability */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease; /* Smooth transition for hover effect */
  overflow: hidden; /* Ensures the image corners are rounded */
}

/* Styling for the state card image */
.state-card img {
  width: 100%; /* Makes the image responsive */
  height: 140px; /* Gives a consistent height to the images */
  object-fit: cover; /* Ensures the image covers the area without distortion */
  border-radius: 8px; /* Slightly rounded corners for the image */
  margin-bottom: 15px; /* Space between the image and the state name */
}

/* Styling for the state name */
.state-name {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Styling for the state location label */
.andhra-pradesh-state-name-location {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
  font-weight: 400;
}

/* Hover effect to make the cards interactive */
.state-card:hover {
  transform: translateY(-5px); /* Lifts the card slightly on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Enhances the shadow on hover */
}

/* Footer */
.trip-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: white;
  color: #333;
  padding: 10px 20px 20px;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 10px 15px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.legal-links a {
  color: #5947be;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
  color: #FF6820;
}

.disclaimer {
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }

  .footer-col {
    margin-bottom: 20px;
  }

  
}

/* swiper-mobile-fix */
@media (max-width: 768px) {
    /* Prevent horizontal scroll from carousel */
    .andhra-pradesh-most-searchable-places-carousel,
    [class*="-most-searchable-places-carousel"] { overflow: hidden; }

    /* Allow items to wrap on small screens so they don't overflow */
    [class*="-most-searchable-places-group"] {
        flex-wrap: wrap;
        justify-content: center;
    }
    [class*="-most-searchable-places-item"] {
        width: calc(50% - 10px) !important;
        min-width: 140px;
    }
}
@media (max-width: 480px) {
    [class*="-most-searchable-places-item"] {
        width: calc(50% - 10px) !important; min-width: 140px; margin: 0; max-width: none;
    }
}
/* Mobile text alignment */
@media (max-width: 768px) {
    .about-text p { text-align: left; }
    .andhra-pradesh-introduction-container { height: auto !important; padding: 15px; }
}


/* Mobile Legal Links Fix */
@media (max-width: 768px) {
    .legal-links {
        flex-direction: row !important;
        gap: 2px 12px !important;
        margin: -8px 0 -5px 0 !important;
        justify-content: center !important;
    }
    .legal-links a {
        font-size: 0.85rem !important;
    }
}

/* Hamburger Size Fix */
.mobile-menu-btn span {
    width: 28px !important;
    height: 3px !important;
    background: #000 !important;
}

/* Universal Hamburger Icon Fix */
.mobile-menu-btn {
    display: none !important;
}
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        width: 48px !important;
        height: 48px !important;
        padding: 8px !important;
    }
    .mobile-menu-btn span {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background: #000 !important;
        margin: 0 !important;
        border-radius: 2px !important;
    }
}
