body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
}

a {
  text-decoration: none;
}

/* Navbar */
nav {
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  position: relative;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: #001542;
  letter-spacing: 1px;
}

.footer-logo {
  color: #fff;
}
.menu-icon {
  font-size: 28px;
  cursor: pointer;
  display: none;
  color: #001542;
}

ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  transition: all 0.3s ease;
}

li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.CTA-btn {
  background-color: #001542;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* Extra Small Devices (≤576px) */
@media (max-width: 576px) {
  nav {
    padding: 10px 20px;
  }
  .menu-icon {
    display: block;
  }

  ul {
    position: absolute;
    top: 38px;
    left: 0;
    width: 60%;
    height: 100vh;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  ul.active {
    display: flex;
    padding: 30px;
  }

  li {
    margin-bottom: 10px;
  }

  .CTA-btn {
    width: 90%;
    text-align: center;
  }
}

/* Small Devices (≤768px) */
@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
  }
  .logo {
    font-size: 20px;
  }

  .menu-icon {
    font-size: 24px;
  }
}

/* Medium Devices (≤992px) */
@media (max-width: 992px) {
  nav {
    padding: 10px 20px;
  }
  .logo {
    font-size: 21px;
  }

  .menu-icon {
    font-size: 26px;
  }
}

/* Large Devices (≤1200px) */
@media (max-width: 1200px) {
  .logo {
    font-size: 22px;
  }

  .menu-icon {
    font-size: 28px;
  }
}

/* Extra Large Devices (≤1400px) */
@media (max-width: 1400px) {
  .logo {
    font-size: 22px;
  }
}

/* main section */
.PV-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 60px 100px;
}

.left-sidebar {
  position: sticky;
  top: 40px;
  width: 20%;
  height: 100%;
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

select {
  outline: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

.main-content {
  width: 50%;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 20px;
}

.content-block {
  display: none; /* Initially hide all */
}

.right-sidebar {
  position: sticky;
  top: 40px;
  width: 20%;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 20px;
}

.right-sidebar .search-box {
  position: relative;
}

#suggestions {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
}

#suggestions li {
  padding: 5px 10px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

#suggestions li:hover {
  background-color: #f0f0f0;
}

.search-box input {
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  margin-bottom: 10px;
  padding: 5px;
}

.search-box button {
  border: none;
  background-color: #001542;
  color: #fff;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
}

/* Responsive Layout for PV-container */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .PV-container {
    flex-direction: column;
    padding: 40px;
    margin-right: 25px;
  }

  .left-sidebar,
  .main-content,
  .right-sidebar {
    width: 100%;
    position: static;
  }

  .search-box input,
  .search-box button {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Small Devices (small phones to tablets, ≥576px and <768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .PV-container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .left-sidebar,
  .main-content,
  .right-sidebar {
    width: 100%;
    position: static;
  }
}

/* Medium Devices (tablets, ≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .PV-container {
    flex-direction: column;
    padding: 40px 30px;
  }

  .left-sidebar,
  .main-content,
  .right-sidebar {
    width: 100%;
    position: static;
  }
}

/* Large Devices (desktops, ≥992px and <1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .left-sidebar,
  .right-sidebar {
    width: 25%;
  }

  .main-content {
    width: 50%;
  }

  .PV-container {
    flex-direction: row;
    padding: 50px 60px;
  }
}

/* Extra Large Devices (≥1200px and <1400px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .left-sidebar,
  .right-sidebar {
    width: 22%;
  }

  .main-content {
    width: 56%;
  }
}

/* Extra Extra Large Devices (≥1400px) */
@media (min-width: 1400px) {
  .PV-container {
    padding: 60px 100px;
  }

  .left-sidebar {
    width: 20%;
  }

  .main-content {
    width: 50%;
  }

  .right-sidebar {
    width: 20%;
  }
}

/* footer section */
.footer-section {
  background-color: #001542;
  color: #eee;
  padding: 20px 15px;
  font-family: "inter", sans-serif;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo h2 {
  margin: 0 0 5px;
  font-size: 1.6rem;
  color: #ffb30d;
}

.footer-logo p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #ffb30d;
}

.footer-links .ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links .ul li {
  margin-bottom: 8px;
}

.footer-links .ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links .ul li a:hover {
  color: #ffb30d;
}

.footer-social .social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.footer-social .social-icons a {
  color: #eee;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #ffb30d;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #fff;
}

/* Small devices (SM) 576px and up */
@media (min-width: 576px) {
  .footer-section {
    padding: 30px 20px;
    font-size: 15px;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 24px;
  }

  .footer-social .social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

/* Medium devices (MD) 768px and up */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;

    justify-content: space-between;
    gap: 40px;
  }

  .footer-logo,
  .footer-links,
  .footer-social {
    flex: 1;
  }

  .footer-social .social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 20px;
  }

  .footer-bottom {
    font-size: 0.9rem;
  }
}

/* Large devices (LG) 992px and up */
@media (min-width: 992px) {
  .footer-section {
    padding: 40px 50px;
    font-size: 16px;
  }

  .footer-logo h2 {
    font-size: 20px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 24px;
  }

  .footer-social .social-icons a {
    font-size: 1.6rem;
  }
}

/* Extra Large devices (XL) 1200px and up */
@media (min-width: 1200px) {
  .footer-section {
    padding: 50px 80px;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 22px;
  }
}

/* XXL devices 1400px and up */
@media (min-width: 1400px) {
  .footer-section {
    padding: 60px 120px;
  }

  .footer-logo h2 {
    font-size: 2.6rem;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 1.8rem;
  }
}
