* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

.main {
  height: 100vh;
  width: 100vw;
}

section {
  height: 51%;
  background-image: url(/image/download.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav {
  height: 12vh;
  width: 1300px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.nav a {
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
  font-family: 'Quicksand', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links > a,
.nav-links .dropdown > a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Dropdown - default hidden */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  flex-direction: column;
}

.dropdown-content a {
  padding: 0.5rem 1rem;
  color: black;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
  border-radius: 0.25rem;
}

/* Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
}

/* Responsive Mobile View */
@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
    font-size: 2.5rem;
    margin-left: auto;
    color: black;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 1rem;
    width: 100%;
    border-radius: 0;
    background-color: white;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2b174d; /* match image bg */
    flex-direction: column;
    padding: 1rem 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .dropdown-header a {
    font-size: 1rem;
    color: white;
    padding: 1rem;
    width: 100%;
    border-bottom: 1px solid #56416d;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1rem;
  }

  .dropdown-toggle-btn {
    background: white;
    border: none;
    padding: 0.3rem 0.8rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
  }

  .dropdown-content {
    position: static;
    display: none;
    background-color: #775ca7;
    padding-left: 2rem;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .dropdown-content a {
    color: rgb(5, 5, 5);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-bottom: none;
  }

  /* img {
    max-width: 130px;
    height: auto;
  } */
}

/* Desktop Hover Dropdown */
@media (min-width: 1081px) {
  .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
  }
}

.home {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.sub_home {
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
}

/* Left text + buttons */
.button_div {
  width: 50%;
  padding: 1rem;
  box-sizing: border-box;
}

.button_div h2 {
  color: #291549;
  font-size: 3rem;
  margin: 1rem 0;
  font-family: 'Quicksand', sans-serif;
}

.button_div span {
  font-size: 2rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  font-family: 'Quicksand', sans-serif;
}

.button_div span a {
  text-decoration: none;
  color: black;
}

/* Tablets */
@media (max-width: 1024px) {
  .button_div h2 {
    font-size: 2.5rem;
  }
  .button_div span {
    font-size: 1.5rem;
  }
}

@media (max-width: 1080px) {
  .home {
    height: auto;
    margin-top: 40px;
    padding: 1rem;
  }

  .sub_home {
    flex-direction: column;
    width: 100%;
  }

  .button_div {
    width: 100%;
  }

  .button_div {
    text-align: center;
  }

  .button_div h2 {
    font-size: 2.2rem;
    margin-top: 1rem;
  }

  .button_div span {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 0.5rem;
  }

  .sub_home {
    flex-direction: column;
    gap: 1rem;
  }

  .button_div {
    width: 100%;
    padding: 0;
  }

  .button_div h2 {
    font-size: 1.8rem;
  }

  .button_div span {
    font-size: 1.2rem;
  }
}

.login_sec {
  height: 80vh;
  width: 100vw;
  /* background-color: red; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
  font-family: 'Quicksand', sans-serif;
}

/* Form Box */
.form {
  height: 60vh;
  width: 576px;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

/* Header */
.form h1 {
  color: #2d174d;
  font-size: 3em;
  /* text-align: center; */
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 30px;
}

/* Input Field with Icon */
.input-icon {
  height: 8vh;
  position: relative;
  margin-bottom: 50px;
}

.input-icon input {
  width: 100%;
  height: 100%;
  padding: 14px 45px 14px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1.2em;
}

.input-icon span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

/* Prevent default pointer-events EXCEPT togglePassword */
.input-icon span:not(#togglePassword) {
  pointer-events: none;
}

#togglePassword {
  cursor: pointer;
  pointer-events: auto;
}

/* Login Button */
.login-button {
  width: 100%;
  height: 8vh;
  padding: 14px;
  background-color: #b59c37;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.login-button:hover {
  background-color: #a28a2f;
}

/* Bottom Links */
.bottom-links {
  text-align: center;
  margin-top: 40px;
  font-size: 1.5em;
  color: #666;
}

.bottom-links a {
  color: #666;
  text-decoration: none;
  margin: 0 5px;
}

.bottom-links a:hover {
  text-decoration: underline;
}

.four_img_div {
  height: 60vh;
  width: 768px;
  background-color: #291549;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img_container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* spacing between images */
  justify-content: center;
}

.img1,
.img2,
.img3,
.img4 {
  height: 230px;
  width: 335px;
  background-color: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img1 img,
.img2 img,
.img3 img,
.img4 img {
  width: 100%;
  height: 95%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect: scale the image inside the box */
.img1:hover img,
.img2:hover img,
.img3:hover img,
.img4:hover img {
  transform: scale(1.05);
}

/* Medium screens (tablets & small laptops) */
@media (max-width: 1024px) {
  .login_sec {
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
    gap: 30px;
  }

  .form,
  .four_img_div {
    width: 90%;
    height: auto;
  }

  .form h1 {
    font-size: 2.2em;
  }

  .bottom-links {
    font-size: 1.2em;
  }

  .img1,
  .img2,
  .img3,
  .img4 {
    width: 45%;
    height: 180px;
  }
}

/* Small screens (phones like iPhone SE) */
@media (max-width: 480px) {
  .login_sec {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 20px 10px;
  }

  .form {
    width: 100%;
    padding: 25px 20px;
    height: auto;
  }

  .form h1 {
    font-size: 1.8em;
  }

  .input-icon {
    height: auto;
    margin-bottom: 30px;
  }

  .input-icon input {
    font-size: 1em;
    padding: 12px 40px 12px 14px;
  }

  .login-button {
    height: auto;
    padding: 12px;
    font-size: 1.2em;
  }

  .bottom-links {
    font-size: 1em;
    margin-top: 20px;
  }

  .four_img_div {
    width: 100%;
    padding: 20px 10px;
    height: auto;
    border-radius: 20px;
  }

  .img_container {
    gap: 15px;
  }

  .img1,
  .img2,
  .img3,
  .img4 {
    width: 100%;
    height: 150px;
  }
}

/* Responsive image container layout from 1px to 1300px */
@media (max-width: 1300px) {
  .four_img_div {
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .img_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .img1,
  .img2,
  .img3,
  .img4 {
    width: 48%; /* 2 images per row on tablets */
    height: 180px;
  }

  .img1 img,
  .img2 img,
  .img3 img,
  .img4 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* Smaller screens: 1 image per row */
@media (max-width: 600px) {
  .img1,
  .img2,
  .img3,
  .img4 {
    width: 100%; /* Full width */
    height: 100%;
  }
}

.footer {
  height: 60vh;
  width: 100vw;
  background-color: #291549;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub_footer {
  height: 100%;
  width: 1300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer_con-one {
  height: 80%;
  width: 30%;
}

.footer_con-one img {
  margin-top: 30px;
}

.footer_con-one p {
  margin-top: 30px;
  font-size: 1.3rem;
  line-height: 1.9rem;
  color: white;
  font-family: 'Quicksand', sans-serif;
}

.media {
  margin-top: 40px;
  height: 5vh;
  display: flex;
  align-items: center;
  gap: 15px;
}

.media a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
}

.footer_con-two {
  height: 80%;
  width: 30%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.footer_con-two h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Quicksand', sans-serif;
}

.footer_con-two a {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
}

.footer_con-three {
  height: 80%;
  width: 30%;
}

.footer_con-three h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Quicksand', sans-serif;
}

/* Contact Sections */
.add_div_one,
.add_div_two,
.add_div_three,
.add_div_four {
  margin-bottom: 15px;
}

.add_div_one i,
.add_div_two i,
.add_div_three i,
.add_div_four i {
  font-size: 1.5rem;
  color: white;
}

.add_div_one a,
.add_div_two a,
.add_div_three a,
.add_div_four a {
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add_sub_div {
  margin-left: 40px;
  margin-right: 40px;
}

.add_sub_div p {
  font-size: 1.2rem;
  color: white;
  margin-top: 5px;
  font-family: 'Quicksand', sans-serif;
}

.add_sub_div p a {
  font-size: 1.3rem;
  color: white;
  text-decoration: underline;
}

/* Footer Responsive Styles */
@media (max-width: 1300px) {
  .sub_footer {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .sub_footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 2rem 1rem;
    height: auto;
  }

  .footer {
    height: auto;
    padding: 2rem 0;
  }

  .footer_con-one,
  .footer_con-two,
  .footer_con-three {
    width: 100%;
  }

  .footer_con-one img {
    width: 160px;
  }

  .footer_con-one p,
  .footer_con-two a,
  .footer_con-two h3,
  .footer_con-three h3,
  .add_sub_div p,
  .add_div_one a,
  .add_div_two a,
  .add_div_three a,
  .add_div_four a {
    font-size: 1.1rem;
  }

  .media a {
    font-size: 1.5rem;
  }

  .add_sub_div {
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer_con-three {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer_con-three a {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .add_sub_div p {
    margin-top: 5px;
  }
}

@media (max-width: 576px) {
  .footer_con-one p,
  .footer_con-two a,
  .footer_con-two h3,
  .footer_con-three h3,
  .add_sub_div p,
  .add_div_one a,
  .add_div_two a,
  .add_div_three a,
  .add_div_four a {
    font-size: 1rem;
  }

  .add_sub_div {
    margin-left: 10px;
    margin-right: 10px;
  }

  .media {
    gap: 10px;
  }

  .media a {
    font-size: 1.3rem;
  }

  .footer_con-one img {
    width: 140px;
  }

  .add_sub_div p a {
    font-size: 1rem;
  }
}

.copy {
  background-color: #291549;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.2rem;
  height: auto;
  padding: 1rem 0.5rem;
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.5;
}

/* Medium devices (tablets, 768px - 992px) */
@media (max-width: 992px) {
  .copy {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
  }
}

/* Small devices (phones, < 768px) */
@media (max-width: 768px) {
  .copy {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}

/* Extra small phones (iPhone SE, 375px and down) */
@media (max-width: 480px) {
  .copy {
    font-size: 0.9rem;
    padding: 0.6rem 0.5rem;
  }
}
