@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Outfit:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.section {
  padding: 40px 0;
}

.border-btm {
  border-bottom: 1px solid #ccc;
}

/* theme */

.theme-btn {
  background-image: linear-gradient(90deg, #ffe4d7 0%, #cf8766 100%);
  border: none;
  padding: 12px 30px !important;
  border-radius: 40px;
  color: #fff;
}

.theme-btn:hover {
  background-image: linear-gradient(270deg, #ffe4d7 0%, #cf8766 100%);
}

.theme-btn-bg {
  background: #cf8766;
}

.theme-btn-bg:hover {
  background: #cf8766;
}

.section-head h2 {
  font-size: 42px;
  font-weight: 500;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 100px;
  height: 4px;
  background: #cf8766;
}

@media (max-width: 768px) {
  .about-text h2,
  .section-head h2 {
    font-size: 28px;
  }
  .exp-count h5 {
    font-size: 22px;
  }
  .doc-img {
    width: 100%;
  }
}

/* why choose us  */

.healthcare-card {
  background: #cf8766;
  border-radius: 15px;
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.healthcare-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-header-custom {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
  backdrop-filter: blur(5px);
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  /* text-align: center; */
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.feature-title {
  color: #fff;
  font-weight: bold;
  line-height: 25px;
  font-size: 1.3rem;
}

.feature-description {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  flex-grow: 1;
  display: flex;
  line-height: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .feature-item {
    margin-bottom: 20px;
  }
}

/* about us  */

.doctor-section {
  background: #ff665e;
  /* min-height: 100vh; */
  padding: 80px 0;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.doctor-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.profile-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
}

.profile-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 48px 100px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.image-container {
  background: #cf8766;
  padding: 30px;
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-image-frame {
  position: relative;
  border-radius: 100%;
  margin-bottom: 30px;
  /* overflow: hidden; */
  border: 5px solid #cf8766;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 12px 24px rgba(229, 62, 62, 0.2);
  transition: all 0.4s ease;
  background: white;
}

.doctor-image-frame:hover {
  transform: scale(1.03) rotateY(5deg);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 16px 32px rgba(229, 62, 62, 0.3);
}

.doctor-image {
  width: 380px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.doctor-image:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .doctor-image {
    width: 100%;
  }
}

.experience-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background-color: #ffffff5e;
  backdrop-filter: blur(10px);
  padding: 2px 15px;
  border: 2px solid #cf8766;
  border-radius: 50px;
  color: #cf8766;
  font-size: 20px;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.experience-badge .counter-number {
  font-size: 30px;
  color: inherit;
}

.content-area {
  padding: 30px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;

  p {
    line-height: 1.6;
    color: #333;
    font-size: 18px;
    line-height: 28px;
  }
}

.doctor-name {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1a202c, #2d3748);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  line-height: 1.1;
  position: relative;
}

.doctor-name::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 120px;
  height: 4px;
  background: #cf8766;
  border-radius: 2px;
}

.experience-text {
  font-size: 1.15rem;
  color: #cf8766;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  padding: 12px 12px;

  line-height: 20px;
  background: rgba(229, 62, 62, 0.05);
  border-radius: 16px;
  border-left: 4px solid #cf8766;
}

.experience-text i {
  font-size: 1.5rem;
  color: #cf8766;
  margin-right: 10px;
}

.content-block {
  padding: 32px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #cf8766;
}

.content-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background: #cf8766;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 8px 16px rgba(229, 62, 62, 0.2);
}

.icon-wrapper i {
  color: white;
  font-size: 18px;
}

.content-text {
  color: #444;
  line-height: 25px;
  font-size: 18px;
  font-weight: 400;
}

ul.content-text,
ol.content-text {
  padding-left: 20px;
  margin-bottom: 15px;
}

ul.content-text li,
ol.content-text li {
  color: #444;
  line-height: 25px;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .doctor-name {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .image-container::before {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 6px;
  }

  .doctor-section {
    padding: 40px 0;
  }

  .image-container {
    padding: 12px;
  }

  .content-area {
    padding: 24px 12px;

    p {
      font-size: 1rem;
    }
  }

  .doctor-name {
    font-size: 2.2rem;
  }

  .experience-text {
    font-size: 1.1rem;
  }

  .content-block {
    padding: 12px;
  }

  ul.content-text li,
  ol.content-text li,
  .content-text {
    font-size: 16px;
  }
}

/* service card  */

.medical-service-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  border: 6px solid #fff;
  transition: all 0.4s ease;
}

.medical-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.medical-service-card:hover .card-image-background {
  transform: scale(1.1);
}

.card-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  text-align: center;
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0;
  transform: translateY(25px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.service-card-details {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  transition-delay: 0.1s;
}

.medical-service-card:hover .service-card-details {
  opacity: 1;
  transform: translateY(0);
}

.medical-service-card:hover .service-card-title {
  margin-bottom: 15px;
  transform: translateY(0);
}

.service-card-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card-button {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card-button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.service-card-button i {
  transition: transform 0.3s ease;
}

/* form section */

.contact-form-ref {
  padding: 40px 0;
}

.contact-left {
  background-image: linear-gradient(90deg, #ffe4d7 0%, #cf8766 100%);
  padding: 41px 36px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
  .contact-left {
    padding: 30px 20px;
  }
}

.form-group {
  margin-bottom: 15px;
}

/* .form-group:nth-last-child(1) {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
} */

@media (max-width: 600px) {
  .form-group:nth-last-child(1) {
    margin-bottom: 15px;
  }
}

.form-group:nth-last-child(2) {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: #fff;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .form-group label {
    font-size: 12px;
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.form-group textarea {
  resize: vertical;
}

.form-group button {
  width: 173px;
  height: 48px;
  background: #fff;
  border-radius: 0;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  letter-spacing: -0.011em;
  color: #cf8766;
  border: 2px solid #fff;
  /* transition: 0.3s; */
  cursor: pointer;
}

.form-group button:hover {
  background: transparent;
  color: #fff;
}

.inline-group {
  display: flex;
  gap: 10px;
}

@media (max-width: 600px) {
  .inline-group {
    display: block;
  }
}

.inline-group .form-group {
  flex: 1;
}

.jt-1 input {
  width: 50%;
  margin-left: 15px;
}

.breadcrumb-container {
  background: #fdcdb7;
  background-size: cover;
  padding: 80px 20px;
  text-align: center;
  color: #333;
  position: relative;
}

.breadcrumb {
  font-size: 18px;
  justify-content: center;
  margin-bottom: 0;
}

.breadcrumb a {
  text-decoration: none;
  color: #333;
  margin-right: 6px;
}

.page-title {
  font-size: 42px;
  font-weight: bold;
}

@media (max-width: 600px) {
  .breadcrumb-container {
    padding: 60px 20px;
  }

  .page-title {
    font-size: 24px;
    line-height: 25px;
    margin-bottom: 10px;
  }

  .breadcrumb {
    font-size: 16px;
  }
}

/* gallery */

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: white;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  border-radius: 7px;
  padding: 4px;
  aspect-ratio: 5/4;
  object-fit: cover;
  border: 3px solid #cf8766;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay i {
  color: white;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay i {
  transform: scale(1.2);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.lightbox-image.loaded {
  opacity: 1;
  /* transform: scale(1); */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.close-btn:hover {
  color: #ec9e7a;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

.image-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-btn {
    padding: 10px 15px;
    font-size: 20px;
    width: 50px;
    height: 50px;
    top: 80%;
  }

  .prev-btn {
    left: 15px;
  }

  .next-btn {
    right: 15px;
  }

  .close-btn {
    font-size: 30px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    padding: 10px;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 18px;
    width: 45px;
    height: 45px;
  }
}
