/* GLOBAL RESET + BASE */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap");
@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext");
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Quintessential&display=swap');


* {
  font-family: "Quintessential", serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;

  -webkit-transition: .2s linear;
  transition: .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Scrollbar style */

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: #002833;
}

/* NAVBAR LINKS */

.navbar a {
  color: #000;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: 500;
}

/* DROPDOWN */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: inherit;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  padding: 10px 15px;
}

.dropbtn i {
  margin-left: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f92d;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}

.dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 400;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #007bff;
}

/* HEADER / NAVBAR BASE */

.header {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  padding: 0;   /* 👈 20px 3rem 47px remove */
  z-index: 1000;
  display: flex;
  background-color: #fff;
  align-items: center;

}

/* LOGO GROUP FIX */
.logo.logos-wrap {
  justify-self: center;   /* 👈 center magic */
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo.logos-wrap img {
  height: 36px;
  width: auto;
  object-fit: contain;
}




/* White background header when scrolled / active */


/* 🔥 Hide header when scrolling down */
.header.hide {
  transform: translateY(-100%);
  box-shadow: none;
}

.header .logo {
  margin-right: auto;
  font-size: 2.5rem;
  color: #002833;
  font-weight: 800;
  text-decoration: none;
}

.header .logo i {
  color: #006c8d;
}

.header .navbar a {
  margin-left: 2rem;
  font-size: 1.7rem;
  color: #002833;
  text-decoration: none;
}

.header .navbar a:hover {
  color: #006c8d;
  font-weight: 800;
}

.header .navbar #nav-close {
  font-size: 5rem;
  cursor: pointer;
  color: #002833;
  display: none;
}

/* ICONS */

.header .icons a,
.header .icons div {
  font-size: 2.5rem;
  margin-left: 2rem;
  cursor: pointer;
  color: #002833;
}

.header .icons a:hover,
.header .icons div:hover {
  color: #006c8d;
}

.header #menu-btn {
  display: none;
}

/* SEARCH FORM OVERLAY */

.search-form {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}

.search-form.active {
  transform: translateY(0%);
}

.search-form #close-search {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  cursor: pointer;
  color: #fff;
  font-size: 6rem;
}

.search-form #close-search:hover {
  color: #006c8d;
}

.search-form form {
  width: 70rem;
  margin: 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.2rem solid #fff;
  display: flex;
  align-items: center;
}

.search-form form input {
  width: 100%;
  font-size: 2rem;
  color: #fff;

  background: none;
  padding-right: 2rem;
}

.search-form form input::placeholder {
  color: #aaa;
}

.search-form form label {
  font-size: 3rem;
  cursor: pointer;
  color: #fff;
}

.search-form form label:hover {
  color: #006c8d;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .header #menu-btn {
    display: inline-block;
  }

  .header .navbar {
    position: fixed;
    top: 0;
    left: -110%;
    background: #fff;
    z-index: 10000;
    width: 35rem;
    height: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease, box-shadow 0.3s ease;
  }

  .header .navbar.active {
    left: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
  }

  .header .navbar a {
    margin: 1rem 0;
    font-size: 3rem;
  }

  .header .navbar #nav-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
  }
}

@media (max-width: 1200px) {
  .header {
    padding: 1rem 2rem 2rem;
  }

  section {
    padding: 3rem 2rem;
  }
}


/* LOGO GROUP (3 Logos) */

.header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header .logo img {
  height: 81px;          /* desktop size */
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header .logo img:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .header .logo img {
    height: 34px;   /* mobile-la neat-aa irukum */
  }
}
