/* General Reset to Prevent Overflow */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Main Hero Section */
.contact-hero {
  position: relative;
  width: 100vw;
  height: 50vh;
  min-height: 260px;
  padding: 0 20px;
  padding-top: 98px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

/* Static Background Image */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("image/contactpage.jpg") center/cover no-repeat;
  z-index: 0;
}

/* Dark Overlay */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* Hero Content Container */
.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero Title Styling */
.contact-hero-content h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 20px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Breadcrumb Styling */
.contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-breadcrumb span {
  display: inline-block;
}

.contact-breadcrumb .divider {
  opacity: 0.6;
  color: #fff;
}

.contact-breadcrumb .active {
  color: #39ff88;
}

/* Overlay Element */
.contact-hero-overlay {
  display: none;
}

/* Desktop 1200px+ */
@media (min-width: 1200px) {
  .contact-hero {
    margin-top: 176px;
    padding-top: 98px;
    height: 50vh;
    min-height: 260px;
  }

  .contact-hero-content h1 {
    font-size: clamp(32px, 5vw, 64px);
  }
  .contact-breadcrumb{
    margin-bottom: 100px;
  }
}

/* Laptop 1199px */
@media (max-width: 1199px) {
  .contact-hero {
    margin-top: 176px;
    padding-top: 98px;
    height: 50vh;
    min-height: 260px;
  }

  .contact-hero-content h1 {
    font-size: clamp(28px, 4.5vw, 54px);
  }

  .contact-breadcrumb {
    font-size: 14px;
    padding: 9px 20px;
  }
}

/* Tablet 1023px */
@media (max-width: 1024px) {
  .contact-hero {
    margin-top: 176px;
    padding-top: 80px;
    height: 50vh;
    min-height: 260px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-hero-content h1 {
    font-size: clamp(26px, 5vw, 48px);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }
  .contact-breadcrumb{
    margin-bottom: 90px;
  }
}

/* Small Tablet 768px */
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-hero {
    margin-top: 66px;
    padding-top: 67px;
    height: 50vh;
    min-height: 260px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-hero-content h1 {
    font-size: clamp(26px, 5vw, 42px);
    letter-spacing: 1.5px;
  }

  .contact-breadcrumb {
    font-size: 14px;
    padding: 8px 18px;
    gap: 8px;
  }
}

/* Mobile 520px */
@media (min-width: 275px) and (max-width: 767px) {
  .contact-hero {
    margin-top: 66px;
    padding-top: 66px;
    height: 40vh;
    min-height: 260px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-hero-content {
    padding: 0 10px;
    width: 100%;
  }

  .contact-hero-content h1 {
    font-size: clamp(24px, 6vw, 32px);
    letter-spacing: 1px;
    margin-bottom: 12px;
  }

  .contact-breadcrumb {
    font-size: 13px;
    padding: 7px 16px;
    gap: 6px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .contact-hero::before {
    animation: none !important;
  }
}

/* section 1 */

/* Contact Section Styling */
/* Contact Section 1 */
.contact-section-1 {
  padding: 50px 20px;
  background-color: #ffffff;
  color: #000;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-section-1-row {
  display: flex;
  gap: 20px;
}

.contact-section-1-col {
  width: 50%;
}

.contact-section-1-info-card, 
.contact-section-1-form-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  height: 100%;
}

.contact-section-1-info-card h3, 
.contact-section-1-form-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0066ff;
}

.contact-section-1-info-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.contact-section-1-info-card a {
  color: #0066ff;
  text-decoration: none;
}

.contact-section-1-info-card a:hover {
  text-decoration: underline;
}

.contact-section-1-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.contact-section-1-form-group {
  flex: 1;
}

.contact-section-1-form-group label {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-section-1-form-group input,
.contact-section-1-form-group select,
.contact-section-1-form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-section-1-form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-section-1-form-card button {
  background: linear-gradient(135deg, #00f5ff 0%, #0066ff 100%);
  color: white;
  font-size: 17px;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 8px;
}

.contact-section-1-form-card button:hover {
  background: linear-gradient(135deg, #00d4ff 0%, #0056cc 100%);
}

/* Laptop View (1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .contact-section-1 {
    padding: 35px 30px;
  }

  .contact-section-1-row {
    gap: 25px;
  }

  .contact-section-1-col {
    width: calc(50% - 12.5px);
  }

  .contact-section-1-info-card,
  .contact-section-1-form-card {
    padding: 22px;
  }

  .contact-section-1-info-card h3,
  .contact-section-1-form-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .contact-section-1-info-card p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .contact-section-1-form-row {
    gap: 10px;
    margin-bottom: 12px;
  }

  .contact-section-1-form-group label {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .contact-section-1-form-group input,
  .contact-section-1-form-group select,
  .contact-section-1-form-group textarea {
    padding: 9px;
    font-size: 14px;
  }

  .contact-section-1-form-group textarea {
    min-height: 70px;
  }

  .contact-section-1-form-card button {
    padding: 11px;
    font-size: 16px;
    margin-top: 6px;
  }
}

/* Tablet View (768px and below) */
@media (max-width: 768px) {
  .contact-section-1 {
    padding: 30px 20px;
  }

  .contact-section-1-row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-section-1-col {
    width: 100%;
  }

  .contact-section-1-info-card, 
  .contact-section-1-form-card {
    padding: 20px;
  }

  .contact-section-1-info-card h3,
  .contact-section-1-form-card h3 {
    font-size: 20px;
  }

  .contact-section-1-info-card p {
    font-size: 16px;
  }

  .contact-section-1-form-group input,
  .contact-section-1-form-group select,
  .contact-section-1-form-group textarea {
    padding: 12px;
    font-size: 16px;
  }

  .contact-section-1-form-card button {
    padding: 15px;
    font-size: 18px;
  }
}

/* Mobile View (520px and below) */
@media (max-width: 520px) {
  .contact-section-1 {
    padding: 20px 15px;
  }

  .contact-section-1-row {
    gap: 15px;
  }

  .contact-section-1-col {
    width: 100%;
  }

  .contact-section-1-info-card,
  .contact-section-1-form-card {
    padding: 20px;
  }

  .contact-section-1-info-card h3,
  .contact-section-1-form-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .contact-section-1-info-card p {
    font-size: 14px;
  }

  .contact-section-1-form-row {
    flex-direction: column;
    gap: 10px;
  }

  .contact-section-1-form-group input,
  .contact-section-1-form-group select,
  .contact-section-1-form-group textarea {
    padding: 10px;
    font-size: 14px;
  }

  .contact-section-1-form-card button {
    padding: 14px;
    font-size: 16px;
  }
}


/* map css */
  :root {
    --navy: #0f2942;
    --teal: #2db5a3;
    --cream: #faf8f3;
    --gold: #d4a574;
    --slate: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--navy);
    line-height: 1.6;
}

.location-section {
    min-height: 100vh;
    padding: 80px 20px;
    background: 
        linear-gradient(135deg, rgba(15, 41, 66, 0.02) 0%, rgba(45, 181, 163, 0.02) 100%),
        var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
  
        background: linear-gradient(135deg, #00f5ff 0%, #0066ff 100%);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

@media (min-width: 968px) {
    .content-wrapper {
        grid-template-columns: 400px 1fr;
    }
}

.info-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(15, 41, 66, 0.08);
    border: 1px solid rgba(45, 181, 163, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
}

.clinic-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--cream);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(45, 181, 163, 0.05), rgba(212, 165, 116, 0.05));
}

.info-icon {
    width: 48px;
    height: 48px;
       background: linear-gradient(135deg, #00f5ff 0%, #0066ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(45, 181, 163, 0.25);
}

.info-content h3 {
    font-size: 0.85rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-content p {
    font-size: 13px;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.5;
}

/* Map Container Styling */
.map-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    height: 550px; /* Default height */
    box-shadow: 0 10px 40px rgba(15, 41, 66, 0.08);
    border: 1px solid rgba(45, 181, 163, 0.1);
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

/* Responsive Map Adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 400px; /* Adjust height for medium screens */
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 350px; /* Adjust height for small screens */
    }
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
       background: linear-gradient(135deg, #00f5ff 0%, #0066ff 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(15, 41, 66, 0.3);
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(15, 41, 66, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leaflet-popup-content-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 41, 66, 0.15);
    border: 1px solid rgba(45, 181, 163, 0.2);
}

.leaflet-popup-content {
    margin: 20px;
    font-family: 'DM Sans', sans-serif;
    min-width: 200px;
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.popup-address {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.popup-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2db5a3, #25a290);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 181, 163, 0.3);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 181, 163, 0.4);
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .location-section {
        padding: 60px 20px;
    }

    .info-card {
        padding: 30px;
    }

    .map-container {
        height: 400px; /* Adjust height for medium screens */
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 25px;
    }

    .info-item {
        padding: 15px;
    }

    .map-container {
        height: 350px; /* Adjust height for small screens */
    }
}
