* {
  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;
  }
}

.Newsletter {
  min-height: auto;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 40px 0;
}

.sub_Newsletter-div {
  width: 1300px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
}

.newsletter_table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
}

.newsletter_table thead {
  background-color: #291549;
  color: white;
}

.newsletter_table th,
.newsletter_table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 1.2rem;
}

.newsletter_table tbody tr:nth-child(even) {
  background-color: #f1eaff;
}

.newsletter_table a {
  color: black;
  text-decoration: none;
}

.newsletter_table i {
  margin-right: 6px;
  color: red;
}

.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;
  }
}
