@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "AppleGaramond-Bold";
  src: url("../apple_garamond-font/AppleGaramond-Bold.ttf") format("truetype");
  font-weight: bold;
}

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

/* General body styling */
body {
  background: conic-gradient(from 46deg, #18c5ff2b, #fdfdfd00, #64ffbe21);
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

.content-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 3%;
}

.drtry {
  margin: 2%;
  font-size: 3vw;
}

.box2 {
  padding: 1% 15%;
}

.t-name {
  color: darkgreen;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-weight: bold;
}

.d-name {
  font-family: "Roboro";
  font-weight: bold;
}

.drtry,
.dctrclnc,
.text-doc {
  font-family: "AppleGaramond-Bold";
  color: darkgreen;
}

.wrds,
.drtry,
.doc-label,
.dctrclnc,
.doccap,
.text-doc {
  margin-bottom: 0%;
}

.wrds {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.3em;
  line-height: 3;
}

.dctrclnc {
  margin: 5%;
  text-align: center;
  font-size: 3vw;
}

.d-holder {
  margin: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.d-holder,
.doc-label {
  font-family: "AppleGaramond-Bold";
}

.text-doc {
  font-size: 3.5vw;
}


.content-2 {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
}

.dctrclnc {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #1b4d3e; 
  margin-bottom: 1rem;
}

.search-bar {
  width: 100%;
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #66cc99;
  border-radius: 8px;
  font-size: 1rem;
}

.dept-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1b4d3e;
  border-bottom: 2px solid #66cc99;
  padding-bottom: 0.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #e0f2f1;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.doc-row:hover {
  background-color: #f0f9f8;
}

.doc-name {
  font-weight: 600;
  color: #1b4d3e;
}

.doc-schedule {
  font-size: 0.95rem;
  color: #4da6ff;
}


.first-doctor {
  margin: 5%;
  /* padding: 5%; */
  text-align: center;
}

.doc-label {
  color: darkgreen;
  font-size: 2em;
}

.docbox-1 img {
  max-height: 240px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.docbox-1 {
  height: 450px;
  width: 300px;
  background: whitesmoke;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-align: center;
  margin: 1%;
}

.docbox-1:hover {
  transform: scale(1.1);
  border: 3px solid darkgreen;
}

.doccap {
  font-size: 1em;
  font-weight: bold;
  padding: 10px;
  font-weight: bold;
  color: black;
}

.nrml {
  font-weight: normal !important;
}

.img {
  height: auto;
  width: 100%;
  max-width: 380px;
  max-height: 380px;
  border: 2px solid darkgreen;
}

.holder-doctor {
  display: flex;
  justify-items: center;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 769px) {
    .doc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .drtry,
  .dctrclnc,
  .text-doc {
    font-size: 8vw;
  }

  .wrds {
    font-size: 1em;
  }

    .doctor-banner{
    height: 80px;
}

}

@media (max-width: 426px) {
  .drtry,
  .dctrclnc,
  .text-doc {
    font-size: 8vw;
  }

  .wrds {
    font-size: 4vw;
  }

 
}
