/* Base Styles */
:root {
  --teal-50: #e6f7f7;
  --teal-100: #b3e6e6;
  --teal-500: #20b2aa;
  --teal-600: #1a8f89;
  --teal-700: #157a75;
  --blue-50: #e6f0ff;
  --blue-100: #b3d1ff;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --purple-50: #f5e6ff;
  --purple-100: #e1b3ff;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green-50: #ecfdf5;
  --green-100: #d1fae5;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --white: #ffffff;
  --black: #000000;
  --border-radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: var(--gray-700);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--teal-600);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-700);
}

.btn-hero {
  background-color: var(--white);
  color: var(--teal-600);
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.btn-hero:hover {
  background-color: var(--teal-50);
}

.btn-teal {
  background-color: var(--teal-600);
  color: var(--white);
}

.btn-teal:hover {
  background-color: var(--teal-700);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
}

.btn-outline:hover {
  background-color: var(--gray-100);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header.scrolled .logo {
  color: var(--teal-600);
}

.desktop-nav {
  display: none;
}

.nav-link {
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.header.scrolled .nav-link {
  color: var(--gray-700);
}

.header.scrolled .nav-link:hover {
  color: var(--teal-600);
}

.nav-link:hover {
  color: var(--teal-200);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.25rem;
}

.header.scrolled .mobile-menu-btn {
  color: var(--gray-900);
}

.mobile-nav {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav .nav-link {
  color: var(--gray-700);
  text-align: left;
}

.mobile-nav .nav-link:hover {
  color: var(--teal-600);
}

/* Hero Section with Slideshow */
.hero {
  position: relative;
  color: var(--white);
  padding: 8rem 0 6rem;
  overflow: hidden;
}

/* Slideshow Styles */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 143, 137, 0.8), rgba(37, 99, 235, 0.8));
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
}

.slide-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.slide-btn.prev {
  left: 1rem;
}

.slide-btn.next {
  right: 1rem;
}

.slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--white);
}

/* Fade Animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  background-color: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 2;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.bg-white {
  background-color: var(--white);
}

.bg-gray {
  background-color: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  margin: 0 auto;
  border-radius: 1rem;
}

.section-divider.teal {
  background-color: var(--teal-500);
}

.section-divider.blue {
  background-color: var(--teal-500);
}

.section-divider.purple {
  background-color: var(--teal-500);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
}

.service-icon.teal {
  color: var(--teal-500);
  background-color: var(--teal-50);
}

.service-icon.blue {
  color: white;
  background-color: var(--teal-500);
}

.service-icon.purple {
  color:white;
  background-color: var(--teal-500);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  text-align: center;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  text-align: center;
}

.service-card ul {
  list-style-type: none;
  padding-left: 0.5rem;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.service-card li::before {
  content: "•";
  margin-right: 0.5rem;
}

.service-card.teal li::before {
  color: var(--teal-500);
}

.service-card.blue li::before {
  color: var(--teal-500);
}

.service-card.purple li::before {
  color: var(--teal-500);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
}

.team-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--gray-100);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 0.25rem;
}

.team-title {
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-info ul {
  list-style-type: none;
  padding-left: 0.5rem;
}

.team-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.team-info li::before {
  content: "•";
  color: var(--teal-500);
  margin-right: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-icon {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  background-color:var(--teal-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--teal-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  border: 0.25rem solid var(--teal-500);
}

.testimonial-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-500);
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 500;
  color: var(--gray-500);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 1.5rem;
}

.map-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  color: var(--teal-500);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px var(--teal-100);
}

.phone-input {
  display: flex;
}

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-right: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  padding: 0 0.75rem;
}

.phone-input input {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-success {
  padding: 0.75rem;
  background-color: var(--green-100);
  color: var(--green-700);
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--gray-800);
  color: var(--gray-400);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: var(--teal-600);
  color: var(--white);
}

.footer-col ul {
  list-style-type: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: left;
}

.footer-btn:hover {
  color: var(--white);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
}

.contact-list i {
  color: var(--teal-500);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-500);
}

/* WhatsApp Chat */
.whatsapp-chat {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.whatsapp-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--green-500);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: background-color 0.2s ease;
}

.whatsapp-btn:hover {
  background-color: var(--green-600);
}

.whatsapp-btn.active {
  background-color: var(--red-500);
}

.whatsapp-btn.active:hover {
  background-color: var(--red-600);
}

.chat-window {
  position: absolute;
  bottom: 5rem;
  right: 0;
  width: 20rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 2px solid var(--green-500);
}

.chat-header {
  background-color: var(--green-500);
  color: var(--white);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-messages {
  height: 20rem;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message {
  max-width: 80%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  position: relative;
}

.message.user {
  background-color: var(--green-100);
  align-self: flex-end;
  border-top-right-radius: 0;
}

.message.bot {
  background-color: var(--gray-100);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.message-text {
  font-size: 0.875rem;
}

.message-time {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: right;
  margin-top: 0.25rem;
}

.typing-indicator {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem;
  background-color: var(--gray-100);
  border-radius: 0.75rem;
  border-top-left-radius: 0;
  align-self: flex-start;
  max-width: 80%;
}

.typing-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--gray-400);
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.25rem);
  }
}

.chat-input {
  padding: 0.75rem;
  border-top: 1px solid var(--gray-200);
}

.chat-input form {
  display: flex;
  gap: 0.5rem;
}

.chat-input input {
  flex: 1;
}

.chat-input button {
  background-color: var(--green-500);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chat-input button:hover {
  background-color: var(--green-600);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal {
  background-color: var(--white);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 32rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-header {
  background-color: var(--teal-500);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.modal-header i {
  margin-right: 0.75rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--teal-600);
}

.modal-body {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-success {
  padding: 2rem 1.5rem;
  text-align: center;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--green-100);
  color: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.modal-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.modal-success p {
  color: var(--gray-600);
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add these new styles for the clinic gallery section */

.section-description {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
  color: var(--gray-600);
}

/* Gallery Styles */
.gallery-container {
  margin-bottom: 3rem;
}

.gallery-main {
  position: relative;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-main:hover .gallery-overlay {
  opacity: 1;
}

.gallery-main:hover .featured-image {
  transform: scale(1.02);
}

.gallery-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-800);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.gallery-btn:hover {
  background-color: var(--white);
  transform: scale(1.05);
}

.gallery-fullscreen-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-800);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.gallery-fullscreen-btn:hover {
  background-color: var(--white);
  transform: scale(1.05);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  gap: 0.5rem;
}

.thumb {
  position: relative;
  cursor: pointer;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.thumb.active {
  border-color: var(--teal-500);
}

.thumb img {
  width: 100%;
  height: 4rem;
  object-fit: cover;
  display: block;
}

.thumb-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem;
  text-align: center;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1010;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: var(--border-radius);
}

.modal-caption {
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 1.125rem;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
}

.modal-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-nav-btn.prev-btn {
  left: 1rem;
}

.modal-nav-btn.next-btn {
  right: 1rem;
}

/* Gallery Info Cards */
.gallery-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--teal-50);
  color: var(--teal-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--gray-600);
}

/* Media Queries for Gallery */
@media (min-width: 640px) {
  .gallery-thumbs {
    grid-template-columns: repeat(5, 1fr);
  }

  .thumb img {
    height: 5rem;
  }
}

@media (min-width: 768px) {
  .gallery-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Media Queries */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .mobile-menu-btn {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Additional CSS for the new Google Maps section */

/* Location Section Styles */
#location {
  position: relative;
  overflow: hidden;
}

.location-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.location-info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.location-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.location-info-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.location-info-card p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.hours-list {
  text-align: left;
}

.hour-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.hour-item:last-child {
  border-bottom: none;
}

.hour-item span:first-child {
  font-weight: 500;
  color: #374151;
}

.hour-item span:last-child {
  color: #14b8a6;
  font-weight: 600;
}

.access-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.access-list li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  color: #374151;
}

.access-list li i {
  color: #10b981;
  margin-right: 0.75rem;
  font-size: 0.875rem;
}

/* Map Section Styles */
.map-section {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-bottom: 1px solid #e2e8f0;
}

.map-header h3 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.map-controls {
  display: flex;
  gap: 1rem;
}

.map-control-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-control-btn:hover {
  background: #0d9488;
  transform: translateY(-2px);
}

.enhanced-map-container {
  position: relative;
  height: 450px;
}

.enhanced-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.2) contrast(1.1);
  transition: filter 0.3s ease;
}

.enhanced-map-container:hover iframe {
  filter: grayscale(0) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.map-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-action-btn:hover {
  background: #14b8a6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

/* Transportation Section */
.transport-section {
  margin-top: 3rem;
}

.transport-section h3 {
  text-align: center;
  color: #1f2937;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.transport-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.transport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #14b8a6;
}

.transport-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.25rem;
}

.transport-card:nth-child(2) .transport-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.transport-card:nth-child(3) .transport-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.transport-card:nth-child(4) .transport-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.transport-card h4 {
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.transport-card p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.transport-card small {
  color: #14b8a6;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .location-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .map-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .map-controls {
    justify-content: center;
  }

  .map-control-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .map-overlay {
    position: static;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
  }

  .map-quick-actions {
    flex-direction: row;
    justify-content: center;
  }

  .transport-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .transport-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .location-info-card {
    padding: 1.5rem;
  }

  .map-header {
    padding: 1rem;
  }

  .enhanced-map-container {
    height: 300px;
  }

  .quick-action-btn {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .quick-action-btn span {
    display: none;
  }

  .transport-section h3 {
    font-size: 1.5rem;
  }
}

/* Animation for map loading */
@keyframes mapLoad {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.enhanced-map-container {
  animation: mapLoad 0.6s ease-out;
}

/* Success state for copy button */
.quick-action-btn.success {
  background: #10b981 !important;
  color: white !important;
}
