html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
}

html, body {
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: rgba(255, 255, 255, 0.971);
  border-bottom: 0.5px solid rgb(254, 254, 255);
  z-index: 1000;
}


.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  box-sizing: border-box;
  color: rgb(0, 58, 133);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 22px;
  line-height: 1;
  font-family: roboto;
}


.logo img {
  height: 50px;        
  max-height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}





.nav a {
  font-family: Roboto;
  font-weight: 400;
  margin: 0 12px;
  color: rgb(0, 58, 133);
  text-decoration: none;
}

.nav a:hover {
  color: rgb(1, 16, 68);
  background-color: rgb(255, 255, 255);
  padding: 4px 8px;
  border-radius: 100px;
  border: none;
}

.header-buttons {
  display: flex;
  gap: 10px;
}


.btn-primary-head {
  font-family: Roboto;
  font-size: small;
  background-color: rgba(0, 58, 133, 0.658);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.btn-primary-head:hover {
  background-color: rgb(1, 7, 68);
  color: rgb(255, 255, 255);
}

.btn-secondary-head {
  background-color: rgba(0, 58, 133, 0.581);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-secondary-head:hover {
  background-color: rgb(1, 7, 68);;
  color: rgb(255, 255, 255);
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px 16px;
    position: relative;
  }

  .logo {
    position: static !important;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    text-align: center;
    width: 100%;
  }


  .logo img {
    height: 44px;
    max-height: 44px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }

  .header-buttons {
    order: 2;
    display: flex;
    width: 100%;
    max-width: 420px;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn-primary-head,
  .btn-secondary-head {
    width: 100%; 
    text-align: center;
  }

  .hamburger {
  display: block;
  align-self: center;
  font-size: 28px;
  margin: 8px auto 0 auto;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: rgb(1, 7, 68);
}

.nav {
    order: 4;
  }

  .nav {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(0px);
  }

  
  .nav.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, rgb(53, 100, 203), rgb(255, 255, 255)); 
  box-shadow: 0 8px 32px rgba(5, 1, 68, 0.18);
  border-bottom: 2px solid rgb(53, 68, 203);
  border-radius: 0 0 18px 18px;
  padding: 60px 0 24px 0; 
  text-align: center;
  z-index: 9999; 
  backdrop-filter: none; 
}


  .nav a {
    max-width: 100%;
    display: block;
    margin: 18px 0;
    font-size: 22px;
    color: rgb(1, 7, 68);;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
    border-radius: 8px;
    padding: 8px 0;
  }
}

.hamburger {
  display: none;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

.nav-close {
  display: none;
}

@media (max-width: 768px) {
  .nav-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: rgb(1, 7, 68);;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
  }
  .nav-close:hover {
    color: rgb(53, 93, 203);
  }
}


.hero {
    text-align: left;
    padding: 100px 0 60px 0;
    background:
    linear-gradient(to right, rgba(1, 27, 68, 0.851) 20%, rgba(53, 93, 203, 0.25)),
    url('landingimg.jpg') center/cover no-repeat;
    min-height: 600px;
    position: relative;
    max-width: 100%;
}

.hero-title {
  font-size: 68px;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  color: rgb(255, 255, 255);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 32px;
  max-width: 700px;
}


.hero-buttons {
  display: flex;
  justify-content: left;
  gap: 16px;
}

img, .hero {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}



@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .hero {
    padding: 60px 0 40px 0;
    min-height: 400px;
    margin-top: 180px; 
  }
  .hero-title {
    font-size: 36px;
    max-width: 100%;
    word-break: break-word;
  }
  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .header-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}



.modal {
  font-family: roboto;
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333333;
  cursor: pointer;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 0.5rem;
}

.btn-submit {
  background: rgb(0, 56, 113);
  color: rgb(255, 255, 255);
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
}

.btn-submit:hover {
  background: rgb(139, 197, 255);
  color: black;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}












