@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

nav {
  position: relative;
  z-index: 99;
  width: 100%;
  background: var(--white);
}

/* background: #000718; */
nav .wrapper {
  position: relative;
  width: auto;
  padding: 0px 15px;
  height: 90px;
  line-height: 75px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo img {
  /* background-color: white; */
  /* margin-top: 24px; */
  height: 85px;
  width: 100%;
  /* font-weight: bolder; */
  margin: 0px;
  margin-top: 30px;
  /* border: 3px solid #fff; */
  padding: 0px;
  /* box-shadow: 0 0 10px #4CAF50; */
  transition: box-shadow 0.3s ease;
  animation: pulse 2s infinite;
  /* filter: drop-shadow(2px 4px 6px black); */
}


.wrapper .nav-links {
  display: inline-flex;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: #d5444499;
  font-weight: 600;
}

.nav-links .mobile-item {
  display: none;
}

.nav-links .drop-menu {
  position: absolute;
  background: var(--white);
  width: 200px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.mega-box {
  position: absolute;
  right: 50px;
  width: 80%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}

.mega-box .content {
  background: var(--white);
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .row {
  width: calc(25% - 30px);
  line-height: 45px;
}

.content .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .row header {
  color: black;
  font-size: 20px;
  font-weight: 500;
}

.content .row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
  padding: 0 20px;
}

.row .mega-links li a {
  padding: 0px;
  padding: 0 20px;
  color: var(--text-dark);
  font-size: 17px;
  display: block;
}

.row .mega-links li a:hover {
  font-weight: 600;
}

.wrapper .btn {
  color: var(--text-dark);
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 900px) {
  .wrapper .btn {
    display: block;
  }

  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: var(--white);
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }

  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--white);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--white);
  }

  #menu-btn:checked~.nav-links {
    left: 0%;
  }

  #menu-btn:checked~.btn.menu-btn {
    display: none;
  }

  #close-btn:checked~.btn.menu-btn {
    display: block;
  }

  .nav-links li {
    margin: 15px 10px;
  }

  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }

  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  #showDrop:checked~.drop-menu,
  #showMega:checked~.mega-box,
  #showUser:checked~.drop-menu {
    max-height: 100%;
  }

  .nav-links .desktop-item {
    display: none;
  }

  .nav-links .mobile-item {
    display: block;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .nav-links .mobile-item:hover {
    background: #d5444499;
  }

  .drop-menu li {
    margin: 0;
  }

  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }

  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
  }

  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }

  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }

  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }

  .row .mega-links li {
    margin: 0;
  }

  .content .row header {
    font-size: 19px;
  }

  .goog-te-gadget-simple {
    margin-left: 0px !important;
  }

  #google_translate_element {
    margin-left: 0px !important;
  }
}


nav input {
  display: none;
}

.body-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.body-text div {
  font-size: 45px;
  font-weight: 600;
}


.login-btn {
  border: none;
  outline: none;
  background: #275360;
  color:var(--white) ;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.15s ease;
}

.login-btn:hover {  
  background: #d5444499;
}


/* Google translate style sheet */

.goog-te-gadget-simple {
  background: none !important;
  border-left: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
  font-size: 10px !important;
  display: inline-block;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  cursor: pointer;
  height: 50px !important;
  margin-left: 2px !important;
  text-align: center !important;
}

/* Container styling */
#google_translate_element {
  margin-left: 10px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 500;
  padding: 0px 2px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.15s ease;

}

#google_translate_element:hover {
  background-color: #d5444499;
}

/* Dropdown styling */
.goog-te-combo {
  margin-top: 5px !important;
  width: 150px !important;
  padding: 5px !important;
  border-radius: 4px !important;
  font-size: 18px !important;
  color: #000 !important;
  outline: none !important;
}


/* Hide the Google branding */
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

/* Adjust the gadget style */
.goog-te-gadget {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 18px !important;
  color: #333 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.translate {
  display: flex;
}


/* Transalte Inner  */

.goog-te-combo {
  margin-left: 4px;
  margin-right: 4px;
  vertical-align: baseline;
  font-size: 1rem !important;
  color: white !important;
  font-weight: 500 !important;
  background: #E55451 !important;
}




/* Pop-up form style sheet  */
/* Pop-Up Form Styles */
.popup-form {
  background: azure;
  border: 2px solid #ddd;
  border-radius: 8px;
  width: 550px;
  max-width: 90%;
  height: auto;
  display: none;
  /* Hidden by default */
  flex-direction: row;
  box-shadow: 0 5px 15px #C83F49;
  position: fixed;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  animation: slideDown 1s ease-out forwards;
}


/* containr slide down effect */
@keyframes slideDown {
  0% {
    top: -100%;
    /* Start above the screen */
    opacity: 0;
  }

  100% {
    top: 20%;
    /* End at this position */
    opacity: 1;
  }
}

/* Slide down effect end  */



/* Left Side - Image */
/* Text Overlay */
.image-container .image-text-overlay {
  position: relative;
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%);
  /* text-align: left; */
  color: #bde9ee;
  z-index: 2;
  /* background: rgba(0, 0, 0, 0.5); */
  padding: 5px 20px;
  font-size: 16px;
  line-height: 2.5;
  width: 90%;
  height: auto;
}

.image-container .image-text-overlay h1 {
  font-size: 24px;
  margin: 5px 0;
  font-weight: 900;

}

.image-container .image-text-overlay h3 {
  font-size: 18px;
  margin: 5px 0;
  font-weight: normal;
  display: flex;
  flex-wrap: wrap;
  /* Ensures proper wrapping for items */
  justify-content: center;
  font-weight: 900;
}

.image-container .image-text-overlay p span {
  margin: 0 5px;
  /* Add spacing between problem items */
}


.popup-form .image-container {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  background: azure;
  border-right: 2px solid #929191;
  overflow: hidden;
  position: relative;
}

/* Image hover shine effect */
.image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  transition: none;
}

.image-container:hover::before {
  animation: shine 0.85s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

/* Effect end  */


.popup-form .image-container img {
  max-width: 99%;
  height: 99%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: blur(1px) brightness(0.5); /* Blur and darken the image */
  z-index: 1;
}


/* Right Side - Form */
.popup-form .form-container {
  flex: 1;
  padding: 20px;
  margin-top: 10px;
}

.popup-form .form-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.popup-form .form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-form .form-container input,
textarea {
  padding: 10px;
  border: 1px solid #000000a3;
  font-size: 14px;
}

.popup-form .form-container input:focus,
textarea:focus {
  outline: none;
  border-color: #000;
}

.popup-form .form-container button {
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background-color: rgb(130, 106, 251);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.popup-form .form-container button:hover {
  background-color: rgb(88, 56, 250);
  font-weight: 700;
  transform: scale(1.05);
}

/* Social Media Icons */
.popup-form .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;

}

.popup-form .social-icons a {
  color: #C83F49;
  font-size: 26px;
  transition:0.5s;

}

.popup-form .social-icons a:hover {
  color: #E55451;
  transform: scale(1.5);
}

/* Close Button */
.popup-form .form-close-btn {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 20px;
  color: black;
  cursor: pointer;
  font-size: 30px;
  font-weight: 700;
}

.popup-form .form-close-btn:hover {
  color: #565454;
  font-weight: 500;
  transform: scale(1.05);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  /* Hidden by default */
}

@media screen and (max-width: 768px) {
  .popup-form {
    top:5px !important;
    flex-direction: column-reverse;
  }

  .popup-form .social-icons a {
    font-size: 34px;
  }

  .popup-form .social-icons {
    margin-top: 15px;
    gap: 34px;
  }

  .image-container .image-text-overlay {
    top: 160px;
    left: 150px;
  }

}
:root {
  --primary-color: #fe6769;
  --primary-color-dark: #C83F49;
  --text-dark: #333333;
  --white: #ffffff;
}
.nav-links li a.active {
    color: #fe6769 ;
    font-weight: bold;
}
