/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #2A3688;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-logo {
  font-size: 1.9rem;
  text-decoration: none;
  color: #f1f1f1;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-button {
  text-decoration: none;
  color: #f1f1f1;
  padding: 0.5rem 1rem;
}



/* Header */
.header {
  position: relative;
  margin-top: 64px; /* height of navbar */
  width: 100%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.header-img {
  width: 100%;
  height: auto;
}

.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #f1f1f1;
}

.brand-box {
  background: #f1f1f1;
  opacity: 0.8;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.brand-name {
  color: black;
  margin-left: 0.5rem;
}

/* Main Content */
main{
    flex: 1;
}

body{
  background-color: #c4d9f0;
}

.content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section {
  padding: 2rem 0;
}

.section-title {
  border-bottom: 2px solid lightgray;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.section-description {
  line-height: 1.2;
  font-size: 1.2 rem;
}


body, h1 {
  font-family: "Montserrat", sans-serif;
}


img {
  margin-bottom: -7px;
  width: 100%;
}

.w3-row-padding img {
  margin-bottom: 12px;
}



/*footer*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #C5E6E8;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: flex;
  align-items: center;
  flex-direction: column;
}

footer {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 60px;
  background-color: #2A3688;
  color: #E7E8E9;
}

.footercontainer {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 15px;
}

.wrapper {
  flex-direction: row;
  flex-wrap: wrap;
}

.wrapper .footer-widget {
  width: 20%;
  margin: 0 5px 20px;
  padding: 0 5px;
}

.wrapper .footer-widget:nth-child(1) {
  width: 34%;
  margin-right: 5px;
}

.wrapper .footer-widget .logo {
  margin-bottom: 30px;
  vertical-align: middle;
  width: 100px;
  height: auto;
}


.wrapper .footer-widget p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 28px;
  color: #f1f1f1;
  width: 420px;
  text-align: justify;
}

.wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.wrapper .footer-widget .socials li {
  list-style: none;
}



.wrapper .footer-widget .socials li a {
  width: 33px;
  height: 33px;
  margin-right: 10px;
  color: #f1f1f1;
  background-color: #2A3688;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}


.wrapper .footer-widget h6 {
  position: relative;
  color: #f1f1f1;
  margin: 10px 0 35px;
  font-size: 25px;
  font-weight: 600;
  padding-bottom: 10px;
}





.copyright-wrapper {
  padding: 20px 0;
  border-top: 1px solid #f1f1f1;
  text-align: center;
}

.copyright-wrapper p {
  margin: 0;
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: calc(50% - 30px);
  }
  .copyright-wrapper p {
    line-height: 28px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-button {
    width: 100%;
    padding: 0.75rem;
    text-align: left;
  }

  .header-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: 100%;
    margin: 0 10px 50px;
  }
  .wrapper .footer-widget p {
    width: 100%;;
  }

  .navbar {
    padding: 0.5rem;
  }

  .nav-logo {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .header-text {
    padding: 1rem;
    font-size: 1.2rem;
  }

  .brand-box {
    padding: 0.3rem 0.6rem;
  }

  .brand-name {
    font-size: 1rem;
  }
}



/* Show hamburger only on small screens */
.hamburger {
  display: none;
}

/* Default hide nav links */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
     transition: all 0.3s ease;
  z-index: 1001;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: #f1f1f1;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #2A3688;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex; /* THIS IS CRITICAL */
  }

  .nav-button {
    padding: 1rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

}
body {
  font-family: "Open Sans", sans-serif;

}

/* Custom gallery grid fix */
.myGrid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 2rem auto;
  max-width: 1200px;
  flex-wrap: wrap;
}

.w3-third {
  flex: 1 1 32%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w3-third img {
  width: 100%;
  height: 250px; /* Adjust as needed */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.w3-third img:hover {
  transform: scale(1.03);
}

/* Responsive fixes */
@media (max-width: 900px) {
  .w3-third {
    flex: 1 1 48%;
  }
}

@media (max-width: 600px) {
  .w3-third {
    flex: 1 1 100%;
  }
}




