/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
  background-color: #ffffff;
}

a, 
a:visited, 
a:hover, 
a:active {
  color: inherit;
  text-decoration:none;
}

.responsive-iframe {
  width: 100%;
  border: none; /* optional: cleans up default borders */
 

}

/* Hide hamburger button on desktop */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}
/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d1216;
  padding: 1rem 3rem;
  color: #ffffff;
  position:relative;
}

/* DROPDOWN NAVIGATION STYLES */

/* Ensure the parent li acts as the anchor point */
.nav-links li.dropdown {
  position: relative;
}

/* Hide the dropdown menu by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;            /* Positions menu directly below parent link */
  left: 0;
  background-color: #0d1216;
  min-width: 180px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Dropdown link styling */
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Hover state for sub-menu items */
.dropdown-menu li a:hover {
  background-color: #2b7a82;
  color: #ffffff;
}

/* Reveal the dropdown when hovering over the parent item */
.nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

/* LOGO IMAGE STYLES */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px;       /* Adjust height to fit your navbar styling */
  width: auto;        /* Maintains proper aspect ratio */
  display: block;
}

/* RESPONSIVE LOGO ADJUSTMENT */
@media (max-width: 768px) {
  .logo-img {
    height: 65px;     /* Slightly smaller height on mobile screens */
  }
}



.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo-subtext {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: #888888;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links i {
  font-size: 0.7rem;
  margin-left: 3px;
}

.btn-book-top {
  background-color: #3b8b93;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 520px;
  /* Replace with your image path */
  background: url('images/hero-bg.jpg') no-repeat center center / cover; 
  display: flex;
  align-items: center;
  padding: 3rem 5%;
}

.hero-content {
  max-width: 520px;
  z-index: 2;
  /* Shifts the box over from the left edge */
  margin-left: 20%; 
  background-color: rgba(255, 255, 255, 0.88); 
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin-bottom: 1rem;
}

.highlight {
  color: #2b7a82;
}

.hero p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #2c848d, #1f5f66);
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  flex: 1;
}

.cta-card i {
  font-size: 1.8rem;
}

.cta-card div {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-location {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* HERO INSIDE SECTION */
.hero-inside {
  position: relative;
  min-height: 220px;
  /* Replace with your image path */
  background: url('images/hero-bg.jpg') no-repeat center center / cover; 
  display: flex;
  align-items: center;
  padding: 3rem 5%;
  background-position: center 30% !important;
}

.hero-inside-content {
  max-width: 920px;
  z-index: 2;
  /* Shifts the box over from the left edge */
  margin-left: 30%; 
  background-color: rgba(255, 255, 255, 0.88); 
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-inside h1 {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin-bottom: 1rem;
}

.highlight-inside {
  color: #2b7a82;
}

.hero-inside p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 2rem;
}

.hero-inside-buttons {
  display: flex;
  gap: 1rem;
}

.cta-inside-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #2c848d, #1f5f66);
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  flex: 1;
}

.cta-inside-card i {
  font-size: 1.8rem;
}

.cta-inside-card div {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-inside-location {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}



/* SERVICES SECTION */
.services {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fbfbfb;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2b7a82;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.services h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 3rem;
}

.services-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border: 1px solid #2b7a82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b7a82;
  font-size: 1.2rem;
}

.service-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333333;
  text-align: left;
  max-width: 90px;
}

.service-divider {
  width: 1px;
  height: 40px;
  background-color: #e0e0e0;
  margin: 0 0.5rem;
}

.services-footer {
  font-size: 0.9rem;
  color: #555555;
}

.services-footer a {
  color: #2b7a82;
  font-weight: 700;
  text-decoration: none;
}
/* FOOTER STYLES */
.site-footer {
  background-color: #0d1216;
  color: #cccccc;
  padding: 4rem 2rem 1rem 2rem;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 260px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #2b7a82;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-col i {
  color: #2b7a82;
  width: 20px;
  margin-right: 6px;
}

.footer-hours {
  margin-top: 1.2rem;
  background-color: #151c22;
  padding: 1rem;
  border-radius: 6px;
}

.footer-hours h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-hours ul {
  list-style: none;
  padding: 0;
}

.footer-hours li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  /* Allow text to wrap cleanly on small mobile screens */
  white-space: normal; 
}

@media (min-width: 480px) {
  .footer-hours li {
    white-space: nowrap;
  }
}

/* Optional: Gives the day label a fixed width so all the start times line up vertically */
.footer-hours li span {
  min-width: 85px;             
}
.footer-hours span {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222d36;
  font-size: 0.8rem;
  color: #777777;
}
/* MAP CONTAINER STYLES 
.map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Disables touch/click interaction on the iframe by default */
.map-container iframe {
  display: block;
  pointer-events: none; 
  width: 100%;
}

/* When active, allow full map interaction */
.map-container.active iframe {
  pointer-events: auto;
}

.map-container {
  position: relative;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


/* _------------------------------------------- */

.map-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* Disables all touch interception by default */
}

/* Active state allows normal map panning/zooming */
.map-wrapper.interactive iframe {
  pointer-events: auto;
}

/* Cover overlay with button */
.map-blocker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
}

.map-wrapper.interactive .map-blocker {
  display: none; /* Hides overlay once activated */
}

.enable-map-btn {
  background-color: rgba(13, 18, 22, 0.9);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}














/* Invisible overlay that captures the tap */
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.05); /* Very faint overlay to allow scrolling past */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.map-overlay span {
  background: rgba(13, 18, 22, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  pointer-events: none;
}

/* Hide overlay when active */
.map-container.active .map-overlay {
  display: none;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background-color: #f8fafc; /* Matches navbar dark theme */
  color: #111111;
  padding: 4rem 1.5rem;
  text-align: center;
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
  width:100%;
}
/* FEATURED CARD - SPANS 2 COLUMNS */
.testimonial-card.featured {
  grid-column: span 2;
}

/* FEATURED CARD - SPANS 3 COLUMNS */
.testimonial-card.featured3 {
  grid-column: span 3;
  margin-top:20px;
  text-align:center;
}

/* MOBILE FALLBACK */
@media screen and (max-width: 768px) {
  .testimonial-card.featured {
    grid-column: span 1; /* Automatically drops back to 1 column on smaller screens */
  }
}

@media screen and (max-width: 768px) {
  .testimonial-card.featured3 {
    grid-column: span 1; /* Automatically drops back to 1 column on smaller screens */
  }
}
.section-subtitle {
  color: #2b7a82; /* Accent teal */
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.section-title span {
  color: #2b7a82;
  font-weight: 700;
}

/* CARDS GRID */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 equal columns */
  gap: 1.5rem;
  max-width: 1100px;                      /* Caps the container so cards don't get too wide */
  margin: 0 auto;                          /* Centers the 3-column layout */
  margin-top:20px;
}

/* INDIVIDUAL CARD */
.testimonial-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stars {
  color: #f39c12; /* Gold rating stars */
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #2b7a82;
}

/* NAVBAR SOCIAL ICONS */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0.5rem;
}

.nav-socials a {
  color: #ffffff;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}
.nav-socials a i {
  font-size: 1.5rem;
line-height: 1 !important;
}
.nav-socials a:hover {
  color: #2b7a82; /* Accent teal hover state */
}


/* ==========================================
   TEAM & DENTISTS PAGE STYLES
   ========================================== */
/* TESTIMONIALS SECTION */
.team-section {
  background-color: #f8fafc; /* Matches navbar dark theme */
  color: #111111;
  padding: 4rem 1.5rem;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: #161d23;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  align-items: stretch;
}

.team-img-wrapper {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.team-img {
  width: 280px;
  height: 280px;            /* Uniform height for all cards */
  border-radius: 12px;      /* Soft rounded corners */
  object-fit: cover;        /* Clips excess photo without distorting */
  object-position: top center; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  padding:3px;
}

.team-img-wide {
	display:block;
	margin-left:auto;
	margin-right:auto;
	max-width:100%;
  width: 80%;
  height: auto;            /* Uniform height for all cards */
  border-radius: 12px;      /* Soft rounded corners */
  object-fit: cover;        /* Clips excess photo without distorting */
  object-position: top center; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  padding:3px;
}

.team-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #ffffff;

}

.team-name {
  font-size: 1.6rem;
  color: #000000;
  margin-bottom: 0.25rem;
  font-weight: 600;
    margin-top:1.5rem;
}

.team-role {
  font-size: 0.9rem;
  color: #2b7a82;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-bio p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #404040;
  margin-bottom: 1rem;
}

.team-bio p:last-child {
  margin-bottom: 0;
}






/* FOOTER RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
}

/* RESPONSIVE ADJUSTMENTS */


@media (min-width: 1200px) {
  .hero {
    min-height: 70vh; /* Takes up 70% of the screen height */
	
  /* Options: 'center top', 'center 20%', etc. */
  background-position: center 30%; 


  /* Changed 'center center' to 'center top' */

  align-items: center;
  padding: 2rem 5%;
}
  }


@media (max-width: 900px) {
	

  /* NAVBAR MOBILE FLEXBOX ALIGNMENT */
  .navbar {
    display: flex;
    justify-content: space-between; /* Pushes Logo to far left, Hamburger to far right */
    align-items: center;
    width: 100%;
  }

  /* HAMBURGER BUTTON */
  .hamburger-btn {
    display: block;
    margin-left: auto; /* Guarantees it pins strictly to the right edge */
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
  }

	
	
	
	
  .services-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .service-divider {
    display: none;
  }
 

  .hamburger-btn {
    display: block; /* Show hamburger button on mobile/tablet */
  }

  .btn-book-top {
    display: none; /* Optionally hide top header button on small screens */
  }

  /* ... hamburger & book button styles ... */

  .nav-links {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0d1216;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    z-index: 1000; /* BRINGS MENU TO FRONT ABOVE HERO SECTION */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  }

  /* Toggled via JavaScript when clicked */
  .nav-links.active {
    display: flex; /* Restores flex direction column layout */
  }

/* SERVICES 2-COLUMN GRID (LEFT-ALIGNED) */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    max-width: 420px;
    margin: 0 auto 2rem auto;
    /* Aligns column tracks to the left of the container */
    justify-items: start; 
    /* Ensures equal left padding for both columns */
    padding-left: 1rem; 
  }

  .service-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
	flex: 1;
    /* Left-aligns content inside each grid cell */
    justify-content: flex-start; 
  }



  .icon-circle {
    /* Ensures every circle icon stays exactly 50px wide so text aligns evenly */
    flex-shrink: 0; 
  }

  .service-divider {
    display: none;
  }

  .service-item span {
    max-width: none;
    text-align: left;
  }
}
/* MOBILE & SMALL SCREEN RESPONSIVENESS */
@media (max-width: 768px) {
  /* HERO SECTION MOBILE STYLES */
  .hero {

    padding: 2rem 1rem;
    min-height: auto;
  }

  .hero-content {
    margin-left: 0; 
    width: 100%;
    max-width: 100%; 
    padding: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column; 
    gap: 0.8rem;
    align-items: center;
  }

  .cta-card {
    width: 100%;
    max-width: 280px;
  }

  /* SERVICES MOBILE 2-COLUMN GRID */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two equal columns */
    gap: 1.5rem 1rem;
    justify-items: center;
    max-width: 400px;
    margin: 0 auto 2rem auto;
	padding:1rem;
  }

  /* Hide vertical dividers on mobile grid layout */
  .service-divider {
    display: none;
  }

  .service-item span {
    max-width: none; /* Allows text to flow naturally next to icon */
  }

/* RESPONSIVE: STACK ON TABLET/MOBILE */
@media screen and (max-width: 768px) {
  .team-card {
    flex-direction: column;
  }

 /* MOBILE RESPONSIVE ADJUSTMENT */
@media screen and (max-width: 768px) {
  .team-img-wrapper {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem 1rem;
  }
  
  .team-img {
    width: 250px;
    height: 250px;
  }
}

  .team-info {
    padding: 1.5rem;
  }
}
  
  /* Stack cards into 1 column on mobile screens */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}


/* MOBILE RESPONSIVE ADJUSTMENT */
@media (max-width: 900px) {
  .nav-socials {
    margin-left: 0;
    padding-top: 0.5rem;
  }
}

/* FIX HERO OVERFLOW ON MOBILE */
@media screen and (max-width: 768px) {
  .hero-inside {
    padding: 2rem 1rem; /* Reduces side padding on small screens */
  }

  .hero-inside-content {
    margin-left: 0 !important; /* Removes the 30% left push */
    width: 100%;
    max-width: 100%;
    padding: 1.5rem; /* Comfortably fits small screens */
  }
}
}