/* reset the page*/
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
input,
label,
button,
ion-icon { display: block; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

ion-icon { pointer-events: none; }

html {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body { background:hsl(0, 0%, 100%);
  
}
/* multiple times reused styles */
.container { padding-inline: 30px; }

.btn {
  color: hsl(0, 0%, 100%);
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 100px;
  padding: var(--padding, 8px 18px);
  border: var(--border-width, 2px) solid transparent;
  transition: 0.25s ease-in-out;
}

.btn-primary {
  background: hsl(214, 57%, 51%);
  border-color: hsl(214, 57%, 51%);
}

.btn-primary:is(:hover, :focus) {
  background: hsl(214, 72%, 33%);
  border-color: hsl(214, 72%, 33%);
}

.btn-secondary { border-color: hsl(0, 0%, 100%); }

.btn-secondary:is(:hover, :focus) { background: hsla(0, 0%, 100%, 0.1); }

.h1,
.h2,
.h3 {
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.h1 {
  color: hsl(0, 0%, 100%);
  font-size: calc(20px + 3.5vw);
}

.h2,
.h3 { color: hsl(206, 34%, 20%); }

.h2 { font-size: calc(18px + 1.6vw); }

.h3 {
  font-size: calc(16px + 0.45vw);
  font-weight: 700;
}

.section-subtitle {
  color: hsl(214, 57%, 51%);
  font-size: 14px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 8px;
}

.section-title { margin-bottom: 15px; }

.section-text {
  color: hsl(225, 8%, 42%);
  margin-bottom: 30px;
}

.card-text {
  color: hsl(225, 8%, 42%);
  font-size: 14px;
}

/* header */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 75px;
  z-index: 4;
}

.header-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: 0.25s ease-in-out;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-block: 15px;
  z-index: 1;
}

.header.active .header-top {
  position: fixed;
  background: hsl(206, 34%, 20%);
}

.header-top .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: flex-start;
  align-items: center;
}

.helpline-box .wrapper { display: none; }

.helpline-box .icon-box {
  background-color: hsl(35, 47%, 43%);
   border-color: hsl(56, 18%, 16%);
  padding: 6px;
  border-radius: 50%;
  color: hsl(0, 0%, 100%);
}

.helpline-box .icon-box ion-icon { --ionicon-stroke-width: 40px; }

.header-top .logo { 
  margin-inline: auto;
 }

.header-top .logo img { max-width: 100px; }

.header-btn-group {
  justify-self: flex-end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(0, 0%, 100%);
}

.search-btn,
.nav-open-btn {
  font-size: 30px;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

.search-btn { 
  font-size: 20px; 
}


#search-input {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px; 
  padding: 8px 12px;
  border: 1px solid hsl(0, 0%, 100%);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: hsl(0, 0%, 100%);
  font-size: 14px;
  margin-top: 10px; 
}

.highlight {
  background-color: yellow;
  color: hsl(0, 0%, 0%);
}

.header-bottom { border-bottom: 1px solid hsla(0, 0%, 100%, 0.1); }

.header-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 15px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-link {
  color: hsl(0, 0%, 100%);
  padding: 8px;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  border-radius: 50%;
  font-size: 15px;
  transition: 0.25s ease-in-out;
}

.social-link:is(:hover, :focus) { background: hsla(0, 0%, 100%, 0.2); }

.header .btn { --padding: 4px 20px; }


.header .navbar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 100%;
  max-width: 300px;
  height: 100%;
  background: hsl(0, 0%, 100%);
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in;
  z-index: 3;
  padding-top: 60px;
}

.navbar.active {
  right: 0;
  visibility: visible;
  pointer-events: all;
  transition: 0.25s ease-out;
}
.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 15px;
}

.navbar-top .logo img { width: 150px; }

.nav-close-btn {
  font-size: 20px;
  color: hsl(214, 57%, 51%);
}

.nav-close-btn ion-icon { --ionicon-stroke-width: 80px; }

.navbar-link {
  margin-top: auto;
  padding: 15px 20px;
  color: hsl(0, 0%, 20%);
  font-weight: 500;
  font-size: 15px;
  transition: 0.25s ease-in-out;
  text-transform: capitalize;
}

.navbar-link:is(:hover, :focus) { color: hsl(214, 57%, 51%); }

#main-navbar {
  font-size: 30px; 
}

#main-navbar .navbar-list {
  margin-top: 10px;
}

#main-navbar .navbar-list li {
  margin-bottom: 5px;
}

#main-navbar .navbar-link {
  padding: 18px 24px;
  font-weight: 600;
  transition: 0.25s ease-in-out;
  text-transform: capitalize;
}

#main-navbar .navbar-link:is(:hover, :focus) {
  color: hsl(30, 100%, 100%); 
  background-color: hsla(214, 57%, 51%, 0.2); 
}


#book_now {
  margin-top: 10px;
  background-color: hsl(35, 100%, 68%); 
  color: hsl(56, 18%, 16%); 
  font-weight: 1000; 
  border: 3px solid hsl(56, 18%, 16%); 
  padding: 10px 20px; 
  text-align: center; 
  text-transform: uppercase; 
}

#book_now:is(:hover, :focus) {
  background-color: hsl(41, 100%, 82%);
  border-color: hsl(56, 18%, 16%);
}

.overlay {
  position: fixed;
  inset: 0;
  background: hsl(0, 0%, 0%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: 0.25s ease-in-out;
}

.overlay.active {
  opacity: 0.7;
  pointer-events: all;
}


/* hero  */

.hero {
  background-image: url("../images/hero-banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: hsla(0, 0%, 0%, 0.7);
  background-blend-mode: overlay;
  display: grid;
  place-items: center;
  min-height: 600px;
  text-align: center;
  padding-top: 125px;
}

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

.hero-title { margin-bottom: 20px; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family:'Royal';
}

.hero-text {
  color: hsl(0, 0%, 100%);
  font-family:'Garamond';
  font-size: 14px;
  margin-bottom: 40px;
  font-size: xx-large;
  
}

.hero::before {
  transition: background-color 0.3s ease;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}


/* popular */
/* destinations */

#destination {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(rgba(240, 248, 255, 0.8), rgba(240, 248, 255, 0.8));
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

#destination .section-subtitle {
  font-size: 1.2em;
  font-weight: 600;
  color: hsl(214, 57%, 51%);
}

#destination .section-title {
  font-size: 2.5em;
  font-weight: 800;
  color: hsl(206, 34%, 20%);
}

#destination .section-text {
  font-size: 1.1em;
  color: hsl(225, 8%, 42%);
  max-width: 800px;
  margin: 0 auto 30px;
}

#destination .popular-list,
#destination .popular-list > li:not(:last-child) {
  margin-bottom: 30px;
}

#destination .popular-card {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  height: 430px;
  background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* added offers styles */
#destination .offer {
  position: relative;
  text-align: center;
  margin-top: 40px;
}

#destination .offer-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: calc(18px + 1.6vw);
  text-transform: uppercase;
  background: linear-gradient(90deg, #cdb4db, #ffafcc, #a2d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

#destination .offer-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: calc(18px + 1.6vw);
  text-transform: uppercase;
  background: linear-gradient(90deg, #cdb4db, #ffafcc, #a2d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(5px);
  z-index: -1;
}

#destination .popular-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#destination .popular-card .card-img {
  height: 100%;
  transition: transform 0.5s ease;
}

#destination .popular-card:hover .card-img {
  transform: scale(1.05);
}

#destination .popular-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#destination .popular-card .card-content > * {
  position: relative;
  z-index: 1;
}

#destination .popular-card .card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.6); 
  -webkit-backdrop-filter: blur(10px);  
  backdrop-filter: blur(5px); 
  border-radius: 25px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#destination .popular-card .card-rating {
  background: hsl(214, 57%, 51%);
  color: hsl(0, 0%, 100%);
  position: absolute;
  top: 0;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 1px;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 14px;
}

#destination .popular-card .card-subtitle {
  color: var(--blue-ncs);
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#destination .popular-card .card-title {
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

#destination .popular-card:hover .card-title {
  color: hsl(214, 57%, 51%);
}

#destination .popular-card :is(.card-subtitle, .card-title) > a {
  color: inherit;
}

#destination .popular .btn {
  margin-inline: auto;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#destination .popular .btn:hover {
  background-color: hsl(214, 57%, 51%);
  transform: scale(1.05);
}


#login, #signup {
  position: relative;
  padding: 80px 0;
  background-image: url('../images/dashboard-banner2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#login::before, #signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1;
}

#login .container, #signup .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#login .section-title, #signup .section-title {
  text-align: center;
  margin-bottom: 40px;
  color: hsl(0, 0%, 100%);
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#login-form, #signup-form {
  max-width: 400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#login-form .input-wrapper, #signup-form .input-wrapper {
  margin-bottom: 20px;
}

#login-form .input-label, #signup-form .input-label {
  display: block;
  margin-bottom: 5px;
  color: hsl(0, 0%, 100%);
  font-weight: 500;
}

#login-form .input-field, #signup-form .input-field {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  font-size: 14px;
  color: hsl(0, 0%, 100%);
  transition: all 0.3s ease;
}

#login-form .input-field::placeholder, #signup-form .input-field::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#login-form .input-field:focus, #signup-form .input-field:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

#login-form .btn-primary, #signup-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 15px;
  cursor: pointer;
  background: linear-gradient(135deg, hsl(214, 57%, 51%), hsl(214, 72%, 33%));
  border: none;
  color: hsl(0, 0%, 100%);
  transition: all 0.3s ease;
}

#login-form .btn-primary:hover, #signup-form .btn-primary:hover {
  background: linear-gradient(135deg, hsl(214, 72%, 33%), hsl(214, 57%, 51%));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  #login-form, #signup-form {
    padding: 20px;
  }

  #login .section-title, #signup .section-title {
    font-size: 2rem;
  }
}


/* footer */
/* check updated footer using id */


.footer-link {
  color: inherit;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-link:hover,
.footer-link:focus {
  color: hsl(0, 0%, 100%);
}

/* go to top */

.go-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: hsl(214, 57%, 51%);
  color: hsl(0, 0%, 100%);
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: 0.25s ease-in-out;
}

.go-top.active {
  opacity: 0.8;
  transform: translateY(0);
  visibility: visible;
}

.go-top:is(:hover, :focus) { opacity: 1; }

/* media queries */

@media (min-width: 580px) {
  .container { max-width: 580px; margin-inline: auto; }
  .btn {  --padding: 12px 30px; }
  section:not(.cta) :is(.section-subtitle, .section-title, .section-text) {
    text-align: center;
  }

  .section-text { margin-bottom: 40px; }

 .header { padding-top: 83px; }

 .helpline-box .icon-box { padding: 14px; }

 .header-top .logo img { max-width: unset; }

 .nav-open-btn { font-size: 40px; }

 .header .btn {
   
   --padding: 6px 20px;
 }

  /* hero */

   .hero {
    min-height: 800px;
    padding-top: 85px;
  }

  

  .btn-group { gap: 20px; }

  /* tour search */
   .tour-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 15px;
  }

  .tour-search-form .input-wrapper { margin-bottom: 0; }

  .tour-search-form .input-field { padding: 16px 20px; }

  .tour-search .btn {
    grid-column: span 2;
    margin-top: 20px;
  }



  /* popular */

  .popular-card .card-content { right: auto; }



 /* footer */

  .footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-form { grid-column: span 2; }

  .footer-bottom { text-align: left; }

  .copyright { margin-bottom: 0; }

  .footer-bottom-list { justify-content: flex-end; }

}

@media (min-width: 768px) {
  .container { max-width: 800px; }
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .popular-list { grid-template-columns: repeat(3, 1fr); }
  .footer .container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .container { max-width: 1050px; }
  .navbar-list { display: flex; }
  .header .btn { display: block; }
  .hero { text-align: left; }
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }
  .popular-list { grid-template-columns: repeat(4, 1fr); }
  .footer .container { grid-template-columns: 1fr 0.5fr 0.7fr 0.5fr; }
  .overlay { display: none; }
}


@media (min-width: 768px) { 
  /* resused style */

  .container { max-width: 800px; }

  .section-text {
    max-width: 60ch;
    margin-inline: auto;
  }
/* header */

  .helpline-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .helpline-box .wrapper {
    display: block;
    color: hsl(0, 0%, 100%);
    font-size: 13px;
  }

  .social-list { gap: 10px; }

/* popular */

  .popular-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .popular-list > li:not(:last-child) { margin-bottom: 0; }

  .popular-card .card-content { right: 20px; }

/* package */

  .package-list { margin-bottom: 50px; }

  .package-list > li:not(:last-child) { margin-bottom: 40px; }

  .package-card {
    display: grid;
    grid-template-columns: 1.3fr 1.5fr 1fr;
  }

  .package-card .card-banner { height: 100%; }

  .package-card .card-content { padding: 40px; }

  .package-card .card-price {
    display: grid;
    place-content: center;
  }

  .package-card .card-price .wrapper { margin-bottom: 15px; }

/* footer */

  .form-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }

  .footer-form .input-field { margin-bottom: 0; }

  .footer-form .btn { width: max-content; }

}


/* responsive for more than 992px */
/* for laptop/big screen */
@media (min-width: 992px) {
  .container { max-width: 1050px; }

/* header */

  .header.active .header-top {
    position: unset;
    background: unset;
  }

  .nav-open-btn,
  .navbar-top { display: none; }

  .header-bottom { border-bottom: none; }

  .header.active .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 25%);
    box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.08);
    transition: 0.25s ease-in-out;
  }

  .header-bottom .container { padding-block: 0; }

  .header .navbar { all: unset; }

  .navbar-list {
    border-top: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-list li { border-bottom: none; }

  .navbar-link {
    color: hsl(0, 0%, 100%);
    font-weight: unset;
    text-transform: uppercase;
    padding: 20px 15px;
  }

  .header.active .navbar-link { color: hsl(0, 0%, 25%); }

  .header.active .navbar-link:is(:hover, :focus) { color: hsl(214, 57%, 51%); }

  .header.active .social-link {
    color: hsl(0, 0%, 25%);
    border-color: hsla(0, 0%, 0%, 0.15);
  }

  .overlay { display: none; }

/* hero */

  .hero .container { max-width: 740px; }
/* tour search */

  .tour-search-form { grid-template-columns: repeat(5, 1fr); }

  .tour-search .btn {
    --padding: 15px;
    grid-column: unset;
    margin-top: 0;
  }
  /* popular */

  .popular-list { grid-template-columns: repeat(3, 1fr); }
/*popular */

  .meta-box { --fs-8: 13px; }

  .meta-box > ion-icon { font-size: 15px; }


}


.input-wrapper {
  position: relative;
  overflow: hidden;
}

.input-field {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid hsl(0, 0%, 88%);
  font-size: 14px;
  color: hsl(225, 8%, 42%);
  border-radius: 50px;
}

.placeholder-text {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  transition: 0.3s;
  pointer-events: none;
  color: hsl(0, 0%, 60%);
}

.placeholder-text span {
  display: inline-block;
  transition: 0.3s;
}

.input-field:focus + .placeholder-text span,
.input-field:not(:placeholder-shown) + .placeholder-text span {
  transform: translateY(-25px);
  font-size: 0.8em;
  color: hsl(214, 57%, 51%);
}

.input-field:focus + .placeholder-text span {
  color: hsl(214, 57%, 51%);
.book-btn:hover {
  background-color: #0056b3;
}
}


.main-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px;
}

.heading {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
  font-size: 45px;
}

/* reviews */

#review-section {
  --bg-color: rgba(0, 0, 0, 0.1);
  --text-color: #003366;  /* Darker blue, almost navy */
  --hover-bg-color: #FFB6C1;  /* Light pink */
  --hover-text-color: #FF69B4;  /* Hot pink */
  --hover-border-color: #FF69B4;  /* Hot pink */
  background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), #D2E7FF;
  padding: 40px 0;
  backdrop-filter: blur(5px);
  overflow: hidden; 
}

#review-section .main-container {
  width: 100%;
  overflow: hidden;
}

#review-section .heading {
  text-align: center;
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: bold;
}

#review-section .marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#review-section .marquee-wrapper::before,
#review-section .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 2;
}

#review-section .marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

#review-section .marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

#review-section #reviews-container {
  display: flex;
}

@keyframes review-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#review-section .review-item {
  flex: 0 0 auto;
  margin: 0 20px;
  padding: 15px;
  min-width: 200px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  border: 2px solid var(--text-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

#review-section .review-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background-color: var(--hover-bg-color);
  transition: height 0.3s ease;
  z-index: -1;
}

#review-section .review-item:hover::after {
  height: 100%;
}

#review-section .review-item:hover {
  border-color: var(--hover-border-color);
  transform: scale(1.05);
}

#review-section .review-item .name {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

#review-section .review-item .review {
  font-style: italic;
  color: var(--text-color);
  transition: color 0.3s ease;
}

#review-section .review-item:hover .name,
#review-section .review-item:hover .review {
  color: var(--hover-text-color);
}

/* partner logos */
.partners-container {
  text-align: center;
  margin: 40px 20px;
  font-family: "Poppins", sans-serif;
  /* background-color: #C7DEFA; */

}

.partners-heading {
  font-size: 45px;
  font-weight: 800;
  color: hsl(206, 34%, 20%);
  margin-bottom: 20px;
  padding-left: 60px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.partners-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
}

.partner-logo-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16 / 9;
}

.blur {
  width: 100%;
  height: 100%;
}

.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.blur:hover .partner-logo {
  -webkit-filter: blur(5px);
  filter: blur(5px);
  transform: scale(1.1); 
}

.partner-logo-container:hover {
  box-shadow: 0 0 0 4px hsl(0, 0%, 0%);
}

.partner-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: hsl(0, 0%, 100%);
  font-family: 'Roboto', sans-serif; 
  font-size: 24px; 
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.blur:hover .partner-name {
  opacity: 1;
}

/*  for responsiveness */
@media (max-width: 768px) {
  .partners-images {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-heading {
    font-size: 32px;
  }
  
  .partner-name {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .partners-images {
    grid-template-columns: 1fr;
  }
  
  .partners-heading {
    font-size: 28px;
  }
}

/*updated footer */
#footerg {
  background-image: url('../images/footer.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 80px 0 40px;
  color: #021d42;
  animation: mountainFloat 3s ease-in-out infinite alternate;
}

#footerg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(8px);
  opacity: 0.8;
  z-index: -1;
}

#footerg .footer-top .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

#footerg .footer-brand, 
#footerg .footer-contact, 
#footerg .footer-form {
  flex: 1 1 300px;
}


#footerg .footer-brand img {
  width: 250px;
  filter: brightness(0) invert(1);
}


#footerg .footer-text, 
#footerg .footer-link, 
#footerg .contact-item, 
#footerg .form-text {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 15px;
}

#footerg .footer-list-title {
  font-size: 28px; 
  font-weight: 900; 
  margin-bottom: 20px;
  color: #0d2460;
}

#footerg .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

#footerg .contact-item ion-icon {
  font-size: 28px; 
  color: hsl(214, 57%, 51%);
}

#footerg .btn-secondary {
  background: hsl(214, 57%, 51%);
  color: #ffffff;
  padding: 15px 30px; 
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 20px;
  font-weight: bold; 
}

#footerg .btn-secondary:hover {
  background: hsl(214, 72%, 33%);
}

#footerg .footer-bottom {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}


#footerg .copyright {
  color: #ffffff;
  font-size: 18px; 
  font-weight: bold;
  margin: 0; 
  white-space: nowrap; 
  text-align: center; 
}

@media (max-width: 768px) {
  #footerg .footer-top .container {
      flex-direction: column;
  }
}

@keyframes mountainFloat {
  0% { background-position: 0 0; }
  100% { background-position: 0 10px; }
}

/* Responsive adjustments  for seach buttontool at topmost*/
@media (max-width: 767px) {
  #search-input {
    width: 150px;
    font-size: 12px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #search-input {
    width: 180px;
  }
}

@media (min-width: 992px) {
  #search-input {
    width: 220px;
  }
}

/* Additional responsive styles for navbar */
@media (max-width: 991px) {
  #main-navbar {
    position: fixed;
    top: 0;
    left: -300px;
    background: hsl(0, 0%, 100%);
    width: 100%;
    max-width: 300px;
    height: 100vh;
    padding: 30px;
    transition: 0.15s ease-in;
    z-index: 3;
  }

  #main-navbar.active {
    right: 0;
  visibility: visible;
  pointer-events: all;
  transition: 0.25s ease-out;
    left: 0;
    box-shadow: 0 3px 10px hsla(0, 0%, 0%, 0.3);
  }

  #main-navbar .navbar-list {
    flex-direction: column;
  }

  #main-navbar .navbar-link {
    color: hsl(206, 34%, 20%);
    padding: 10px 24px;
  }

  #main-navbar .navbar-link:is(:hover, :focus) {
    color: hsl(214, 57%, 51%);
    background-color: hsla(214, 57%, 51%, 0.1);
  }
}

@media (min-width: 992px) {
  #main-navbar {
    display: block;
  }

  #main-navbar .navbar-list {
    display: flex;
  }

  #main-navbar .navbar-link {
    color: hsl(0, 0%, 100%);
  }

  .header.active #main-navbar .navbar-link {
    color: hsl(0, 0%, 25%);
  }

  .header.active #main-navbar .navbar-link:is(:hover, :focus) {
    color: hsl(214, 57%, 51%);
  }
}
