/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  #mobileresponsive{

        width: 100%;
        max-width: 700px;
        height: auto;
        display: block;
          margin: 0 auto;
      
  }
  .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }
h4{
    font-weight: bold;
}
 .search-container {
      padding: 20px;
      border-radius: 5px;
      background-color: #67cbfe;
    }
  
    .pad {
      text-align: center;
      color: black;
      margin-bottom: 10px;
      font-size: 24px;
      font-weight: 600;
    }
  
    .search-form {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .search-form input,
    .search-form select {
      flex: 1;
      padding: 5px;
      border: 1px solid #ccc;
      border-radius: 3px;
      font-size: 14px;

      
    }
  
    .search-form select {
      background-color: white;
    }
  
    .search-btn {
      padding: 2px;
      background-color: #15204D;
      color: white;
      border: none;
      border-radius: 3px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s;
      padding-left:10px;
      width:210px; 
      
    }
  
    .search-btn:hover {
      background-color: red;
    }
  
    @media (max-width: 480px) {
      .search-form {
        flex-direction: column;
      }
   
    }
@media (max-width: 768px) {
            #mobile-responsive {
                width: 300px;
                height: 150px;
            }
            .search-container {
                padding: 25px 35px 25px 25px;
                border-radius: 5px;
                background-color: #67cbfe;
              }
      .search-btn {
      padding: 2px;
      background-color: #15204D;
      color: white;
      border: none;
      border-radius: 3px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s;
      padding-left:10px;
      width:auto; 
      
    }
}
  
     

  @media (min-width: 360px) and (max-width: 640px) {   
        .search-form input,
        .search-form select {
          flex: 1;
          padding: 5px;
          border: 1px solid #ccc;
          border-radius: 3px;
          font-size: 14px;
          width:auto ;
        }
    }
        @media (max-width: 320px) {
            #mobile-responsive {
                width: 300px;
                height: 150px;
            }
        
        .search-form input,
        .search-form select {
          flex: 1;
          padding: 5px;
          border: 1px solid #ccc;
          border-radius: 3px;
          font-size: 14px;
          width: 210px;
        }
        #mobile-responsive {
            width: auto;
            height: 150px;
        }
    }
/* Header styles */
header {
    background-color: #1a5f7a;
    color: #fff;
    padding: 1rem;
}

.header-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}


#main-nav {
    margin-bottom: -15px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 1.05s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #2e8bc0;
    
    border-radius: 4px;
}

/* General styles */
.nav-item, .dropdown-content a {
    padding: 12px 20px; 
    text-decoration: none;
    color: #fff; 
    text-align: center; 
    border-bottom: none;
}

.nav-item a, .dropdown-content a {
    text-decoration: none;
}

.nav-item:hover, .dropdown-content a:hover {
    background-color: #2e8bc0; 
    color: #fff; 
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000; 
    width: 220px; 
    z-index: 10;
    padding: 5px; 
    border-radius: 8px; 
}
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    list-style: none; 
    padding: 10px 0; 
   
}

.dropdown-content {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
}

.dropdown-content a {
    font-size: 13px; 
}



/* Main content styles */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0px -1px 2px -1px black;
}
.logos {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
}
@media (max-width: 768px) {
    body {
        font-size: 0.9rem; /* Slightly smaller for mobile */
    }
/* Common font family for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial,  sans-serif;
    margin-bottom: 20px;
}

/* Fixed font sizes for mobile */
h1 {
    font-size: 30px; /* Prominent but not overwhelming */
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 24px; /* Slightly smaller than H1 */
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 20px; /* Balanced for subheadings */
    font-weight: 500;
    line-height: 1.4;
}

h4 {
    font-size: 16px; /* Readable for smaller headers */
    font-weight: 400;
    line-height: 1.5;
}

h5, h6 {
    font-size: 14px; /* Compact for minor headings */
    font-weight: 400;
    line-height: 1.5;
}


}/* end mobile */

body {
    font-family: Arial,  sans-serif;
    font-size: 14px; 
    font-weight: 400;
    line-height: 1.5;
    color: black; 
    background-color: #fff; 
}



/* Common font family for headings */
h2, h3, h4, h5, h6 {
    font-family: Arial,  sans-serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 32px; 
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 22px; 
    font-weight: 500;
    line-height: 1.4;
}

h4, h5, h6 {
    font-size: 18px; 
    font-weight: 400;
    line-height: 1.5;
}

/* Paragraph styles */
p {
    font-family: Arial, sans-serif;;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 400;
    color: black;
}


ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}





#contact-form form {
    max-width: 600px;
}

#contact-form form div {
    margin-bottom: 1rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contact-form textarea {
    height: 150px;
}

#contact-form button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #1a5f7a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #2e8bc0;
}

footer {
    background-color: #1a5f7a;
    color: #fff;
    padding: 1rem 1rem;
}

.copyright {
    color: white;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-toggle, .close-nav {
    display: none;
}
 .responsive-image {
            width: 702px;
            height: 455px;
            display: block;
            margin: 0 auto;
        }
         /* Footer styles */
footer {
    background-color: #1a5f7a;
    color: #fff;
    padding: 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex-basis: 30%;
}

.footer-left img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-left p {
    margin-top: 1rem;
}

.footer-right {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -30px;
}

.footer-right h3 {
    margin-bottom: -1rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    margin-top: 2rem;
}

.pages-links, .posts-links {
    flex-basis: 45%;
}

.pages-links h4, .posts-links h4 {
    margin-bottom: 1rem;
}

.pages-links ul, .posts-links ul {
    list-style: none;
    padding-left: 0;
}

.pages-links ul li, .posts-links ul li {
    margin-bottom: 0.5rem;
}

.pages-links ul li a, .posts-links ul li a {
    color: #fff;
    text-decoration: none;
}

.pages-links ul li a:hover, .posts-links ul li a:hover {
    text-decoration: underline;
}

.copyright {
    color: white;
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }

    .footer-right {
        flex-basis: 100%;
        
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
                text-align: center;

    }

    .pages-links, .posts-links {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    .footer-left img {
        max-width: 100%;
    }
}

        
/* Responsive design */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }
    #nav-toggle {
        display: block;
    }
 #main-nav {
                display: flex;
                position: fixed;
                top: 0;
                right: -100%;
                height: 100%;
                width: 250px;
                background: #333;
                flex-direction: column;
                align-items: center;
                padding: 50px 20px;
                transition: right 0.3s ease;
                z-index: 1000;
            }

            #main-nav ul {
                flex-direction: column;
            }

            #main-nav ul li {
                margin: 5px 0;
            }

            .nav-toggle {
                display: block;
                background: none;
                border: none;
                color: white;
                font-size: 24px;
                cursor: pointer;
            }

            .close-nav {
                display: block;
                background: none;
                border: none;
                color: white;
                font-size: 24px;
                margin-top: 15px;
                cursor: pointer;
            }

            #main-nav.open {
                right: 0;
            }

 .responsive-image {
                width: 300px;
                height: 150px;
            }
    .footer-content {
        flex-direction: column;
        align-items: center; /* Center-aligns content */
        text-align: center;
    }


}