@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

#about
{
  scroll-margin-top: 60px;
}

#contact{
  scroll-margin-top: 150px;
}

#services{
  scroll-margin-top: 70px;
}

#treatment{
  scroll-margin-top: 90px;
}

    * {
      text-transform: capitalize;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Poppins", sans-serif;
    }

    :root {
      --primary: #1abc9c;
      --dark: #2c3e50;
      --light: #f8f9fa;
      --pinkish :#313131;
    }

    body {
      background-color: var(--light);
      color: var(--dark);
      overflow-x: hidden;
    }

    html,body{
      scroll-behavior: smooth;
      overflow-x: hidden;
    }



    .bars{
      position: absolute;
      right: 30px;
      font-size: 30px;
      display: none;
      cursor: pointer;
    }

    .close{
      cursor: pointer;
      display: none;
      font-size: 40px;
    }

    .list.navlinks{
      display: block;
    }

    @media (max-width:922px){
      .bars{
        display: block;
      }
      .close{
        position: absolute;
        left: 33%;
        top: 15vh;
        z-index: 8888;
        display: block;
      }
      .list{
        display: none;
      }
      .list>ul{
        top: 86px;
        height: 58vh;
        border-radius: 0px 40px 40px 0px;
        justify-content: center;
        border: 2px solid var(--primary);
        align-items: center;
        position: absolute;
        left: 0px;
        width: 40%;
        background-color: #fff;
        flex-direction: column;
      }
    }




     @media (max-width:612px){
      .bars{
        display: block;
      }
      .close{
        position: absolute;
        left: 48%;
        top: 15vh;
        z-index: 8888;
        display: block;
      }
      .list{
        display: none;
      }
      .list>ul{
        /* top: 65px;
        height: 48vh; */
        border-radius: 0px 40px 40px 0px;
        justify-content: center;
        border: 2px solid var(--primary);
        align-items: center;
        position: absolute;
        left: 0px;
        width: 60%;
        background-color: #fff;
        flex-direction: column;
      }
       nav>.logo>a>img{
        margin-left: -30px;
      }
    }






    

     @media (max-width:415px){
      .bars{
        display: block;
      }
      .close{
        position: absolute;
        left: 63%;
        top: 15vh;
        z-index: 8888;
        display: block;
      }
      .list{
        display: none;
      }
      .list>ul{
        /* top: 65px; */
        /* height: 48vh; */
        border-radius: 0px 40px 40px 0px;
        justify-content: center;
        border: 2px solid var(--primary);
        align-items: center;
        position: absolute;
        left: 0px;
        width: 80%;
        background-color: #fff;
        flex-direction: column;
      }
      nav>.logo>a>img{
        margin-left: -30px;
      }
    }


    /* Navbar */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 10%;
      background: #fff;
      box-shadow: 0px 2px 15px rgba(0,0,0,0.08);
      position: fixed;
      top: 0;
      left: 0px;
      right: 0px;
      width: 100%;
      z-index: 999;
    }
    .logo>a>img{
      width: 50px;
    }

    nav .logo{
      display: flex;
      gap: 5px;
    }


    nav .logo>h1{
      align-content: center;
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 25px;
    }

    nav ul li a {
      text-decoration: none;
      color: var(--dark);
      font-weight: 500;
      transition: 0.3s;
    }

    nav ul li a:hover {
      color: var(--primary);
    }

    nav .btn {
      padding: 10px 20px;
      background: var(--primary);
      color: #fff;
      border-radius: 30px;
      border: none;
      cursor: pointer;
      transition: 0.3s;
      font-weight: 600;
    }

    nav .btn:hover {
      background: #16a085;
    }



    /* active link */


.list ul li a.active-links {
  text-decoration: underline;
  text-underline-offset: 4px; /* optional */
  color: var(--primary);      /* optional: highlight color */
}



  /* marquee */

  .marq{
    position: fixed;
    top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #449283;
    color: #fff;
    padding: 20px 10px;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1;
  }

    /* Hero */
    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 100px 10%;
      min-height: 90vh;
      background: linear-gradient(to right, #f4fffd, #eafaf9);
    }

    .hero-text {
      max-width: 50%;
    }

    .hero-text h1 {
      font-size: 50px;
      line-height: 1.2;
      margin-bottom: 20px;
      color: var(--dark);
    }

    .hero-text h1 span {
      color: var(--primary);
    }

    .hero-text p {
      margin-bottom: 30px;
      font-size: 16px;
      color: #555;
    }

    .hero-text .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }

    .actions button {
      padding: 12px 28px;
      border-radius: 30px;
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
    }

    .actions .primary {
      background: var(--primary);
      color: #fff;
    }

    .actions .primary:hover {
      background: #16a085;
    }

    .actions .secondary {
      border: 2px solid var(--primary);
      background: transparent;
      color: var(--primary);
    }

    .actions .secondary:hover {
      background: var(--primary);
      color: #fff;
    }

    /* Hero image */
    .hero-img img {
      width: 400px;
      margin-top: 90px;
      border-radius: 20px;
      box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
    }

    /* Emergency Info */
    .info-cards {
      display: flex;
      gap: 30px;
      justify-content: center;
      margin: 40px auto;
      max-width: 1000px;
    }

    .first{
      display: flex;
      margin-bottom: 20px !important;
    }
    .card {
      flex: 1;
      background: #fff;
      padding: 20px;
      border-radius: 15px;
      display: flex;
      align-items: center;
      gap: 15px;
      box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
      transition: 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card i {
      font-size: 30px;
      color: var(--primary);
    }

    .card h3 {
      font-size: 18px;
      margin-bottom: 5px;
    }

    .card p {
      font-size: 14px;
      color: #555;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
      }
      .hero-text {
        max-width: 100%;
      }
      .hero-img img {
        width: 100%;
        max-width: 350px;
      }
      .info-cards {
        flex-direction: column;
        padding: 0 20px;
      }
    }






@media (max-width: 1210px) {
  .hero {
    padding: 100px 8%;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-img img {
    width: 380px;
  }
}

@media (max-width: 992px) {
  .hero {
    
    flex-direction: column;
    text-align: center;
    /*padding: 140px 6%;*/
  }

  .hero-text {
      margin-top:100px;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-img img {
    max-width: 320px;
    width: 100%;
  }

  .actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 14px;
    padding: 0 10px;
  }

  .actions button {
    padding: 10px 22px;
    font-size: 14px;
  }

  .info-cards {
    flex-direction: column;
    padding: 0 15px;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  /*.hero {*/
  /*  padding: 130px 20px;*/
  /*}*/

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-img img {
    max-width: 250px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }
}

/* Healing Section */
.healing-care {
  padding: 90px 10%;
  background: #fdfdfd;
  text-align: center;
}

.healing-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1a2e35;
  margin-bottom: 8px;
}

.healing-header p {
  font-size: 18px;
  color: #888;
  margin-bottom: 50px;
}

.healing-content {
  display: flex;
  justify-content: center;
}

.healing-card {
  max-width: 900px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.healing-card:hover {
  transform: translateY(-8px);
}

.healing-card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-text {
  padding: 40px;
}

.card-text h3 {
  font-size: 26px;
  margin-bottom: 18px;
  color: #2c3e50;
}

.card-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.healing-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-main {
  background: #16a085;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-main:hover {
  background: #138d75;
}

.btn-outline {
  border: 2px solid #16a085;
  padding: 14px 28px;
  border-radius: 50px;
  background: transparent;
  color: #16a085;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #16a085;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .card-text {
    padding: 25px;
  }
  .card-text h3 {
    font-size: 22px;
  }
  .healing-actions {
    flex-direction: column;
    gap: 12px;
  }
}
















/* card */
.services {
  padding: 80px 10%;
  background: #f9f9fb;
  text-align: center;
}

.services-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #1a2e35;
}

.services-header p {
  color: #777;
  margin-bottom: 50px;
  font-size: 18px;
}

/* Service List */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.icon {
  background: #16a085;
  color: #fff;
  font-size: 20px;
  padding: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  min-height: 55px;
}

.text h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.text p {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .icon {
    margin-bottom: 12px;
  }
}







/* tretment  */


.treatments {
  text-align: center;
  padding: 60px 20px;
  background: #fdfdfd;
}

.treatments h2 {
  font-size: 32px;
  margin-bottom: 30px;
  font-family: var(--font);
}



.treatments-slider {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  transition: transform 0.6s ease-in-out;
}

.treatment-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  /* text-align: left; */
}

.treatment-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.treatment-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.treatment-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

/* Buttons */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  transition: 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--dark);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Responsive */
@media (max-width: 768px) {
  .treatment-card {
    min-width: 250px;
  }
}












/* priority */

.priority{
    padding: 90px 0px;
    font-family: var(--font);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.priority>p{
    line-height: 1.4;
    margin: 40px 0px;
    text-align: center;
    width: 700px;
}


.btn-3>a>button{
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid var(--dark);
  background-color: var(--dark);
}

/* responsive design */

@media (max-width: 1272px) {
  .priority>p {
    width: 90%;
    font-size: 16px;
    margin: 30px 0;
  }

  .btn-3 {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .btn-3 >a> button {
    width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .priority {
    padding: 60px 20px;
  }

  .priority > h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .priority > p {
    font-size: 14px;
    margin: 25px 0;
    width: 100%;
  }

  .btn-3 >a> button {
    width: 100%;
    font-size: 14px;
    padding: 14px 20px;
  }
}













/* contact */



.contact{
  padding: 80px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}












.con{
    justify-content: center;
    gap: 20px;
    padding: 20px 30px;
    font-family: sans-serif;
    flex-direction: column;
    align-items: center;
    display: flex;
}

.contact>h1{
  text-align: center;
}

.contact{
  text-transform: capitalize;
    background-color: var(--primary);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}











.inputs>input{
  text-transform: capitalize;
    height: 40px;
    border-radius: 10px;
    padding-left: 10px;
    border: 1px solid var(--primary);
    width: 100%;
}

.inputs{
  width: 500px;
  line-height: 1.7;
  margin-top: 10px;

}


.emai::placeholder{
  text-transform: capitalize;
}

.inputs>textarea{
  border-radius: 10px;
  text-transform: capitalize;
  width: 100%;
  height: 120px;
  padding-left: 10px;
  padding-top: 10px;
}



.bb>button{
    background-color: var(--dark);
    border: 1px solid var(--dark);
    padding: 10px 25px;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 10px;
}


.bb{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}


.bb>button>a{
    color: var(--accent2);
}









/* responsive contact */


@media (max-width: 768px) {
  .con {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
  }

  .contact {
    width: 100%;
    padding: 30px 50px;
    box-sizing: border-box;
  }

  .inputs>input{
    height: 40px;
  }

  .bb > button {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
  }
}

@media (max-width: 581px) {
  .contact {
    padding: 20px 15px;
  }

  .inputs > input,
  .inputs > textarea {
    font-size: 14px;
    padding: 10px;
  }

  .bb > button {
    font-size: 14px;
    padding: 10px 15px;
  }
}




@media (max-width: 579px) {
  .inputs {
    width: 400px;
    box-sizing: border-box;
  }

  .inputs > input,
  .inputs > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}




@media (max-width: 579px) {
  .input {
    width: 400px;
    box-sizing: border-box;
  }

  .inputs > input,
  .inputs > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}




@media (max-width: 450px) {
  .inputs {
    width: 300px;
    box-sizing: border-box;
  }

  .inputs > input,
  .inputs > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}





@media (max-width: 351px) {
  .input {
    width: 250px;
    box-sizing: border-box;
  }

  .inputs > input,
  .inputs > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}



@media (max-width:385px){
  .contact>h1{
    font-size: 25px;
  }
}



@media (max-width: 320px) {
  .input {
    width: 300px;
    box-sizing: border-box;
    margin-left: 10px;
  }

  .inputs>p{
    margin-left: 10px;
  }


  .inputs > input,
  .inputs > textarea {
    width: 92%;
    margin-left: 10px;
  }
}








/* footer */

.footer{
    padding: 70px 100px;
    background-color: #effffc;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    font-family: var(--font);
}
.foo>ul>li{
    list-style-type: none;
}
.foo>ul>li>a{
    color: #000;
    text-decoration: none;
    transition: 0.5s ease-in-out;
}

.foo>ul>li>a:hover{
    color: var(--pinkish);
    border-bottom: 1px solid var(--pinkish);
}

.foo>ul{
    line-height: 1.5;
}

.foo{
    line-height: 2.5;
}

.foo>p>span{
    color: #202020;
    font-weight: 700;
}

.foo>h2{
    color: var(--pinkish);
}


.ic>a>i{
    color:#2a2929;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid var(--pinkish);
    padding:10px;
    border-radius: 50%;
    transition: 0.50s ease-in-out;
}

.ic>a>i:hover{
    border: 1px solid var(--pinkish);
    color: #000;
}




/* responsive design */


@media (max-width: 1185px) {
  .footer {
    flex-wrap: wrap;
    gap: 60px;
    padding: 50px 30px;
    justify-content: space-around;
    text-align: center;
  }

  .foo {
    flex: 1 1 40%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    text-align: center;
  }

  .foo {
    width: 100%;
  }

  .foo ul {
    padding: 0;
  }

  .foo>ul>li>a {
    font-size: 16px;
  }

  .foo>h2 {
    font-size: 20px;
  }

  .ic>i {
    font-size: 18px;
    padding: 8px;
  }
}



.foo:nth-child(2)>p{
  width: 480px;
  max-width: 100%;
  font-size: 16px;
  line-height: 2;
}

.foo:nth-child(2){
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}



/* copyright footer */

.fot{
    background-color: #202020;
    color: #fff;
    padding: 20px 20px;
    text-align: center;
    font-family: var(--font);
}


.fot a{
  color: white;
}