/* Centered site title at top */
.site-title-center {
  /* Removed top-centered title styles */
}
:root {
  --brand: #1e3c72;
  --brand2: #2a5298;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f5f7fb;
  color: #111;
  scroll-behavior: smooth;
}

/* Header */
.site-header {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

.primary-nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  animation: heroZoom 8s ease-in-out infinite;
}

@keyframes heroZoom {
  0% {
    background-size: 100% 100%;
  }
  50% {
    background-size: 105% 105%;
  }
  100% {
    background-size: 100% 100%;
  }
}
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover {
  background: var(--brand2);
}

.btn-ghost {
  border: 1px solid white;
  color: white;
}

.btn-ghost:hover {
  background: white;
  color: var(--brand);
}

/* Sections */
.section-pad {
  padding: 4rem 1rem;
}

.h-section {
  text-align: center;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Services section styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.28s cubic-bezier(.2,.9,.3,1), box-shadow 0.28s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 6px 18px rgba(30,60,114,0.12);
}
.service-card h3 {
  font-size: 1.05rem;
  margin: 0.35rem 0 0.6rem 0;
  color: var(--brand);
}
.service-card p {
  color: #374151;
  font-size: 0.97rem;
  line-height: 1.5;
  margin-top: auto;
}

/* Staggered reveal for service cards */
@keyframes revealUp {
  from {opacity: 0; transform: translateY(16px);}
  to {opacity: 1; transform: translateY(0);}
}
.service-card {
  animation: revealUp 0.6s ease both;
}
.services-grid .service-card:nth-child(1){ animation-delay: 0s; }
.services-grid .service-card:nth-child(2){ animation-delay: 0.06s; }
.services-grid .service-card:nth-child(3){ animation-delay: 0.12s; }
.services-grid .service-card:nth-child(4){ animation-delay: 0.18s; }
.services-grid .service-card:nth-child(5){ animation-delay: 0.24s; }
.services-grid .service-card:nth-child(6){ animation-delay: 0.30s; }

@media (max-width: 600px) {
  .service-card { padding: 1rem; }
  .service-icon { width:56px; height:56px; font-size:1.2rem; }
}

/* About */
.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text p {
  color: #333;
  margin-bottom: 1rem;
}

.list-check {
  list-style: none;
  margin-bottom: 1rem;
}

.list-check li::before {
  content: "✔️ ";
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.gallery-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-card img:hover {
  transform: scale(1.05);
}

.gallery-card figcaption {
  padding: 0.8rem;
  font-weight: 600;
}

/* Contact */
.contact-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-whatsapp:hover {
  opacity: 0.8;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: white;
  text-align: center;
  padding: 1rem;
}
.btn-whatsapp-floating{position:fixed;right:18px;bottom:18px;background:#25D366;color:#fff;padding:.85rem;border-radius:50%;font-size:1.4rem;z-index:2000;box-shadow:0 10px 30px rgba(0,0,0,0.18);display:flex;align-items:center;justify-content:center;text-decoration:none}
/* Floating contact buttons container */
.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

/* WhatsApp button */
.btn-whatsapp-floating {
  background: #25D366;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform 0.25s ease;
}

.btn-whatsapp-floating:hover {
  transform: scale(1.1);
}

/* Call Now button */
.btn-call-floating {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.3s ease;
}

.btn-call-floating:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0056b3, #004080);
}

/* Pulse glow animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive: slightly smaller on mobile */
@media (max-width: 600px) {
  .floating-buttons {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .btn-whatsapp-floating,
  .btn-call-floating {
    padding: 0.85rem;
    font-size: 1.4rem;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .primary-nav {
    display: none;
    flex-direction: column;
    background: var(--brand2);
    position: absolute;
    right: 1rem;
    top: 70px;
    border-radius: 8px;
    padding: 0.5rem 1rem;
  }
  .primary-nav.show {
    display: flex;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
  }
}

/* Force ongoing page gallery layout: 3 across, then responsive to 2/1 */
#ongoing-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 900px) {
  #ongoing-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  #ongoing-gallery { grid-template-columns: 1fr; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 3rem 1rem;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
}

/* Hero badge for years of experience */
.hero-badge {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(90deg, #ffd54f, #ff8a65);
  color: #0b2140;
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255,138,101,0.18);
  font-size: 1rem;
  letter-spacing: 0.6px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .hero-badge { font-size: 0.9rem; padding: 0.4rem 0.8rem; }
}

/* Badge animation: gentle float + pulse */
@keyframes badgeFloat {
  0% { transform: translateY(0) scale(1); box-shadow: 0 8px 24px rgba(255,138,101,0.18); }
  50% { transform: translateY(-6px) scale(1.03); box-shadow: 0 14px 34px rgba(255,138,101,0.20); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 8px 24px rgba(255,138,101,0.18); }
}
.hero-badge {
  animation: badgeFloat 3.6s ease-in-out infinite;
  will-change: transform, box-shadow;
}
.hero-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(255,138,101,0.22);
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge { animation: none !important; transform: none !important; }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 1.8rem;
  text-align: center;
}
.hero {
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

.gallery-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-card img:hover {
  transform: scale(1.05);
}

.gallery-card figcaption {
  padding: 0.8rem;
  font-weight: 600;
}
