/* ============================================================
   Creative Elements — Main Stylesheet
   Design: Dark navy with purple / orange / teal accent, Poppins
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --navy:    #0A0F1E;
  --navy2:   #111827;
  --navy3:   #1a2235;
  --primary: #804899;
  --orange:  #ff9243;
  --teal:    #5bc1c1;
  --text:    #313131;
  --white:   #FFFFFF;
  --off:     #F7F8FC;
  --gray:    #8892A4;
  --light:   #E2E8F0;
  --radius:  12px;
  --trans:   all .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

/* ---- Custom Cursor (desktop with a real mouse only) ---- */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }
  .cursor-dot {
    width: 8px; height: 8px;
    background: var(--primary);
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid var(--primary);
    transition: width .2s ease, height .2s ease, background .2s ease;
  }
  .cursor-ring.cursor-hover {
    width: 52px; height: 52px;
    background: rgba(128,72,153,.08);
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  animation: pageFadeIn .4s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.page-exiting { opacity: 0; transition: opacity .28s ease; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.18;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }

/* Headings that sit on dark backgrounds stay white */
.page-hero h1, .page-hero h2, .page-hero h3,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.why-card h1, .why-card h2, .why-card h3,
.contact-card h1, .contact-card h2, .contact-card h3,
.footer h1, .footer h2, .footer h3, .footer h4 {
  color: var(--white);
}

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
  display: block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: var(--trans);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy3); transform: translateY(-2px); }

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light);
  transition: var(--trans);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 75px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: .95rem;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.2;
}
.logo-text em { font-style: normal; color: var(--teal); }
.logo-light .logo-text, .logo-light .logo-mark { color: var(--white); }
.logo-light .logo-text em { color: var(--teal); }
.logo-img { width: 280px; height: 57px; object-fit: contain; object-position: left center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-menu a {
  padding: .5rem .85rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: var(--trans);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--orange); background: rgba(255,146,67,.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: var(--trans);
  border-radius: 2px;
}

/* Homepage: header floats transparent over the hero slider until scrolled */
body.page-index .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
body.page-index .navbar {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.page-index .navbar:not(.scrolled) .logo-mark,
body.page-index .navbar:not(.scrolled) .logo-text { color: var(--white); }
body.page-index .navbar:not(.scrolled) .logo-text em { color: var(--teal); }
body.page-index .navbar:not(.scrolled) .nav-menu a { color: #000000; }
body.page-index .navbar:not(.scrolled) .nav-menu a:hover,
body.page-index .navbar:not(.scrolled) .nav-menu a.active { color: var(--orange); background: rgba(255,255,255,.1); }
body.page-index .navbar:not(.scrolled) .nav-toggle span { background: var(--white); }
/* Mobile dropdown panel is always opaque white, so its links stay dark regardless of scroll state */
body.page-index .navbar:not(.scrolled) .nav-menu.open a { color: #000000; }
body.page-index .navbar:not(.scrolled) .nav-menu.open a:hover,
body.page-index .navbar:not(.scrolled) .nav-menu.open a.active { color: var(--orange); background: rgba(255,146,67,.08); }
body.page-index .navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--light);
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: var(--white);
  height: 600px;
  position: relative;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform .8s cubic-bezier(.65,0,.35,1);
  z-index: 1;
}
.hero-slide.active { transform: translateX(0); z-index: 2; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(10,15,30,.35);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--trans);
}
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero-slide .container {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  width: 100%;
  max-width: 1180px;
}
.hero-content { max-width: 640px; margin-left: auto; text-align: right; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(91,193,193,.15);
  border: 1px solid rgba(91,193,193,.3);
  color: var(--teal);
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); margin-bottom: 1.25rem; color: var(--text); }
.hero p { font-size: .95rem; color: var(--text); max-width: 520px; margin-bottom: 1.5rem; margin-left: auto; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.hero-cta .btn { font-size: .82rem; padding: .7rem 1.5rem; }

/* ---- Stats Band ---- */
.stats-band {
  background: var(--white);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #C9CED9;
  text-stroke: 2px #C9CED9;
}
.stat-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .2rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
}
.stat-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ---- Section ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--off); }
.section-dark { background: var(--navy); color: var(--white); }
.section-header { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--text); margin-top: .75rem; }
.section-dark .section-header p { color: rgba(255,255,255,.6); }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--trans);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(128,72,153,.12);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(255,146,67,.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--orange);
}
.service-card h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.service-card p { color: var(--text); font-size: .9rem; }
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ---- Process Steps ---- */
.process-header { text-align: left; max-width: none; margin: 0 0 3rem 0; }
.process-flow { display: flex; align-items: flex-start; }
.process-step { flex: 1; min-width: 0; }
.process-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.process-arrow {
  flex-shrink: 0;
  width: 50px;
  padding-top: .7rem;
  color: var(--primary);
  font-size: 1.5rem;
  text-align: center;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--navy2); }
.process-step p { color: var(--gray); font-size: .88rem; line-height: 1.65; padding-right: 1.25rem; }

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
}
.team-photo-placeholder {
  background: var(--off);
  border: 2px dashed var(--light);
  color: var(--gray);
  font-size: .85rem;
  display: grid;
  place-items: center;
}
.team-card h4 { color: var(--navy2); font-size: 1.05rem; margin-bottom: .25rem; }
.team-card span { color: var(--gray); font-size: .85rem; }

/* ---- Homepage Services Showcase ---- */
.services-showcase {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: stretch;
}
.services-showcase-left { display: flex; flex-direction: column; }
.services-showcase-left h2 { color: var(--navy2); margin-top: 0; margin-bottom: 1.25rem; }
.services-showcase-left p { color: var(--gray); font-size: .95rem; line-height: 1.7; margin-bottom: 1.75rem; }
.services-showcase-left .btn { margin-top: auto; align-self: flex-start; }
.services-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}
.services-showcase-item h3 { color: var(--navy2); font-size: 1.2rem; margin-bottom: .6rem; }
.services-showcase-item p { color: var(--gray); font-size: .92rem; line-height: 1.65; }

/* ---- What Makes Us Unique ---- */
.unique-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}
.unique-showcase-image { display: flex; justify-content: center; }
.unique-showcase-image img { max-width: 100%; height: auto; }
.unique-showcase-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--off);
  border: 2px dashed var(--light);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--gray);
  font-size: .9rem;
  text-align: center;
  padding: 2rem;
}
.unique-showcase-content h2 { color: var(--primary); font-size: clamp(2.8rem, 5.5vw, 4.2rem); line-height: 1.1; margin-bottom: 1.25rem; }
.unique-showcase-content p { color: var(--gray); font-size: .95rem; line-height: 1.8; }

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy3);
  aspect-ratio: 4/5;
  cursor: pointer;
}
.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy3), var(--navy2));
  color: rgba(255,255,255,.15);
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--trans);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-img { transform: scale(1.05); }
.portfolio-meta h4 { color: var(--white); font-size: 1rem; }
.portfolio-meta span { color: var(--teal); font-size: .8rem; }

/* ---- Homepage Recent Projects (full-width row with arrow navigation) ---- */
.portfolio-scroll-wrap { position: relative; }
.portfolio-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 0 24px 1rem;
}
.portfolio-slide {
  flex: 0 0 auto;
  width: 320px;
}
.portfolio-slide-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.portfolio-slide .portfolio-placeholder { aspect-ratio: 4/5; border-radius: var(--radius); }
.portfolio-slide-caption {
  margin-top: 1rem;
  text-align: center;
  font-style: italic;
  color: var(--gray);
  font-size: .88rem;
}
.portfolio-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--light);
  background: var(--white);
  color: var(--navy2);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  transition: var(--trans);
}
.portfolio-arrow:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.portfolio-arrow-prev { left: 12px; }
.portfolio-arrow-next { right: 12px; }

/* ---- Client Logos ---- */
.logos-section-header { max-width: none; }
.logos-heading { color: #000000; font-weight: 400; font-size: clamp(1rem, 2.2vw, 1.5rem); }
@media (min-width: 600px) {
  .logos-heading { white-space: nowrap; }
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem 1.5rem;
  align-items: center;
}
.logos-item { display: flex; align-items: center; justify-content: center; }
.logos-item img { max-width: 100%; max-height: 75px; width: auto; height: auto; object-fit: contain; }

/* ---- Testimonials ---- */
.reviews-scroll-wrap { position: relative; margin-top: 2rem; }
.reviews-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.testimonial-card {
  flex: 0 0 auto;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stars { color: #FBBF24; font-size: 1rem; margin-bottom: .85rem; letter-spacing: .1em; }
.testimonial-author { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; }
.google-icon { margin-left: auto; flex-shrink: 0; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: .85rem;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; min-width: 0; }
.author-info strong { display: block; color: var(--navy2); font-size: .88rem; }
.author-info span { color: var(--gray); font-size: .75rem; }
.review-text {
  color: var(--text);
  font-size: .88rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-text.expanded { -webkit-line-clamp: unset; overflow: visible; }
.review-more {
  display: block;
  background: none;
  border: none;
  color: var(--gray);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: .5rem 0 0;
}
.review-more:hover { color: var(--primary); }
.review-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--light);
  background: var(--white);
  color: var(--navy2);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  transition: var(--trans);
}
.review-arrow:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.review-arrow-prev { left: -14px; }
.review-arrow-next { right: -14px; }

/* ---- Why Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
  width: 28px; height: 28px;
  background: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.why-check svg { width: 14px; height: 14px; color: white; stroke: white; stroke-width: 3; }
.why-item h4 { font-size: 1rem; margin-bottom: .25rem; color: var(--text); }
.why-item p { color: var(--text); font-size: .88rem; }

.why-visual {
  position: relative;
  padding: 1.5rem;
}
.why-visual-image { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.why-visual-placeholder {
  width: 100%;
  min-height: 320px;
  background: var(--off);
  border: 2px dashed var(--light);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gray);
  font-size: .9rem;
  text-align: center;
  padding: 2rem;
}
.why-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
}
.why-card h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.why-card p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1.5rem; }
.why-badge {
  display: inline-block;
  background: rgba(91,193,193,.15);
  border: 1px solid rgba(91,193,193,.3);
  color: var(--teal);
  padding: .4rem .9rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  margin: .25rem;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--primary);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 2rem; }
.cta-section .btn-outline { border-color: rgba(255,255,255,.5); }

.cta-section-light { background: var(--white); }
.cta-section-light h2 { color: #000000; }
.cta-section-light p { color: #000000; }
.cta-section-light .btn-outline { color: var(--navy2); border-color: var(--light); }
.cta-section-light .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: transparent; }

/* ---- Growth CTA Banner (full-width photo band) ---- */
.cta-banner {
  position: relative;
  background: var(--navy) center/cover no-repeat;
  padding: 4.5rem 0;
  overflow: hidden;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,15,30,.55);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner-content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-banner-content h2 { color: var(--white); margin-bottom: .6rem; }
.cta-banner-content p { color: rgba(255,255,255,.9); font-size: 1.15rem; }

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--light);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(128,72,153,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success, .form-error {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  display: none;
}
.form-success { background: #D1FAE5; color: #065F46; }
.form-error { background: #FEE2E2; color: #991B1B; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 { margin-bottom: 1.25rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { color: var(--orange); margin-top: .1rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: .8rem; color: var(--gray); margin-bottom: .15rem; font-weight: 500; }
.contact-item a { color: rgba(255,255,255,.85); font-size: .92rem; }
.contact-item a:hover { color: var(--teal); }

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  border: 1px solid var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
  background: var(--white);
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--navy3);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.15);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.5rem; }
.blog-cat {
  display: inline-block;
  background: rgba(91,193,193,.1);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.blog-body h3 { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.4; }
.blog-body p { color: var(--text); font-size: .88rem; }
.blog-meta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--light); font-size: .8rem; color: var(--gray); }

/* ---- Page Hero ---- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-hero p { color: rgba(255,255,255,.7); margin-top: .75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.page-hero-light { background: var(--white); }
.page-hero-light h1,
.page-hero-light h2,
.page-hero-light h3 { color: #000000; }
.page-hero-light p { color: #000000; }

/* ---- WhatsApp button ---- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  margin-top: 1rem;
  transition: var(--trans);
}
.btn-whatsapp:hover { background: #1db954; transform: translateY(-2px); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--trans);
}
.wa-float:hover { transform: scale(1.1); }

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: 1rem; line-height: 1.7; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  color: var(--gray);
  transition: var(--trans);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer h4 { font-size: .9rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer-contact p { color: rgba(255,255,255,.55); font-size: .88rem; margin-bottom: .65rem; line-height: 1.5; }
.footer-contact a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .8rem; }

/* ---- Alert / Flash ---- */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.alert-success { background: #D1FAE5; color: #065F46; }
.alert-error { background: #FEE2E2; color: #991B1B; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { flex-wrap: wrap; }
  .process-step { flex: 1 1 40%; margin-bottom: 2rem; }
  .process-arrow { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .services-showcase { grid-template-columns: 1fr; gap: 2.5rem; }
  .unique-showcase { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--light);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-menu.open { display: flex; }
  .nav-inner { position: relative; padding: 1rem 20px; justify-content: space-between; }
  .logo-img { width: 135px; height: 27px; }
  .navbar { position: sticky; }
  .hero { height: 480px; }
  .hero-slide { background-image: var(--bg-mobile); align-items: flex-end; }
  .hero-slide .container { padding-top: 0; padding-bottom: 30px; }
  .hero-content { text-align: center; margin-left: auto; margin-right: auto; max-width: 100%; }
  .hero-badge {
    font-size: .52rem;
    padding: .25rem .65rem;
    margin-bottom: .7rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* !important so every slide is the same size on mobile, even ones with a custom desktop Heading Font Size set in admin */
  .hero h1 { font-size: clamp(1.15rem, 4.2vw, 1.4rem) !important; margin-bottom: .5rem; }
  .hero p { font-size: .78rem; margin-left: auto; margin-right: auto; margin-bottom: .7rem; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { font-size: .68rem; padding: .45rem .9rem; }
  .services-showcase-grid { grid-template-columns: 1fr; gap: 2rem; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .process-flow { flex-direction: column; }
  .process-step { flex: 1 1 auto; margin-bottom: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Tighter section rhythm on small screens */
  .section { padding: 3.25rem 0; }
  .stats-band { padding: 2.5rem 0; }
  .cta-section, .cta-section-light { padding: 3.5rem 0; }
  .cta-banner { padding: 3rem 0; }
  .cta-banner-content p { font-size: 1rem; }
  .page-hero, .page-hero-light { padding: 3.5rem 0 3rem; }

  /* Hero slider arrows — smaller and inset so they don't crowd the text */
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }

  /* Recent Projects row — the fixed 320px tile left almost no margin on a phone,
     so the arrow buttons were sitting on top of the image itself */
  .portfolio-scroll { padding: 0 16px 1rem; gap: 1rem; }
  .portfolio-slide { width: 74vw; max-width: 260px; }
  .portfolio-arrow { width: 38px; height: 38px; }
  .portfolio-arrow-prev { left: 4px; }
  .portfolio-arrow-next { right: 4px; }

  /* Reviews row — same fixed-width issue as the projects row */
  .reviews-scroll { gap: 1rem; }
  .testimonial-card { width: 78vw; max-width: 270px; padding: 1.25rem; }
  .review-arrow { width: 36px; height: 36px; }
  .review-arrow-prev { left: -6px; }
  .review-arrow-next { right: -6px; }

  /* Dark info cards feel cramped at full desktop padding on a narrow screen */
  .why-card, .contact-card { padding: 1.5rem; }
  .service-card { padding: 1.5rem; }
}

@media (max-width: 400px) {
  .portfolio-slide { width: 82vw; }
  .testimonial-card { width: 84vw; }
}
