/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    height: 100%;
  }
  
  body {
    font-family: 'Quicksand', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    background-color: #003366;
    position: relative;
    overflow-x: hidden;
  }
  
  div#warning {
      position: absolute;
      z-index: 5;
      right: 30px;
      top: 10px;
      font-size: 5px;
  }
  
  a {
      color: #FFF;
  }
  
  /* Navigation */
nav {
    position: absolute;
    top: 0;
    right: 0; /* Set to right */
    padding: 20px;
    z-index: 2;
  }
  
  nav img {
    max-width: 100px;
    max-height: 50px;
    width: auto;
    height: auto;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  nav ul li {
    margin: 0;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0; /* Remove default margin */
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
  }
  
  .nav-links li a:hover {
    color: #ffc107;
  }
  

/* Header */
.header-container {
    position: relative;
    display: inline-block; /* Add this line */
    max-width: 100%; /* Add this line */
  }

.title-overlay {
    position: absolute;
    top: 30%; /* Adjust the top value to reduce the space */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
  }
  
  #logo {
    max-width: 300px; /* Adjust the maximum width as needed */
    margin: 10px auto; /* Center the logo horizontally and reduce spacing above */
  }
  
  #logo img {
    max-width: 100%;
  }
  
  header h1 {
    font-size: 48px;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  header p {
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  /* Hero Image */
  .hero-img {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .hero-img img {
    width: 100%;
    height: auto;
    opacity: 0.5;
    object-fit: cover;
    border-radius: 0;
  }
  
  .hero-img-container {
    height: calc(100vh - 100px); /* Subtract the header's height */
    max-height: 500px;
  }
  
  .hero-img-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 71, 121, 0.8) 90%, rgba(0, 71, 121, 1));
    z-index: 1;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .img-text-wrapper{
    display: flex;
    align-items: center;
  }
  
  /* Section */
  section {
    padding: 80px 0;
  }
  
  section img {
      border-radius: 140px;
  }
  
  /* Invert image and text placement in sections */
  .inverted {
    flex-direction: row-reverse;
  }
  
  /* Section Title */
  h2 {
    margin: 0; /* Remove the default margin */
    margin-bottom: 40px; /* Add margin only at the bottom for spacing */
    text-align: center;
  }
  
  /* About Us */
  .about {
    background-color: #004779;
    display: flex;
    padding: 80px 0;
    margin-top: -80px; /* Add this line to adjust for the header height */
  }
  
  .about img {
    width: 50%;
    margin-right: 50px;
    border-radius: 50%;
  }
  
  .about h2 {
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
  }
  
  .about p {
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    flex: 1;
  }
  
  /* Testimonials */
  .testimonials {
    background-color: #003366;
    padding: 100px 0;
  }
  
  .testimonials h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
  }
  
  .testimonials .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .testimonials img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 50%;
  }
  
  .testimonials p {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: #fff;
  }
  
  /* Footer */
  footer {
    background-color: #003366;
    color: #fff;
    padding: 20px 0;
  }
  
  footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  footer p {
    margin: 0;
  }
  
  footer .social-media a {
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
  }
  
  footer form {
    display: flex;
  }
  
  footer form input[type="email"] {
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
  }
  
  footer form button {
    padding: 10px 20px;
    background-color: #fff;
    color: #003366;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  /* Contact Form */
.contact {
    background-color: #1464a0;
    color: #fff;
    padding: 80px 0;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
  }
  
  .form-group textarea {
    resize: vertical;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #ffc107;
  }
  
  .button-wrapper {
    text-align: center;
    margin-top: 20px;
  }
  
  button[type="submit"] {
    background-color: #ffc107;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }
  
  button[type="submit"]:hover {
    background-color: #ff9800;
  }
  
  
  div#copyright {
      text-align: center;
      padding: 0 5px 20px 5px;
  }
  
  /* Media Queries */
  @media only screen and (max-width: 768px) {
    
    html {
    /**  overflow-x: hidden; */
    }
    
    div#warning {
      transform: translateX(-50%);
      font-size: 10px;
    }
    header h1 {
      font-size: 36px;
    }
  
    header p {
      font-size: 18px;
    }
    
    /* Make the sections stack vertically on smaller screens */
    .img-text-wrapper {
      flex-direction: column;
    }
    /* Make the images smaller on smaller screens */
    img {
      width: 100% !important;
    }
    
    section img {
      margin: 0 !important;
      border-radius: 0;
  }
    /* Center the text horizontally on smaller screens */
     .img-text-wrapper p, .testimonials p  {
      text-align: center;
      padding: 10px; /* Add padding for the text */
    }
    
    
    section p {
        
        font-size: 20px !important;
    }
    
    h2 {
      width: 100%;
    }
    
    footer {
      flex-wrap: wrap;
    }
    /* Make the footer items stack vertically on smaller screens */
    footer .footer-item {
      width: 100%;
      text-align: center;
    }
    
    .container {
      max-width: 100%;
      display: flex;
      flex-wrap: wrap;
    }
    
    footer form {
      display: inline;
  }
    
    
  }
  