body {
  font-family: 'Inter', sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: auto;
}
/* Apply globally */
* {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.card {
  background: #fff;
  max-width: 100%;
  margin: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px 20px 20px;
  position: relative;
  flex: 1;
  overflow: auto;
}

.card h3 {
  margin: 8px 0;
  color: #333;
}

.card p {
  color: #555;
  margin: 5px 0;
}

.social-icons {
  margin: 15px 0;
}

.social-icons a {
  margin: 0 10px;
  font-size: 22px;
  color: #25D366;
  text-decoration: none;
}

.accordion-section {
  margin-top: 30px;
}

.accordion {
  background-color: #25D366;
  color: white;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  text-align: left;
  outline: none;
  font-size: 16px;
  margin-bottom: 5px;
  transition: background-color 0.3s ease;
}

.accordion:hover {
  background-color: #067432;
}

.accordion.active {
  background-color: #067432;
}

.panel {
  display: none;
  padding: 10px 0;
  text-align: left;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #007bff;
  text-decoration: underline;
}

/* Slider Styles */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.slider-track img {
  height: 100px;
  width: auto;
  max-width: 160px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 35%;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  font-size: 18px;
}

.slider-btn:hover {
  background-color: rgba(0,0,0,0.8);
}

.slider-btn.prev {
  left: 5px;
}

.slider-btn.next {
  right: 5px;
}

@media (max-width: 480px) {
  .slider-track img {
    max-width: 120px;
    height: 80px;
  }
}

/*Map */
/* Style for the 'View on Google Maps' link */
.view-map-link {
  display: inline-block;
  margin: 12px 0 20px;
  padding: 10px 18px;
  background-color: #25D366; /* WhatsApp green for brand consistency */
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.view-map-link:hover,
.view-map-link:focus {
  background-color: #1da851; /* Slightly darker green on hover/focus */
  box-shadow: 0 6px 12px rgba(29, 168, 81, 0.5);
  outline: none;
}

/* Optional: subtle icon spacing */
.view-map-link svg {
  vertical-align: middle;
  margin-right: 8px;
  fill: white;
  width: 18px;
  height: 18px;
}

/* Responsive text sizing */
@media (max-width: 480px) {
  .view-map-link {
    font-size: 14px;
    padding: 8px 14px;
  }
}
/* Lightbox Overlay for Zoom Preview */
.lightbox-overlay {
 display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
}


.lightbox-zoom-wrapper {
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  touch-action: pan-x pan-y; /* ensures mobile scrolling works */
  -webkit-overflow-scrolling: touch;
  
}

#lightboxImage {
  display: block;
  transform-origin: center center;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.2s ease-in-out;
}

.zoom-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  gap: 8px;
}

.zoom-controls button {
  padding: 8px 12px;
  font-size: 18px;
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 5px #0003;
  cursor: pointer;
}

.zoom-controls button:active {
  transform: scale(0.95);
}
/* updated styles*/
.main-pic {
  width: 100px;
  height: 100px;
  border-radius: 0;
  object-fit: cover;
  display: block;
  border: 2px solid #090909;
 
}
.top-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.top-left .profile-pic {
  width: 120px;
  height: 120px;
  border-radius: none ;
  object-fit: cover;
  margin-bottom: -1px;
  
  }

.text-info {
  text-align: center;
  font-size: 12px;
  color: #333;
  }

 .profile-pic {
    object-fit: cover;
    
  
}
.top-left, .top-right {
  margin: 0 5px;
}
.top-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.top-right .main-pic {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  margin: 0; /* ✅ Remove margin */
  padding: 0; /* ✅ Remove padding */ 
 
}

.button-grid {
  
  display: flex;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 10px; /* 🔽 Reduce space below buttons */
  align-items: center;
  margin-left: 15px;
}

.button-grid button,
.button-link {
  all: unset;
  color: black;
  border: none;
  padding: 8px 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-grid button:hover,
.button-link:hover {
  /*background-color: #8c785d;*/
  background-color:none;
}

.button-link .icon-img {
  height: 28px;
  width: 28px;
  display: block;
}
/*profile ,services etc Buttons*/
.menu-buttons-container {
  display: contents;
  flex-direction: column; /* Stack vertically */
  align-self: flex-end;
  padding: 10px 15px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin: auto;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-buttons button {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 6px;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
  margin-right: 35px;
}

.menu-buttons button:hover {
  background-color: #ddd;
}

@media (max-width: 480px) {
  .top-section {
    flex-direction: column;
    align-items: center;
  }

  .left-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-buttons button {
    font-size: 14px;
  }
}

/*menu button*/
.floating-wrapper {
  position: absolute;  /* Stay fixed relative to menu area */
  bottom: 250px;
  right: 10px;
  display: flex;
  flex-direction: column; /* So icons stack ABOVE the button */
  align-items: center;
  z-index: 999;
}

/* Plus Button Style */
.floating-plus-btn {
  all: unset; /* Remove all default button styles */
  background-color:none;
  margin-bottom: 20px;
}

/* Social Icons Above Plus */
.social-icons-popup {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px; 
  gap: 10px;
}

.social-icons-popup.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/*Profile */
.section-content {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-top: none;
  padding: 12px;
  border-radius: 0 0 6px 6px;
  margin-top: -10px; /* glue to button */
  font-size: 12px;
  margin-right: 35px;
 }

.section-content strong {
  color: #333;
}

.section-content p {
  margin: 6px 0;
}
#profileSection p {
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
  text-align: justify;
  padding: 0 5px;
}
/*Services css */
.services-list {
  padding-left: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  text-align: left;
}

.services-list li {
  margin-bottom: 8px;
  list-style-type: disc;
}
/*Contact button*/
.contact-item {
  margin-bottom: 12px;
  text-align: left;
  padding: 0 5px;
}

.contact-item .label {
  font-weight: bold;
  color: #222;
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

.contact-item .value {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

.contact-item a {
  text-decoration: none;
  color: #0066cc;
  font-size: 13px;
}

.contact-item a:hover {
  text-decoration: underline;
}
/*Location*/
.location-btn {
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.location-btn:hover {
  background-color: #e6f2ea;
}
/*Share button */
.share-icon-button {
  all: unset; /* 🚫 Removes all default button styles */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.share-icon-button img {
  width: 20px;
  height: 20px;
}
.share-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.copy-link-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #444;
  padding: 0;
}

.copy-link-button:hover {
  color: #f1f3f2;
}
/*ToolTip*/
/* Global tooltip for any element with data-tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

/* Tooltip bubble */
/* Applies to any element with data-tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

/* Tooltip box */
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

/* Arrow */
[data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 998;
}

/* Show on hover or focus */
[data-tooltip]:hover::after,
[data-tooltip]:focus::after,
[data-tooltip]:hover::before,
[data-tooltip]:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}
/* Manual class to simulate hover on touch */
.tooltip-show::after,
.tooltip-show::before {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-4px) !important;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flexbox; 
  align-items: center;
  justify-content: center;
  padding: 20px; /* ensures content doesn't touch edges */
}

.modal-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  padding: 20px;
  font-size: 14px;
  overflow-y: auto;
  border-radius: 15px; /* No rounding if fullscreen */
  animation: bounceIn 0.6s ease forwards;
  box-shadow: none;
}


/* Animation */
@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  color: #666;
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  color: #000;
}

/* Optional: scale up text & padding on larger screens */
@media (min-width: 768px) {
  .modal-content {
    max-width: 500px;
    font-size: 15px;
    padding: 24px;
  }
}


.modal-body img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin: 5px;
  cursor: zoom-in;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Lightbox overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  
}

.lightbox-overlay img {
  max-width: 100vw;
  max-height: 100vw;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  cursor: zoom-out;
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 10001;
  border-radius: 10px;
}

.nav-btn:hover {
  background: rgba(0,0,0,0.4);
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fallback-share {
  margin-top: 5px;
  padding: -10px 10px 10px 10px;
  font-size: 20px;
  
}
.fallback-share a {
  display: inline-block;
  padding: 4px 6px;
  margin-bottom: 6px;
  text-decoration: none;
  color: #333;
}

.pdf-viewer iframe {
  pointer-events: none;
  user-select: none;
}
/* PDF iframe container - responsive */
.responsive-iframe {
  position: relative;
  width: 100%;
  padding-top: 140%; /* Aspect ratio: 7:5 (adjust as needed) */
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* disables download/interaction */
  user-select: none;
}
/*ZOOM */
#zoomControls button {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  margin-left: 6px;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#zoomControls button:hover {
  background: #fff;
}


