@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

:root {
  --main-color: #7c6555;
  --second-color: #947e69;
  --black-color: #000000;
  --white-color: #ffffff;
  --third-color: #565656;
  --fourth-color: #bda78f !important;
  --background-color: #eaeaea;
  --color-btn: linear-gradient(
    45deg,
    var(--main-color) 0%,
    var(--second-color) 100%
  );
  --placeholder-color: #a1a1a1;
  --padding: 20px;
  --radius: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}
ul li {
  list-style: none !important;
}
a {
  text-decoration: none;
  color: inherit;
  font-size: 17px !important;
}

html,
body {
  scroll-behavior: smooth !important;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 4px;
}

.text-main {
  color: var(--main-color);
}

.bg-main {
  background-color: var(--main-color);
}

.btn-send {
  background: var(--white-color);
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
  color: var(--third-color);
  padding: 0px 0px 0px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none !important;
  display: flex;
  align-items: center;
  width: fit-content;
  cursor: pointer;

  .btn-icon {
    position: relative;
    z-index: 2 !important;
    background-color: var(--white-color);
    padding: 14px 20px 10px 20px;
    overflow: hidden;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;

    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;

      transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
      z-index: 0;
    }

    &::before {
      border-width: 16px 16px 0 0;
      border-color: var(--fourth-color) transparent transparent transparent;
      top: 0px;
      left: 0px;
    }

    &::after {
      border-width: 0 0 16px 16px;
      border-color: transparent transparent var(--fourth-color) transparent;
      bottom: 0px;
      right: 0px;
    }
  }

  &:hover {
    transform: translateX(5px) !important;

    .btn-icon {
      i {
        color: var(--white-color) !important;
        position: relative;
        z-index: 4 !important;
      }

      &::before {
        border-width: 55px 55px 0 0;
        top: 0;
        left: 0;
      }

      &::after {
        border-width: 0 0 55px 55px;
        bottom: 0;
        right: 0;
      }
    }
  }
}
[dir="rtl"] .btn-send {
  background: var(--white-color);
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
  color: var(--third-color);
  padding: 0px 20px 0px 0px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none !important;
  display: flex;
  align-items: center;
  width: fit-content;
  cursor: pointer;

  .btn-icon {
    position: relative;
    z-index: 2 !important;
    background-color: var(--white-color);
    padding: 14px 20px 10px 20px;
    overflow: hidden;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    transform: rotate(-180deg);
    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;

      transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
      z-index: 0;
    }

    &::before {
      border-width: 16px 16px 0 0;
      border-color: var(--fourth-color) transparent transparent transparent;
      top: 0px;
      left: 0px;
    }

    &::after {
      border-width: 0 0 16px 16px;
      border-color: transparent transparent var(--fourth-color) transparent;
      bottom: 0px;
      right: 0px;
    }
  }


  &:hover {
    transform: translateX(-5px) !important;

    .btn-icon {
      i {
        color: var(--white-color) !important;
        position: relative;
        z-index: 4 !important;
      }

      &::before {
        border-width: 55px 55px 0 0;
        top: 0;
        left: 0;
      }

      &::after {
        border-width: 0 0 55px 55px;
        bottom: 0;
        right: 0;
      }
    }
  }
}

.btn-more {
  background: var(--white-color);
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
  color: var(--third-color);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  .btn-content {
    display: block;
    position: relative;
    z-index: 2;
    color: var(--main-color);
  }

  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;

    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
  }

  &::before {
    border-width: 50px 50px 0 0;
    border-color: var(--fourth-color) transparent transparent transparent;
    top: 0px;
    left: 0px;
  }

  &::after {
    border-width: 0 0 50px 50px;
    border-color: transparent transparent var(--fourth-color) transparent;
    bottom: 0px;
    right: 0px;
  }

  &:hover {
    &::before {
      border-width: 200px 200px 0 0;
      top: 0;
      left: 0;
    }

    &::after {
      border-width: 0 0 200px 200px;
      bottom: 0;
      right: 0;
    }

    .btn-content {
      color: var(--white-color);
    }
  }
}

.header-section {
  h2 {
    color: var(--main-color);
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  p {
    font-size: 20px !important;
  }
}
p {
  font-size: 18px !important;
}

/*  
##################################################
#                  SOCIAL ICONS                  #
##################################################
*/
.social-icon {
  inset-inline-start: 0 !important;
  margin-inline-start: 16px;
  margin-bottom: 50px;
  width: fit-content;
  height: fit-content;

  a {
    background: var(--color-btn) !important;
    color: var(--white-color);
    padding: 0.8rem;
    border-radius: 10px;
    margin: 0.5rem;
    text-decoration: none;
    width: 50px;
    height: 50px;
    font-size: 25px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;

    &:hover {
      background: var(--color-btn) !important;
      color: var(--white-color);
      transform: translateY(-5px) scale(1.05);
      filter: brightness(1.1);
    }
  }
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  inset-inline-end: 30px;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--color-btn) !important;
  color: var(--white-color);
  border-radius: 10px;

  font-size: 25px !important;
  text-decoration: none;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  z-index: 998;
  cursor: pointer;

  &:hover {
    background: var(--color-btn) !important;
    color: var(--white-color);
    transform: translateY(-5px) scale(1.05);
  }
}

.back-to-top.show {
  display: flex !important;
}

/*  
##################################################
#                  LOADING                       #
##################################################
*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  .loader-container {
    position: relative;
    transform: translateY(-60px);
    width: 200px;
    height: 200px;
  }

  .pulse-circle img {
    width: 100%;
    height: 100%;
  }
}

/*  
##################################################
#                   Navbar                       #
##################################################
*/
.fixed {
  .navbar {
    background: var(--white-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);

    .container {
      margin-top: 0px;
      box-shadow: none;
    }
  }
}

.navbar {
  transition: all 0.3s ease;

  .container {
    margin-top: 20px;
    border-radius: 16px;
    background: var(--white-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 1000;

    .navbar-brand {
      img {
        transition: transform 0.3s ease;
      }

      &:hover img {
        transform: scale(1.05);
      }
    }

    .navbar-toggler {
      color: var(--second-color);

      &:focus {
        box-shadow: none;
      }
    }
    /* Dropdown on Hover with Animation */
    .nav-item.dropdown:hover .dropdown-menu {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }

    .dropdown-menu {
      margin-top: 0;
    }
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .navbar-collapse {
      .nav-link {
        color: var(--third-color);
        font-weight: 600;
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;

        &.active {
          background: linear-gradient(
            135deg,
            rgba(139, 115, 85, 0.1) 0%,
            rgba(155, 134, 119, 0.1) 100%
          );
        }

        &:hover {
          background: linear-gradient(
            135deg,
            rgba(139, 115, 85, 0.1) 0%,
            rgba(155, 134, 119, 0.1) 100%
          );
          color: var(--fourth-color) !important;
          transform: translateY(-2px);
        }
      }
    }
  }
}

.btn-appointment {
  background: var(--color-btn);
  color: var(--white-color) !important;
  padding: 12px 25px 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);

  &:hover {
    background: linear-gradient(135deg, #9b8677 0%, #ab9687 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
    color: var(--white-color) !important;
  }
}

.btn-lang {
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--third-color);
  padding: 7px 24px 6px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  width: fit-content;
  cursor: pointer;

  &:hover {
    background: var(--color-btn);
    color: var(--white-color) !important;
    transform: translateY(-2px) !important;
  }
}

.offcanvas {
  border-right: 4px solid var(--third-color) !important;

  .offcanvas-body {
    padding-top: 20px;

    .navbar-nav {
      .nav-item {
        .nav-link {
          color: var(--second-color);
          font-weight: 600;
          font-size: 16px;
          transition: all 0.3s ease;

          &.active {
            background: linear-gradient(
              135deg,
              rgba(139, 115, 85, 0.1) 0%,
              rgba(155, 134, 119, 0.1) 100%
            );
          }
        }
      }
    }

    .btn-appointment-mobile {
      display: block;
      text-align: center;
      padding: 12px 20px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-appointment-mobile {
      background: var(--color-btn);
      color: var(--white-color) !important;
      box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
        color: var(--white-color) !important;
      }
    }

    .list-contact {
      background: linear-gradient(
        135deg,
        rgba(139, 115, 85, 0.05) 0%,
        rgba(155, 134, 119, 0.05) 100%
      );
      border: 1px solid rgba(139, 115, 85, 0.2);

      a {
        color: var(--second-color);
        transition: color 0.3s ease;

        &:hover {
          color: var(--third-color) !important;
        }
      }

      .border-bottom {
        border-color: rgba(139, 115, 85, 0.2) !important;
      }
    }

    .footer-social {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
      padding-top: 12px;
      border-top: 1px solid rgba(139, 115, 85, 0.2);

      .social-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: var(--color-btn);
        color: var(--white-color);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 16px;

        &:hover {
          transform: translateY(-3px) rotate(5deg);
          box-shadow: 0 5px 15px rgba(139, 115, 85, 0.4);
          color: var(--white-color) !important;
        }
      }
    }
  }
}

/*  
##################################################
#                     Home                       #
##################################################
*/

.hero {
  position: relative;
  transition: all 0.3s;
  img {
    height: 100vh !important;
    object-fit: cover;
  }
}

.hero-mobile {
  img {
    height: 60vh;
    object-fit: cover;
  }
}

.hero-pages {
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      var(--fourth-color) 0,
      var(--main-color) 100%
    );
    opacity: 0.5;
  }

  .hero-content {
    margin-top: 80px;
  }
  .breadcrumb {
    li {
      a {
        font-size: 22px !important;
      }
    }
  }
}

.hero-pages .contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/*  
##################################################
#                   About Us                     #
##################################################
*/
.about-section,
.about,
.our-vision,
.our-mission,
.img-one,
.img-mission,
.img-vision {
  height: 100% !important;
  position: relative;
  overflow: hidden !important;
  border-top-right-radius: var(--radius) !important;
  border-bottom-left-radius: var(--radius) !important;

  img {
    transition: all 0.3s ease;
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
  }

  &:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
  }

  &:hover {
    &:after {
      height: 250%;
      transition: all 600ms linear;
      background-color: transparent;
    }

    img {
      transform: scale(1.1);
    }
  }
}
.appointment-section {
  .img-one {
    position: relative;
    overflow: hidden;
    border-top-right-radius: var(--radius) !important;
    border-bottom-left-radius: var(--radius) !important;
    img {
      transition: all 0.3s ease;
      border-top-right-radius: var(--radius);
      border-bottom-left-radius: var(--radius);
    }
  }
}
.content-about {
  p {
    font-size: 20px !important;
  }
  ul {
    li {
      font-size: 18px !important;
    }
  }
}
.our-vision {
  background: #fafafa;
}

/*  
##################################################
#                   Services                     #
##################################################
*/
.services-section {
  /* background: #fafafa; */
  position: relative;
  &::before {
    content: "";
    position: absolute;
    background: hsla(0, 0%, 98%, 0.4);

    width: 100%;
    height: 100%;
    inset: 0;
  }
  .service-card {
    transition: all 0.4s ease;
    /* border-top-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius); */
    border-radius: var(--radius);

    .card-body {
      background: hsla(0, 0%, 100%, 0.4);
      backdrop-filter: blur(10px);
      z-index: 9 !important;
      border-radius: var(--radius);
      /* border-top-right-radius: var(--radius);
      border-bottom-left-radius: var(--radius); */
    }
    .img-icon {
      background-color: var(--white-color);
      padding: var(--padding);
      width: fit-content;
      border-top-right-radius: var(--radius);
      border-bottom-left-radius: var(--radius);
    }
    img {
      transition: all 0.4s ease;
      position: relative;
    }

    h3 {
      color: var(--main-color);
      font-weight: 600;
      font-size: 30px;
      margin-bottom: 40px;
      margin-top: 10px;
    }

    p {
      font-size: 18px;
      margin-bottom: 20px;
      color: var(--third-color) !important;
      height: auto;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-height: 1.5;
      transition: color 0.3s ease;
    }

    ul {
      list-style: none;
      padding-left: 0;
      margin: 0;

      li {
        margin-bottom: 8px;
        color: #555;
        position: relative;
        font-size: 16px;

        i {
          background-color: var(--fourth-color) !important;
          color: var(--white-color);
          padding: 5px;
          border-radius: 50%;
        }
      }
    }

    .btn {
      margin-top: 30px;
      z-index: 6 !important;
      display: block;
    }

    &:hover {
      transform: translateY(-10px) rotate(0deg);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

      img {
        transform: scale(1.2);
      }
    }
  }
}
.service-details-section,
.department-details-section {
  background-color: #f8f9fa;

  .sidebar {
    background-color: #ffffff;

    .service-link,
    .department-link {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      display: block;
      padding: 10px 15px;
      border-radius: 8px;
      border: 1px solid #e9ecef;
      transition: all 0.3s ease;

      &:hover,
      &.active {
        background-color: var(--main-color);
        color: #fff;
        transform: translateX(5px);
      }
    }
  }
  ul{
    display: grid;
      gap: 15px;
      li {
        font-size: 20px !important;
      }
  }
  
  .contact-box {
    input,
    textarea {
      border-radius: 10px;
      border: 1px solid #dee2e6;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;

      &:focus {
        border-color: var(--main-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.1);
      }
    }
  }

  .btn-more {
    position: relative;
    transition: all 0.5s ease;

    .btn-content {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 2;
      color: var(--main-color);
    }

    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;
      transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
      z-index: 0;
    }

    &::before {
      border-width: 30px 30px 0 0;
      border-color: var(--fourth-color) transparent transparent transparent;
      top: 0;
      left: 0;
    }

    &::after {
      border-width: 0 0 30px 30px;
      border-color: transparent transparent var(--fourth-color) transparent;
      bottom: 0;
      right: 0;
    }

    &:hover {
      &::before {
        border-width: 350px 350px 0 0;
        top: 0;
        left: 0;
      }

      &::after {
        border-width: 0 0 350px 350px;
        bottom: 0;
        right: 0;
      }

      .btn-content {
        color: var(--white-color) !important;
      }
    }
  }
}

/*  
##################################################
#                  Department                    #
##################################################
*/
.departments-section {
  .depart-card {
    position: relative;
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    background: var(--white-color);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 0.6s ease, background 0.6s ease;

    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;
      opacity: 0.6;

      transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
      z-index: 0;
    }

    &::before {
      border-width: 120px 120px 0 0;
      border-color: var(--fourth-color) transparent transparent transparent;
      top: -10px;
      left: -10px;
    }

    &::after {
      border-width: 0 0 120px 120px;
      border-color: transparent transparent var(--fourth-color) transparent;
      bottom: -10px;
      right: -10px;
    }

    .card-body {
      position: relative;
      z-index: 2;
      transition: all 0.3s ease;
      background: var(--white-color);
      border-top-right-radius: var(--radius);
      border-bottom-left-radius: var(--radius);
    }

    img {
      transition: transform 0.2s ease;
      display: block;
    }

    h3 {
      color: var(--main-color);
      font-weight: 600;
      font-size: 26px;
      margin-bottom: 10px;
      transition: color 0.2s ease;
    }

    p {
      color: var(--main-color);
      height: auto;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-height: 1.5;
      transition: color 0.3s ease;
      font-size: 20px;
    }

    .btn-more {
      background: var(--white-color);
      box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
      color: var(--third-color);
      padding: 10px 20px !important;
      border-radius: 4px;
      font-weight: 600;
      font-size: 18px;
      transition: all 0.3s ease;
      text-align: center;
      text-decoration: none;

      overflow: hidden;

      .btn-content {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 2;
        color: var(--main-color);
      }

      &::before,
      &::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;

        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 0;
      }

      &::before {
        border-width: 15px 15px 0 0;
        border-color: var(--fourth-color) transparent transparent transparent;
        top: 0px;
        left: 0px;
      }

      &::after {
        border-width: 0 0 15px 15px;
        border-color: transparent transparent var(--fourth-color) transparent;
        bottom: 0px;
        right: 0px;
      }

      &:hover {
        &::before {
          border-width: 50px 50px 0 0;
          top: 0;
          left: 0;
        }

        &::after {
          border-width: 0 0 50px 50px;
          bottom: 0;
          right: 0;
        }

        .btn-content {
          color: var(--white-color) !important;
        }
      }
    }

    /* ===== Hover Effect ===== */
    &:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
      overflow: hidden;

      img {
        transform: scale(1.1);
      }

      h3 {
        color: var(--fourth-color);
      }

      p {
        color: var(--main-color);
      }

      &::before {
        border-width: 100% 100% 0 0;
        top: 0;
        left: 0;
      }

      &::after {
        border-width: 0 0 100% 100%;
        bottom: 0;
        right: 0;
      }
    }
  }
}

.gallery-item video {
  cursor: pointer;
}
/*  
##################################################
#                 Testimonial                    #
##################################################
*/
.testimonial-section {
  background: #fafafa;
  position: relative;

  .testimonial-card {
    background: #fff;
    border-radius: 20px;
    height: 300px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .testimonial-text {
      font-style: italic;
      color: #555;
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }

    .testimonial-info {
      .client-img,
      .client-video {
        width: 100%;
        height: 100%;

        object-fit: contain;
        border-radius: var(--radius);
        box-shadow: 0 0 10px hsla(25, 19%, 41%, 0.25);
      }
      .client-video {
        min-height: 300px;
      }
    }
  }
}

/*  
##################################################
#                    Doctors                     #
##################################################
*/
.doctors-section {
  .doctor-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    transition: transform 0.9s ease, box-shadow 0.9s ease;
    cursor: pointer;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain !important;
      /* object-position: top; */
      transition: transform 1s ease;
      display: block;
    }

    .card-body {
      position: relative;
      background-color: var(--white-color);
      padding: 1rem;
      border-radius: 0 0 1.25rem 1.25rem;
      transition: transform 0.9s ease, background-color 0.9s ease,
        box-shadow 0.9s ease;
      z-index: 2;
      p {
        font-size: 18px !important;
      }
    }

    .icon-doctors {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 0.5rem;

      a:not(:nth-child(1)) {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        background-color: var(--background-color);
        border-radius: 50%;
        color: var(--main-color);
        transition: all 0.3s ease;

        &:hover {
          background-color: var(--fourth-color);
          color: var(--white-color);
        }
      }
    }

    &:hover {
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);

      img {
        transform: scale(1.1);
      }

      .card-body {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, -10px);
        width: 90%;
        border-radius: 1.25rem;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        background-color: var(--white-color);
      }
    }
  }
}
.doctor-details-section {
  background-color: #f8f9fa;

  .doctor-image {
    img {
      transition: transform 0.4s ease;
    }

    &:hover img {
      transform: scale(1.05);
    }
  }

  .doctor-personal-info {
    h2 {
      color: var(--main-color);
    }

    ul {
      
      li {
        font-size: 15px;
        transition: color 0.3s ease;

        a:hover {
          color: var(--main-color);
        }
      }
    }

    .social-links {
      a {
        color: var(--main-color);
        transition: all 0.3s ease;

        &:hover {
          color: var(--second-color);
          transform: translateY(-2px);
        }
      }
    }
  }

  .doctor-details {
    p {
      line-height: 1.8;
    }

    ul {
      li {
        margin-bottom: 8px;
        padding-left: 18px;
        position: relative;

        &::before {
          content: "•";
          position: absolute;
          left: 0;
          color: var(--main-color);
        }
      }
    }
  }
}

/*  
##################################################
#                     Blogs                      #
##################################################
*/
.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;

  h5 {
    font-size: 25px;
  }

  p {
    font-size: 18px !important;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    transition: color 0.3s ease;
  }

  .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;

    img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    &::after {
      content: "";
      position: absolute;
      width: 200%;
      height: 0%;
      left: 50%;
      top: 50%;
      background-color: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%) rotate(-45deg);
      z-index: 2;
    }
  }

  &:hover {
    .image-wrapper::after {
      height: 250%;
      transition: all 600ms linear;
      background-color: transparent;
    }

    img {
      transform: scale(1.1);
    }
  }
}
.blog-details-section {
  background-color: #f8f9fa;

  .image-wrapper {
    img {
      border-radius: 1.25rem;
      transition: transform 0.4s ease;
      &:hover {
        transform: scale(1.02);
      }
    }
  }

  .article-content {
    color: #333;

    h2 {
      font-size: 2rem;
      line-height: 1.4;
    }

    h4 {
      margin-top: 2rem;
      font-size: 1.25rem;
    }

    .custom-list {
      list-style: none;
      padding: 0;

      li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;

        &::before {
          content: "\f00c";
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          color: var(--main-color);
          position: absolute;
          left: 0;
          top: 2px;
        }
      }
    }

    p {
      line-height: 1.8;
      font-size: 18px !important ;
      color: #555;
    }
    li {
      font-size: 18px !important ;
    }
  }
}
/*  
##################################################
#                   Contact US                   #
##################################################
*/
.contact-section {
  .contact-card {
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
  }
  .btn-more {
    background: var(--white-color);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
    color: var(--third-color);
    padding: 10px 20px !important;

    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
    text-align: center;
    text-decoration: none;
    position: relative;

    .btn-content {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 2;
      color: var(--main-color);
    }

    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;

      transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
      z-index: 0;
    }

    &::before {
      border-width: 50px 50px 0 0;
      border-color: var(--fourth-color) transparent transparent transparent;
      top: 0px;
      left: 0px;
    }

    &::after {
      border-width: 0 0 50px 50px;
      border-color: transparent transparent var(--fourth-color) transparent;
      bottom: 0px;
      right: 0px;
    }

    &:hover {
      &::before {
        border-width: 350px 350px 0 0;
        top: 0;
        left: 0;
      }

      &::after {
        border-width: 0 0 350px 350px;
        bottom: 0;
        right: 0;
      }

      .btn-content {
        color: var(--white-color) !important;
      }
    }
  }

  .contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .icon-wrapper {
      width: 70px;
      height: 70px;
      margin: 0 auto 15px auto;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--background-color);
      color: white;
      border-radius: 50%;
      font-size: 28px;
    }

    h5 {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }

    p {
      font-size: 0.9rem;
      color: var(--third-color);
      margin-bottom: 0.25rem;
    }

    a {
      color: var(--second-color);
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      display: block;

      &:hover {
        color: var(--main-color);
      }
    }
  }
}

/*  
##################################################
#                    Footer                      #
##################################################
*/

footer {
  background-color: var(--white-color);
  color: var(--third-color);

  border-top: 3px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;

  .footer-link {
    color: var(--third-color);
    text-decoration: none;
    transition: all 0.3s ease;
    &:hover {
      color: var(--main-color);
      font-weight: bold;
      transform: translateX(10px);
    }
  }

  .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    color: var(--main-color);
    border-radius: 50%;
    font-size: 22px;

    transition: color 0.3s ease, transform 0.3s ease;
    &:hover {
      color: var(--main-color);
      transform: scale(1.2);
    }
  }

  .footer-logo {
    display: block;
    max-width: 100%;
  }

  .text-light {
    color: var(--main-color) !important;
  }
  .copyright {
    a {
      transition: all 0.3s ease;
      &:hover {
        color: var(--main-color) !important;
      }
    }
  }
}
