/* ===============================
   BASE STYLES
================================ */
html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background-color: #f9fafb;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   GLOBAL COLORS
================================ */

:root {

  --primary-color: #0d6efd;
  --dark-color: #111827;

  /* Global section colors */
  --section-odd: #f9fafb;
  /* soft grey */
  --section-even: #f3f4f6;
  /* slightly darker grey */

}

#site-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#site-main main {
  flex: 1;
}

/* ===============================
   NAVBAR
================================ */

.navbar {
  background: #f9fafb !important;
  border-bottom: 1px solid #e5e7eb;
}

.navbar-brand {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar .btn {
  font-size: 0.95rem;
}

.navbar-phone a {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 1rem;
}

.navbar-phone a:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 600;
  /* was 500, now bold */
  color: #111827;
  padding: 0.5rem 1rem;
}

.navbar-nav {
  align-items: center;
}

/* Desktop */
@media (min-width: 992px) {
  .navbar-phone {
    margin-left: 20px;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .navbar-phone {
    text-align: center;
    margin-top: 12px;
    font-size: 1rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .navbar-phone {
    margin-left: 20px;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .navbar-phone {
    text-align: center;
    margin-top: 12px;
    font-size: 1rem;
  }
}


/* ===============================
   GLOBAL SECTION SYSTEM
================================ */

.oddsection {
  background: var(--section-odd);
  padding: 30px 0;
}

.evensection {
  background: var(--section-even);
  padding: 30px 0;
}

/* ===============================
   RESPONSIVE TWEAKS
================================ */



@media (max-width: 991px) {

  /* Center Book button without resizing */
  .navbar-collapse .ms-lg-3 {
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  /* Optional: center phone */
  .navbar-phone {
    text-align: center;
    margin-top: 10px;
  }
}

/* ===============================
   HERO & PROMO OFFER
================================ */



/*
.promo-offer {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-radius: 24px;
  font-size: 14px;
} */


/* ===============================
   HERO SECTION
================================ */

.hero-image-wrapper {
  position: relative;
  max-width: 520px;
  margin: auto;

  overflow: hidden;
  /* IMPORTANT — prevents shine from crossing */
}

.hero-image {

  width: 100%;
  animation: heroFloat 6s ease-in-out infinite;

  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.15));

}

@keyframes heroFloat {

  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.02);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

.hero-image-wrapper::after {

  content: "";
  position: absolute;

  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;

  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);

  animation: heroShine 6s infinite;

  pointer-events: none;
  /* safety */
}

@keyframes heroShine {

  0% {
    left: -60%;
  }

  100% {
    left: 120%;
  }

}

.hero-content {
  padding-left: 20px;
}

.hero-title {
  font-size: 1.9rem;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-weight: 600;
  color: #374151;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 12px 26px;
  font-weight: 600;
}

@media (max-width:768px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* HERO TRUST FEATURES */

.hero-features {

  margin-top: 28px;

  display: flex;
  flex-direction: column;
  gap: 10px;

}

.hero-feature {

  font-size: 15px;
  line-height: 1.6;

  color: #374151;

  padding-left: 24px;

  position: relative;

}

/* checkmark */

.hero-feature::before {

  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  color: #16a34a;
  font-weight: 700;

}

/* ==============================
   SERVICES SECTION
================================ */

/* SERVICE SECTION HEADER */

.service-title {
  font-size: 2rem;
  letter-spacing: -0.3px;
  margin-bottom: 10px;

  position: relative;
  display: inline-block;
}

.service-subtitle {
  font-weight: 500;
  font-size: 15px;
  margin-top: 6px;
  line-height: 1.6;
}

.services-section {
  padding: 30px 0;
  border-top: 1px solid #e5e7eb;
}

.services-section::before {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.section-header h2 {
  color: #111827;
}

.section-header p {
  font-size: 0.95rem;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 15px;
  text-align: center;
  height: 100%;
  transition: all 0.25s ease;
  border: 1px solid #e5e7eb;
}

.service-card i {
  font-size: 32px;
  color: #2563eb;
  margin-bottom: 12px;
  display: block;
}

.service-card h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}

/* Hover */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-link:hover .service-title {
  color: var(--primary-color);
}


/* ===============================
   SERVICE DETAIL PAGE
================================ */

.service-detail-card {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Header */

.service-detail-header {
  margin-bottom: 35px;
}

.service-detail-icon {
  font-size: 38px;
  /* smaller icon */
  color: var(--primary-color);
  margin-bottom: 14px;
}

.service-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

/* Content */

.service-detail-content {
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
}

/* Paragraph spacing */

.service-detail-content p {
  margin-bottom: 16px;
}

/* Bullet list */

.service-detail-content ul {
  margin-top: 18px;
  padding-left: 20px;
}

.service-detail-content li {
  margin-bottom: 8px;
}

/* CTA */

.service-detail-cta {
  margin-top: 40px;
}

/* ==============================
   Booking Form
================================ */

.booking-section::before {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.booking-card {
  background: #f3f4f6;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 3px solid #e5e7eb;
}

.booking-card h2 {
  font-weight: 700;
}

.form-label {
  font-weight: 600;
}

.required {
  color: #dc2626;
  /* clear red */
  font-weight: 700;
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 10px 12px;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 12px 40px;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}



/* ==============================
   Contact Section (Alt)
================================ */
.contact-alt-section h2 {
  position: relative;
  padding-left: 14px;
}

.contact-alt-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background-color: var(--primary-color);
  border-radius: 4px;
}


.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 16px;
}

.contact-list .icon {
  font-size: 18px;
  line-height: 1.4;
}

.contact-list a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Social Card */

.social-card {
  background: transparent;
  border: 2px dashed #e5e7eb;
  border-radius: 20px;
  padding: 36px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
}

.social.facebook {
  background-color: #1877f2;
}

.social.twitter {
  background-color: #1da1f2;
}

.social.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social:hover {
  opacity: 0.9;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* ==============================
    Footer
================================ */
.site-footer-min {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-min small {
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #d1d5db;
}

/* Hide duplicate column headers at bottom */
.toplevel_page_santoor-bookings .wp-list-table tfoot {
  display: none !important;
}

/* ===============================
   Back to Top Button (FIXED)
================================ */

#backToTop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;

  display: none;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  /* ⬅ clickable fix */
}

/* Ensure button is clickable */
#backToTop {
  display: flex !important;
}

/* Mobile */
@media (max-width: 768px) {
  #backToTop {
    right: 20px;
    bottom: 20px;
  }
}

/* ===============================
   Gallery Page (FINAL)
================================ */

#gallery-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

#gallery-page .gallery-item {
  display: block;
}

#gallery-page .gallery-item img {
  display: block;
  width: 100%;
  height: auto;

  background: #ffffff;
  padding: 8px;
  /* white frame */
  border-radius: 14px;

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;

  cursor: pointer;
}

/* Hover effect (same feel as About images) */
#gallery-page .gallery-item img:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.28);
}


/* Responsive */
@media (max-width: 1200px) {
  #gallery-page .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #gallery-page .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  #gallery-page .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Gallery Lightbox
================================ */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.25s ease;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

/* Hover feedback */
.lightbox-nav:hover,
.lightbox-close:hover {
  opacity: 0.8;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 36px;
  }

  .lightbox-close {
    font-size: 28px;
  }
}

.lightbox-content {
  text-align: center;
}

.lightbox-caption {
  margin-top: 14px;
  font-size: 15px;
  color: #e5e7eb;
  letter-spacing: 0.2px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  #gallery-page .gallery-item img:hover {
    transform: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }
}

.gallery-display-title {
  max-width: 760px;
  margin: 0 auto;

  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.6;

  color: #374151;

  border-left: 4px solid var(--primary-color);
  padding-left: 18px;

  text-align: left;
  font-style: italic;
}

@media (max-width: 768px) {
  .gallery-display-title {
    font-size: 1.25rem;
    padding-left: 14px;
  }
}

/* ===============================
   About Us Page
================================ */

.about-start small {
  display: block;
  margin-top: 6px;
  font-style: italic;
}

.story-text {
  border-left: 3px solid #e5e7eb;
  padding-left: 20px;
}

.story-quote {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  border-left: 4px solid #0d6efd;
  padding-left: 16px;
  margin: 20px 0;
}

.about-start p {
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
}

.about-start img {
  transform: rotate(-2deg);
  padding: 8px;
  box-shadow: 0 18px 40px rgba(129, 127, 127, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-start img:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
  .about-start img:hover {
    transform: rotate(-1deg);
  }
}

.story-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.story-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--primary-color);
  transform: translateY(-50%);
}

.accent-word {
  color: var(--primary-color);
  font-weight: 800;
}

.about-start h1 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #111827;
}

/* ===============================
   Leadership Section
================================ */

.leader-photo {
  width: 100%;
  border-radius: 16px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .leader-photo {
    transform: rotate(-0.5deg);
    margin-bottom: 20px;
  }
}

.leadership-section blockquote {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  border-left: 4px solid var(--primary-color);
  padding-left: 16px;
  margin: 20px 0;
}

/* ===============================
   Team Section (Square, 5 per row)
================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.team-member h6 {
  margin-top: 12px;
  margin-bottom: 2px;
  font-weight: 600;
}

.team-member small {
  color: #6b7280;
}

/* ===============================
   Responsive behavior
================================ */

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   Certifications / Awards STRIP
================================ */

.certifications-section {
  /* background: #f3f4f6; */
  padding: 30px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.cert-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  /* ⬅ key fix */
}

.cert-item {
  flex: 0 0 auto;
  text-align: center;
}

.cert-item img {
  max-height: 85px;
  width: auto;
  max-width: 160px;
  /* prevents overflow */
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cert-item img:hover {
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 992px) {
  .cert-strip {
    gap: 36px;
  }

  .cert-item img {
    max-height: 75px;
  }
}

@media (max-width: 576px) {
  .cert-strip {
    gap: 24px;
  }

  .cert-item img {
    max-height: 60px;
    max-width: 130px;
  }
}


.footer-dev-link {
  color: #d1d5db;
  text-decoration: none;
}

.footer-dev-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===============================
WHY CHOOSE US
================================ */

.why-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  height: 100%;
  transition: all .25s ease;
}

.why-icon {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.why-card h6 {
  font-weight: 600;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* ===============================
INFRASTRUCTURE
================================ */

.infrastructure-section h2 {
  color: #111827;
}

.infra-content ul {
  margin-top: 12px;
  padding-left: 18px;
}

.infra-content li {
  margin-bottom: 8px;
}

.infra-image {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ===============================
BLOG PAGE
================================ */

.blog-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  height: 100%;
  transition: all .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.blog-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-title a {
  color: #111827;
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.blog-read {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

/* ===============================
BLOG SINGLE PAGE
================================ */

.blog-single {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.blog-single-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 14px;
  color: #6b7280;
}

.blog-content {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

.blog-content p {
  margin-bottom: 16px;
}

.blog-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.blog-feature-image img {
  width: 100%;
}