@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
   KSK CONSTRUCTIONS & BUILDERS — BRAND DESIGN SYSTEM
   ─────────────────────────────────────────────────────
   PRIMARY GREEN  : #2E7D32  (KSK logo emblem & trees)
   DARK TEAL BLUE : #1A4971  (KSK "CONSTRUCTIONS & BUILDERS" banner)
   ===================================================== */

:root {
  /* ── Core Brand Colors ── */
  --ksk-green: #2E7D32;
  /* logo green */
  --ksk-green-dark: #1B5E20;
  /* deep green for hovers/accents */
  --ksk-green-light: #43A047;
  /* lighter green for subtle touches */
  --ksk-green-muted: #E8F5E9;
  /* very light green tint */

  --ksk-teal: #1A4971;
  /* logo teal banner */
  --ksk-teal-dark: #113255;
  /* darker teal for hovers */
  --ksk-teal-light: #235B8A;
  /* lighter teal for accents */
  --ksk-teal-muted: #E8EFF6;
  /* very light teal tint */

  /* ── Neutral Colors ── */
  --white: #FFFFFF;
  --light-bg: #F5F8F5;
  /* very subtle green-white bg */
  --border-light: #DDE8DD;
  /* soft green-tinted border */
  --text-dark: #0F1F0F;
  /* near-black with green undertone */
  --text-mid: #2D3F2D;
  /* dark green-gray for body text */
  --text-light: #556555;
  /* muted green-gray for secondary text */

  /* ── Shadows ── */
  --shadow-xs: 0 1px 4px rgba(26, 73, 113, 0.07);
  --shadow-sm: 0 2px 10px rgba(26, 73, 113, 0.09);
  --shadow-md: 0 8px 32px rgba(26, 73, 113, 0.13);
  --shadow-lg: 0 16px 56px rgba(26, 73, 113, 0.18);

  /* ── Misc ── */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --transition: all 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section {
  padding: 100px 0;
}

.section-bg-light {
  background: var(--light-bg);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ksk-teal);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-light);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Green primary button */
.btn-primary {
  background: var(--ksk-green);
  color: var(--white);
  border-color: var(--ksk-green);
}

.btn-primary:hover {
  background: var(--ksk-green-dark);
  border-color: var(--ksk-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.32);
}

/* Teal secondary button */
.btn-secondary {
  background: transparent;
  color: var(--ksk-teal);
  border-color: var(--ksk-teal);
}

.btn-secondary:hover {
  background: var(--ksk-teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 73, 113, 0.28);
}

/* White outline button (on dark bg) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--ksk-green);
  border-color: var(--white);
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(26, 73, 113, 0.10);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ksk-green);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) {
  color: var(--ksk-green);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  width: 100%;
}

.nav-links .btn {
  margin-left: 8px;
}

/* =====================================================
   HEADER NAV DROPDOWN
   ===================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(26, 73, 113, 0.14);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
}

.nav-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .dropdown-menu a {
  display: flex !important;
  align-items: center;
  padding: 10px 18px !important;
  font-size: 0.92rem !important;
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.nav-dropdown .dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown .dropdown-menu a:hover,
.nav-dropdown .dropdown-menu a.active {
  background: var(--ksk-green-muted) !important;
  color: var(--ksk-green) !important;
  padding-left: 22px !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--ksk-teal);
  line-height: 1;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1100;
}

/* =====================================================
   PAGE BANNER  (inner pages)
   ===================================================== */
.page-banner {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: var(--white);
  text-align: center;
}

@media (min-width: 769px) {
  .page-banner {
    background-attachment: fixed;
  }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin-bottom: 40px;
  opacity: 0.92;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.trust-statement {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.78;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 100px;
  display: inline-block;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(26, 73, 113, 0.07);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 125, 50, 0.18);
}

.feature-icon {
  font-size: 2.4rem;
  color: var(--ksk-green);
  margin-bottom: 18px;
}

.feature-card h3 {
  color: var(--ksk-teal);
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* =====================================================
   PROCESS TIMELINE CARDS
   ===================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.timeline-card {
  background: var(--white);
  padding: 36px 28px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--ksk-green);
  overflow: hidden;
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-top-color: var(--ksk-teal);
}

.timeline-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--ksk-green-muted);
  position: absolute;
  bottom: -8px;
  right: 14px;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.timeline-card h3 {
  color: var(--ksk-teal);
  margin-bottom: 10px;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.timeline-card p {
  color: var(--text-light);
  font-size: 0.96rem;
  position: relative;
  z-index: 1;
  line-height: 1.75;
}

/* =====================================================
   STEP-BY-STEP DELIVERY
   ===================================================== */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1040px;
  margin: 56px auto 0;
}

@media (min-width: 768px) {
  .steps-container {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
  }

  .step-item {
    flex: 1;
    position: relative;
    padding: 0 10px;
    text-align: center;
  }

  .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 29px;
    left: calc(50% + 32px);
    width: calc(100% - 62px);
    height: 2px;
    background: linear-gradient(to right, var(--ksk-green), var(--ksk-teal-muted));
    z-index: 0;
  }
}

.step-circle {
  width: 60px;
  height: 60px;
  background: var(--ksk-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(46, 125, 50, 0.12);
  transition: var(--transition);
}

.step-item:hover .step-circle {
  transform: scale(1.1);
  background: var(--ksk-teal);
  box-shadow: 0 0 0 12px rgba(26, 73, 113, 0.15);
}

.step-content h3 {
  color: var(--ksk-teal);
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--ksk-green);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  color: var(--ksk-teal);
  font-weight: 700;
  font-size: 0.93rem;
}

/* Testimonials on dark bg-image section */
.bg-image-section .testimonial-card {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  border-left: 4px solid var(--ksk-green-light);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-image-section .testimonial-text {
  color: rgba(255, 255, 255, 0.9);
}

.bg-image-section .testimonial-author {
  color: #7EC8E3;
}

/* =====================================================
   BG IMAGE SECTION (Testimonials, CTA banners)
   ===================================================== */
.bg-image-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.bg-image-section::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Teal-dominant overlay matching logo banner */
  background: linear-gradient(135deg, rgba(17, 50, 85, 0.92) 0%, rgba(26, 73, 113, 0.88) 100%);
  z-index: -1;
}

.bg-image-section .section-title,
.bg-image-section .section-subtitle {
  color: var(--white);
}

/* =====================================================
   IMAGE + TEXT GRID LAYOUT
   ===================================================== */
.image-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 992px) {
  .image-text-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* =====================================================
   SERVICE CARDS (with images)
   ===================================================== */
.service-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-top: 3px solid var(--ksk-green);
}

.service-card-body .feature-icon {
  margin-bottom: 10px;
  font-size: 1.9rem;
}

.service-card-body h3 {
  margin-bottom: 8px;
}

.service-card-body p {
  flex-grow: 1;
  margin-bottom: 18px;
}

/* =====================================================
   VISION / MISSION CARDS
   ===================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.about-card {
  background: var(--ksk-teal);
  color: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--ksk-green);
}

.about-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.08);
}

.about-card h3 {
  font-size: 1.55rem;
  margin-bottom: 18px;
  color: #7EC8E3;
  position: relative;
  z-index: 1;
}

.about-card p {
  font-size: 1.02rem;
  opacity: 0.9;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 50, 85, 0.88), rgba(46, 125, 50, 0.78));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2.2rem;
  transform: scale(0.6);
  transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 50, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--ksk-green);
  border-color: var(--ksk-green);
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  margin-bottom: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 1.2rem;
  color: var(--ksk-green);
  background: var(--ksk-green-muted);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.contact-info-text h3 {
  font-size: 1rem;
  color: var(--ksk-teal);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-light);
  font-size: 0.96rem;
}

.contact-info-text a:hover {
  color: var(--ksk-green);
}

.contact-form {
  background: var(--white);
  padding: 48px 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 73, 113, 0.08);
}

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

.form-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ksk-teal);
  letter-spacing: 0.2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-dark);
  background: #fafcfa;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--ksk-green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231A4971' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-message.success {
  display: block;
  background: var(--ksk-green-muted);
  color: var(--ksk-green-dark);
  border: 1px solid var(--ksk-green);
}

.form-message.error {
  display: block;
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

.error-text {
  color: #C62828;
  font-size: 0.82rem;
  margin-top: 5px;
  display: none;
}

.form-control.invalid {
  border-color: #EF9A9A;
  background: #fff8f8;
}

.form-control.invalid+.error-text {
  display: block;
}

/* =====================================================
   FOOTER  —  KSK Teal Banner (matches logo bottom)
   ===================================================== */
.footer {
  background: var(--ksk-teal);
  color: var(--white);
  padding: 88px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.05fr 1.45fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--ksk-green);
  border-radius: 2px;
}

.footer-col>p {
  opacity: 0.78;
  font-size: 0.93rem;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-links li,
.footer-links a {
  opacity: 0.82;
  font-size: 0.93rem;
  line-height: 1.6;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--ksk-green-light);
  padding-left: 4px;
}

.footer-links i {
  width: 18px;
  color: var(--ksk-green-light);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-links li {
  margin-bottom: 16px;
  gap: 12px;
}

.footer-contact-links li i {
  width: 24px;
  min-width: 24px;
  font-size: 1.35rem;
  color: var(--ksk-green-light);
  flex-shrink: 0;
  margin-top: 2px;
  text-align: center;
  transition: transform var(--transition), color var(--transition);
}

.footer-contact-links li i.fa-whatsapp {
  font-size: 1.5rem;
  color: #25D366;
}

.footer-contact-links li i.fa-phone {
  font-size: 1.3rem;
}

.footer-contact-links li i.fa-location-dot {
  font-size: 1.35rem;
}

.footer-contact-links li:hover i {
  transform: scale(1.12);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-links a:hover {
  background: var(--ksk-green);
  border-color: var(--ksk-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.87rem;
  opacity: 0.62;
  line-height: 1.9;
}

/* =====================================================
   RESPONSIVE — TABLET  (≤ 992px)
   ===================================================== */
@media (max-width: 992px) {
  .section {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ===================================================== */
@media (max-width: 768px) {

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
    gap: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links a:not(.btn) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  /* Mobile nav dropdown */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light-bg);
    width: 100%;
    border-radius: var(--radius-sm);
    margin: 6px 0 10px;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown .dropdown-menu a {
    padding: 10px 16px !important;
    font-size: 0.94rem !important;
    border-bottom: none !important;
  }

  .nav-links .btn {
    width: 100%;
    margin: 22px 0 0;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Header */
  .logo img {
    max-height: 60px;
  }

  /* Hero */
  .hero {
    background-attachment: scroll;
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: 0.97rem;
    padding: 0 8px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .trust-statement {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    padding: 10px 16px;
  }

  /* Typography */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 1.9rem);
  }

  .section-subtitle {
    font-size: 0.97rem;
    margin-bottom: 40px;
  }

  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Features & Service Cards */
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 20px;
  }

  .service-card-body {
    padding: 20px 20px 24px;
  }

  .service-card-body h3 {
    font-size: 1.1rem;
  }

  /* About / image-text grid */
  .image-text-grid {
    gap: 36px;
  }

  /* Steps */
  .steps-container {
    gap: 20px;
  }

  .step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .step-circle {
    margin: 0;
    flex-shrink: 0;
  }

  /* Timeline */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Vision / Mission */
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 36px 28px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 24px;
  }

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

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

  /* Page banner */
  .page-banner {
    background-attachment: scroll !important;
    padding: 120px 0 64px !important;
  }

  .page-banner h1 {
    font-size: clamp(1.7rem, 6vw, 2rem) !important;
  }

  .page-banner p {
    font-size: 1rem !important;
    padding: 0 8px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* BG sections */
  .bg-image-section {
    background-attachment: scroll;
  }
}

/* =====================================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ===================================================== */
@media (max-width: 480px) {

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

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

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

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

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .logo img {
    max-height: 54px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .features-grid {
    gap: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .section {
    padding: 48px 0;
  }

  .contact-grid {
    gap: 32px;
  }

  .trust-statement {
    display: none;
  }
}

/* No-crop utility */


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}