/* ---------- CSS Variables for Light/Dark Mode ---------- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fdf9;
  --bg-card: #ffffff;
  --text-primary: #07160b;
  --text-secondary: #2c3e2f;
  --text-muted: #4a6741;
  --border-light: #e0e8df;
  --accent-green: #1a8a32;
  --accent-bright: #2db84b;
  --accent-deep: #0a5c1e;
  --yellow: #e6a700;
  --shadow: rgba(0,0,0,0.05);
  --glass-bg: rgba(255, 255, 255, 0.7);
}

body.dark-mode {
  --bg-primary: #0a0f0c;
  --bg-secondary: #0f2217;
  --bg-card: #14261a;
  --text-primary: #f8fdf9;
  --text-secondary: #c5d8c9;
  --text-muted: #9bb59f;
  --border-light: #2a3d2c;
  --accent-green: #2db84b;
  --accent-bright: #3ed65e;
  --accent-deep: #1a8a32;
  --yellow: #f5c400;
  --shadow: rgba(0,0,0,0.3);
  --glass-bg: rgba(20, 38, 26, 0.8);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.2s ease;
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--accent-bright);
  transition: all 0.2s;
  box-shadow: 0 2px 8px var(--shadow);
}
.theme-toggle:hover {
  transform: scale(1.05);
  background: var(--accent-green);
  color: white;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: var(--bg-primary);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .logo-img {
  height: 90px;
  width: auto;
}
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo-text span {
  color: var(--accent-bright);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent-bright);
}
.nav-cta {
  background: var(--accent-green);
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .logo-text {
    display: none;
  }
  .nav-links {
    display: none;
  }
}

/* ========== HERO SECTION – FULL FIX ========== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 5vw 80px;
  overflow: hidden;
  background-image: url('images/hero-header.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Dark overlay for text readability */
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

/* All content sits above overlay */
.hero-content,
.hero-stats {
  position: relative;
  z-index: 2;
}

/* Prevent text from going off-screen */
.hero-content {
  max-width: 700px;
  width: 100%;
}

/* Remove any old .hero-bg reference */
.hero-bg {
  display: none;
}

/* Hero badge (glassmorphism) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-bright);
  text-transform: uppercase;
}

/* Hero headline – forced white with shadow */
.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-headline .accent {
  color: var(--accent-bright);
}
.hero-headline .accent2 {
  color: var(--yellow);
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-bright));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(45, 184, 75, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(45, 184, 75, 0.35);
}
.btn-outline {
  border: 2px solid var(--accent-bright);
  color: var(--accent-bright);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline:hover {
  background: rgba(45, 184, 75, 0.2);
}

/* Hero stats (with dark pill background) */
.hero-stats {
  position: absolute;
  bottom: 60px;
  right: 5vw;
  display: flex;
  gap: 32px;
}
.stat {
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--accent-bright);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-stats {
    position: static;
    margin-top: 48px;
    justify-content: center;
  }
}

/* ---------- Marquee (service tags) ---------- */
.marquee-wrap {
  background: var(--accent-deep);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--yellow);
  flex-shrink: 0;
}
.marquee-dot {
  color: var(--accent-bright);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Shared Section Styles ---------- */
section {
  padding: 100px 5vw;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
  font-weight: 300;
}

/* ---------- Services ---------- */
#services {
  background: var(--bg-secondary);
}
.services-header {
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 36px 30px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bright);
  background: var(--bg-secondary);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
  color: var(--accent-bright);
}
.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--accent-bright);
  margin-bottom: 14px;
}
.service-list {
  list-style: none;
}
.service-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 300;
}
.service-list li::before {
  content: '→';
  color: var(--accent-bright);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
}
.highlight-card {
  background: linear-gradient(135deg, rgba(10,92,30,0.15), rgba(26,138,50,0.08));
  border-color: var(--accent-bright);
}

/* ---------- Portfolio (3x2 grid) ---------- */
#portfolio {
  background: var(--bg-primary);
}
.portfolio-header {
  margin-bottom: 60px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 8px 20px var(--shadow);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  color: white;
}
.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}
.portfolio-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}
.portfolio-overlay p {
  font-size: 0.8rem;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Why Us ---------- */
#why {
  background: var(--bg-secondary);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--accent-bright);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  opacity: 0.5;
}
.why-item-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.why-item-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  font-weight: 300;
}
.why-visual {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.why-visual::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(45, 184, 75, 0.15), transparent 70%);
}
.big-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  display: block;
  color: var(--accent-bright);
}
.why-tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1.15;
  margin-bottom: 16px;
}
.why-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ---------- 26‑Image Mega Gallery ---------- */
.visual-spectacle {
  background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow-x: hidden;
  border-top: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.02), 0 20px 40px var(--shadow);
}
.hero-header-feature {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
}
.hero-header-feature h2 {
  font-size: 3.2rem;
  font-family: 'Bebas Neue', sans-serif;
  background: linear-gradient(135deg, var(--accent-bright), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.image-badge {
  display: inline-block;
  background: var(--accent-green);
  color: white;
  border-radius: 60px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.header-jumbo {
  display: flex;
  justify-content: center;
  margin: 32px auto 40px;
  max-width: 1000px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 45px -12px rgba(0,0,0,0.4);
  transition: transform 0.3s, filter 0.3s;
}
.header-jumbo img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  transition: transform 1s ease;
  display: block;
}
.header-jumbo:hover img {
  transform: scale(1.02);
  filter: brightness(1.02);
}
.marquee-wall {
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  border-block: 2px solid rgba(45, 184, 75, 0.3);
  margin: 40px 0;
  position: relative;
}
.marquee-strip {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 32px 0;
  will-change: transform;
}
.marquee-strip--left {
  animation: slideLeft 55s linear infinite;
}
.marquee-strip--right {
  animation: slideRight 55s linear infinite;
}
.marquee-wall:hover .marquee-strip {
  animation-play-state: paused;
}
.marquee-image-card {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px var(--shadow);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid var(--border-light);
}
.marquee-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}
.marquee-image-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 32px 48px -12px var(--accent-bright);
  border-color: var(--accent-bright);
}
.marquee-image-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.02);
}
@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}
@keyframes slideRight {
  0% { transform: translateX(-33.33%); }
  100% { transform: translateX(0); }
}
@media (max-width: 800px) {
  .marquee-image-card {
    width: 220px;
    height: 160px;
  }
  .hero-header-feature h2 {
    font-size: 2rem;
  }
}

/* ---------- Contact ---------- */
#contact {
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--accent-deep) 100%);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 184, 75, 0.1), transparent 70%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
}
.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  background: rgba(45, 184, 75, 0.12);
  border: 1px solid rgba(45, 184, 75, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-bright);
}
.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-bright);
  margin-bottom: 5px;
}
.contact-detail-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}
.contact-detail-value a {
  color: inherit;
  text-decoration: none;
}
.contact-detail-value a:hover {
  color: var(--accent-bright);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent-bright);
}
.contact-form textarea {
  height: 130px;
  resize: vertical;
}
.contact-form select option {
  background: var(--bg-card);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.btn-submit {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-bright));
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(45, 184, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(45, 184, 75, 0.45);
}
@media (max-width: 900px) {
  .contact-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .theme-toggle {
    top: 80px;
    right: 20px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 40px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo-img {
  height: 70px;
  width: auto;
}
.footer-tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--accent-bright);
  opacity: 0.6;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
}

/* ---------- Floating WhatsApp CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-cta:hover {
  transform: scale(1.08);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- IMPROVED MOBILE MARQUEE ---------- */
@media (max-width: 640px) {
  .marquee-image-card {
    width: 160px !important;
    height: 120px !important;
    border-radius: 16px !important;
  }
  .marquee-strip {
    gap: 12px !important;
  }
  .marquee-strip--left,
  .marquee-strip--right {
    animation-duration: 90s !important; /* slower for less CPU */
  }
  .hero-header-feature h2 {
    font-size: 1.8rem !important;
  }
  .hero-headline {
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
  }
  .hero-sub {
    font-size: 0.95rem !important;
  }
  .btn-primary, .btn-outline {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  .service-card {
    padding: 24px 20px !important;
  }
  .why-visual {
    padding: 30px 20px !important;
  }
  .footer-logo-img {
    height: 50px !important;
  }
  .float-cta {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Force no horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Better animation performance */
.marquee-strip {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}