/* =============================================
   GMKA Technologies — Main Stylesheet v2.0
   ============================================= */

/* 1. CSS VARIABLES */
:root {
  --primary:       #7BC043;
  --primary-dark:  #5A9A2E;
  --primary-light: #A8D96C;
  --primary-bg:    rgba(123, 192, 67, 0.08);
  --dark:          #1E2A3A;
  --darker:        #0F1923;
  --accent:        #FEC016;
  --light:         #F5F7FA;
  --white:         #FFFFFF;
  --border:        #E8ECF0;
  --text:          #1E2A3A;
  --text-body:     #4A5568;
  --text-muted:    #718096;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.12);
  --shadow-primary: 0 8px 30px rgba(123,192,67,0.30);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 50px;

  --t:      all 0.3s ease;
  --t-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);

  --topbar-h: 42px;
  --navbar-h: 80px;
}

/* 2. RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* clip stops horizontal overflow from revealing off-screen content when
     zoomed; unlike overflow:hidden it does NOT create a new scroll container,
     so position:sticky on the navbar keeps working in all modern browsers.
     The hidden line is the fallback — browsers ignoring 'clip' use it. */
  overflow-x: hidden; /* fallback */
  overflow-x: clip;   /* modern override — preserves sticky */
  max-width: 100%;
}
body {
  font-family: var(--font-body); color: var(--text-body);
  line-height: 1.7; overflow-x: hidden;
  background: var(--white);
  max-width: 100%; width: 100%;
  position: relative;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text); font-weight: 700; line-height: 1.25; }
a { text-decoration: none; transition: var(--t); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

/* 3. PRELOADER */
#preloader {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: var(--darker);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 0 24px;
}
.preloader-logo-img {
  width: 190px; height: auto;
  display: block; margin-bottom: 28px;
  border-radius: 12px;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin: 0 auto;
}
.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  animation: fillBar 1.5s ease forwards;
}
@keyframes fillBar { from { width: 0 } to { width: 100% } }

/* 4. TOPBAR */
.topbar {
  background: var(--darker);
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.topbar-contact { display: flex; gap: 24px; list-style: none; }
.topbar-contact li a {
  color: rgba(255,255,255,0.65); font-size: 0.8rem;
  display: flex; align-items: center; gap: 7px; transition: var(--t);
}
.topbar-contact li a i { color: var(--primary); font-size: 0.72rem; }
.topbar-contact li a:hover { color: var(--primary); }
.topbar-social { display: flex; gap: 6px; list-style: none; }
.topbar-social li a {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.72rem; transition: var(--t);
}
.topbar-social li a:hover {
  background: var(--primary); border-color: var(--primary);
  color: var(--white); transform: translateY(-2px);
}

/* 5. NAVBAR */
.navbar-main {
  position: sticky; top: 0; width: 100%; z-index: 1000;
  background: var(--white); height: var(--navbar-h);
  display: flex; align-items: center;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.navbar-main.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.navbar-brand-custom {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.brand-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800;
  color: var(--white); box-shadow: var(--shadow-primary); flex-shrink: 0;
}
.brand-logo {
  width: 52px; height: 52px;
  object-fit: contain; flex-shrink: 0;
  border-radius: var(--radius-sm);
}
/* Dark badge behind logo so it reads on the white navbar */
.navbar-main .brand-logo {
  background: var(--dark);
  padding: 5px;
  border-radius: var(--radius-sm);
  box-sizing: content-box;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.brand-name span { color: var(--primary); }
.brand-tagline { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li > a {
  font-family: var(--font-heading); font-size: 0.87rem; font-weight: 600;
  color: var(--text); padding: 8px 14px; border-radius: var(--radius-sm);
  transition: var(--t); position: relative;
}
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--t);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--primary); }
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 65%; }
.navbar-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: var(--t);
}
/* Mobile drawer */
.mobile-menu {
  display: none; position: fixed;
  top: calc(var(--topbar-h) + var(--navbar-h));
  left: 0; right: 0;
  background: var(--white); padding: 20px 24px;
  box-shadow: var(--shadow-md); z-index: 999;
  border-top: 3px solid var(--primary);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block; padding: 12px 0;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: var(--primary); padding-left: 8px; }
.mobile-menu .btn-primary-custom { width: 100%; margin-top: 18px; justify-content: center; }

/* 6. BUTTONS */
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); font-family: var(--font-heading); font-weight: 600;
  font-size: 0.88rem; padding: 12px 28px; border-radius: var(--radius-xl);
  border: none; cursor: pointer; transition: var(--t);
  box-shadow: var(--shadow-primary); text-decoration: none;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(123,192,67,0.42); color: var(--white);
}
.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem;
  padding: 11px 28px; border-radius: var(--radius-xl);
  border: 2px solid rgba(255,255,255,0.45); cursor: pointer; transition: var(--t);
}
.btn-outline-custom:hover {
  background: var(--white); color: var(--primary-dark); border-color: var(--white);
}
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem;
  padding: 11px 26px; border-radius: var(--radius-xl);
  border: 2px solid var(--border); cursor: pointer; transition: var(--t);
}
.btn-outline-dark:hover {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* 7. SECTION COMMONS */
section { padding: 90px 0; }
.section-label {
  display: inline-block; font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 3px;
  padding: 5px 16px; background: var(--primary-bg);
  border-radius: 30px; border: 1px solid rgba(123,192,67,0.25); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 0.98rem; color: var(--text-muted); max-width: 560px; line-height: 1.85;
}
.section-header { margin-bottom: 52px; }
.section-header.text-center .section-subtitle { margin: 0 auto; }
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px; margin: 16px 0;
}
.section-divider.center { margin: 16px auto; }

/* 8. HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 55%, #1a2e4a 100%);
  position: relative; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123,192,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,192,67,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.10; pointer-events: none; }
.hero-orb-1 { width: 550px; height: 550px; background: var(--primary); top: -120px; right: -120px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--accent); bottom: -80px; left: -80px; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800;
  color: var(--white); line-height: 1.14; margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--primary); position: relative; white-space: nowrap;
}
.hero-title .highlight::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 3px; background: var(--primary);
  border-radius: 3px; animation: lineGrow 0.9s ease 0.6s both;
}
@keyframes lineGrow { from { width: 0 } to { width: 100% } }
.hero-text {
  font-size: 1.02rem; color: rgba(255,255,255,0.68);
  max-width: 540px; line-height: 1.85; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.hero-stat-num span { color: var(--primary); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; font-weight: 500; }

/* Hero visual panel */
.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-badge-group { position: relative; width: 360px; height: 380px; }
.hero-badge-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 160px; height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  box-shadow: var(--shadow-primary), 0 0 0 18px rgba(123,192,67,0.08), 0 0 0 36px rgba(123,192,67,0.04);
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: var(--shadow-primary), 0 0 0 18px rgba(123,192,67,0.08), 0 0 0 36px rgba(123,192,67,0.04); }
  50%      { box-shadow: 0 8px 50px rgba(123,192,67,0.5), 0 0 0 22px rgba(123,192,67,0.12), 0 0 0 44px rgba(123,192,67,0.06); }
}
.hero-badge-center i { font-size: 2.4rem; color: var(--white); margin-bottom: 8px; }
.hero-badge-center p {
  color: var(--white); font-family: var(--font-heading); font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  text-align: center; margin: 0; line-height: 1.4;
}
.hero-floating-card {
  position: absolute; background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.hero-floating-card:nth-child(2) { animation-delay: -1s;    top: 14px;   left: 10px;  }
.hero-floating-card:nth-child(3) { animation-delay: -2s;    bottom: 60px;right: 0;    }
.hero-floating-card:nth-child(4) { animation-delay: -0.5s;  top: 58%;    left: -16px; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.floating-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0;
}
.floating-icon.green { background: rgba(123,192,67,0.2); color: var(--primary); }
.floating-icon.gold  { background: rgba(254,192,22,0.2); color: var(--accent);  }
.floating-icon.blue  { background: rgba(66,153,225,0.2);  color: #4299e1;       }
.floating-text { display: flex; flex-direction: column; }
.floating-text strong { color: var(--white); font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; }
.floating-text span   { color: rgba(255,255,255,0.5); font-size: 0.68rem; }

/* 9. STATS BAR */
.stats-section { padding: 0; background: var(--white); }
.stats-inner {
  background: var(--dark); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 48px; display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; overflow: hidden;
}
.stats-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123,192,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,192,67,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stat-item {
  position: relative; z-index: 1; text-align: center; padding: 18px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: 8px;
}
.stat-number span { color: var(--primary); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* 10. SERVICES */
.services-section { background: var(--light); }
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 34px 26px;
  height: 100%; position: relative; transition: var(--t-slow);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left; transition: var(--t);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon-wrap {
  width: 62px; height: 62px; background: var(--primary-bg);
  border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; transition: var(--t);
}
.service-icon-wrap i { font-size: 1.5rem; color: var(--primary); transition: var(--t); }
.service-card:hover .service-icon-wrap { background: var(--primary); }
.service-card:hover .service-icon-wrap i { color: var(--white); transform: scale(1.1); }
.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  color: var(--primary); transition: var(--t);
}
.service-link i { transition: var(--t); font-size: 0.72rem; }
.service-link:hover { color: var(--primary-dark); }
.service-link:hover i { transform: translateX(4px); }

/* 11. ABOUT SECTION */
.about-section { background: var(--white); }
.img-placeholder {
  width: 100%; min-height: 400px;
  background: linear-gradient(135deg, #edf6d8 0%, #dff0b4 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  border: 2px dashed rgba(123,192,67,0.35); gap: 12px; padding: 30px;
}

/* Real image replacement — mirrors placeholder size & shape */
.site-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.img-placeholder i { font-size: 2.5rem; color: var(--primary); opacity: 0.4; }
.img-placeholder p {
  font-size: 0.82rem; color: var(--text-muted); text-align: center;
  line-height: 1.65; margin: 0;
}
.about-badge {
  position: absolute; bottom: 30px; right: 0;
  background: var(--white); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  text-align: center; min-width: 130px;
}
.about-badge .num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about-badge .lbl { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.about-content { padding-left: 28px; }
.about-list { list-style: none; margin: 22px 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.about-list li:last-child { border-bottom: none; }
.about-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

/* 12. PORTFOLIO */
.portfolio-section { background: var(--light); }
.portfolio-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
  padding: 8px 20px; border-radius: 30px; border: 2px solid var(--border);
  background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--t);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); border-color: var(--primary); color: var(--white);
}
.portfolio-card {
  border-radius: var(--radius-md); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.portfolio-img {
  width: 100%; height: 234px;
  background: linear-gradient(135deg, #1E2A3A 0%, #2a3d54 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  border: 2px dashed rgba(123,192,67,0.25); position: relative; overflow: hidden;
}
.portfolio-img i { font-size: 2.2rem; color: rgba(123,192,67,0.45); }
.portfolio-img .ph-text { font-size: 0.72rem; color: rgba(255,255,255,0.3); text-align: center; padding: 0 16px; line-height: 1.5; }
.portfolio-real-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,192,67,0.93), rgba(90,154,46,0.93));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: var(--t); padding: 20px; gap: 6px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5 { color: var(--white); font-size: 1rem; font-weight: 700; text-align: center; margin: 0; }
.portfolio-overlay span { color: rgba(255,255,255,0.75); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.portfolio-info { background: var(--white); padding: 16px 20px; }
.portfolio-info h5 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.portfolio-info span { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* 13. WHY CHOOSE US */
.why-section { background: var(--white); }
.why-card {
  display: flex; gap: 18px; padding: 26px;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  transition: var(--t-slow); height: 100%;
}
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow-primary); transform: translateY(-4px); }
.why-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md); background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--t);
}
.why-icon i { font-size: 1.2rem; color: var(--primary); transition: var(--t); }
.why-card:hover .why-icon { background: var(--primary); }
.why-card:hover .why-icon i { color: var(--white); }
.why-text h5 { font-size: 0.97rem; font-weight: 700; margin-bottom: 7px; }
.why-text p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* 14. CTA BANNER */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  position: relative; overflow: hidden; padding: 80px 0;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123,192,67,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,192,67,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-inner h2 span { color: var(--primary); }
.cta-inner p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 480px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 15. FOOTER */
.footer { background: var(--darker); padding: 70px 0 0; }
.footer-desc { font-size: 0.86rem; color: rgba(255,255,255,0.48); margin: 16px 0 24px; line-height: 1.8; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.48); font-size: 0.78rem; transition: var(--t);
}
.footer-social a:hover {
  background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-3px);
}
.footer-heading {
  font-size: 0.92rem; font-weight: 700; color: var(--white);
  margin-bottom: 18px; padding-bottom: 12px; position: relative;
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--primary);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.48); transition: var(--t);
  display: flex; align-items: center; gap: 7px;
}
.footer-links li a i { font-size: 0.6rem; color: var(--primary); }
.footer-links li a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact li i { color: var(--primary); font-size: 0.88rem; margin-top: 4px; flex-shrink: 0; }
.footer-contact li span { font-size: 0.84rem; color: rgba(255,255,255,0.48); line-height: 1.65; }
.footer-contact li a { font-size: 0.84rem; color: rgba(255,255,255,0.48); transition: var(--t); }
.footer-contact li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0; margin-top: 50px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin: 0; }
.footer-bottom a { color: var(--primary); }
.footer-bottom .heart { color: var(--primary); }

/* 16. PAGE HEADER (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  padding: 90px 0 50px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123,192,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,192,67,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item { font-size: 0.85rem; color: rgba(255,255,255,0.45); font-weight: 500; }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.25); }
.breadcrumb-item a { color: rgba(255,255,255,0.45); }
.breadcrumb-item a:hover { color: var(--primary); }

/* 17. SERVICES PAGE DETAIL CARDS */
.service-detail-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--t-slow); height: 100%;
}
.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-detail-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--dark), #253548);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  border-bottom: 3px solid var(--primary);
  position: relative; overflow: hidden;
}
.service-detail-img i { font-size: 3rem; color: var(--primary); }
.service-detail-img .ph-note { font-size: 0.7rem; color: rgba(255,255,255,0.28); text-align: center; padding: 0 16px; }
.service-real-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.service-detail-body { padding: 26px; }
.service-detail-body h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.service-detail-body p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text-body); padding: 4px 0; }
.feature-list li i { color: var(--primary); font-size: 0.7rem; }

/* 18. ABOUT PAGE VALUES */
.value-card {
  text-align: center; padding: 34px 22px;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--white); transition: var(--t-slow);
}
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow-primary); transform: translateY(-6px); }
.value-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--primary-bg); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px; transition: var(--t);
}
.value-icon i { font-size: 1.7rem; color: var(--primary); transition: var(--t); }
.value-card:hover .value-icon { background: var(--primary); }
.value-card:hover .value-icon i { color: var(--white); }
.value-card h5 { font-size: 0.97rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* 19. CONTACT FORM */
.contact-info-card {
  background: var(--white); border-radius: var(--radius-md); padding: 26px;
  display: flex; gap: 16px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: var(--t); height: 100%;
}
.contact-info-card:hover { box-shadow: var(--shadow-primary); border-color: var(--primary); }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--primary-bg); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-info-icon i { color: var(--primary); font-size: 1.15rem; }
.contact-info-text h6 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 5px;
}
.contact-info-text p, .contact-info-text a {
  font-size: 0.9rem; color: var(--text); font-weight: 600; margin: 0; line-height: 1.5;
}
.contact-info-text a:hover { color: var(--primary); }
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.form-lbl {
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700;
  color: var(--text); text-transform: uppercase; letter-spacing: 0.6px;
  display: block; margin-bottom: 7px;
}
.form-ctrl {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: var(--light); transition: var(--t); outline: none;
}
.form-ctrl:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(123,192,67,0.10); }
.form-ctrl::placeholder { color: var(--text-muted); font-size: 0.86rem; }
textarea.form-ctrl { resize: vertical; min-height: 136px; }
.map-placeholder {
  width: 100%; height: auto; min-height: 260px;
  background: linear-gradient(135deg, #edf6d8, #dff0b4);
  border-radius: var(--radius-lg); display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 14px;
  border: 2px dashed rgba(123,192,67,0.35);
}
.map-placeholder i { font-size: 2.5rem; color: var(--primary); opacity: 0.45; }
.map-placeholder p { font-size: 0.82rem; color: var(--text-muted); text-align: center; max-width: 220px; line-height: 1.65; margin: 0; }
.map-iframe {
  width: 100%; height: 320px;
  border: none; border-radius: var(--radius-lg);
  display: block;
}

/* 20. MISSION VISION */
.mv-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg); padding: 36px; height: 100%;
}
.mv-card i { font-size: 2rem; color: var(--primary); margin-bottom: 16px; display: block; }
.mv-card h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.mv-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.8; margin: 0; }

/* 21. SCROLL TOP */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.9rem;
  box-shadow: var(--shadow-primary); cursor: pointer;
  opacity: 0; visibility: hidden; transition: var(--t); border: none; z-index: 500;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* 22. UTILITIES */
.bg-light-custom { background: var(--light); }
.bg-dark-custom  { background: var(--dark);  }
.bg-darker       { background: var(--darker); }
.text-primary-custom { color: var(--primary) !important; }
.mt-section { margin-top: 90px; }

/* =============================================
   23. RESPONSIVE — COMPREHENSIVE
   ============================================= */

/* --- Tablets: 768px–991px --- */
@media (max-width: 991px) {
  :root { --navbar-h: 70px; }

  section { padding: 68px 0; }
  .cta-section { padding: 68px 0; }

  .topbar-contact li:nth-child(3) { display: none; }
  .nav-links, .navbar-cta .btn-outline-dark { display: none !important; }
  .nav-toggle { display: flex; }

  .hero-badge-group { width: 290px; height: 310px; }

  .about-content { padding-left: 0; margin-top: 36px; }
  .about-badge { right: 6px; bottom: 16px; }
  .img-placeholder { min-height: 340px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.07); border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.07); }

  .portfolio-filter { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 0.76rem; }

  .page-header { padding: 80px 0 44px; }

  .footer { padding: 56px 0 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- Mobile: max-width 767px --- */
@media (max-width: 767px) {
  :root { --topbar-h: 0px; --navbar-h: 65px; }

  .topbar { display: none; }
  .mobile-menu { top: var(--navbar-h); }

  section { padding: 56px 0; }
  .cta-section { padding: 56px 0; }

  /* Hero */
  .hero { padding: 88px 0 52px; min-height: auto; }
  .hero-visual { display: none !important; }
  .hero-title { font-size: 2rem; line-height: 1.2; }
  .hero-text { font-size: 0.95rem; max-width: 100%; }
  .hero-eyebrow { font-size: 0.74rem; letter-spacing: 2px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-bottom: 40px; }
  .hero-actions .btn-primary-custom,
  .hero-actions .btn-outline-custom { width: 100%; justify-content: center; }

  /* Hero stats — 2×2 grid */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding-top: 28px; }
  .hero-stat-num { font-size: 1.65rem; }
  .hero-stat-label { font-size: 0.74rem; }

  /* Stats bar */
  .stats-inner { padding: 26px 18px; }
  .stat-number { font-size: 2rem; }

  /* Section */
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.94rem; }

  /* About */
  .about-badge { display: none; }

  /* CTA */
  .cta-inner h2 { font-size: 1.75rem; }
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-actions .btn-primary-custom,
  .cta-actions .btn-outline-custom { width: 100%; max-width: 300px; justify-content: center; }

  /* Contact */
  .contact-form-wrap { padding: 24px 20px; }

  /* Footer */
  .footer { padding: 50px 0 0; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }

  /* Page header */
  .page-header { padding: 75px 0 38px; }
  .page-header h1 { font-size: 2rem; }

  /* Scroll top */
  .scroll-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }
}

/* --- Small phones: max-width 576px --- */
@media (max-width: 576px) {
  :root { --navbar-h: 62px; }

  /* Navbar compact */
  .brand-tagline { display: none; }
  .brand-name { font-size: 0.92rem; }
  .brand-icon { width: 38px; height: 38px; font-size: 1.05rem; }
  .brand-logo { width: 44px; height: 44px; }
  .navbar-cta .btn-primary-custom { padding: 9px 14px; font-size: 0.8rem; gap: 5px; }

  /* Hero */
  .hero { padding: 80px 0 48px; }
  .hero-title { font-size: 1.8rem; }
  .hero-text { font-size: 0.9rem; }
  .hero-stats { gap: 14px 16px; }
  .hero-stat-num { font-size: 1.5rem; }

  /* Stats bar */
  .stats-inner { padding: 22px 14px; }
  .stat-item { padding: 12px 8px; }
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.68rem; letter-spacing: 0.8px; }

  /* Section */
  section { padding: 50px 0; }
  .section-title { font-size: 1.55rem; }
  .section-subtitle { font-size: 0.9rem; }
  .section-header { margin-bottom: 38px; }

  /* Service cards */
  .service-card { padding: 26px 20px; }
  .service-icon-wrap { width: 54px; height: 54px; margin-bottom: 16px; }

  /* Portfolio */
  .portfolio-img { height: 200px; }
  .portfolio-filter { gap: 5px; }
  .filter-btn { padding: 6px 11px; font-size: 0.72rem; }

  /* Why cards */
  .why-card { padding: 20px 16px; gap: 14px; }
  .why-icon { width: 44px; height: 44px; }

  /* Value cards */
  .value-card { padding: 28px 18px; }
  .value-icon { width: 58px; height: 58px; }

  /* Contact info cards */
  .contact-info-card { padding: 18px 16px; gap: 13px; }
  .contact-info-icon { width: 42px; height: 42px; }

  /* Contact form */
  .contact-form-wrap { padding: 20px 16px; }

  /* Service detail cards */
  .service-detail-img { height: 170px; }
  .service-detail-body { padding: 22px 18px; }

  /* MV card */
  .mv-card { padding: 28px 22px; }

  /* Preloader */
  .preloader-logo-img { width: 155px; }
  .preloader-bar { width: 160px; }

  /* CTA */
  .cta-section { padding: 52px 0; }
  .cta-inner h2 { font-size: 1.5rem; }
  .cta-inner p { font-size: 0.92rem; }

  /* Footer */
  .footer { padding: 44px 0 0; }
  .footer-heading { font-size: 0.88rem; }
  .footer-links li a { font-size: 0.82rem; }
  .footer-contact li span, .footer-contact li a { font-size: 0.82rem; }
  .footer-social a { width: 32px; height: 32px; font-size: 0.72rem; }
  .footer-bottom p { font-size: 0.75rem; }

  /* Page header */
  .page-header { padding: 70px 0 34px; }
  .page-header h1 { font-size: 1.75rem; }
  .breadcrumb-item { font-size: 0.8rem; }

  /* Scroll top */
  .scroll-top { bottom: 16px; right: 16px; width: 36px; height: 36px; font-size: 0.8rem; }
}

/* --- Very small phones: max-width 380px --- */
@media (max-width: 380px) {
  :root { --navbar-h: 60px; }

  .brand-icon { width: 34px; height: 34px; font-size: 0.95rem; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 0.85rem; }
  .navbar-cta .btn-primary-custom { padding: 8px 11px; font-size: 0.76rem; }

  .hero-title { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .hero-stat-num { font-size: 1.35rem; }
  .hero-eyebrow { font-size: 0.68rem; }

  .stats-inner { padding: 18px 10px; }
  .stat-number { font-size: 1.55rem; }

  .contact-form-wrap { padding: 16px 14px; }
  .preloader-logo-img { width: 135px; }
  .preloader-bar { width: 140px; }
}
