/* Variables Import */
@import "./variables.css";

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 9;
  transition: all 0.5s ease-in-out;
}

.header .navbar {
  padding: 5px 0;
  transition: all 0.5s ease-in-out;
}

.header.sticky .navbar {
  padding: 5px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary);
}

.dropdown-item:hover {
  background-color: var(--light-alt);
  color: var(--dark);
}

.dropdown-menu[data-bs-popper] {
  top: 195%;
}

.header.sticky .dropdown-menu[data-bs-popper] {
  top: 163%;
}

.dropdown-item:hover {
  background-color: #f1a7ad8e;
}

/* Topbar */
.topbar {
  /* background-color: var(--tertiary); */
  background-color: var(--primary);
  padding: 6px 0;
}

.topbar .toll-free-number a {
  color: var(--white);
  font-size: 16px;
  font-weight: 300;
}

.topbar .toll-free-number a span {
  font-weight: 600;
}

.topbar .topbar-buttons .appointment-button {
  background-color: var(--white);
  color: var(--primary);
  padding: 6px 20px;
}

.topbar .topbar-buttons .appointment-button i {
  color: var(--primary);
}

.topbar .topbar-buttons .emergency-button {
  background-color: var(--primary);
  color: var(--white);
  padding: 6px 20px;
}

@media only screen and (max-width: 992px) {
  .navbar-nav .dropdown-menu {
    position: static;
    height: 200px;
    overflow-y: scroll;
  }

  .dropdown-item {
    white-space: unset;
  }
}

/* Topbar */

/* Navbar */

.header .navbar {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background-color: var(--white);
}

.header .navbar .navbar-brand {
  width: 130px;
  transition: all 0.5s ease;
}

.header .navbar .nav-link {
  padding: 0 15px;
  color: var(--dark-alt);
  font-weight: 500;
  text-transform: capitalize !important;
  transition: all 0.5s ease;
  text-wrap: nowrap;
}

.header .navbar .nav-link.active {
  color: var(--primary);
  position: relative;
}

.header .navbar-collapse {
  flex-grow: 0;
}

.header .nav-link.last-link {
  padding-right: 0;
}

.navbar-toggler {
  background-color: var(--primary);
  border-radius: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.navbar-toggler span {
  color: var(--white);
}

.header .nav-link {
  /* letter-spacing: ; */

  text-transform: uppercase !important;
}

.rightZero {
  right: 0 !important;
}

.header.sticky .navbar-brand {
  width: 100px;
  transition: all 0.5s ease;
}

.header.sticky .navbar .nav-link {
  padding: 0 10px;
  transition: all 0.5s;
}

/* Navbar */

/* MODAL */

.mainModal input {
  padding: 10px 15px;
  width: 90%;
  outline: none;
  border: 0;
  border-bottom: 1px solid var(--primary);
  margin-bottom: 10px;
}

.mainModal .image {
  height: 100%;
}

.mainModal .image img {
  height: 100%;
  object-fit: cover;
}

.mainModal .dismiss-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--white);
}

.mainModal .modal-body {
  padding: 0 !important;
  border-radius: 0;
}

/* MODAL */

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url("../images/home/banner.jpg") no-repeat center center/cover;
  z-index: 2;
}

.hero .pattern-image {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  z-index: 1;
  display: none;
}

.hero .container .hero-text {
  position: absolute;
  width: 600px;
  padding: 30px;
  transform: translateY(-50%);
  top: 50%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.514), transparent);
  backdrop-filter: blur(4px);
  z-index: 9;
}

.hero .container .hero-text h4 {
  color: var(--dark);
  font-weight: 500;
  font-size: 20px;
}

.hero .container .hero-text .heading {
  font-weight: 600;
  font-size: 40px;
}

.hero .container .hero-text .heading .bold-text {
  font-weight: 700 !important;
  font-size: 40px;
}

.hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media only screen and (max-width: 992px) {
  .hero .container .hero-text {
    left: 15px;
  }

  .innerpage-image {
    display: none;
  }

  .testimonials .row {
    flex-direction: column-reverse;
  }

  .testimonials .testimony {
    margin-top: 60px !important;
  }

  .testimony:nth-child(1) {
    margin-top: 0 !important;
  }

  .testimony:last-child {
    margin-bottom: 40px !important;
  }

  .contactForm {
    padding: 20px;
  }

  .mainModal .image {
    height: 200px;
  }

  .mainModal input {
    width: 100%;
  }
}

/* THREE CARDS SECTION */
.three-cards {
  background: linear-gradient(to right, #d32a37, #f2a410);
}

.three-cards .container {
  padding: 50px 15px;
  color: var(--white);
}

.three-cards .container .icon {
  background-color: var(--secondary);
  padding: 15px;
  align-self: flex-start;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.three-cards .container .icon img {
  width: 40px;
  height: 40px;
  filter: invert(1);
}

.three-cards .container .text span:first-child {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* THREE CARDS SECTION */

/* About */

.about-us-section {
  position: relative;
}

.about-us-section .about-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 100%;
  display: none;
  transform: scaleX(-1);
}

.about-us-section .about-bg img {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 992px) {
  .about-us-section .about-bg {
    display: none;
  }
}

.about-us-section .about-image {
  overflow: hidden;
}

.about-us-section .about-image img {
  transition: all ease 0.5s;
  height: 450px;
  object-fit: cover;
  object-position: center;
}

.about-us-section .about-image img:hover {
  transform: scale(1.1);
}

/* 
.about-us-section .right-section .button {
  background-color: var(--secondary);
  color: var(--white);
} */

.about-us-section .right-section {
  padding-left: 40px;
}

/* WHY CHOOSE US SECTION */
.why-choose-us .card {
  padding: 20px;
  text-align: center;
  border-bottom: 5px solid var(--primary);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.why-choose-us .card .card-icon {
  /* margin: auto; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-choose-us .card .card-icon img {
  width: 70px;
}

.why-choose-us .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.why-choose-us .card:hover h3 {
  color: var(--primary);
}

/* WHY CHOOSE US SECTION */

/* COUNTER */
.counter {
  background: linear-gradient(to right, #d32a37, #f2a410);
}

.counter .container {
  padding: 50px 15px;
  color: var(--white);
}

.counter .tertiary-heading {
  font-weight: 500;
}

/* COUNTER */

/* SERVICES */
.services {
  position: relative;
}

.services .side-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  display: none;
}

.services .services-carousel .card img {
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid var(--secondary);
  border-radius: 2px;
}

.services .services-carousel {
  margin-top: 35px;
}

.services .tertiary-heading {
  font-weight: 500;
}

.services .owl-nav {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.services .owl-prev,
.services .owl-next {
  width: 40px;
  height: 40px;
  /* border-radius: 3px; */
  border: 1px solid var(--primary) !important;
  color: var(--primary);
  transition: all 0.5s ease;
}

.services .owl-prev i,
.services .owl-next i {
  color: var(--primary);
}

.services .owl-prev:hover,
.services .owl-next:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.services .owl-prev:hover i,
.services .owl-next:hover i {
  color: var(--white);
}

/* SERVICES */

/* TESTIMONIALS SECTION */

.testimonial-carousel .card {
  border-radius: 0;
  border-left: 3px solid var(--primary);
  position: relative;
  margin-top: 50px;
  cursor: pointer;
  background-color: var(--white);
  box-shadow: 0 4px 9px rgba(211, 42, 55, 0.6);
}

.testimonial-carousel .card .testimonials-icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  padding: 5px;
  width: 40px;
  height: 40px;
  right: 0px;
  bottom: 0;
  background-color: var(--primary);
  color: var(--white);
  font-size: 20px;
  transition: 0.8s ease all;
}

/* .testimonial-carousel .card:hover .testimonials-icon {
  width: 60px;
  height: 60px;
  font-size: 25px;
  background-color: #d32a38;
} */

/* TESTIMONIALS SECTION */

/* CALL TO ACTION */
.call-to-action {
  background-color: var(--light-alt);
  padding: 60px 0;
}

/* 
.call-to-action .button {
  background-color: var(--secondary);
  color: var(--white);
} */

/* CALL TO ACTION */

/* INNER PAGES */
.inner_pages_banner {
  position: relative;
  /* background: url("../images/inner_pages_banner.jpg") no-repeat center center/cover; */
  background-color: var(--primary);
  height: 280px;
  /* overflow: hidden; */
}

.inner_pages_banner .image img {
  object-fit: cover;
  object-position: center;
}

.inner_pages_banner .heading {
  font-size: 32px;
  color: var(--white);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 5px;
}

/* .inner_pages_banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #fff, transparent);
} */

.inner_pages_banner .banner-text {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
}

.inner_pages_banner .banner-text .heading {
  font-weight: 600;
}

.inner_pages_banner .breadcrumb-item + .breadcrumb-item::before {
  color: var(--white);
}

/* INNER PAGES */

/* FOOTER */

.footer {
  background-color: var(--dark);
  color: var(--light-alt);
  padding: 80px 0 55px 0;
}

.footer .footer-logo {
  width: 170px;
  margin-bottom: 20px;
  border-radius: 10px !important;
  overflow: hidden;
  background-color: #ffffff;
  padding: 10px;
}

.footer .footer-logo img {
  object-fit: cover;
  object-position: center;
}

.footer .social-icons i {
  color: var(--golden);
  font-size: 30px;
  margin-right: 10px;
}

.footer .social-icons {
  margin-top: 20px;
}

.footer p {
  font-weight: 600;
}

.footer .footer-links a {
  color: var(--light);
  font-weight: 600;
}

.footer .footer-links a {
  padding: 6px 0;
  display: inline-block;
}

.footer .contact-info i {
  color: var(--golden);
  font-size: 20px;
}

.footer .contact-info a {
  color: var(--light);
}

.footer .footer-links a {
  transition: all ease 0.5s;
  display: inline-block;
}

.footer .footer-links a:hover {
  transform: translateX(10px);
}

/* FOOTER */

/* HELPER CLASSES */
.green-text {
  color: var(--secondary);
}

.dash {
  width: 30px;
  height: 1px;
  position: relative;
  align-self: flex-start;
  top: 12px;
  background-color: var(--tertiary);
}

/* HELPER CLASSES */

/* Media Query */
@media screen and (max-width: 768px) {
  .topbar .topbar-flex {
    flex-direction: column;
    gap: 10px;
  }

  .topbar .topbar-buttons .emergency-button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .topbar .topbar-buttons .appointment-button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .topbar .toll-free-number a {
    font-size: 12px;
  }

  .three-cards .container .icon img {
    width: 20px;
    height: 20px;
  }

  .hero .container .hero-text .heading {
    font-size: 25px;
  }

  .hero .container .hero-text .heading .bold-text {
    font-size: 30px;
  }

  .header .navbar .navbar-brand {
    width: 120px;
  }

  .about-us-section .right-section {
    padding-left: 12px !important;
  }

  /* .testimonial-carousel .card i {
    position: absolute;
    top: -19px;
    right: 16px;
    color: var(--primary);
    font-size: 33px;
  } */

  .vision-mission .card {
    height: 160px;
  }

  .inner_pages_banner .heading {
    font-size: 24px;
  }

  .myFlexBox {
    justify-content: center !important;
  }

  .line {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .hero .container .hero-text {
    width: 300px;
  }
}

@media screen and (max-width: 992px) {
  .header .navbar-collapse .nav-item .nav-link {
    padding: 10px 0 !important;
  }

  .header .navbar-collapse .navbar-nav {
    margin-top: 20px;
  }

  .about-us-section .right-section {
    padding-left: 20px;
  }

  .services .side-bg {
    display: none;
  }

  .services-page-main-section .row {
    flex-direction: column-reverse;
  }
}

/* Media Query */

/* INNER PAGES */
.about-us-main-section .tertiary-heading {
  font-size: 30px !important;
}

.about-us-sabout-us-main-section-image {
  transition: all 0.5s ease;
  position: relative;
}

.about-us-image {
  position: relative;
}

@media only screen and (max-width: 768px) {
  .about-us-image {
    height: 400px;
  }

  .about-us-image > img {
    height: 100%;
    width: 100%;
    display: block;
    margin: 0 auto;
  }
}

.about-us-main-section .about-us-image .about-us-small-card {
  position: absolute;
  bottom: 30px;
  right: 42px;
  background-color: var(--white);
  padding: 15px;
  box-shadow: 2px 4px 6px var(--primary);
}

.about-us-main-section .about-us-image .about-us-small-card .excellence {
  width: 50px;
}

.about-us-main-section .about-us-image img {
  /* height: 500px; */
}

.about-us-main-section .about-us-image img {
  object-fit: cover;
  object-position: center;
}

.line {
  background-color: var(--primary);
  height: 280px;
  width: 12px;
  margin-top: auto;
}

.form-box h5 {
  color: var(--primary);
}

.form-div {
  border-right: 1.3px dashed var(--tertiary);
}

.contact-form label {
  font-family: var(--body);
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 0;
  padding: 10px 20px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: none;
  outline: none;
  border: 1px solid var(--primary);
}

.contact-form textarea {
  height: 100px;
}

.email-spam {
  color: rgb(146, 146, 146);
}

@media screen and (max-width: 992px) {
  .spam {
    flex-direction: column;
    justify-content: start !important;
    align-items: start !important;
  }
}

.phone {
  color: var(--primary);
  font-weight: 600;
}

.phone a {
  color: var(--primary);
}

/* TESTIMONIALS  */
.testimonials .testimony {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  width: calc(100% - 100px);
  margin-top: 40px;
}

@media only screen and (max-width: 768px) {
  .testimonials .testimony {
    width: 100% !important;
  }
}

.testimonials .testimony .para {
  height: 80px;
  overflow-y: scroll;
}

.testimonials .testimony:nth-child(1n) .card {
  border: 0;
  /* border-radius: 0; */
  border-bottom-right-radius: 0;
  background-color: var(--white);
}

.testimonials .testimony:nth-child(2n) .card {
  border: 0;
  /* border-radius: 0; */
  border-bottom-right-radius: 0;
  color: var(--white);
  background-color: var(--primary);
}

.testimonials .testimony:nth-child(2n) {
  margin-left: auto;
}

.testimonials .testimony:nth-child(2n) .tertiary-heading {
  color: var(--white);
}

.testimonials .testimony:nth-child(2n)::-webkit-scrollbar {
  width: 4px;
}

.testimonials .testimony:nth-child(2n)::-webkit-scrollbar-thumb {
  background-color: var(--white) !important;
}

.testimonials .testimony:nth-child(1n) .pin {
  position: absolute;
  clip-path: polygon(100% 0, 0 100%, 0 0);
  background-color: var(--white);
  width: 50px;
  height: 50px;
  filter: drop-shadow(5px);
}

.testimonials .testimony:nth-child(2n) .pin {
  position: absolute;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  background-color: var(--primary);
  width: 40px;
  height: 40px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* TESTIMONIALS  */

/* SERVICES */

.services-page-main-section {
}

.services-page-main-section .heading {
  font-size: 32px;
  font-weight: 400;
}

.services-page-main-section .tertiary-heading {
  font-size: 20px;
}

.services-page-main-section .underline {
  color: rgb(69, 68, 68);
  text-transform: uppercase;
  text-decoration: 1px var(--primary) underline;
  text-underline-offset: 5px;
}

.services-page-main-section .row:nth-child(2n) {
  /* flex-direction: row-reverse; */
}

.scope-of-services .heading {
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
}

.scope-of-services .card .image {
  height: 250px !important;
}

.scope-of-services .card .image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* SERVICES */

/* CARDIOLOGY */

.cardiology .heading {
  font-size: 32px;
  font-weight: 500;
}

.cardiology .second-heading {
  font-size: 26px;
}

/* CARDIOLOGY */

/* INNER PAGES */

/* CARD FLIP */
.vision-mission .card {
  position: relative;
  cursor: pointer;
}

.vision-mission {
  background: url("../images/about-bg.png") no-repeat center center/cover;
}

.card-front,
.card-back {
  position: absolute;
  font-size: 28pt;
  line-height: 100px;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: var(--primary);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  padding: 10px;
}

.card-back {
  background: var(--white);
  color: var(--primary);
  transform: rotateY(180deg);
  user-select: none;
}

.vision-mission .card:hover .card-front {
  transform: rotateY(180deg);
}

.vision-mission .card:hover .card-back {
  transform: rotateY(0) rotateZ(0);
}

.flip-z .card-back {
  transform: rotateY(180deg) rotateZ(50deg);
}

.flip-z:hover .card-front {
  transform: rotateY(180deg) rotateZ(50deg);
}

.vision-mission .icon {
  filter: invert(1);
  width: 70px;
}

.vision-mission .heading {
  letter-spacing: 4px;
  font-size: 30px;
  text-transform: uppercase;
}

/* CARD FLIP */

.careers .form-div {
  border: 0;
}

.careers .image {
  height: 500px;
}

.careers .image img {
  object-fit: cover;
  height: 100%;
  object-position: top;
}

.footer a,
.footer p {
  color: var(--light);
  font-size: 14px;
}

.three-cards a {
  color: #ffffff !important;
}

.contactForm h4 {
  text-transform: capitalize;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

.dropdown-hover:hover > .dropdown-menu {
  display: inline-block;
}

.dropdown-hover > .dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
  pointer-events: none;
}

/* Events */
.events .sub-heading {
  font-size: 18px;
}

.events .card {
  border-radius: 12px;
  overflow-x: hidden;
  transition: all 0.5s ease;
}

.events .card:hover {
  transform: translateY(-15px);
  transition: all 0.5s ease;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* Events */

/* Edited by Rahul */
.myFlexBox {
  position: relative;
  top: 0;
}
/* Edited by Rahul */

/* edited by prajwal 01-06-2024 */
.img-thumbnail {
  max-height: 270px;
  height: 100%;
  overflow: hidden;
}
.img-thumbnail img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
