:root {
  --bg-light: #ffffff;
  --bg-dark: #0f172a; /* Dark blue/slate */
  --bg-dark-panel: #1e293b;
  --text-dark: #1e293b;
  --text-light: #f1f5f9;
  --text-muted-light: #94a3b8;
  --text-muted-dark: #64748b;
  
  --primary: #f59e0b; /* Orange */
  --primary-hover: #d97706;
  --accent-green: #22c55e;
  
  --border-light: #e2e8f0;
  --border-dark: #334155;
  
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: inherit;
}

p { margin: 0 0 16px; }
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { text-decoration: none; transition: 0.2s; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Typography Helpers */
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
}
.eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 8px auto 0;
}
.section-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; }
.section-desc { max-width: 600px; margin: 0 auto; color: var(--text-muted-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 0.95rem;
}
.btn--primary {
  background: var(--primary);
  color: #0f172a;
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-hover); }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.2); }

.btn--outline-dark { /* For light backgrounds */
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--ghost {
  color: var(--primary);
  padding: 0;
  background: transparent;
}
.btn--ghost:hover { text-decoration: underline; }

/* NAVBAR */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 0;
  color: #fff;
  transition: all 0.3s ease;
}

.nav.sticky {
  position: fixed;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav__inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: #fff; }
.brand span { color: var(--primary); }

.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; }
.nav__links a:hover { color: #fff; }
.nav__cta { padding: 10px 20px; font-size: 0.9rem; }
.nav__toggle { display: none; }
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }


/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://i.ibb.co.com/SXtJXzMg/Whats-App-Image-2026-01-15-at-1-49-37-PM-1.jpg') center/cover;
  color: #fff;
  padding-top: 80px;
}
.hero__content { max-width: 800px; margin: 0 auto; text-align: center; }
.hero__eyebrow { 
  background: rgba(255,255,255,0.1); 
  padding: 6px 16px; 
  border-radius: 50px; 
  font-size: 0.8rem;
  margin-bottom: 24px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 80px; }

/* Hero Stats - Glassmorphism row */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px 32px;
  border-radius: 12px;
  text-align: center;
  min-width: 140px;
}
.stat-box h3 { font-size: 1.8rem; color: var(--primary); margin: 0; }
.stat-box p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }


/* SECTION GENERAL */
.section { padding: 100px 0; }
.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--dark { background: var(--bg-dark); color: var(--text-light); }

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { position: relative; }
.about-img img { box-shadow: var(--shadow); }
.exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #0f172a;
  padding: 20px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}
.exp-badge span { display: block; font-size: 1.5rem; line-height: 1; }
.exp-badge small { font-size: 0.8rem; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
}
.check-icon { 
  color: var(--primary); 
  background: rgba(245, 158, 11, 0.1); 
  width: 24px; height: 24px; 
  border-radius: 50%; 
  display: grid; place-items: center; font-size: 0.8rem; 
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.metric-card {
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.metric-icon { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; display: block; }
.metric-card h4 { font-size: 1.25rem; margin-bottom: 4px; }
.metric-card p { font-size: 0.85rem; color: var(--text-muted-dark); margin: 0; }


/* PRODUCTS SECTION */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.product-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  text-align: left;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.product-icon {
  width: 48px; height: 48px;
  background: #fef3c7;
  color: var(--primary);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card p { font-size: 0.9rem; color: var(--text-muted-dark); margin-bottom: 20px; }
.product-meta {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.product-meta div { display: flex; items: center; gap: 6px; }
.product-meta i { color: var(--primary); }

.view-catalog-wrapper { margin-top: 40px; text-align: center; }
.btn-catalog { 
  background: #1e293b; color: #fff; 
  padding: 12px 30px; 
  display: inline-flex; align-items: center; gap: 8px;
}


/* QUALITY SECTION (Dark) */
.section--dark .eyebrow { color: var(--primary); }
.section--dark .section-desc { color: var(--text-muted-light); }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 60px 0;
}
.cert-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  border-radius: 12px;
}
.cert-icon { color: var(--accent-green); font-size: 1.5rem; margin-bottom: 16px; display: block; }
.cert-card h4 { font-size: 1.1rem; color: #fff; }
.cert-card p { font-size: 0.85rem; color: var(--text-muted-light); margin: 0; }

.greener-future {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  align-items: center;
}
.green-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.green-stat { text-align: center; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.green-stat h4 { font-size: 1.5rem; color: #fff; margin: 0; }
.green-stat span { font-size: 0.8rem; color: var(--text-muted-light); }


/* PROJECTS SECTION */
.projects-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 40px;
}
.project-main {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-main img { width: 100%; height: 100%; object-fit: cover; }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
}
.tag { 
  background: var(--primary); 
  color: #000; 
  padding: 4px 10px; 
  border-radius: 4px; 
  font-size: 0.75rem; 
  font-weight: 700;
  align-self: flex-start;
  margin-bottom: 12px;
}

.project-list { display: flex; flex-direction: column; gap: 20px; }
.project-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: 0.2s;
}
.project-item:hover { background: #fff; border-color: var(--primary); box-shadow: var(--shadow); cursor: pointer; }
.project-item-content h4 { font-size: 1rem; margin-bottom: 4px; }
.project-item-content p { font-size: 0.8rem; color: var(--text-muted-dark); margin: 0; }
.badge { font-size: 0.7rem; padding: 2px 8px; background: #e2e8f0; border-radius: 4px; margin-right: 6px; }

.projects-stats-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
}
.p-stat h4 { font-size: 1.8rem; color: var(--primary); margin: 0; }
.p-stat p { font-size: 0.9rem; margin: 0; color: var(--text-muted-dark); }


/* CONTACT SECTION */
.contact-wrapper {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  background: #f8fafc;
}
.form-input:focus { outline: none; border-color: var(--primary); background: #fff; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
}
.info-icon { 
  color: var(--primary); 
  background: #fff;
  width: 40px; height: 40px; 
  display: grid; place-items: center; 
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.map-placeholder {
  height: 200px;
  /* background: #e2e8f0 url('https://dummyimage.com/600x400/e2e8f0/94a3b8&text=Map') center/cover; */
  border-radius: 12px;
  margin-top: auto;
}

/* FOOTER */
.footer { background: var(--bg-dark); color: #fff; padding: 80px 0 40px; border-top: 1px solid var(--border-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer a { color: var(--text-muted-light); display: block; margin-bottom: 12px; font-size: 0.9rem; }
.footer a:hover { color: var(--primary); }
.footer-bottom { 
  border-top: 1px solid var(--border-dark); 
  padding-top: 32px; 
  display: flex; justify-content: space-between; 
  color: var(--text-muted-light); font-size: 0.85rem; 
}


@media(max-width: 900px) {
  .hero-stats, .about-grid, .certs-grid, .projects-layout, .contact-wrapper, .footer-grid, .greener-future, .projects-stats-bar {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Mobile Navbar */
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 60;
  }
  .nav__toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
  }
  .nav__toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav__links {
    position: fixed;
    top: 72px;
    right: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(15, 23, 42, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }
  .nav--open .nav__links {
    transform: translateX(0);
    opacity: 1;
  }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex; width: 100%; justify-content: center; }

  /* Projects and Contact Layout Fixes */
  .projects-layout { grid-template-columns: 1fr; }
  .project-item { flex-direction: column; align-items: flex-start; }
  .projects-stats-bar { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .projects-stats-bar .p-stat { flex: 1 1 45%; min-width: 180px; text-align: center; }

  .contact-wrapper { grid-template-columns: 1fr; padding: 10px; }
  .contact-wrapper form div[style*='grid-template-columns'] { grid-template-columns: 1fr !important; }

  .certs-grid { grid-template-columns: 1fr 1fr; }
  .green-stats, .metrics-grid { grid-template-columns: 1fr 1fr; }
  
  /* Spacing tweaks */
  .section { padding: 70px 0; }
  .hero h1 { font-size: 3rem; }
}

@media(max-width: 600px) {
  .hero h1 { font-size: 2.3rem; }
  .certs-grid, .green-stats, .metrics-grid { grid-template-columns: 1fr; }
  .projects-stats-bar .p-stat { flex: 1 1 100%; }
  .project-main { min-height: 260px; }
  .project-overlay h3 { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom div { display: flex; flex-direction: column; gap: 8px; }
  .footer-bottom a { margin: 0 !important; }
  .stat-box { min-width: 100%; }
}
