/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1B3A6B;
  --accent: #1976D2;
  --accent-dark: #1565C0;
  --white: #ffffff;
  --light: #F9F9F9;
  --border: #E0E0E0;
  --text-dark: #1A1A2E;
  --text-mid: #555555;
  --text-light: #888888;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

p { color: var(--text-mid); margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-mid);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25,118,210,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .site-logo {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 8px;
  transition: all var(--transition);
  /* white background visible over dark hero */
  background: white;
  padding: 5px 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.2);
}

.navbar.scrolled .nav-logo .site-logo {
  /* blends naturally into white scrolled navbar */
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.14);
}

.navbar.scrolled .nav-link { color: var(--text-dark); }

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--accent);
  background: rgba(25,118,210,0.08);
}

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--text-dark); }

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0d2250;
  overflow: hidden;
}

/* ---- slider tracks ---- */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.3s ease-in-out, transform 8s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ---- reduced overlay: dark left for text, lighter right to show buildings ---- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10,24,60,0.80) 0%,
    rgba(10,24,60,0.68) 45%,
    rgba(10,24,60,0.32) 100%
  );
}

/* ---- dot indicators ---- */
.hero-dots {
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.hero-dot.active {
  background: #ffffff;
  width: 26px;
  border-radius: 5px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
  font-size: 0.83rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge i { color: var(--accent); }

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}

.hero-scroll i { font-size: 1.1rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--primary);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ===== SERVICES ===== */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent);
}

.service-icon {
  width: 58px;
  height: 58px;
  background: rgba(25,118,210,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.91rem; margin-bottom: 20px; }

.service-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-card:hover .service-link { gap: 12px; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  aspect-ratio: 4/3;
}

.about-image-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--border);
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
  opacity: 0.25;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: white;
  padding: 20px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(25,118,210,0.4);
  text-align: center;
  z-index: 2;
}

.about-badge .badge-number {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .badge-label {
  font-size: 0.72rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }

.about-checklist { margin: 24px 0 32px; }

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.91rem;
  color: var(--text-mid);
}

.about-checklist li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ===== CORE VALUES ===== */
.values { background: var(--primary); }

.values .section-label { color: var(--accent); }
.values .section-header h2 { color: var(--white); }
.values .section-header p { color: rgba(255,255,255,0.65); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-4px);
}

.value-icon {
  width: 62px;
  height: 62px;
  background: rgba(25,118,210,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--accent);
  transition: all var(--transition);
}

.value-card:hover .value-icon {
  background: var(--accent);
  color: white;
}

.value-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1rem; }
.value-card p { color: rgba(255,255,255,0.62); font-size: 0.87rem; margin: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #1565C0 100%);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.85); margin-bottom: 36px; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--accent);
  border-color: white;
}

.btn-white:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 144px 0 88px;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,24,60,0.86) 0%, rgba(13,34,80,0.76) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 1;
}

.page-hero h1 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p {
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.78); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  background-color: #0d1f3c;
  background-image: url('../images/10/CLERGY-CONTRUCTION-HOMES-3.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 72px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 40, 0.91);
  pointer-events: none;
  z-index: 0;
}
.footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.footer-brand .brand-tagline {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.93rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.footer-links a i { font-size: 0.65rem; color: var(--accent); }

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p,
.footer-contact-item a {
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.6;
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.82rem; margin: 0; }
.footer-bottom a { color: var(--accent); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-reg { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 14px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap > p { margin-bottom: 32px; color: var(--text-mid); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select { cursor: pointer; }

.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-msg.success { background: #d4edda; color: #155724; display: block; }
.form-msg.error { background: #f8d7da; color: #721c24; display: block; }

.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.contact-info-card .icon {
  width: 46px;
  height: 46px;
  background: rgba(25,118,210,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: 0.88rem; margin-bottom: 4px; }

.contact-info-card p,
.contact-info-card a {
  font-size: 0.86rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
  transition: color var(--transition);
}

.contact-info-card a:hover { color: var(--accent); }

/* ===== ABOUT PAGE — CEO ===== */
.ceo-card {
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ceo-photo {
  height: 280px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ceo-photo i { font-size: 5rem; color: rgba(255,255,255,0.2); }

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-info { padding: 28px; }
.ceo-info h3 { margin-bottom: 4px; }
.ceo-info .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 12px; }
.ceo-info p { font-size: 0.88rem; margin: 0; }

/* ===== SERVICES PAGE ===== */
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.service-detail-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-detail-card .card-top {
  padding: 40px 36px 30px;
  border-bottom: 1px solid var(--border);
}

.service-detail-card .card-top .svc-icon {
  width: 60px;
  height: 60px;
  background: rgba(25,118,210,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-detail-card:hover .svc-icon {
  background: var(--accent);
  color: var(--white);
}

.service-detail-card h3 { margin-bottom: 12px; }
.service-detail-card p { font-size: 0.91rem; margin: 0; }

.service-detail-card .card-bottom {
  padding: 20px 36px;
}

.service-detail-card .card-bottom a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-detail-card:hover .card-bottom a { gap: 12px; }

/* ===== VIDEO SECTION ===== */
.video-section { background: var(--white); }

.video-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* custom play overlay — hides once video starts */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-play-btn.hidden { opacity: 0; pointer-events: none; }

.play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-play-btn:hover .play-icon {
  transform: scale(1.12);
  background: rgba(255,255,255,0.25);
}

.play-icon i {
  color: white;
  font-size: 1.6rem;
  margin-left: 5px; /* optical centre for play triangle */
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.video-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mid);
  font-size: 0.88rem;
}

.video-meta-item i { color: var(--accent); font-size: 1rem; }

/* ===== GALLERY ===== */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 10px;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: var(--primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,107,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  color: white;
  font-size: 1.3rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }

.lb-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* ===== GALLERY PAGE ===== */
.gallery-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 10px rgba(25,118,210,0.12);
}

.gallery-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(25,118,210,0.32);
}

.gallery-filter-btn i { font-size: 0.82rem; }

.gallery-pro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 10px;
}

.gallery-pro-grid .item-wide { grid-column: span 2; }
.gallery-pro-grid .item-tall { grid-row: span 2; }

.gallery-pro-item.hidden { display: none; }

.pro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,24,60,0.90) 0%, rgba(10,24,60,0.38) 52%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.gallery-pro-item:hover .pro-overlay { opacity: 1; }

.overlay-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.gallery-pro-item:hover .overlay-icon {
  transform: scale(1.12);
  background: rgba(255,255,255,0.28);
}

.overlay-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.overlay-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--white);
  background: rgba(25,118,210,0.72);
  padding: 4px 11px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.overlay-title {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ===== ZARAPAY AD POPUP ===== */
.zp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.zp-overlay.active {
  opacity: 1;
  visibility: visible;
}
.zp-card {
  background: #fff;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
  position: relative;
}
.zp-overlay.active .zp-card {
  transform: translateY(0) scale(1);
}
.zp-card-top {
  background: linear-gradient(135deg, #c8970a 0%, #7a5200 100%);
  padding: 36px 32px 28px;
  text-align: center;
  position: relative;
}
.zp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.zp-close:hover { background: rgba(255,255,255,0.35); }
.zp-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.zp-app-icon i {
  font-size: 2rem;
  color: #7a5200;
}
.zp-card-top h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.zp-card-top p {
  color: rgba(255,255,255,0.85);
  font-size: 0.87rem;
  margin: 0;
  line-height: 1.5;
}
.zp-card-body {
  padding: 24px 32px 28px;
  text-align: center;
}
.zp-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.zp-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #555;
  font-weight: 500;
}
.zp-feat i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5e8c0;
  color: #7a5200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.zp-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 14px 28px;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}
.zp-download-btn:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  color: #fff;
}
.zp-download-btn i { font-size: 1.6rem; }
.zp-btn-text { text-align: left; line-height: 1.2; }
.zp-btn-text span { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.zp-btn-text strong { font-size: 1rem; }
.zp-skip {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #aaa;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}
.zp-skip:hover { color: #555; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { bottom: -16px; right: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-pro-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 84px 24px 32px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transition: right var(--transition);
    gap: 4px;
    overflow-y: auto;
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    color: var(--text-dark);
    width: 100%;
    font-size: 0.97rem;
    padding: 10px 16px;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(25,118,210,0.08);
    color: var(--accent);
  }

  .nav-cta { margin-left: 0; margin-top: 12px; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr; gap: 0; }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 28px 24px;
  }

  .stat-item:last-child { border-bottom: none; }

  .values-grid { grid-template-columns: 1fr; gap: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .cta-actions { flex-direction: column; align-items: center; }

  .services-grid { grid-template-columns: 1fr; }

  .services-detailed-grid { grid-template-columns: 1fr; }

  .page-hero { padding: 120px 0 64px; }

  .video-duo { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }

  .gallery-pro-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery-filter-btn { padding: 10px 20px; font-size: 0.84rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.9rem; }
  .contact-form-wrap { padding: 24px 16px; }
  .gallery-pro-grid { grid-auto-rows: 170px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }
}
