*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }
  

.genLayOut{
    width: 90%;
    margin: auto;
}

header{
 position: fixed;
 top: 0;
 width: 100%;
 z-index: 10;
 background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
 backdrop-filter: blur(5px);
 
}

.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0rem;
    
}


#menu ,#closenav{
    display: none;
}

.rightnav{
    width: 800px;
    /* border: 1px solid green; */
    display: flex;
    justify-content: end;
    align-items: center;
}

.middleItems{
    display: flex;
     gap: 2rem;
     margin-right: 5rem;
}
.middleItems>a{
   font-family: 'Roboto', sans-serif;
   text-decoration: none;
   font-size: 17px;
   text-transform: capitalize;
   color: #006595;
   text-transform: capitalize;
   position: relative;
   display: inline-block;
   text-decoration: none;
}

.middleItems > a:hover::after {
    width: 100%;
  }

.middleItems>a:hover{
    color:   #144b61;
}
.middleItems > a::after {
    content: '';
    position: absolute;
    bottom: 0;           /* Line at the bottom of the link */
    left: 0;
    width: 0;
    height: 1px;         /* Thickness of the line */
    background-color:#006595; /* Line color */
    transition: width 0.3s ease;
  }

.leftItem>a>.btn{
    border: none;
    padding: .6rem 1.5rem;
    font-size: 17px;
    border-radius: 12px;
    background-color: #006595;
    color: whitesmoke;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}
.leftItem>a>.btn:hover{
    background-color: #144b61;
    color: white;
}

/* ================================================== */

.carousel-inner{
    margin-top: -3.4rem;
}

/* ======================================================= */

/* section 2 */

.sectonTwo{
    display: flex;
    margin-block:5rem ;
}
.sectonTwo>div{
    width: 50%;
}
.sectonTwo>div>img{
    box-shadow: 4px 4px 8px;
   width: 100%;
   object-fit: cover;
   cursor: pointer;
   /* object-fit: contain; */
   border-bottom-right-radius: 100px;
   border-top-left-radius: 100px;
   animation: shake 2.5s ease infinite;
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
  }
  
.sectonTwo>div>h1{
   color: #006595;
   font-size: 30px;
   text-align: center;
   margin-top: 2rem;
   font-family: 'Open Sans', sans-serif;
   text-transform: capitalize;
}
.sectonTwo>div>p{
   font-family: 'Open Sans', sans-serif;
   opacity: .8;
   font-size: 17px;
   text-align: center;
   width: 90%;
   margin: 2rem auto;
}
.sectonTwo>div>a{
   text-decoration: none;
   display: flex;
}
.sectonTwo>div>a>button{
    border: none;
    padding: 1rem 2rem;
    font-size: 17px;
    border-radius: 12px;
    background-color: #006595;
    color: whitesmoke;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    margin: 1rem auto;
    text-transform: capitalize;
}

.sectonTwo>div>a>button:hover{
    background-color: #144b61;
    color: white;
}



/* ================================================= */

/* section 3 */

.sectionthree{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sectionthree>h1{
    color: #006595;
    font-size: 30px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    text-transform: capitalize;
}
.sectionthree>p{
    font-family: 'Open Sans', sans-serif;
    opacity: .8;
    font-size: 17px;
    text-align: center;
    
}


.secconsection{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-block: 3rem;
}
.secconsection>div > div{
  display: flex;
  justify-content: center;
  align-items:center ;
  margin-block: 1.5rem;
  flex: 1;
}

.secconsection>div>h2{
text-align: center;
color: #006595;
font-size: 30px;
font-family: 'Open Sans', sans-serif;
text-transform: capitalize;

}
.secconsection>div>p{
text-align: center;
font-family: 'Open Sans', sans-serif;
opacity: .8;
font-size: 17px;

}




/* section 4 */

.sectionfourwrapper> .sectionfour{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-block: 7rem;
}

.sectionfour>div>div{
    width: 100%; 
}
.sectionfour>div>div>img{
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 4px 4px 8px;
    
  
}
.sectionfour>div>div>img:hover{
    animation: shake 2.5s ease infinite;
    opacity: .6;
}

.sectionfour>div>h1{
text-align: center;
margin-block: 10px;
color: #006595;
font-size: 20px;
font-family: 'Open Sans', sans-serif;
text-transform: capitalize;
}
.sectionfour>div>p{
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    opacity: .8;
    font-size: 15px;
}
.sectionfour>div>a{
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    opacity: .8;
    font-size: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* section 5 */
.sectionfive{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
   margin: auto;
}
.sectionfive>h1{
    text-align: center;
    margin-block: 10px;
    color: #006595;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    text-transform: capitalize;
}
.sectionfive>p{
    font-family: 'Open Sans', sans-serif;
    opacity: .8;
    font-size: 15px;
    text-align: center;
}


/* sesion 6 */

.ourservice{
    display: flex;
    justify-content: center;
    /* align-items: center; */
    margin-block: 6rem;
    gap: 2rem;
}
.ourservice>div{
    /* border: 2px solid white; */
    flex: 1;
}
.ourservice>div>h1{
    /* margin: auto; */
    color: #006595;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    text-transform: capitalize;
    margin-bottom: 10px;
}
.ourservice>div>p{
    font-family: 'Open Sans', sans-serif;
    opacity: .8;
    font-size: 13.5px;
}

.imgdiv{
    width: 100%;

}
.imgdiv>img{
    width: 100%;
    border-bottom-right-radius: 100px;
    border-top-left-radius: 100px;
    animation: shake 2.5s ease infinite;
    box-shadow: 4px 4px 8px;
}

.imgdiv>img:hover{
    cursor: pointer;
    opacity: .7;
}




/* section 7 */

.sectionseven{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sectionseven>h1{
    text-align: center;
    color: #006595;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.sectionseven>p{
    font-family: 'Open Sans', sans-serif;
    /* opacity: .8; */
    font-size: 17px; 
}

.sectionseven>ul>li{
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    margin-bottom: 10px;
}

.sectionseven>ul>li>span{
    font-weight: 600;
}




/* section 8 */

.sectioneight{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sectioneight>h1{
    text-align: center;
    color: #006595;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    text-transform: capitalize;
    
}
.sectioneight>p{
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    text-align: center;
    margin-bottom: 50px;
    text-transform: capitalize;
}
.sectioneightwrapper{
    margin-block: 8rem;
}

.eightcards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    /* border: 3px solid green; */

}


.eightcards>.oneeight{
background-color: white;
padding: 1.5rem;
box-shadow: 4px 4px 8px;
cursor: pointer;
}

.eightcards>.oneeight:hover{
    opacity: .7;
}

.eightcards>.oneeight>p{
    font-family: 'Open Sans', sans-serif;
    opacity: .8;
    font-size: 17px;
    margin-block: 1rem;
}



/* SECTION 9 */

.sectionninwrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
   padding: 2rem 0rem;
   margin-block: 3rem;
}
.sectionninwrapper>div>h1{
    /* text-align: center; */
    color: whitesmoke;
    font-size: 25px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;  
}
.sectionninwrapper>div>p{
    font-family: 'Open Sans', sans-serif;
    text-transform: capitalize;
    font-size: 14px;
    color: whitesmoke;
}
.sectionninwrapper>a>button{
    border: none;
    padding: .5rem 1.5rem;
    font-size: 17px;
    border-radius: 12px;
    background-color: #03577e;
    color: whitesmoke;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;  
    border: none;
}
.sectionninwrapper>a{
    border: none;
    text-decoration: none;
    
}

.sectionninwrapper>a>button:hover{
     background-color: #05425f;
}


/* section 10 */
.sectiontenwrapper{
    margin-block: 8rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3rem;
    row-gap: 1rem;
}

.sectiontenwrapper>div{
    width: 50%;
}
.sectiontenwrapper>div>img{
    width: 100%;
}








footer {
    background-color: #1c2431;
    color: #f5f5f5;
    font-family: 'Segoe UI', sans-serif;
    padding: 50px 20px 30px;
  }
  
  footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
  }
  
  footer a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  .footer-top h1 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
  
  .footer-col {
    flex: 1 1 200px;
  }
  
  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffd700;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .footer-col ul li:hover {
    text-decoration: underline;
  }
  
  .contact-col p,
  .contact-col h5 {
    /* margin: 10px 0; */
    color: whitesmoke;
    margin-left: 0rem;
    font-size: 14px;
    text-align: start;
  }
  
  /* .contact-col .small-text {
    font-size: 13px;
    color: #ccc;

  } */
  

  
  .footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #bbb;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    
  }
  .footer-bottom> p{
    color: whitesmoke;
  }

  hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px;
  }
  
  @media (max-width: 835px) {
    .footer-main {
      flex-direction: column;
      gap: 30px;
    }
  
    .footer-top h1 {
      font-size: 18px;
    }

    .footer-col ul{
        text-align: center;
    }

    .footer-col h4{
        text-align: center;
    }

    .subscribe-box{
      display: none;
    }

    
    .hightext, .small-text{
      display: none;
    }
    .contact-col p,
    .contact-col h5 {
    
      text-align: center;
    }
  }

  






/* apply form */
/* =============================================================================== */
.fommert {
    background: #fff;
    max-width: 800px;
    padding: 30px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: Arial, sans-serif;
    margin-block: 6rem;
    
    
  }

  h1 {
    margin-top: 0;
    color: #003366;
    text-align: center;

  }

  p {
    margin-bottom: 30px;
    color: #555;
    text-align: center;
    
  }

  .formwraper > div {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .formwraper label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  .formwraper input[type="text"],
  .formwraper input[type="email"],
  .formwraper input[type="number"],
  .formwraper input[type="date"],
  .formwraper input[type="address"],
  .formwraper select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }

  .formcard > div,
  .poneandemail > div,
  .address > div,
  .stateandzip > div,
  .ssnanddateofbirth > div,
  .posionselect > div,
  .uploaddocumebt > div {
    flex: 1;
    min-width: 220px;
  }

  .uploaddocumebt input[type="file"] {
    padding: 5px;
  }

  button[type="submit"] {
    background-color: #003366;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
  }

  button:hover {
    background-color: #005599;
  }



/* =================================================================================== */


/* appointment */

.appointment-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
  }
  
  .appointmentwrapper {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 9rem;
    justify-content: space-between;
    /* align-items: flex-start; */
    max-width: 100%;
    margin: 0 auto;
    /* border: 2px solid green; */
  }
  
  .divtopAppoint {
    flex: 1 1 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .divtopAppoint p {
    font-size: 14px;
    color: #888;
    /* margin-bottom: 5px; */
    margin-top: 2rem;
  }
  
  .divtopAppoint h1 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #003366;
  }
  
  .appoinmentform label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
  }
  
  .appoinmentform input[type="text"],
  .appoinmentform input[type="date"],
  .appoinmentform input[type="time"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  .nameded,
  .mainPreferred {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .samed {
    flex: 1 1 220px;
  }
  
  .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
  }
  
  .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
  }
  
  #btnAppointment {
    background-color: #003366;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
  }
  
  #btnAppointment:hover {
    background-color: #005599;
  }
  
  .image-container {
    flex: 1 1 400px;
  }
  
  .image-container img {
    max-width: 100%;
    border-radius: 8px;
  }
/* ============================================================   */



/* contact form */

.contact-container {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

/* Input and Textarea Styles */
.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  color: #555;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #5d5dff;
  outline: none;
}

/* Submit Button */
.submit-btn button {
  padding: 12px 25px;
  background-color: #003366;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn button:hover {
     background-color: #1f4a75;
}

.submit-btn button:active {
  background-color: #3d3db8;
}








@media (max-width: 835px) {
    /* CSS rules here will only apply on small screens (≤ 480px) */

    .logo{
        width: 40%;
    }
    .logo>img{
        width: 100%;
    }
    .rightnav {
        flex-direction: column;
        display: none;
      }
    .middleItems {
        justify-content: center;
        align-items: center;
      flex-direction: column;
      /* border: 2px solid green; */
      width: 100%;
      margin: auto;
    }

    .middleItems > a{
        font-size: 18px;
        font-weight: 600;
        /* margin-block: 1rem; */
    }

    .leftItem{
        margin-top: 1rem;
    }

    .leftItem>.btn{
        font-size: 18px;
    }


    #menu{
        /* display: none; */
        display: block;
        font-size: 30px;
        /* border: 3px solid green; */
        color: #006595;
    }

    #closenav{
        display: none;
        /* border: 2px solid green; */
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        color: black;
    }

    #closenav:hover{
        color: red;
    }
    


    /* section 1 */
    .carousel-inner{
        margin-top: 5rem;
    }


    /* carousel-item */

    .carousel-caption{
        display: none;
    }

    /* sectiom 2 */
    .sectonTwo{
        flex-direction: column;
        width: 95%;
        /* border: 2px solid green; */
    }
    .sectonTwo>div{
        width: 100%;
    }
    .sectonTwo>div>img{
        border-top-right-radius: 100px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 100px;
        border-top-left-radius: 0px;
    }
    .sectonTwo>div>h1{
        font-size: 20px;
        font-weight: 800;
    }
    .sectonTwo>div>p{
        /* border: 3px solid; */
        width: 100%;
        font-weight:550;
        margin-block: 0rem;
    }


    /* section 3 */

    .sectionThreewrapper{
        width: 95%;
        /* border: 3px solid green; */
    }

    .sectionthree>h1{
               /* border: 3px solid green; */
               font-size: 20px;
               font-weight: 800;
    }
    .sectionthree>p{
               /* border: 3px solid green; */
               font-size: 18px;
               font-weight: 550;
    }

    .secconsection{
        flex-direction: column;
        margin-block: 0rem;
    }

    .secconsection>div>h2{
        /* border: 3px solid green; */
        font-size: 20px;
        font-weight: 800;
    }
    .secconsection>div>p{
        /* border: 3px solid green; */
        font-size: 18px;
        font-weight: 550;
        
    }


    /* section 4 */
    .sectionfourwrapper{
        width: 95%;
        margin-top: 4rem;
        /* border: 3px solid green; */
    }

    .sectionfourwrapper> .sectionfour {
        margin-top: 0rem;
        grid-template-columns: repeat(1, 1fr); /* or something else */
      }
      .sectionfourwrapper> .sectionfour >div>h1 {
        font-size: 20px;
        font-weight: 800;
        margin-block: 1rem;
        text-align: center;
      }
      .sectionfourwrapper> .sectionfour >div>p {
        font-size: 18px;
        font-weight: 550;
        text-align: center;
      }

    

      /* section 5 */
      .sectiongivewrapper{
        width: 95%;
        /* border: 3px solid green; */
      }

       .sectionfive{
        width: 100%;
      }
      #About > .sectiongivewrapper > .sectionfive > h1 {
        font-size: 20px;
        font-weight: 800;
      }
      .sectiongivewrapper > .sectionfive > p {
        font-size: 18px;
        font-weight: 550;
      }


      /* section 6 */
      .ourservice{
        flex-direction: column;
        flex-direction: column-reverse;
        width: 95%;
        /* border: 3px solid green; */
      }

      .ourservice>div> h1{
        font-size: 20px;
        font-weight: 800;
        text-align: center;
      }
      .ourservice>div> p{
        font-size: 18px;
        font-weight: 550;
        text-align: center;
      }


      /* section 7 */
      .sectionseven{
        width: 95%;
      }
      .sectionseven>h1{
        font-size: 20px;
        font-weight: 800;
        text-align: center;
      }
      .sectionseven>p{
        font-size: 18px;
        font-weight: 550;
        text-align: center;
      }

      .sectionseven>ul>li{
        font-size: 18px;
        font-weight: 550;
        /* text-align: center; */
      }




      /* section 8 */

      .sectioneightwrapper{
        width: 95%;
        /* border: 3px solid green; */
      }

      .sectioneight>h1{
        font-size: 20px;
        font-weight: 800;
      }
      .sectioneight>p{
        font-size: 18px;
        font-weight: 550;
      }

      .eightcards{
        grid-template-columns: repeat(1, 1fr);
      }
      .eightcards>.oneeight>p{
        font-size: 18px;
        font-weight: 550;
      }



      /* section 9 */

      .sectionninwrapper{
        width: 95%;
        /* border: 2px solid green; */
        flex-direction: column;
      }

      .sectionninwrapper>a>button{
        font-size: 18px;
        font-weight: 550;
        text-align: center;
      }

      .sectionninwrapper>div>p{
        font-size: 18px;
        font-weight: 550;
        text-align: center;
        color: whitesmoke;
        margin-block: 20px;
      }
      .sectionninwrapper>div>h1{
        font-size: 20px;
        color: whitesmoke;
        font-weight: 800;
        text-align: center;
      }


      /* section 10 */
      .sectiontenwrapper {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        gap: 2rem;
        
      }



/* appointment */
  .appointmentwrapper{
    width: 95%;
    /* border: 3px solid green; */
    flex-direction: column;
  }

  .divtopAppoint{
    width: 100%;
  }
      
     
}