/* General Styles */


.home {
  height: 100%;
  width: 100%;
  background: #0a0a0a;
  color: #e0e0e0;
}

.bg {
  background: linear-gradient(
    135deg,
    rgba(15, 12, 24, 0.95) 0%,
    rgba(32, 28, 48, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  width: 100%;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  
}

@media (max-width: 768px) {
  .home {
    height: auto;
    min-height: 100vh;
  }

  .bg {
    min-height: 100vh;
  }
}

/* Base styles */
.ellipse-1,
.ellipse-3,
.bg-image {
  position: fixed;
  width: 1906px; /* Original width */
  height: 366px; /* Fixed height */
  border-radius: 50%;
  backdrop-filter: blur(100px);
  
  top: -135px; /* Keep it on top */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6),
  inset 0 4px 8px rgba(255, 255, 255, 0.1);
   
}
/* Ellipse 1 specific styles */
.ellipse-1 {
  background: linear-gradient(
    to left,
    rgba(111, 107, 107, 0.15),
    rgba(111, 107, 107, 0.15)
  );
  border-style: solid;
  border-color: rgba(111, 107, 107, 0.15);
  border-width: 15px;
}
/* Ellipse 3 specific styles */
.ellipse-3 {
  background: rgba(217, 217, 217, 0.3);
  z-index: 2;
}
/* Background image specific styles */
.bg-image {
  
  border-color: rgba(111, 107, 107, 0.15);
  border-width: 15px;
 
}
/* Media Query for Screens <= 768px */
@media (max-width: 900px) {
  .ellipse-1,
  .ellipse-3,
  .bg-image {
    width: 110vw; /* Width becomes 80% of viewport width */
    top: -150px; /* Adjust top for smaller screens */
  }
}
/* Media Query for Screens <= 480px */
@media (max-width: 800px) {
  .ellipse-1,
  .ellipse-3,
  .bg-image {
    width: 150vw; /* Width becomes 90% of viewport width */
    top: -150px;/* Adjust top for even smaller screens */
  }
}
/* Animated Search Bar */
.search-bar {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-bar:hover {
  
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

#search-input:focus {
  animation: glow 1.5s infinite alternate;
}
@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  to {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  }
}
#search-input {
  width: 100%;
  height: 100%;
  padding-left: 60px;
  border: none;
  background: transparent;
  outline: none;
  color: rgb(223, 211, 211);
}
#search-button {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
}
#suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(217, 217, 217, 0.3);
  border: 1px solid grey;
  border-radius: 4px;
  box-shadow: 0px 2px 4px rgba(73, 71, 71, 0.947);
  list-style: none;
  margin: 0;
  padding: 5px;
  display: none;
  z-index: 1000;
}
#suggestions-list li {
  padding: 10px;
  cursor: pointer;
  color: rgb(223, 211, 211);
}

#suggestions-list li:hover {
  background: rgba(32, 28, 48, 0.95);
}

.frame-7 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1252px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 211px;
  transform: translateX(-50%);
  margin-top: 50px;
}

.most-popular-places {
  color: #f59e0b;
  left: -20px;
  font-family: "Jaini Purva", serif;
  font-size: 32px;
  font-weight: 400;
  flex: 1;
  min-width: 200px;
  text-shadow: 0 0 8px rgba(78, 68, 109, 0.6);
  position: relative;
  
}
.most-popular-places::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4e446d, transparent);
  animation: lineFlow 3s infinite;
}

@keyframes lineFlow {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
.view-more {
  color: #5a5a5b;
  text-align: center;
  font-family: "Inter", serif;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  width: auto;
  padding: 5px 5px;
  min-width: 98px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.view-more:hover {
  color: #080e74; /* Change color on hover */
  text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
  .frame-7 {
    flex-direction: row;
    align-items: center;
    top: 200px;
    
  }

  .most-popular-places {
    font-size: 24px;
    text-align: left;
  }

  .view-more {
    font-size: 18px;
    margin-top: 10px;
    text-align: right;
  }
}
.popular-place {
   display: flex;
  flex-direction: row; /* Maintain horizontal layout */
  gap: 50px; /* Space between items */
  align-items: normal;
  justify-content: flex-start;
  text-shadow: 0 0 8px rgba(78, 68, 109, 0.6);
  position: relative;
  max-width: 98%; /* Limit width to the container */
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrolling */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  
  perspective: 1500px;
  top: 350px;
  z-index: 0;
  padding: 7px;
}

.popular-place::-webkit-scrollbar {
  display: none;
}

.place-1, .place-2, .place-3, .place-4, .place-5, .place-6, .place-7 {
   flex-shrink: 0;
  width: 100%; /* Make width 100% to adjust to container size */
  max-width: 222px; /* Maximum width */
  height: 278px;
  position: relative;
  margin: 10px;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  perspective: 1500px;
}

.place-1:hover, .place-2:hover, .place-3:hover, .place-4:hover, .place-5:hover, .place-6:hover, .place-7:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.travel-around-the-world-by-adoreth-d-8-yrmwn-pre {
   border-radius: 35px;
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  object-fit: cover;
  transition: filter 0.3s, transform 0.3s;
  filter: brightness(0.9);
  perspective: 1500px;
  object-fit: cover;
  transition: filter 0.4s, transform 0.4s;
}

.place-1:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre,
.place-2:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre,
.place-3:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre,
.place-4:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre,
.place-5:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre,
.place-6:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre,
.place-7:hover .travel-around-the-world-by-adoreth-d-8-yrmwn-pre {
  filter: brightness(0.8);
  transform: scale(1.08);
}

.name-loc {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 86%;
  padding: 12px;
  background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.5));
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(100%);
}

.place-1:hover .name-loc,
.place-2:hover .name-loc,
.place-3:hover .name-loc,
.place-4:hover .name-loc,
.place-5:hover .name-loc,
.place-6:hover .name-loc,
.place-7:hover .name-loc {
  opacity: 1;
  transform: translateY(0);
}

.abcd {
  font-size: 18px;
  font-weight: 600;
  color: #ffd700;  /* Golden */
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.vector2, .vector3, .vector4, .vector5, .vector6, .vector7, .vector8 {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 3px #ffd700);
}

.abcd2 {
  font-size: 14px;
  color: #ddd;
}

@media (max-width: 768px) {
  .popular-place {
    gap: 15px;
  }

  .place-1, .place-2, .place-3, .place-4, .place-5, .place-6, .place-7 {
    width: 180px;
    height: 220px;
  }

  .abcd {
    font-size: 16px;
  }

  .abcd2 {
    font-size: 12px;
  }
}

/* Base styles */
/* General Styles */
.frame-8 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.frame-6 {
  display: flex;
  align-items: center;
  gap: 20px;
}


/* Profile Picture */
.profile-pic {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  padding: 22px;
  perspective: 1500px;
  
}
/* Search Bar */
.search-bar {
  width: 50%;
  height: 6%;
  position: fixed;
  top: 18%;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  border-radius: 35px;
  background: linear-gradient(to left, rgba(217, 217, 217, 0.3), rgba(217, 217, 217, 0.3));
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 3;
}
#search-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: white;
  outline: none;
}
#search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 40px;
  color: white;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
  width: 100%;
  padding-left: 2%;
  top: 10%;
}
.icon-text-container {
  display: flex;
  align-items: center;  /* Icon aur text ko vertically center karega */
  gap: 7px; /* Icon aur text ke beech gap */
  
}

.icon {
  width: 24px;  /* Icon size */
  height: 24px;
}
.text {
  font-size: 16px;
  color: white;
  padding-left: 10px;
  padding-right: 2px;
  
}
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 40px;
  background: rgba(83, 29, 29, 0.1); /* Glass Effect */
  backdrop-filter: blur(8px); /* Blur for Glass Effect */
  border-radius: 13px;
  border: 1px solid rgba(17, 11, 86, 0.3); /* Golden Border */
  cursor: pointer;
  transition: 0.3s;
  color: #ffd700; /* Golden Text */
}

.icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffd700;
}

.icon img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  filter: drop-shadow(0 0 5px #443ebc); /* Golden Glow */
}

.icon span {
  font-weight: 500;
  font-size: 14px;
}
/* Responsive Design */
@media (max-width: 900px) {
  .nav-container {
    width: 100%;
    flex-wrap: wrap;
    top: 12%;
    
  }

  .icon {
    padding: 2px;
    width: 100px;
    height: 40px;
  }
  

  .profile-pic {
    width: 70px;
    height: 70px;
  }

  .search-bar {
    width: 70%;
  }
}

@media (max-width: 600px) {
  .nav-container {
    width: 90%;
    flex-wrap: wrap;
    top: 12%;
  }

  .icon {
    padding: 2px;
    width: 30px;
    height: 40px;
  }
  
  .profile-pic {
    width: 60px;
    height: 60px;
    
  }
  .text {
    display: none;
  }

  .search-bar {
    width: 80%;
    height: 35px;
  }
}
.home4 {
    font-size: 10px; /* Smaller font size on extra small screens */
  }
  .frame-12 {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
/* Title styling - with animations */
.country-name {
  font-family: "Jaini Purva", serif;
  font-size: 3rem;
  color: #f59e0b;
  text-align: center;
  margin: 40px 0;
  margin-top: 340px;
  position: relative;
  padding-bottom: 15px;
  animation: titleEntrance 1s ease-out forwards;
}

@keyframes titleEntrance {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Permanent underline with animation */
.country-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #6b5734, transparent);
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(31, 47, 63, 0.5);
  animation: lineGlow 2s infinite alternate;
}

@keyframes lineGlow {
  from {
    opacity: 0.7;
    box-shadow: 0 0 8px#ca973e;
  }
  to {
    opacity: 1;
    box-shadow: 0 0 15px #c09b5c;
  }
}

/* Square image grid layout with animations */
.images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 50px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Square country card styling with animations */
.images > div {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 51, 102, 0.3);
  animation: cardEntrance 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px) rotate(2deg);
  transition: 
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

/* Staggered animation delays for cards */
.images > div:nth-child(1) { animation-delay: 0.1s; }
.images > div:nth-child(2) { animation-delay: 0.2s; }
.images > div:nth-child(3) { animation-delay: 0.3s; }
.images > div:nth-child(4) { animation-delay: 0.4s; }
.images > div:nth-child(5) { animation-delay: 0.5s; }
.images > div:nth-child(6) { animation-delay: 0.6s; }
.images > div:nth-child(7) { animation-delay: 0.7s; }
.images > div:nth-child(8) { animation-delay: 0.8s; }
.images > div:nth-child(9) { animation-delay: 0.9s; }
.images > div:nth-child(10) { animation-delay: 1.0s; }
.images > div:nth-child(11) { animation-delay: 1.1s; }
.images > div:nth-child(12) { animation-delay: 1.2s; }
.images > div:nth-child(13) { animation-delay: 1.3s; }
.images > div:nth-child(14) { animation-delay: 1.4s; }
.images > div:nth-child(15) { animation-delay: 1.5s; }
.images > div:nth-child(16) { animation-delay: 1.6s; }
.images > div:nth-child(17) { animation-delay: 1.7s; }
.images > div:nth-child(18) { animation-delay: 1.8s; }
.images > div:nth-child(19) { animation-delay: 1.9s; }
.images > div:nth-child(20) { animation-delay: 2.0s; }
.images > div:nth-child(21) { animation-delay: 2.1s; }
.images > div:nth-child(22) { animation-delay: 2.2s; }
.images > div:nth-child(23) { animation-delay: 2.3s; }

/* Square image styling with hover animation */
.country-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.4s ease;
  
}

/* Hover effects with subtle golden lights */
.images > div:hover {
  transform: 
    scale(1.05) 
    perspective(1000px) 
    rotateX(5deg) 
    rotateY(-2deg);
  box-shadow: 
    0 10px 20px rgba(255, 215, 0, 0.3),
    0 0 10px rgba(255, 215, 0, 0.4),
    0 0 20px rgba(255, 215, 0, 0.2);
  border-color: #FFD700;
  z-index: 1;
  transition: all 0.4s ease;
}


.images > div:hover .country-img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.05);
}

/* Shine effect on hover */
.images > div::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255,255,255,0) 25%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0) 75%
  );
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.4s ease;

}

.images > div:hover::after {
  opacity: 1;
  animation: shine 1s ease;
}

@keyframes shine {
  from { transform: translateX(-100%) rotate(45deg); }
  to { transform: translateX(100%) rotate(45deg); }
}

/* Responsive design */
@media (max-width: 768px) {
  .images {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .country-name {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .images {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 15px;
  }
  
  .country-name {
    font-size: 2rem;
    padding-bottom: 10px;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(0.98); }
}

.skeleton-loading {
  animation: pulse 1.5s infinite;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.skeleton-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shine 1.5s infinite;
}

@keyframes shine {
  100% {
    left: 200%;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .most-popular-places::after {
    background-size: 200% 100%;
    animation: lineFlowMobile 4s infinite;
  }

  @keyframes lineFlowMobile {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
}
.place-8 {
  flex-shrink: 0;
  width: 222px;
  height: 278px;
  position: relative;
}
.vector15 {
  flex-shrink: 0;
  width: 14.06px;
  height: 25px;
  position: relative;
  overflow: visible;
}



.hidden {
    display: none;
}

.suggestions-list {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    z-index: 5;
}

.suggestions-list li {
    padding: 8px 12px;
    cursor: pointer;
}

.suggestions-list li:hover {
    background-color: #f0f0f0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #0a0e27; /* Dark Blue */
  color: #fff;
  padding: 20px;
}

.frame-6 {
  position: relative;
  display: inline-block;
  margin-right: 20px;
}


.icon:hover {
  background-color: #d6b245; /* Golden */
}

.dropdown {
  position: absolute;
  top: 45px;
  left: 0;
  background-color: rgba(32, 28, 48, 1.95);
  border: 1px solid #f59e0b;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 150px;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
}

.dropdown.visible {
  opacity: 1;
  transform: scale(1);
}

.dropdown li {
  padding: 10px 20px;
}

.dropdown li a {
  text-decoration: none;
  color: #fff;
  display: block;
  
  border-radius: 12px;
  transition: background-color 0.3s, color 0.3s, padding 0.3s;
}

.dropdown li a:hover {
  background-color: #dabd63;  /* Golden background */
  color: #00274d;             /* Dark blue text */
  padding: 6px;
}

