@import url("https://fonts.googleapis.com/css?family=Lato:400,500,600,700&display=swap");

/* Global Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  
}

/* Nav Bar */

nav {
  background-color: white;
  padding: 10px;
  display: flex;
  justify-content: start;
  padding: 20px 100px;
}

.nav-logo {
  width: 200px;
  height: auto;
}

/* Nav Bar Responsive Screen Size - Tablet */


@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
  }

  .nav-logo {
    width: 150px;
  }
}

/* Nav Bar Responsive Screen Size - Mobile */

@media (max-width: 480px) {
  nav {
    padding: 10px 10px;
  }

  .nav-logo {
    width: 120px;
  }
}

/* Hero Section */

/* .hero-section {
  background-image: url("./assets/svg/hero.svg");
  background-size: cover;
  background-position: center;
  height: 70vh;
  position: relative;
} */
/* Make the hero section and slider full screen */
/* HERO SECTION - BASE */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;

}

/* Swiper Container */
.swiper-container {
  width: 100%;
  height: 100vh;
    max-width: 100vw; /* ensures no overflow */
  overflow: hidden; /* contains child overflows */
}

.swiper-wrapper{
  height: 100%;
  display: flex;
  align-items: center;
}

.swiper-slide {
  height: 100%;
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Show full image without cropping */
.swiper-slide img {
  width: auto;
  height: auto;
  object-fit: contain; /* or "cover" if you prefer filling space */
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Pagination position */
/* .swiper-pagination {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
} */


@media (min-width: 992px) {
  .hero-section,
  .swiper-container {
    height: auto;            /* let it collapse to image height */
  }

  .swiper-wrapper {
    align-items: flex-start; /* top‑align slide (optional) */
  }

  .swiper-slide img {
    width: 100%;
    height: auto;            /* natural height */
    object-fit: contain;     /* keep entire image visible */
  }
}
/* Mobile landscape and large phones */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section,
  .swiper-container {
    height: auto;          /* drop the 60 vh rule */
  }

  .swiper-slide img {
    width: 100%;           /* stretch horizontally */
    height: auto;          /* keep aspect ratio */
    max-height: none;      /* let it grow as tall as it needs */
  }
}
/* Small mobile devices */
@media (max-width: 480px) {
  .hero-section {
    height: 50vh;
  }
  .swiper-slide img {
    object-fit: contain;
    height: auto;
    max-height: 50vh;
  }
}
/* Action Box */


.action-box {
  position: absolute;
  left: 100px;
  bottom: -10%;
  transform: none;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  z-index: 1;
}

.action-logo {
  position: absolute;
  top: -30px;
  left: 33%;
   border: 10px solid #002856;
   border-radius: 50%;
}

.action-buttons {
  margin-top: 20px;
  background-color: white;
  padding: 100px 20px 20px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.action-buttons button {
  border-radius: 5px;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 150px;
  height: 40px;
  font-weight: 600;
}

.login-button {
  background-color: #42a5ff;
  color: white;
  border: none;
}

.register-button {
  background-color: white;
  color: #42a5ff;
  border: 1px solid #42a5ff;
}

.login-button:hover {
  background-color: #1e88e5;
}

.register-button:hover {
  background-color: #f0f0f0;
}


/* Action Box Responsive */
/* Tablet */
@media (max-width: 768px) {
  .action-box {
    left: 50%;
    transform: translateX(-50%);
    bottom: -5%;
    width: 80%;
  }

  .action-logo {
    width: 80px;
    height: 80px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .action-buttons {
    padding: 80px 15px 20px 15px;
  }

  .action-buttons button {
    width: 100%;
    margin: 8px 0;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .action-box {
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 90%;
  }

  .action-logo {
    width: 80px;
    height: 80px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .action-buttons {
    padding: 60px 10px 15px 10px;
    flex-direction: column;
    gap: 15px;
  }

  .action-buttons button {
    width: 100%;
    font-size: 14px;
  }
}

/* this is for Engage dr underline */
.engage-section{
 margin-top: 80px;
}


/* Mobile devices */
@media (max-width: 768px) {
  .engage-section {
    margin-top: 0;
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  .engage-section {
    margin-top: 0;
  }
}

.underline {
  width: 40px;
  height: 3px;
  background-color: #42a5ff;
  border-radius: 2px;
}

/* Stat Section  */
.bg-mint {
  background-color: #6ee0db; 
  color: #000;
}


/* ------Connect. Communicate. Coordinate. ---------*/

.hero-search-section {
  background: url('./assets/png/connectBg.png') no-repeat center center;
  background-size: cover;
  min-height: 80vh;
  padding: 60px 0;
}
/* Circle icon on the left */
.circle-icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border: 2px solid #405A66;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  z-index: 1;
}

/* Input box with LEFT curved cut */
.custom-search-box-left {
  background-color: white;
  border: 2px solid #405A66;
  padding: 12px 16px;
  border-radius: 0 5px 5px 0;
  width: 300px;
  
  display: flex;
  align-items: center;
}
.custom-search-box.reverse {
  flex-direction: row-reverse;
  align-items: end;
}
.custom-search-container {
  display: flex;
  align-items: center;
  position: relative;
}

/* Search input box with right-side cut-out */
.custom-search-box2 {
  background-color: white;
  border: 2px solid #405A66;
  padding: 12px 16px;
  border-radius: 5px 0 0 5px;
  width: 300px;
  display: flex;
  align-items: center;
}

/* Search input inside the curved box */
.custom-input {
  border: none;
  outline: none;
  font-size: 16px;
  width: 100%;
  background-color: transparent;
}

/* Circle icon attached to the right */
.circle-icon {
  width: 70px;
  height: 70px;
  background-color: white;
  border: 8px solid #405A66;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px; /* pulls it slightly into the cut-out */
  z-index: 1;
}

.circle-icon img {
  margin: 5px;
  width: 35px;
  height: 35px;
}
/* Dropdown  */
#searchDropdown {
  position: absolute;
  top: calc(100% + 8px); /* adds space below input */
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  max-height: 250px;
  overflow-y: auto;
}
#searchDropdown .list-group-item:hover {
  background-color: #6ee0db80;
  color: #000;
  cursor: pointer;
}

#locationDropdown{
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        z-index: 999;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 250px;
        overflow-y: auto;
}
#locationDropdown .list-group-item:hover {
  background-color: #6ee0db80;
  color: #000;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hero-search-section {
    min-height: 55vh;   /* was 80vh → about one‑third shorter      */
    padding: 40px 0;    /* tighten top & bottom padding as well    */
    background-size: cover;   /* keep full‑bleed look (crop allowed) */
    background-position: center;
  }
}
@media (max-width: 768px) {
  .hero-search-section {
    text-align: center;
  }

  .row.gx-3.gy-3 {
    flex-direction: row;
    gap: 20px;
  }

  .custom-search-container {
    flex-direction: row;
    justify-content: center;
  }

  .custom-search-box-left,
  .custom-search-box2 {
    width: 100%;
    max-width: 90vw;
  }

  .circle-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-width: 6px;
  }

  .circle-icon img {
    width: 26px;
    height: 26px;
  }
}
/* Hotlist Section */

.hotlist-section {
  margin-top: 140px;
  text-align: center;
}

.hotlist-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hotlist-container {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.hotlist-doctor {
  width: 200px;
  height: 315px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.doctor-info {
  padding: 10px;
  text-align: start;
}

.doctor-name {
  font-size: 18px;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 5px;
}

.doctor-specialization {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  color: #666;
}

.doctor-location {
  font-family: "Lato", sans-serif;

  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.doctor-calls {
  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.hotlist-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 130px;
}

.hotlist-stat {
  font-family: "Lato", sans-serif;
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #6dddd0;
  width: 100%;
  padding: 32px;
}

.hotlist-stat:nth-child(2) {
  background-color: #000;
  color: #fff;
}

.stat-number {
  font-size: 38px;
  font-weight: 700;
}

.stat-description {
  font-size: 16px;
  font-weight: 600;
}

/* Hotlist Section Responsive */

@media (max-width: 1024px) {
  .hotlist-doctor {
    width: 150px;
    height: 260px;
  }

  .hotlist-doctor-img {
    width: 150px;
  }

  .doctor-name {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hotlist-container {
    flex-direction: column;
    align-items: center;
  }

  .hotlist-doctor {
    margin-bottom: 20px;
  }

  .hotlist-stats {
    flex-direction: column;
    align-items: center;
  }

  .hotlist-stat {
    width: 80%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hotlist-container {
    flex-direction: column;
    align-items: center;
  }

  .hotlist-doctor {
    margin-bottom: 20px;
  }

  .hotlist-stats {
    flex-direction: column;
    align-items: center;
  }

  .doctor-name {
    font-size: 16px;
  }

  .hotlist-stat {
    width: 80%;
    margin-bottom: 20px;
  }
}

/* Conncected Doctors */

.connected-doctors {
  margin-top: 80px;
  margin-bottom: 80px;
}

.connected-container {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.connected-doctor {
  width: 200px;
  height: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  position: relative;
}

.connected-calls {
  position: absolute;
  top: 5%;
  left: 5%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.connected-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Connected Doctors Responsive */

@media (max-width: 768px) {
  .connected-container {
    flex-direction: column;
    align-items: center;
  }

  .connected-doctor {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .connected-container {
    flex-direction: column;
    align-items: center;
  }

  .connected-doctor {
    margin-bottom: 20px;
  }
}

/* How To Section */
.how-to-section {
  margin-top: 80px;
  text-align: center;
  background-color: #6dddd01a;
  padding: 40px 0;
}

.how-to-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.how-to-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  width: max-content;
  margin: 48px auto;
}

.how-to-item {
  display: flex;
  align-items: center;
}

.how-to-item p {
  color: #465668;
  font-size: 18px;
  font-weight: 600;
}

.step-number {
  background-color: white;
  font-weight: bold;
  margin-right: 8px;
  color: #1e88e5;
  font-size: 20px;
  border: 2px solid #1e88e5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-trail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: min-content;
  color: #1e88e5;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  margin-right: auto;
  margin-left: 16px;
}

.steps-dot {
  width: 3px;
  height: 3px;
  background: #1e88e5;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.steps-dot.active {
  opacity: 1;
}

/* How to section responsive */

@media (max-width: 768px) {
  .how-to-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .how-to-item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .steps-trail {
    margin-left: -8px;
    margin-right: 0;
  }
}

/* How to section responsive - Mobile */

@media (max-width: 480px) {
  .how-to-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .how-to-item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .how-to-item p {
    text-align: center;
    font-size: 16px;
  }

  .steps-trail {
    margin-left: -10px;
    margin-right: 0;
  }
}

/* FAQ Section */

.faq-section {
  margin: 60px auto;
  padding: 40px 120px;
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 32px;
}

.faq-intro {
  width: 35%;
}

.faq-intro h3 {
  font-size: 40px;
  font-weight: 700;
  width: min-content;
  border-bottom: 4px solid #1e88e5;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.faq-intro p {
  font-size: 16px;
  color: #666666;
  margin-top: 20px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.faq-qa {
  width: 65%;
  background-color: #f1fcfb;
}

.faq-item {
  padding: 20px;
  border-bottom: 1px solid #c5c5c5;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle {
  color: white;
  background-color: #1e88e5;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  font-size: 18px;
}

.faq-question {
  font-size: 20px;
  font-weight: 500;
}

.faq-answer {
  margin-top: 32px;
  font-size: 16px;
  color: #666666;
  margin-top: 20px;
  line-height: 1.5;
}

.faq-answer ul {
  list-style: disc;
  padding-left: 18px;
}

/* FAQ Section Responsive */

@media (max-width: 768px) {
  .faq-section {
    flex-direction: column;
    padding: 20px;
  }

  .faq-intro {
    width: 100%;
    margin-bottom: 20px;
  }

  .faq-qa {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .faq-section {
    flex-direction: column;
    padding: 20px;
  }

  .faq-intro {
    width: 100%;
    margin-bottom: 20px;
  }

  .faq-qa {
    width: 100%;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .faq-toggle {
    width: 16px;
    height: 16px;
    font-size: 14px;
  }
}

/* Footer */
footer {
  background-color: #252525;
  padding: 40px 0 0 0;
  text-align: center;
  color: white;
  margin: 0 75px;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.social-media {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.footer-contact {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 12px;
}

.footer-contact h4 {
  background-color: #6dddd0;
  width: max-content;
  padding: 4px 6px;
  color: #252525;
  font-weight: 700;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  background-color: #4b4b4b;
  padding: 40px;
  border-radius: 5px;
}

.footer-buttons button {
  border-radius: 5px;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 150px;
  height: 40px;
  font-weight: 600;
}

.footer-buttons .login-button {
  background-color: #1e88e5;
  color: white;
}

.footer-buttons .login-button:hover {
  background-color: #0d47a1;
}

.footer-buttons .register-button {
  background-color: #4b4b4b;
  color: #1e88e5;
  border: 1px solid #1e88e5;
}

.footer-buttons .register-button:hover {
  background-color: #333;
}

.footer-bottom {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: start;

}
 .dot {
  width: 10px;
  height: 10px;
  background-color: #3FE0D0;
  border-radius: 50%;
  display: inline-block;
}

.copyright {
  width: 100%;
  border-top: 1px solid #ffffff;
  padding-top: 44px;
  text-align: center;
  
}

.policy {
  text-decoration: underline;
  margin-left: 32px;
}

/* Footer Responsive */
@media (max-width: 768px) {
  footer {
    padding: 20px;
    margin: 0 20px;
  }

  .footer-header,
  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-buttons {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px;
  }

  .footer-header,
  .footer-info {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-buttons {
    flex-direction: column;
  }

  .policy {
    margin-left: 0;
    margin-top: 20px;
  }
}
