:root{
  --color-primary: #1828b8;
  --color-danger: #ff7782;
  --color-success: #41f1b6;
  --color-warning: #ffbb55;
  --color-white: #fff;
  --color-info-dark: #1e1e1f;
  --color-info-light: #939fb6;
  --color-dark: #363949;
  --color-light: rgba(61, 109, 176, 0.18);
  --color-light-2: rgba(52, 58, 116, 0.20);
  --color-primary-variant: #111e88;
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;

  --light: #f9f9f9;
  --blue: #3c91e6;
  --light-blue: #a9d5ff;
  --light-red: #f38c8c;
  --light-green: #a7f9d0;
  --grey: #eee;
  --dark-grey: #aaaaaa;
  --drak: #342e37;
  --red:  #e88383;
  --green: rgb(94, 232, 129);
  --color-info-dark: #919497;

  --color-border-radius: 2rem;
  --color-border-radius-1: 0.4rem;
  --color-border-radius-2: 0.8rem;
  --color-border-radius-3: 1.2rem;

  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}

*{
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  border: 0;
  scroll-padding-top: 2rem;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

section{
  padding: 50px 10%;
}

.Logoo{
  width: 60px;
}

.HeaderWithLogo {
    position: sticky;  /* Makes the header sticky */
    top: 0;  /* Positions it at the top of the viewport */
    z-index: 1000;  /* Ensures the header stays on top of other content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-primary);
    padding: 15px;
    box-shadow: 5px 10px 18px #888888;
    box-shadow: 0 8px 8px -10px black;
}

.MhNavbar {
    display: flex;
  }
  
  .hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    margin-left: auto;
  }
  
  .MhNavv {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .MhNavv li {
    position: relative;
  }
  
  .MhNavv a {
    display: flex;
    font-size: 13px;
    padding: 11px 20px 16px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
  }

  
  .MhNavv a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f1f1f1;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }
  
  .MhNavv a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  .MhNavv a.activee::after {
    width: 50%;
    left: 50%;
    transform: scaleX(1);
    transform-origin: bottom left;
    margin-left: -25%;
  }

  .MhNavv a.activee {
    color: rgba(255, 255, 255, 0.8);  /* light white font */
  }
  
  
  .MhNavv a.clicked {
    color: rgb(0, 51, 255);
    background-color: white;
  }
  
  /* Arrow */
  .arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg); /* ▼ down */
    margin-left: 8px;
    transition: 0.3s ease;
    margin-bottom: 5px;
  }

  /* DROPDOWN MENU */
  .dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 185px;
    background-color: white;
    z-index: 1;
  }
  
  .dropdown.show {
    display: block;
  }
  
  .dropdown li a {
    padding: 10px 20px;
    color: #000 !important;
    display: block;
    background-color: white;
    text-decoration: none;
    text-align: left;
  }

.LogoLandingPage{
  display: flex;
  align-items: center;
}

.NameOfSubdi{
  margin-left: 8px;
  color: white;
}

.NameOfSubdi h1{
  font-size: 28px;
  /* font-weight: 800;
  font-family: Tahoma; */
}

.NameOfSubdi h3 {
    font-size: 16px;
}


.ImageTopAnnouncement {
    width: 100%; /* Changed width to 100% */
    height: 250px; /* Added fixed height */
    overflow: hidden;
    position: relative;
    background: rgb(0, 103, 199); /* Added background color */
}

.ImageTopAnnouncement img {
    width: 100%; /* Make the image take the full width */
    height: 100%; /* Make the image take the full height of the container */
    object-fit: cover; /* Make sure the image covers the container */
}

.ContentOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertical centering */
    align-items: center;       /* horizontal centering */
    padding: 20px;
    background: rgba(0, 0, 0, 0.568);
    color: white;
    text-align: center;        /* center multi-line text, if any */
}

.TextOverlay {
    font-size: 50px;
    font-weight: bold;
    margin: 0 0 10px;          /* only keep bottom margin */
}

.BackButton {
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* no more manual margin—flex centering handles placement */
}

.BackButton:hover {
    text-decoration: underline;
    color: rgb(148, 172, 245);
}

/* DESIGN PARA SA FAQS CONTAINER */
.faq-container {
  margin: 30px;
}

.faq-container h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: #333;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.faq-item {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.459);
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
}

.faq-icon {
  font-size: 1.4em;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #555;
  line-height: 1.5;
  margin-top: 10px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}


/* RESPONSIVE */
@media (max-width: 905px) {
  .MhNavv {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 95px;
    left: 0;
    background-color: #0400ff;
    z-index: 10;
  }

  .MhNavv.active {
    display: flex;
  }

  .MhNavv li {
    text-align: center;
    width: 100%;
  }

  .MhNavv a {
    display: block;
    padding: 15px;
    text-align: center;
  }

  .MhNavv a:hover {
    color: rgb(0, 51, 255);
    background-color: white;
  }

  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
  }

  .dropdown li a {
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .arrow {
    margin-left: 6px;
    border-width: 0 3px 3px 0;
    padding: 5px;
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .NameOfSubdi h1 {
    font-size: 23px !important;
  }
  
  .NameOfSubdi h3 {
    font-size: 14px !important;
  }
  
  .TextOverlay {
    font-size: 30px !important;
  }
}