/* ============================================================
   NGOTONYE BRAND TZ - Main Stylesheet
   Colors: Navy Blue #1C3468 | Gold #C9A227 | White #FFFFFF
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary:       #1C3468;
  --primary-dark:  #13254e;
  --primary-light: #2a4a8a;
  --gold:          #C9A227;
  --gold-dark:     #a88420;
  --gold-light:    #e0b840;
  --white:         #ffffff;
  --off-white:     #f8f9fc;
  --light-gray:    #f0f2f5;
  --border:        #e2e6ea;
  --text:          #2d3748;
  --text-muted:    #718096;
  --text-light:    #a0aec0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     30px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main:     'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-heading:  'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* ---- Loading Screen ---- */
#loading-screen {
  position: fixed; inset: 0;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; color: var(--white); }
.loader-logo { max-width: 120px; margin: 0 auto 20px; border-radius: 8px; }
.loader-spinner {
  width: 50px; height: 50px;
  border: 3px solid rgba(201,162,39,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase; }

/* ---- Container ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ---- Section ---- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-gold { background: var(--gold); }
.section-gray { background: var(--off-white); }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: rgba(201,162,39,0.12);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(201,162,39,0.3);
}
.section-dark .section-tag {
  background: rgba(201,162,39,0.2);
  color: var(--gold-light);
}
.section-header h2 { margin-bottom: 16px; }
.section-divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
  border-radius: 2px;
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -20px;
  width: 12px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -20px;
  width: 12px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(28,52,104,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(28,52,104,0.35);
}
.btn-gold {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(201,162,39,0.35);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,162,39,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-sm { padding: 9px 22px; font-size: 13px; }
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  max-width: 1280px; margin: 0 auto;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.navbar.scrolled .navbar-inner { padding: 12px 24px; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo img { height: 50px; transition: var(--transition); }
.navbar.scrolled .navbar-logo img { height: 42px; }
.navbar-logo-text { line-height: 1.1; }
.navbar-logo-text strong { display: block; font-size: 16px; color: #fff; font-weight: 800; letter-spacing: 0.5px; }
.navbar-logo-text span { font-size: 11px; color: var(--gold-light); font-weight: 500; }
.navbar.scrolled .navbar-logo-text strong { color: var(--primary); }
.navbar.scrolled .navbar-logo-text span { color: var(--gold-dark); }
.navbar-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar.scrolled .nav-link { color: var(--primary); }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--gold-dark); }
.nav-link .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }
.nav-link i { font-size: 11px; }
.navbar-search-btn { background: rgba(255,255,255,0.15); color: var(--white); }
.navbar.scrolled .navbar-search-btn { background: var(--off-white); color: var(--primary); }
.hamburger span { background: var(--white); }
.navbar.scrolled .hamburger span { background: var(--primary); }

/* Dropdown Menu */
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--gold);
  z-index: 100;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--off-white); color: var(--primary); padding-left: 26px; }
.dropdown-item i { color: var(--gold); width: 18px; text-align: center; }

/* Mega Menu */
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 720px;
  padding: 28px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--gold);
  z-index: 100;
}
.nav-item:hover .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mega-item:hover { background: var(--off-white); }
.mega-item-icon {
  width: 40px; height: 40px;
  background: rgba(28,52,104,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 16px;
  transition: var(--transition);
}
.mega-item:hover .mega-item-icon { background: var(--primary); color: var(--white); }
.mega-item-text strong { display: block; font-size: 13px; color: var(--primary); margin-bottom: 2px; }
.mega-item-text span { font-size: 11.5px; color: var(--text-muted); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-search-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}
.navbar-search-btn:hover { background: var(--gold); color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; cursor: pointer; padding: 5px;
}
.hamburger span {
  display: block; height: 2px;
  border-radius: 2px; transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero Slider ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,52,104,0.85) 0%, rgba(28,52,104,0.5) 60%, rgba(0,0,0,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 5;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  padding-top: 100px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-light);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 30px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title span { color: var(--gold); display: block; }
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stat h3 { color: var(--gold); font-size: 2.2rem; font-weight: 800; }
.hero-stat p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }

/* Slider Controls */
.slider-controls {
  position: absolute; bottom: 40px; right: 40px;
  z-index: 10; display: flex; gap: 10px;
}
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); }
.slider-dots {
  position: absolute; bottom: 50px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold);
  width: 24px; border-radius: 4px;
}
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; z-index: 10;
}
.scroll-indicator-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- About Section ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--primary);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-image-badge strong { font-size: 2.5rem; font-weight: 800; display: block; line-height: 1; }
.about-image-badge span { font-size: 13px; font-weight: 600; }
.about-content { }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}
.about-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-feature-icon {
  color: var(--gold);
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.about-feature h5 { font-size: 13px; color: var(--primary); margin-bottom: 2px; }
.about-feature p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* ---- Services ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--off-white);
  position: relative;
}
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-image img { transform: scale(1.07); }
.service-card-icon-overlay {
  position: absolute; top: 16px; left: 16px;
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px;
}
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.service-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--gold-dark);
}
.service-card-link:hover { gap: 10px; color: var(--primary); }
.service-card-number {
  position: absolute; top: 16px; right: 16px;
  font-size: 60px; font-weight: 900;
  color: rgba(28,52,104,0.06);
  line-height: 1;
  pointer-events: none;
}

/* ---- Portfolio ---- */
.portfolio-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px; justify-content: center;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13.5px; font-weight: 600;
  background: var(--off-white);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.portfolio-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,52,104,0.92), transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: var(--white); margin-bottom: 4px; font-size: 16px; }
.portfolio-overlay span { color: var(--gold); font-size: 13px; }
.portfolio-overlay-actions { display: flex; gap: 8px; margin-top: 12px; }
.portfolio-action {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 14px;
  transition: var(--transition);
}
.portfolio-action:hover { background: var(--gold); color: var(--primary); }

/* ---- Stats Counter ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-item {
  text-align: center; padding: 50px 30px;
  position: relative;
}
.stat-item::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.1);
}
.stat-item:last-child::after { display: none; }
.stat-icon { font-size: 36px; color: var(--gold); margin-bottom: 16px; }
.stat-number {
  font-size: 3.5rem; font-weight: 800;
  color: var(--white); line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { color: var(--gold); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

/* ---- Why Choose Us ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  text-align: center; padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transition: var(--transition);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.why-icon {
  width: 70px; height: 70px;
  background: rgba(28,52,104,0.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--primary); color: var(--white); }
.why-card h4 { color: var(--primary); margin-bottom: 10px; font-size: 16px; }
.why-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- Process ---- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 35px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.process-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}
.process-step h4 { font-size: 15px; color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---- Testimonials ---- */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide { min-width: 100%; padding: 0 15px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 780px; margin: 0 auto;
  position: relative;
  border: 1px solid var(--border);
}
.testimonial-quote {
  font-size: 80px; line-height: 0.6;
  color: var(--gold); opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 20px;
}
.testimonial-text { font-size: 17px; color: var(--text); line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 60px; height: 60px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
}
.testimonial-avatar-placeholder {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 22px; font-weight: 700;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.testimonial-info strong { display: block; color: var(--primary); font-size: 16px; }
.testimonial-info span { font-size: 13px; color: var(--text-muted); }
.testimonial-stars { color: var(--gold); font-size: 14px; margin-top: 4px; }
.testimonials-nav {
  display: flex; justify-content: center; gap: 10px; margin-top: 30px;
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--border);
  cursor: pointer; transition: var(--transition);
}
.testimonial-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ---- Clients Grid ---- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
}
.client-logo {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  filter: grayscale(100%); opacity: 0.6;
  aspect-ratio: 2/1;
}
.client-logo:hover { filter: none; opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.client-logo img { max-height: 50px; object-fit: contain; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 22px; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-category {
  font-size: 11px; font-weight: 700;
  color: var(--white); background: var(--primary);
  padding: 3px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-card-body h4 { font-size: 16px; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--gold-dark); transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; color: var(--primary); }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: rgba(201,162,39,0.08);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -40%; left: -10%;
  width: 400px; height: 400px;
  background: rgba(201,162,39,0.05);
  border-radius: 50%;
}
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 600px; margin: 0 auto 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  cursor: pointer;
}
.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(28,52,104,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  font-size: 28px; color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: -40px; right: 0;
  color: var(--white); font-size: 28px; cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px;
  cursor: pointer; transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--primary); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info { }
.contact-item {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.contact-item:hover { background: var(--white); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px;
}
.contact-item h5 { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: var(--primary); font-weight: 600; margin: 0; }
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-label span { color: #e53e3e; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,52,104,0.08);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.form-check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }

/* ---- Page Header ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/logo/logo.jpg') center/cover no-repeat;
  opacity: 0.03;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}
.footer-top { padding: 80px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand { }
.footer-logo { max-width: 110px; margin-bottom: 20px; border-radius: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 15px;
  transition: var(--transition);
}
.social-icon:hover { background: var(--gold); color: var(--primary); }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 22px; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--gold);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65); font-size: 14px;
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-links a i { font-size: 10px; color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item i { color: var(--gold); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.footer-newsletter-form { display: flex; gap: 0; margin-top: 8px; }
.footer-newsletter-input {
  flex: 1; padding: 11px 14px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--white); font-size: 13px; font-family: inherit;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-btn {
  padding: 11px 18px;
  background: var(--gold); color: var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700; font-size: 13px;
  transition: var(--transition);
}
.footer-newsletter-btn:hover { background: var(--gold-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 1000;
  background: #25D366;
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: whatsappPulse 3s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 8px 30px rgba(37,211,102,0.6); animation: none; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed; bottom: 100px; right: 28px;
  z-index: 999;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--primary); transform: translateY(-3px); }

/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(28,52,104,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-inner { width: 100%; max-width: 700px; padding: 0 24px; }
.search-inner label {
  display: block; font-size: 13px; color: rgba(255,255,255,0.5);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.search-input-wrap { display: flex; border-bottom: 2px solid var(--gold); }
.search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 2rem; font-family: inherit;
  padding: 16px 0;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }
.search-submit-btn {
  background: none; color: rgba(255,255,255,0.5);
  font-size: 24px; padding: 16px;
  transition: var(--transition);
}
.search-submit-btn:hover { color: var(--gold); }
.search-close {
  position: absolute; top: 30px; right: 30px;
  color: rgba(255,255,255,0.6); font-size: 32px;
  cursor: pointer; transition: var(--transition);
}
.search-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ---- Cookie Consent ---- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9001;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transform: translateY(100%); transition: transform 0.4s ease;
  flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--gold); color: var(--primary); padding: 9px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13px; }
.cookie-decline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); padding: 9px 22px; border-radius: var(--radius-sm); font-size: 13px; }

/* ---- Popup ---- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  padding: 24px;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px; width: 100%;
  overflow: hidden; position: relative;
  transform: scale(0.9); transition: var(--transition);
}
.popup-overlay.active .popup-box { transform: scale(1); }
.popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%; background: rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; z-index: 1; cursor: pointer; transition: var(--transition);
}
.popup-close:hover { background: var(--primary); color: var(--white); }
.popup-image { height: 220px; overflow: hidden; }
.popup-image img { width: 100%; height: 100%; object-fit: cover; }
.popup-body { padding: 32px; }
.popup-body h3 { color: var(--primary); margin-bottom: 10px; }
.popup-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ---- Breadcrumb Section ---- */
.breadcrumb-section {
  background: var(--off-white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-nav a { color: var(--primary); }
.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav .sep { color: var(--text-light); }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; color: var(--primary); font-size: 15px;
  gap: 16px;
}
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%; background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--primary);
  transition: var(--transition);
}
.faq-item.active .faq-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

/* ---- Timeline ---- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.timeline-item {
  display: flex; gap: 40px; margin-bottom: 50px;
  align-items: flex-start;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-content {
  flex: 1;
  background: var(--white); padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.timeline-dot {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold);
  margin-top: 10px;
}
.timeline-year { color: var(--gold); font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.timeline-content h4 { color: var(--primary); margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-card-image {
  position: relative; overflow: hidden;
  aspect-ratio: 1;
}
.team-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-card-image img { transform: scale(1.06); }
.team-social {
  position: absolute; inset: 0;
  background: rgba(28,52,104,0.8);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  opacity: 0; transition: var(--transition);
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 14px;
  transition: var(--transition);
}
.team-social a:hover { background: var(--gold); color: var(--primary); }
.team-card-info { padding: 20px; }
.team-card-info h4 { color: var(--primary); margin-bottom: 4px; font-size: 16px; }
.team-card-info span { font-size: 13px; color: var(--gold-dark); font-weight: 600; }

/* ---- Alert / Flash Messages ---- */
.alert-msg {
  padding: 14px 20px; border-radius: var(--radius-sm);
  margin-bottom: 20px; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* ---- Animations ---- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Pagination ---- */
.pagination-nav { display: flex; justify-content: center; margin-top: 50px; }
.pagination { display: flex; gap: 6px; align-items: center; }
.page-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--off-white); color: var(--text);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}

/* ---- Google Map ---- */
.map-section iframe { display: block; width: 100%; height: 420px; border: none; border-radius: var(--radius-md); }

/* ---- 404 Page ---- */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.error-number { font-size: 10rem; font-weight: 900; color: var(--primary); opacity: 0.08; line-height: 1; }
.error-content { position: relative; margin-top: -60px; }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-menu { width: 560px; }
  .mega-menu-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .hamburger { display: flex; }
  .navbar-menu {
    position: fixed; inset: 0; top: 70px;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s ease;
    box-shadow: var(--shadow-xl);
    gap: 0;
  }
  .navbar-menu.open { transform: translateX(0); }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--border); color: var(--primary); }
  .dropdown-menu, .mega-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    border-left: 3px solid var(--gold); border-top: none;
    margin-left: 16px; display: none;
  }
  .nav-item.open .dropdown-menu,
  .nav-item.open .mega-menu { display: block; }
  .mega-menu { width: 100%; padding: 10px 0; }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 12px; }
  .mega-item-text span { display: none; }
  .mega-item-text strong { font-size: 14px; }
  .mega-item-icon { width: 32px; height: 32px; font-size: 14px; flex-shrink: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-badge { bottom: 10px; right: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }
  .timeline::before { left: 25px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-item:nth-child(even) .timeline-content { text-align: left; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(3n+1) { grid-row: auto; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-stats { gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
  /* Service detail page */
  .service-detail-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .service-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Services listing page */
  .services-page-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .slider-controls { right: 16px; bottom: 16px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .testimonial-card { padding: 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
  /* Service detail gallery single column on very small screens */
  .service-gallery-grid { grid-template-columns: 1fr !important; }
  /* Hero text sizing */
  .page-hero h1 { font-size: 1.9rem; }
  /* Footer bottom links wrap */
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  /* Services listing single column */
  .services-page-grid { grid-template-columns: 1fr !important; }
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }
.font-bold { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.hidden { display: none; }
.w-100 { width: 100%; }
.img-rounded { border-radius: var(--radius-md); }
.img-fluid { max-width: 100%; height: auto; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.badge-new {
  display: inline-block; background: #e53e3e; color: var(--white);
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; vertical-align: middle; margin-left: 6px;
}
