:root{
      --united-nations-blue: hsl(214, 56%, 58%);
  --bright-navy-blue: hsl(214, 57%, 51%);
   --gunmetal: hsl(206, 34%, 20%);
      --cultured: hsl(0, 0%, 98%);
      --spanish-gray: hsl(0, 0%, 60%);
      --white: #ffffff;
      /* Typography */
      --ff-poppins: 'Poppins', sans-serif;
      --ff-montserrat: 'Montserrat', sans-serif;
      --fw-600: 600;
      /* Transitions */
      --transition: 0.3s ease;
}

*{
    margin: 0;
    padding:0;
    max-width: 99vw;
    box-sizing: border-box;
}

#container {
    width: 100vw;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
 

}   



#container img {
   height: 100%;
   width: 100%;
    filter : brightness(30%);
    object-fit: cover;
    z-index: -1;
    position: absolute;
}

#container h2{
    position: relative;
      font-family: "Cal Sans", sans-serif;
    font-weight: 400;
     font-style: normal;
     color : white;
     font-size: 30px;
     z-index: 1;
     font-size: 60px;
}

:root {
  --bright-navy-blue: #004080;
}

#content-section {
  width: 100%;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

#content-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

#left-area,
#right-area {
  flex: 1 1 45%;
  padding: 20px;
}

#logo img {
  max-width: 100px;
  height: auto;
  text-align: center;
  padding-left:auto;
  padding-right : auto;
}

#welcome {
  margin-top: 15px;
  font-family: "Cal Sans", sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--bright-navy-blue);
  text-align: center;
}

#content h5 {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--bright-navy-blue);
  text-align: justify;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  #content-area {
    flex-direction: column;
    padding: 10px;
  }

  #left-area,
  #right-area {
    flex: 1 1 100%;
    padding: 10px;
    text-align: center;
  }

  #welcome {
    font-size: 24px;
  }

  #content h5 {
    font-size: 14px;
    line-height: 1.6;
  }
}

#why-section {

    padding: 4rem 0;
}

#heading-why {
    text-align: center;
    margin-bottom: 3rem;
    color : var(--bright-navy-blue)
}

#heading-why h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
}

.section-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

#triple-box {
    width: 100vw;
    min-height: 60vh; /* More flexible height */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

#triple-box .box {
    position: relative;
    width: 30%;
    max-width: 400px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#triple-box .box .image{
    width : 100%;
    height:70%;
    overflow: hidden;
    object-fit: cover;
}
#triple-box .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#triple-box .box .content{
    display: flex;
    color: var(--bright-navy-blue);
       font-family: "Cal Sans", sans-serif;
    font-weight: 300;
  font-style: normal;
    flex-direction: column;
    justify-content: center;
    gap:1rem;
    align-items: center;
}
#triple-box .box .content h3{
    text-transform: capitalize;
    word-spacing: 0.2rem;
    letter-spacing: 0.05rem;
}


#triple-box .box:hover {
    transform: translateY(-10px);
}




/* Responsive Design */
@media (max-width: 768px) {
    #triple-box {
        flex-direction: column;
        min-height: auto;
    }

    #triple-box .box {
        width: 80%;
        height: 300px;
        margin: 1rem 0;
    }

    #heading-why h1 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
#triple-box .box {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#heading-why h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ffffff;
    margin: 1rem auto;
}





/*
CSS FOR NAV

*/
header{
  position: sticky;
  top: 0;
}
nav{
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}
nav a:hover{
  background-color: #f0f0f0;
}
nav li:first-child{
  margin-right: auto;
}
.sidebar{
  z-index: 999;
  position: fixed;
  top: 50%; 
  right: 0;
  height: 100vh;
  width: 250px;
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
 
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
  z-index: 99;
}
.menu-button{
  display: none;
}
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media(max-width: 400px){
  .sidebar{
    width: 80%;
  }
}


/*

FOOTER


*/


    /* Footer */
    .footer {
      background: var(--gunmetal);
      color: var(--cultured);
      padding-top: 4rem;
    }

    .footer-top .container {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 0 2rem 3rem;
      max-width: 1200px;
      margin: 0 auto;
    }
    .footer-brand,
    .footer-contact,
    .footer-form {
      flex: 1;
      min-width: 250px;
    }

    /* Brand */
    .footer-brand .logo img {
      max-width: 160px;
      display: block;
      margin-bottom: 1rem;
    }
    .footer-brand p {
      font-size: 0.9rem;
      line-height: 1.5;
      color: var(--spanish-gray);
    }

    /* Contact */
    .footer-contact h4 {
      font-family: var(--ff-montserrat);
      font-size: 1.2rem;
      margin-bottom: 1rem;
      color: var(--white);
      position: relative;
    }
    .footer-contact h4::after {
      content: '';
      position: absolute;
      left: 0; bottom: -0.25rem;
      width: 40px; height: 3px;
      background: var(--white);
    }
    .footer-contact ul {
      list-style: none;
    }
    .contact-item {
      display: flex;
      align-items: center;
      font-size: 0.9rem;
      margin: 0.75rem 0;
      color: var(--cultured);
    }
    .contact-item ion-icon {
      font-size: 1.2rem;
      color: var(--white);
      margin-right: 0.75rem;
    }
    .contact-item a,
    .contact-item address {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }
    .contact-item a:hover {
      color: var(--white);
    }

    /* Newsletter */
    .footer-form p {
      font-size: 0.9rem;
      color: var(--spanish-gray);
    }
    .footer-form {
      text-align: right;
    }
    .form-wrapper {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }
    .input-field {
      flex: 1;
      min-width: 200px;
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      border: none;
      background: var(--white);
      color: #333;
      font-family: inherit;
    }
    .btn-secondary {
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      border: 2px solid var(--white);
      background: transparent;
      color: var(--white);
      font-family: var(--ff-montserrat);
      font-weight: var(--fw-600);
      cursor: pointer;
      transition: var(--transition);
    }
    .btn-secondary:hover {
      background: var(--white);
      color: var(--gunmetal);
    }

    /* Bottom Bar */
    .footer-bottom {
      border-top: 1px solid #2a2a2a;
      padding: 2rem 2rem;
    }
    .footer-bottom .container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }
    .footer-bottom p {
      font-size: 0.85rem;
      color: var(--spanish-gray);
    }
    .footer-bottom a {
      font-size: 0.85rem;
      color: var(--spanish-gray);
      text-decoration: none;
      margin-left: 1rem;
      transition: var(--transition);
    }
    .footer-bottom a:hover {
      color: var(--white);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .footer-top .container {
        flex-direction: column;
        align-items: center;
      }
      .footer-contact {
        padding-left: 0;
      }
      .footer-form {
        text-align: center;
      }
    }
    @media (max-width: 480px) {
      .form-wrapper {
        flex-direction: column;
      }
      .btn-secondary {
        width: 100%;
      }
      .footer-bottom .container {
        flex-direction: column;
      }
    }


  .new-logo{
    height: 40vh;
    width: 99vw;
    margin : 10vh 0;
    align-items: center;
    text-align: center;
  }
  .new-logo img{
    height: 100%;
    width:100%;
    align-items: center;
    object-fit: contain;
  }

  @media  screen and (max-width:800px) {
    .new-logo {
      margin : 5vh 0;
    }
  }