/* ============================
  Template Name: AhotoCare
  Author: Mpontuo Health Technologies
  Description: Telemedicine Platform Landing Page
  Version: 1.0
  Color Scheme: Dark Green (#0C3337), Green (#4AA774), Gray (#A7A9AC)
=============================== */

/*===========================
    01.COMMON css 
===========================*/
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&family=Heebo:wght@300;400;500;600;700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Heebo", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #60698D;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

a:hover {
  color: #4AA774;
}

a {
  transition: all 0.3s ease-out 0s;
}

a,
a:focus,
a:hover {
  text-decoration: none;
}

i,
span,
a {
  display: inline-block;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  margin: 0px;
  color: #0C3337;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h1 {
  font-size: 45px;
}

@media (max-width: 767px) {
  h1 {
    font-size: 36px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  h1 {
    font-size: 40px;
  }
}

.section-title span {
  font-size: 25px;
  font-weight: 600;
  color: #4AA774;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

ul,
ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

p {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  margin: 0px;
}

.img-bg {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

/*===== All Button Style =====*/
.main-btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 17px 37px;
  font-size: 18px;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  transition: all .4s ease-in-out;
  border: none;
  background: #4AA774;
  overflow: hidden;
}

.main-btn:hover {
  color: #fff;
  background: #0C3337;
}

.btn-hover {
  position: relative;
  overflow: hidden;
}

.btn-hover::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 0%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  top: 50%;
  left: 50%;
  padding: 50%;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
  transform: translate3d(-50%, -50%, 0) scale(0);
}

.btn-hover:hover::after {
  transform: translate3d(-50%, -50%, 0) scale(1.3);
}

.scroll-top {
  width: 45px;
  height: 45px;
  background: #4AA774;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #fff;
  border-radius: 5px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
}

.scroll-top:hover {
  color: #fff;
  background: #0C3337;
}

/*===== Preloader =====*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  display: table;
  height: 100%;
  width: 100%;
  background: #fff;
  z-index: 99999;
}

.preloader .loader {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.preloader .loader .spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  margin-left: -32px;
  z-index: 18;
  pointer-events: none;
}

.preloader .loader .spinner .spinner-container {
  pointer-events: none;
  position: absolute;
  width: 100%;
  padding-bottom: 100%;
  top: 50%;
  left: 50%;
  margin-top: -50%;
  margin-left: -50%;
  animation: spinner-linspin 1568.2353ms linear infinite;
}

.preloader .loader .spinner .spinner-container .spinner-rotator {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinner-easespin 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.preloader .loader .spinner .spinner-container .spinner-rotator .spinner-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  right: 50%;
}

.preloader .loader .spinner .spinner-container .spinner-rotator .spinner-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  left: 50%;
}

.preloader .loader .spinner-circle {
  box-sizing: border-box;
  position: absolute;
  width: 200%;
  height: 100%;
  border-style: solid;
  border-color: #4AA774 #4AA774 #ddd;
  border-radius: 50%;
  border-width: 6px;
}

.preloader .loader .spinner-left .spinner-circle {
  left: 0;
  right: -100%;
  border-right-color: #ddd;
  animation: spinner-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.preloader .loader .spinner-right .spinner-circle {
  left: -100%;
  right: 0;
  border-left-color: #ddd;
  animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

@keyframes spinner-linspin {
  to { transform: rotate(360deg); }
}

@keyframes spinner-easespin {
  12.5% { transform: rotate(135deg); }
  25% { transform: rotate(270deg); }
  37.5% { transform: rotate(405deg); }
  50% { transform: rotate(540deg); }
  62.5% { transform: rotate(675deg); }
  75% { transform: rotate(810deg); }
  87.5% { transform: rotate(945deg); }
  to { transform: rotate(1080deg); }
}

@keyframes spinner-left-spin {
  0% { transform: rotate(130deg); }
  50% { transform: rotate(-5deg); }
  to { transform: rotate(130deg); }
}

@keyframes right-spin {
  0% { transform: rotate(-130deg); }
  50% { transform: rotate(5deg); }
  to { transform: rotate(-130deg); }
}

/*===========================
    02.HEADER css 
===========================*/
.navbar-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: all 0.3s ease-out 0s;
}

.sticky {
  position: fixed;
  z-index: 99;
  background-color: #fff;
  box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-out 0s;
}

.sticky .navbar {
  padding: 17px 0;
}

.sticky .navbar-brand img {
  max-width: 150px;
  transition: all 0.3s ease;
}

/* Sticky logo sizing for logo-care.svg */
.sticky .navbar-brand img[src*="logo-care"],
.sticky .navbar-brand img[src*="logo-2"] {
  max-width: 140px;
}

@media (max-width: 991px) {
  .sticky .navbar-brand img[src*="logo-care"],
  .sticky .navbar-brand img[src*="logo-2"] {
    max-width: 120px;
  }
}

@media (max-width: 767px) {
  .sticky .navbar-brand img {
    max-width: 110px;
  }
  
  .sticky .navbar-brand img[src*="logo-care"],
  .sticky .navbar-brand img[src*="logo-2"] {
    max-width: 100px;
  }
}

.sticky .navbar .navbar-nav .nav-item a {
  color: #222;
}

.sticky .navbar .navbar-nav .nav-item a::before {
  background: #4AA774;
}

.sticky .navbar .navbar-toggler .toggler-icon {
  background: #0C3337;
}

.navbar {
  padding: 20px 0;
  border-radius: 5px;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  max-width: 180px;
  height: auto;
  transition: all 0.3s ease;
  display: block;
  opacity: 1;
}

@media (max-width: 767px) {
  .navbar-brand img {
    max-width: 140px;
  }
}

/* Logo sizing for logo-care.svg */
.navbar-brand img[src*="logo-care"],
.navbar-brand img[src*="logo-2"] {
  max-width: 180px;
  height: auto;
  width: auto;
}

@media (max-width: 991px) {
  .navbar-brand img[src*="logo-care"],
  .navbar-brand img[src*="logo-2"] {
    max-width: 150px;
  }
}

@media (max-width: 767px) {
  .navbar-brand img[src*="logo-care"],
  .navbar-brand img[src*="logo-2"] {
    max-width: 130px;
  }
}

.navbar-toggler {
  padding: 0;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: #fff;
  display: block;
  margin: 5px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-toggler.active .toggler-icon:nth-of-type(1) {
  transform: rotate(45deg);
  top: 7px;
}

.navbar-toggler.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
}

.navbar-toggler.active .toggler-icon:nth-of-type(3) {
  transform: rotate(135deg);
  top: -7px;
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 12px;
  }
}

.navbar-nav .nav-item {
  position: relative;
  margin-left: 40px;
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-nav .nav-item {
    margin-left: 20px;
  }
}

.navbar-nav .nav-item a {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  transition: all 0.3s ease-out 0s;
  padding: 10px 0;
  position: relative;
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-nav .nav-item a {
    display: inline-block;
    padding: 6px 10px;
    color: #60698D;
  }
}

.navbar-nav .nav-item a::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease-out 0s;
  z-index: -1;
  opacity: 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-nav .nav-item a::before {
    background: #4AA774;
  }
}

.navbar-nav .nav-item a:hover::before, 
.navbar-nav .nav-item a.active::before {
  opacity: 1;
}

/*===========================
    03.HERO SECTION
===========================*/
.hero-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #0C3337 0%, #4AA774 100%);
  padding: 200px 0 150px;
}

@media (max-width: 767px) {
  .hero-section {
    padding: 150px 0 100px;
  }
}

.hero-section .hero-content h1 {
  font-size: 60px;
  margin-bottom: 35px;
  color: #fff;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-section .hero-content h1 {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .hero-section .hero-content h1 {
    font-size: 40px;
  }
}

.hero-section .hero-content p {
  margin-bottom: 40px;
  color: #fff;
  font-size: 20px;
}

.hero-section .hero-content .main-btn {
  background: #fff;
  color: #4AA774;
  font-size: 20px;
  font-weight: 700;
  padding: 18px 52px;
}

.hero-section .hero-content .main-btn:hover {
  background: #A7A9AC;
  color: #fff;
}

.hero-section .hero-img {
  position: relative;
  text-align: right;
  z-index: 4;
}

.hero-section .hero-img img {
  max-width: 100%;
  height: auto;
}

/*===========================
    04.FEATURE SECTION
===========================*/
.feature-section {
  padding: 100px 0;
}

@media (max-width: 767px) {
  .feature-section {
    padding: 60px 0;
  }
}

.feature-section .single-feature {
  text-align: center;
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-section .single-feature:hover {
  transform: translateY(-10px);
}

.feature-section .single-feature:hover .icon::after {
  top: 8px;
  right: 8px;
}

.feature-section .single-feature .icon {
  width: 75px;
  height: 75px;
  border-radius: 5px;
  background: #4AA774;
  color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  z-index: 1;
  margin: 0 auto 30px;
}

.feature-section .single-feature .icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  top: -8px;
  right: -8px;
  opacity: .2;
  border-radius: inherit;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
}

.feature-section .single-feature .icon.color-2 {
  background: #0C3337;
}

.feature-section .single-feature .icon.color-3 {
  background: #6BC794;
}

.feature-section .single-feature .content h3 {
  font-weight: 600;
  margin-bottom: 25px;
  color: #0C3337;
}

/*===========================
    05.DEPARTMENT/STEPS SECTION
===========================*/
.department-section {
  padding: 100px 0;
  background: #f8f9fa;
}

@media (max-width: 767px) {
  .department-section {
    padding: 60px 0;
  }
}

.single-department {
  margin-bottom: 55px;
}

.single-department span {
  width: 12px;
  height: 12px;
  background: #4AA774;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(74, 167, 116, 0.34);
  margin-bottom: 25px;
}

.single-department h3 {
  margin-bottom: 20px;
  color: #0C3337;
}

/*===========================
    06.FAQ SECTION
===========================*/
.faq-section {
  padding: 100px 0;
}

@media (max-width: 767px) {
  .faq-section {
    padding: 60px 0;
  }
}

.faq-section .single-faq {
  background: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0px 3px 6px rgba(142, 142, 142, 0.16);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.faq-section .single-faq:hover {
  border-color: #4AA774;
}

.faq-section .single-faq button {
  background: #fff;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  font-family: "Fira Sans", sans-serif;
  text-align: left;
  padding: 18px 25px;
  padding-right: 45px;
  position: relative;
  color: #0C3337;
  width: 100%;
}

.faq-section .single-faq button.collapsed {
  opacity: .8;
}

.faq-section .single-faq button.collapsed::after {
  transform: rotate(0deg);
}

.faq-section .single-faq button::after {
  content: '';
  position: absolute;
  top: 27px;
  right: 25px;
  border-top: 9px solid #4AA774;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  transition: all 0.3s ease-out 0s;
  transform: rotate(180deg);
}

.faq-section .single-faq .faq-content {
  padding: 7px 25px 18px;
}

/*===========================
    07.FOOTER
===========================*/
.footer {
  padding-top: 100px;
  background: #0C3337;
  color: #fff;
}

@media (max-width: 767px) {
  .footer {
    padding-top: 60px;
  }
}

.footer .widget-wrapper .footer-widget {
  margin-bottom: 40px;
}

.footer .widget-wrapper .footer-widget h3 {
  color: #fff;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer .widget-wrapper .footer-widget .links li a {
  color: #fff;
  font-size: 16px;
  line-height: 30px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer .widget-wrapper .footer-widget .links li a:hover {
  padding-left: 6px;
  opacity: 1;
  color: #4AA774;
}

.footer .widget-wrapper .footer-widget .download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer .widget-wrapper .footer-widget .download li:first-child {
  margin-right: 20px;
}

.footer .widget-wrapper .footer-widget .download li a {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 15px 25px;
  margin-bottom: 15px;
  align-items: center;
  transition: all 0.3s ease;
}

.footer .widget-wrapper .footer-widget .download li a:hover {
  background: #4AA774;
}

.footer .widget-wrapper .footer-widget .download li a .icon {
  font-size: 30px;
  color: #0C3337;
  margin-right: 10px;
}

.footer .widget-wrapper .footer-widget .download li a .text {
  font-size: 10px;
  color: #60698D;
}

.footer .widget-wrapper .footer-widget .download li a .text b {
  color: #0C3337;
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.footer .copy-right-wrapper {
  border-top: 2px solid rgba(255, 255, 255, 0.17);
  padding: 25px 0;
}

.footer .copy-right-wrapper .copy-right p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

@media (max-width: 767px) {
  .footer .copy-right-wrapper .copy-right p {
    text-align: center;
    margin-bottom: 20px;
  }
}

.footer .copy-right-wrapper .copy-right p a {
  color: inherit;
}

.footer .copy-right-wrapper .copy-right p a:hover {
  color: #4AA774;
}

.footer .copy-right-wrapper .socials ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .footer .copy-right-wrapper .socials ul {
    justify-content: center;
  }
}

.footer .copy-right-wrapper .socials ul li a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.footer .copy-right-wrapper .socials ul li a:hover {
  color: #4AA774;
}

/* Utility Classes */
.mt-100 { margin-top: 100px; }
.mb-100 { margin-bottom: 100px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }