html {
  scroll-behavior: smooth;
}
.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;           
  padding: 10px 5%;             
  background-color: #fff;        
}
.logo img {
  height: 80px;                 
  width: auto;
  max-height: 72px;
  max-width: 220px;
  object-fit: contain;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  margin-left: 20px;            
  font-weight: 500;
}
.nav-links a:hover{
  color: orange;
  font-weight: bold;
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;      
    text-align: center;
  }

  .nav-links {
    margin-top: 15px;            
  }

  .nav-links a {
    margin: 0 10px;              
    font-size: 14px;
  }
  .nav-links a:hover{
  color: orange;
  font-weight: bold;
}
}
video{
    border-radius: 1%;
}
.heading-title{
  color: orange;
  font-family: 'Times New Roman', Times, serif;
  font-size:xx-large;
}
.rainbow-text {
  background: linear-gradient(
    to right, 
    red, orange, yellow, green, blue, purple,orange
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  font-size: 2rem;
  display: inline-block;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  perspective: 1000px;
}

.card {
  position: relative;
  width: 280px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(42, 125, 163, 0.9);
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  z-index: 10;
  transition: all 0.3s ease;
}

.card:hover .card-title {
  opacity: 0;
  visibility: hidden;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 20;
}

.card-body {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

/* Hover States */
.card:hover .card-overlay {
  opacity: 1;
}

.card:hover .card-body {
  transform: translateY(0);
}

.card:hover img {
  transform: scale(1.1);
}

.card-footer {
  background: rgba(42, 125, 163, 0.9); 
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}

@keyframes rollIn {
  0% {
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.roll-in {
  animation: rollIn 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.3s; }
.card:nth-child(3) { animation-delay: 0.5s; }
.card:nth-child(4) { animation-delay: 0.7s; }


.dest-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.dest {
  position: relative;
  width: 580px;
  height: 400px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 3px solid transparent;
}

.dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.5s;
}
.dest:hover .dest-title {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dest-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(42, 125, 163, 0.95);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  z-index: 10;
}

.dest-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0); 
  transition: all 0.5s ease;
  pointer-events: none; 
}

.frame-title {
  color: white;
  font-size: 1.8rem;
  font-family: sans-serif;
  opacity: 0; /* Hidden initially */
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}


.dest:hover img {
  transform: scale(0.85); 
  border-radius: 5px;
}


.dest:hover .dest-overlay {
  background: rgba(0, 0, 0, 0.3); 
  transform: scale(0.85); 
}

.dest:hover .frame-title {
  opacity: 1; 
  transform: translateY(0);
}

.dest:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 3px solid rgba(42, 125, 163, 0.9);
}

.text {
  background: linear-gradient(
    to right, 
    red, orange, yellow, green,blue
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  font-size: 2rem;
  display: inline-block;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}
.home-about-section {
    padding: 100px 10%;
    background-color: #fdfdfd;
    overflow: hidden;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.about-image-side img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 15px 15px 0px #009688;
    transition: 0.5s;
}

.about-image-side:hover img {
    transform: scale(1.03);
    box-shadow: 20px 20px 0px ; 
}

.about-text-side {
    flex: 1.2;
}

.about-text-side h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text-side p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #009688;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.read-more-btn:hover {
    background-color: #333;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .about-image-side img {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

.contact-section {
    padding: 80px 10%;
    background-color: #fff;
}

.contact-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:valid:not(:placeholder-shown) {
    border-color: #009688;
}

.send-btn {
    padding: 15px;
    background: #009688;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
}

.send-btn:hover {
    background: #00796b;
    transform: translateY(-2px);
}

.main-footer {
    background: rgba(42, 140, 163, 0.95);
    color: white;
    padding: 60px 0 20px 0;
    font-family: 'Poppins', sans-serif;
}

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

.footer-box {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    height: 70px;
}

.footer-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-box h3::after {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100px;
    height: 3px;
    background: white; 
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
}


.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
}


.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-box h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
    }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
label,
button {
  overflow-wrap: anywhere;
}

.navbar {
  flex-wrap: wrap;
  gap: 10px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.heading-title {
  text-align: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  margin-left: 0;
  padding: 6px 10px;
}

.about-flex {
  flex-wrap: wrap;
}

.about-image-side,
.about-text-side {
  flex: 1 1 320px;
  min-width: 0;
}

.about-image-side img {
  width: 100%;
  height: auto;
}

.card-container {
  padding: 24px;
  gap: 16px;
}

.card {
  width: min(100%, 320px);
}

.card-body {
  max-height: calc(100% - 70px);
  overflow-y: auto;
  padding-right: 4px;
}

.dest {
  width: min(100%, 580px);
  height: auto;
  aspect-ratio: 29 / 20;
}

.dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section {
  padding: 60px 6%;
}

.contact-wrapper {
  width: min(100%, 680px);
  margin-inline: auto;
}

.main-footer {
  padding-left: 6%;
  padding-right: 6%;
}

@media (max-width: 992px) {
  .heading-title {
    font-size: 1.6rem;
  }

  .home-about-section {
    padding: 70px 6%;
  }

  .card {
    width: min(100%, 46vw);
  }
}

@media (max-width: 768px) {
  .heading-title {
    font-size: 1.3rem;
  }

  .rainbow-text,
  .text {
    font-size: 1.5rem;
  }

  .card-container {
    padding: 16px;
  }

  .card {
    width: min(100%, 380px);
    height: 360px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-body p {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .dest {
    aspect-ratio: 16 / 11;
  }

  .contact-wrapper {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 4%;
  }

  .logo img {
    max-width: 150px;
  }

  .heading-title {
    font-size: 1.1rem;
  }

  .rainbow-text,
  .text {
    font-size: 1.2rem;
  }

  .home-about-section {
    padding: 50px 4%;
  }

  .card {
    width: 100%;
    height: 340px;
  }

  .dest-container {
    padding: 8px;
    gap: 12px;
  }

  .dest {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .contact-section {
    padding: 40px 4%;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding: 14px 8px;
  }
}