/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    color: #2d2d2d;
    overflow-x: hidden;
    background: #FFFFF0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 65px;
    width: auto;  
    max-width: 220px; 
}

.navbar .logo span {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  text-decoration: none;
  color: #1b3e2a;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  transition: all 0.4s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #bfa760;
    transition: width 0.4s ease;
}

.nav-links li a:hover {
    color: #034c1b;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff8e7;
  padding: 15px 0;
  width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  animation: dropdownFade 0.3s ease-in-out;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  color: #1b3e2a;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.dropdown-menu li a:hover {
  background: #bfa7601c;
  color: #bfa760;
}

/* Chevron icon style */
.nav-links .dropdown i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-links .dropdown:hover i {
  transform: rotate(180deg);
}

/* Dropdown animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger icon styles */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #1b3e2a;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hides mobile-specific links on desktop */
.mobile-only {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* Hide desktop dropdown in mobile */
  .desktop-only {
    display: none;
  }
  /* Show mobile links */
  .mobile-only {
    display: block;
  }

  /* Mobile menu styling */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background-color: #FFFFF0;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
    padding-left: 30px;
    gap: 25px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'poppins', serif;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .nav-links li a:hover {
    color: #bfa760;
    transform: translateX(5px);
  }

  /* Show hamburger icon */
  .hamburger {
    display: flex;
  }

  /* Adjusting navbar padding for mobile */
  .navbar {
    padding: 15px 20px;
  }

  /* Logo adjustment for mobile */
  .navbar .logo img {
    height: 55px;
    max-width: 180px;
  }
}

/* Hero Section */
.about-hero {
  background: url('Images/about-hero.png') center/cover no-repeat;
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(27, 62, 42, 0.6);
  z-index: 1;
}

.about-hero .hero-text {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  margin-top: 50px;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  padding: 80px 20px;
  background: #fffff0;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

.about-image img {
  max-width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #bfa760;
  margin-bottom: 20px;
}

.about-content strong {
  color: #1b3e2a;
}

.about-content p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-hero p {
    font-size: 16px;
  }
}

/*What guide us section*/
.guides-us-section {
  background: #FFFFF0;
  padding: 70px 20px 100px;
  color: #1b3e2a;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding-left: 15px;  
  padding-right: 15px;
  box-sizing: border-box;
  width: 100%;
}

/* Section title  */
.section-title {
  font-family: 'Playfair Display', serif;  
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #1b3e2a;
  position: relative;
  margin-bottom: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #bfa760;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Subtitle */
.section-subtitle {
  font-size: 18px;
  text-align: center;
  color:  #4e3b01;
  margin-bottom: 50px;
  font-family: 'Poppins', sans-serif;
}

/* Cards container */
.guides-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

/* Each card */
.guide-card {
  background: #fff;
  border: 2px solid #bfa760;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(31, 56, 34, 0.12);
  padding: 30px 25px 40px;
  flex: 1 1 300px;
  max-width: 370px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  position: relative;
  overflow: visible;   
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.guide-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 40px rgba(31, 56, 34, 0.3);
}

/* Card icon container */
.card-icon {
  background-color: #bfa76033; 
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 15px rgba(191, 167, 96, 0.3);
  transition: background-color 0.4s ease;
}

.guide-card:hover .card-icon {
  background-color: #bfa76066;
  box-shadow: 0 10px 25px rgba(191, 167, 96, 0.6);
}

.card-icon img {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(31, 56, 34, 0.2));
}

/* Card heading */
.guide-card h3 {
  font-family: 'Playfair Display', serif;
  color: #1b3e2a;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #bfa760;
  padding-bottom: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Paragraph text */
.guide-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #1b3e2a;
  text-align: justify;
}

/* List styling */
.guide-card ul {
  list-style-type: none;
  padding-left: 0;
  color: #1b3e2a;
  text-align: justify;
}

.guide-card ul li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  padding-left: 22px;
}

.guide-card ul li strong {
  color: #1b3e2a;
}

/* Custom bullet */
.guide-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 2px;
  color: #bfa760;
  font-size: 20px;
  line-height: 1;
}

/* Responsive */

@media (max-width: 992px) {
  .guides-cards {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .guide-card {
    max-width: 100%;
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .guides-us-section {
    padding: 50px 15px 70px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .guides-cards {
    padding: 0 10px;
  }

  .guide-card {
    padding: 25px 20px 30px;  
    max-width: 100%;
  }

  .guide-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .guide-card p,
  .guide-card ul li {
    font-size: 14px;
    line-height: 1.5;
  }

  .guide-card ul li::before {
    font-size: 18px;
    top: 3px;
  }

  .card-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
  }

  .card-icon img {
    max-width: 45%;
    max-height: 45%;
  }
}

.principles-section {
  background-color: #fffff0;
  padding: 30px 20px;
  text-align: center;
  color: #1b3e2a;
}

.principles-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: #1b3e2a;
}

.section-subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #5c5c5c;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 10px;
}

.principle-card {
  background-color: #FFFFF0;
  border: 1px solid #e4e0d8;
  border-left: 5px solid #bfa760;
  border-radius: 12px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.principle-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.principle-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1b3e2a;
  font-family: 'Playfair Display', serif;
}

.principle-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Playfair Display', serif;
  color: #1b3e2a;
}

/* Section Styling */
.doctor-section {
  background: #fffff0; 
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(27, 62, 42, 0.15);
}

.section-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #1b3e2a;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #bfa760; 
  margin-bottom: 50px;
  font-weight: 300;
  letter-spacing: 1.5px;
}

/* Doctor Profile Layout */
.doctor-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(27, 62, 42, 0.1);
  transition: transform 0.3s ease;
}

.doctor-profile:hover {
  transform: translateY(-10px);
}

/* Reverse layout for alternating design */
.doctor-profile.reverse {
  flex-direction: row-reverse;
}

/* Doctor Image */
.doctor-image {
  flex-shrink: 0;
  width: 320px;
  height: 420px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(27, 62, 42, 0.2);
  border: 6px solid #1b3e2a;
  background: #eae6d6;
  transition: box-shadow 0.3s ease;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Doctor Details */
.doctor-details {
  max-width: 520px;
  text-align: left;
}

.doctor-details h3 {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: #1b3e2a;
}

.specialty {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #bfa760;
  margin-bottom: 25px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
  .doctor-profile, .doctor-profile.reverse {
    flex-direction: column;
    max-width: 100%;
    gap: 35px;
    padding: 30px 20px;
  }

  .doctor-image {
    width: 280px;
    height: 380px;
    border-width: 5px;
  }

  .doctor-details {
    max-width: 100%;
    text-align: center;
  }

  .doctor-details h3 {
    font-size: 2.2rem;
  }

  .specialty {
    font-size: 1.1rem;
  }

  .description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .doctor-image {
    width: 230px;
    height: 320px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 35px;
  }
}

/*Insurance section*/
.insurance-partners {
  text-align: center;
  padding: 40px 20px; 
  background: #fdfcf6; 
  position: relative;
  margin-top: -60px; 
}

.insurance-partners h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: #1b3e2a;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.insurance-partners .green { color: #1b3e2a; }
.insurance-partners .orange { color: #bfa760; }

.insurance-partners .subtitle {
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  color: #4e3b01;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

/* Swiper slides */
.insurance-partners .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  box-sizing: border-box; 
}

.insurance-partners .swiper-slide img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  background: white;
  border: 2px solid #bfa760;
  border-radius: 12px;
  padding: 0; 
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: none;
  box-sizing: border-box;
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
  color: #1b3e2a !important;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 28px; 
  height: 28px; 
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .insurance-partners .swiper-slide img {
    max-width: 140px;
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .insurance-partners .swiper-slide img {
    max-width: 120px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .insurance-partners .swiper-slide img {
    max-width: 100px;
    max-height: 50px;
  }
}

/* Contact Section */
.contact-section {
  background-color: #1b3e2a;
  color: #fff;
  padding: 0;
  font-family: 'Playfair Display', serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

.contact-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-right {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #1b3e2a;
}

.contact-right h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #fff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  gap: 30px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.info-block i {
  font-size: 1.2rem;
  color: #bfa760;
  min-width: 20px;
  margin-top: 4px;
}

.btn-appointment {
  display: inline-block;
  margin-top: 20px;
  background-color: #bfa760;
  color: #1b3e2a;
  padding: 8px 20px; 
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px; 
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.btn-appointment:hover {
  background-color: #1b3e2a;
  color: #bfa760;
  border: 2px solid #bfa760;
}

/* Footer */
.footer {
  background-color: #1b3e2a;
  color: #fff;
  padding: 20px 40px;
  font-family: 'Playfair Display', serif;
  border-top: 1px solid #ffffff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  max-height: 60px;
  width: auto;
}

.footer-center p {
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.footer-right a {
  margin-left: 30px;
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #bfa760;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-left {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .contact-right {
    padding: 40px 20px;
    text-align: center;
  }

  .contact-right h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .info-block {
    justify-content: flex-start;  
    text-align: left;  
  }

  .info-block p {
    font-size: 1rem;
  }

  .info-block i {
    font-size: 1.6rem;
    margin-top: 0;
  }

  .btn-appointment {
    font-size: 15px;
    padding: 12px 25px;
    margin-top: 25px;
  }

.footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-logo {
    max-height: 50px;
  }

  .footer-center p {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .footer-right {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
  }

  .footer-right a {
    margin-left: 0;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-right h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .info-block {
    gap: 12px;
    justify-content: flex-start;  
    text-align: left;  
  }

  .btn-appointment {
    font-size: 14px;
    padding: 10px 20px;
  }

    .footer-logo {
    max-height: 45px;
  }
}

body > :not(.footer) {
  flex: 1;
}