/* Landing Page / Homepage Styles */

/* Slider */
.slider-wrap {
  position: relative;
  margin: 0 auto;
}

.slider-each {
  color: var(--color-white);
}

.slider-wrap {
  background: var(--color-primary);
}

.slider-progressbar {
  position: absolute;
  height: 90%;
  width: 4px;
  background: var(--color-primary-light);
  margin: 0;
  left: 10%;
  top: 5%;
}

.slider-each .container {
  max-width: 1150px;
  margin: auto;
}

.slider-wrap .container {
  max-width: 100%;
  padding: 0;
}

.slider-progressbar span {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.slider-wrap .read-more {
  text-decoration: none;
  font-size: 18px;
  text-transform: capitalize;
  font-weight: 600;
  color: var(--color-white);
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 40px;
}

.slider-wrap .read-more i {
  margin-left: 10px;
}

.social-landing {
  position: absolute;
  left: 60px;
  bottom: 50px;
  z-index: 12;
}

.social-landing li {
  list-style: none;
}

.social-landing li i {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 20px;
}

.social-landing li a:hover i {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 30px;
}

.scroll-down {
  position: absolute;
  top: 70px;
  left: 30px;
  text-transform: capitalize;
  transform: rotate(-90deg);
}

.scroll-down a {
  color: var(--color-white);
  text-decoration: none;
}

.scroll-down:after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--color-white);
  left: -70px;
  bottom: 10px;
  position: absolute;
}

.slider-wrap p {
  font-size: 18px;
}

.landing-slider-right {
  min-height: 600px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
}

.landing-slider-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 600px;
}

.landing-slider-left {
  margin-left: auto;
  max-width: 480px;
  margin-right: 8%;
}

h3.family-practice {
  background: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
  padding: 12px 20px;
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  border-radius: var(--border-radius-medium);
  position: absolute;
  width: 650px;
  text-align: center;
}

.home-h1 {
  font-size: 32px;
}

body .slider-wrap .slick-next {
  right: 20px;
  background: var(--color-primary);
  width: 30px;
  height: 30px;
  z-index: 1;
}

body .slider-wrap .slick-prev {
  left: 20px;
  background: var(--color-white);
  width: 30px;
  height: 30px;
  z-index: 1;
}

body .slider-wrap .slick-prev:before {
  color: var(--color-primary);
}

.home-slider-heading {
  font-weight: 600;
}

.home-slider-heading-bg {
  background-color: var(--color-secondary);
  padding: 15px 10px;
  border-radius: var(--border-radius-medium);
}

.hero-words span {
  color: var(--color-primary);
}

.hero__video {
  width: 100%;
  border-radius: 25px;
}

/* Section 2 - Services */
.landing-sec-2 .container,
.landing-feature-sec .container,
.accept-patients-sec .container,
.about-landing-sec .container,
.preventive-sec .container,
.testimonial-sec .container {
  max-width: 1150px;
}

.landing-sec-2-box img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.landing-sec-2 .container {
  box-shadow: 0px 5px 10px 1px rgb(0 0 0 / 10%);
  border-radius: var(--border-radius-xxlarge);
  overflow: hidden;
  background: var(--color-white);
}

.landing-sec-2-box {
  padding: 20px;
  padding-top: 30px;
}

.landing-sec-2 {
  padding-left: 15px;
  padding-right: 15px;
}

a.see-more {
  text-decoration: none;
  font-size: 18px;
  text-transform: capitalize;
  font-weight: 600;
  color: var(--color-white);
}

a.see-more i {
  margin-left: 10px;
  top: 1px;
  position: relative;
}

.landing-sec-2 .col-md-4 {
  transition: 0.3s;
}

.landing-sec-2 .col-md-4:hover {
  background: var(--color-primary-light);
}

.landing-sec-2 .col-md-4:hover h4,
.landing-sec-2 .col-md-4:hover p,
.landing-sec-2 .col-md-4:hover {
  color: var(--color-white);
}

.landing-sec-2 .col-md-4:hover img {
  filter: brightness(0) invert(1);
}

.landing-sec-2-box a.see-more {
  opacity: 0;
}

.landing-sec-2 .col-md-4:hover .landing-sec-2-box a.see-more {
  opacity: 1;
}

/* Feature Section */
.landing-feature-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 15px;
}

.landing-feature-box img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.landing-feature-box {
  box-shadow: 0px 0px 30px -3px rgb(0 0 0 / 5%);
  padding: 25px 5px;
  border-radius: var(--border-radius-large);
  transition: 0.3s;
  height: 170px;
  margin-bottom: 15px;
}

.landing-feature-box:hover {
  background: var(--color-primary);
}

.landing-feature-box:hover h4 {
  color: var(--color-white);
}

.landing-feature-box:hover img {
  filter: brightness(0) invert(1);
}

.landing-feature-sec a.see-more {
  color: var(--color-primary);
}

/* Accept Patients Section */
.accept-patients-sec a {
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  padding: 8px 20px;
  display: inline-block;
  border-radius: var(--border-radius-medium);
  text-transform: uppercase;
  font-weight: 600;
}

.hand-heart img,
.hand-heart-about img {
  width: 150px;
}

/* About Section */
.about-landing-sec h2 {
  max-width: 450px;
}

.about-landing-sec .container {
  position: relative;
}

.about-landing-sec .col-md-5 img {
  box-shadow: 1px 5px 10px 1px rgb(0 0 0 / 10%);
}

.about-landing-sec a {
  color: var(--color-primary);
}

/* Preventive Section */
.preventive-sec {
  background: var(--color-primary);
}

.preventive-box {
  margin-bottom: 30px;
  overflow: hidden;
}

.preventive-box-inner {
  padding: 30px;
  min-height: 200px;
  background: var(--color-white);
  border-radius: var(--border-radius-xlarge);
}

.preventive-box img.icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.preventive-box .hover-icon-img {
  width: 100%;
}

.preventive-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 15px;
  text-transform: capitalize;
  word-break: break-word;
}

.preventive-box {
  position: relative;
}

.preventive-box:hover {
  overflow: visible;
}

.preventive-box img.hover-icon-img {
  transform: translateY(50%);
  opacity: 0;
  border-radius: var(--border-radius-xlarge);
  height: 0;
  object-fit: cover;
  position: absolute;
}

.preventive-box:hover img.hover-icon-img {
  transform: translateY(-50%);
  backface-visibility: hidden;
  transition: 0.3s;
  opacity: 1;
  height: 180px;
}

.preventive-box:hover img.icon-img {
  opacity: 0;
}

/* Near You Section */
.near-you-sec {
  background: var(--color-primary);
  position: relative;
}

.near-you-sec .container {
  max-width: 600px;
}

form.near-search select {
  padding: 8px 20px;
  border: 2px solid var(--color-white);
}

form.near-search select:focus {
  border: 2px solid var(--color-white);
  box-shadow: none;
}

.select-province {
  background: transparent;
  color: var(--color-white);
}

.select-province option {
  color: var(--color-text);
}

/* Testimonial Section */
.testi-left {
  background: var(--color-primary);
  border-bottom-right-radius: 80px;
}

.testi-left h2 {
  font-size: 60px;
}

.testimonial-sec .row {
  background: var(--bg-light-gray);
}

.testi-right {
  padding: 50px;
}

.testimonial .description {
  font-size: 14px;
  color: var(--color-text);
  line-height: 26px;
  text-indent: 30px;
  position: relative;
}

.testimonial .title {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-text);
  text-transform: capitalize;
  margin: 0;
}

.testimonial .post {
  display: block;
  font-size: 15px;
  color: var(--color-text);
}

.owl-buttons {
  width: 100%;
  height: 40px;
  position: absolute;
  bottom: 40%;
  left: 0;
}

.owl-prev,
.owl-next {
  position: absolute;
  left: 0;
  transition: all 0.4s ease-in-out 0s;
}

.owl-next {
  left: auto;
  right: 0;
}

.owl-buttons .owl-prev:before,
.owl-buttons .owl-next:before {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 60px;
  font-weight: 900;
  color: var(--color-gray-dark);
  line-height: 20px;
  opacity: 0.8;
}

.owl-buttons .owl-next:before {
  content: "\f105";
}

.owl-buttons .owl-prev:hover:before,
.owl-buttons .owl-next:hover:before {
  opacity: 1;
}

.owl-theme .owl-controls .owl-buttons div {
  background: transparent;
}

.owl-theme .owl-controls {
  margin-top: 40px;
}

div .owl-theme .owl-controls .owl-page:nth-child(1) span,
div .owl-theme .owl-controls .owl-page:nth-child(5) span {
  width: 20px;
  height: 20px;
}

div .owl-theme .owl-controls .owl-page:nth-child(2) span,
div .owl-theme .owl-controls .owl-page:nth-child(4) span {
  width: 35px;
  height: 35px;
}

.owl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

div .owl-theme .owl-controls .owl-page span {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-circle);
  background: url("../../images/landing-page/img-1.jpg") no-repeat;
  background-size: cover;
  transition: all 0.3s ease-in-out 0s;
}

.owl-theme .owl-controls .owl-page:nth-child(2) span {
  background: url("../../images/landing-page/img-1.jpg") no-repeat;
  background-size: cover;
}

.owl-theme .owl-controls .owl-page:nth-child(3) span {
  background: url("../../images/landing-page/img-1.jpg") no-repeat;
  background-size: cover;
}

.owl-theme .owl-controls.clickable .owl-page:hover span {
  opacity: 0.5;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls .owl-page.active:hover span {
  opacity: 1;
}

/* Healthcare Professionals */
.healthcare-prof img {
  width: 80px;
  margin-bottom: 40px;
}

/* Stagger Grid */
.stagger-grid,
.stagger-grid-2 {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr;
  gap: 30px;
}

.stagger-grid__item,
.stagger-grid-2__item {
  padding: 40px 20px;
  border-radius: var(--border-radius-xlarge);
  background-color: var(--color-white);
  box-shadow: 0px 0px 17px -4px rgba(0, 0, 0, 0.3);
}

.stagger-grid__img {
  width: 100%;
}

.stagger-grid-2__item ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stagger-grid-2__item ul strong {
  font-weight: 600;
}

/* Responsive Media Queries */
@media only screen and (max-width: 479px) {
  .owl-buttons {
    bottom: 30%;
  }
  
  .preventive-box h4 {
    font-size: 16px;
  }
  
  .testimonial-sec h2 {
    font-size: 36px;
    padding: 40px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 991px) {
  .testimonial-sec h2 {
    font-size: 50px;
    padding: 50px;
  }
}

@media only screen and (max-width: 575px) {
  .preventive-box-inner {
    padding: 30px 15px;
  }
  
  .preventive-box-inner {
    min-height: 170px;
  }
  
  div .landing-slider-right,
  div .landing-slider-right img {
    min-height: 250px;
  }
  
  .social-landing li i {
    color: var(--color-white);
    background: var(--color-primary);
  }
}

@media only screen and (max-width: 767px) {
  .slider-progressbar {
    display: none;
  }
  
  h3.family-practice {
    font-size: 16px;
    width: auto;
    position: relative;
  }
  
  .scroll-down {
    bottom: 10px;
    top: auto;
    transform: none;
    left: 100px;
  }
  
  .social-landing li {
    display: inline-block;
  }
  
  .social-landing {
    left: 30px;
    bottom: 10px;
  }
  
  .landing-slider-left {
    margin-right: 0px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .landing-slider-right {
    min-height: 450px;
  }
  
  .landing-slider-right img {
    min-height: 450px;
  }
  
  .slider-wrap .read-more {
    margin-top: 0px;
    margin-bottom: 15px;
  }
  
  div .slick-dots li button:before {
    font-size: 36px;
    color: var(--color-primary);
  }
  
  .home-h1 {
    font-size: 24px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .scroll-down {
    left: 0;
  }
  
  .social-landing {
    left: 30px;
  }
  
  h3.family-practice {
    font-size: 28px;
    width: 450px;
  }
}

@media only screen and (max-width: 991px) {
  .slider-wrap p {
    font-size: 18px;
  }
}

@media only screen and (min-width: 768px) {
  .landing-feature-sec .row .col-md-3:nth-child(even) {
    margin-top: 25px;
  }
  
  .landing-slider-left {
    margin-top: -50px;
  }
  
  .hand-heart img {
    margin-top: -50px;
  }
  
  .tetescope-text {
    position: relative;
  }
  
  .tetescope-text:before {
    content: "";
    background: url(../../images/landing-page/Icon-metro-stethoscope.png);
    position: absolute;
    top: 30px;
    left: -100px;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .landing-sec-2 {
    margin-top: -100px;
    z-index: 1;
    position: relative;
  }
}

@media only screen and (min-width: 1200px) {
  .landing-feature-sec .col-md-3 {
    width: 16.5%;
  }
  
  .hand-heart-about {
    position: absolute;
    top: 0;
    right: 0;
  }
  
  .testi-left h2 {
    padding-left: 70px;
    position: relative;
  }
  
  .testi-left h2:before {
    content: "\f10d";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    left: 20px;
    font-size: 40px;
    color: var(--color-cyan);
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1366px) {
  .landing-slider-left {
    margin-right: 0px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .landing-slider-left {
    margin-left: 25%;
    margin-right: 0;
  }
}

@media screen and (min-width: 992px) {
  .stagger-grid {
    display: grid;
    justify-content: center;
  }
  
  .stagger-grid {
    grid-template-columns: repeat(3, minmax(0, 350px));
    grid-template-rows: repeat(4, 1fr);
  }
  
  .stagger-grid__intro {
    grid-column: 2/4;
    grid-row: 1/2;
  }
  
  .stagger-grid__item--1 {
    grid-column: 1/2;
    grid-row: 1/3;
  }
  
  .stagger-grid__item--2 {
    grid-row: 2/4;
  }
  
  .stagger-grid__item--3 {
    grid-column: 3/4;
    grid-row: 3/5;
  }
  
  .stagger-grid__img {
    width: 100%;
    grid-column: 1/2;
    grid-row: 3/5;
  }
  
  .stagger-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 550px));
    grid-template-rows: 50px 1fr 50px 1fr 50px;
  }
  
  .stagger-grid-2__item--1 {
    grid-row: 1/3;
  }
  
  .stagger-grid-2__item--2 {
    grid-row: 2/4;
  }
  
  .stagger-grid-2__item--3 {
    grid-row: 3/5;
  }
  
  .stagger-grid-2__item--4 {
    grid-row: 4/6;
  }
}
