: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;
  }
  
  /* 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: 550px) {
    .NameOfSubdi h1 {
      font-size: 23px !important;
    }
    
    .NameOfSubdi h3 {
      font-size: 14px !important;
    }
    
    .TextOverlay {
      font-size: 30px !important;
    }
  }

.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: 350px; /* 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);
}


.text-wrap-layout {
  overflow: hidden; /* Important for clearing the float */
  margin: 3% 10%;
  font-size: 16px;
  line-height: 1.6;
}

.text-wrap-layout img {
  width: 650px;
}

.wrapped-image {
  float: left;
  width: 300px;
  height: auto;
  margin-right: 20px;
  margin-bottom: 10px;
  object-fit: cover;
  border: 1px solid #ccc;
}

/* DESIGN PARA SA NO ADDITIONAL MESSAGE */
.no-additional {
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  padding: 25px;
  margin: 3% 10%;
  border-left: 5px solid #007BFF; /* Blue accent */
  font-size: 16px;
  color: #444;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  text-align: center;
}

/* Responsive design for small screens */
@media (max-width: 768px) {
  .text-wrap-layout {
    margin: 3% 5%;
  }

  .text-wrap-layout img {
    width: 100%; /* Ensure the image is full width on small screens */
    margin-right: 0;
  }

  .wrapped-image {
    float: none;
    display: block; /* Makes the image block-level, so it will be on top */
    margin: 0 auto 10px auto; /* Centers the image and adds margin at the bottom */
  }

  .text-wrap-layout p {
    text-align: justify; /* Justify the paragraph for better readability on small screens */
  }

  .ImageTopAnnouncement {
    height: 250px;
  }
}