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

/* ================================
   Seleira Chua Header / Nav (sc2)
   Safe to drop into WP or non-WP
   ================================ */

/* --- Design tokens --- */
.sc2-header {
  --sc2-bg-top: #253640;         /* top band */
  --sc2-bg-nav: #3b505c;         /* nav bar */
  --sc2-fg: #e7eeec;             /* primary text */
  --sc2-fg-dim: #d5e0de;         /* link/base */
  --sc2-fg-muted: #b8c6c3;       /* subtle */
  --sc2-shadow: rgba(0,0,0,.35);
  --sc2-maxw: 1200px;
}

/* --- Scoped reset (beats most themes) --- */
.sc2-header, .sc2-header * {
  box-sizing: border-box;
}
.sc2-header :where(h1,h2,h3,h4,h5,h6,p,ul,ol,li) { margin: 0; padding: 0; }
.sc2-header :where(ul,ol) { list-style: none; }
.sc2-header :where(a) {
  text-decoration: none;
  color: inherit;
  background: none;
}

/* --- Container utility --- */
.sc2-wrap {
  max-width: var(--sc2-maxw);
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
}

/* =================
   Row 1: Top bar
   ================= */
.sc2-topbar {
  background: var(--sc2-bg-top);
  color: var(--sc2-fg);
  padding-block: clamp(16px, 3.3vw, 28px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
}

.sc2-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sc2-brand-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--sc2-fg);
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  white-space: nowrap;
}

/* =================
   Row 2: Sticky Nav
   ================= */
.sc2-nav {
  position: sticky; top: 0; z-index: 999;
  background: var(--sc2-bg-nav);
  color: var(--sc2-fg-dim);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.03) inset,
    0 6px 12px -6px var(--sc2-shadow);
}

/* Inner wrapper keeps menu centered */
.sc2-nav .sc2-navwrap {
  display: flex;
  align-items: center;
  justify-content: center; /* centers menu horizontally */
  min-height: clamp(52px, 6vw, 72px);
  gap: 16px;
}

/* Burger (mobile only) */
.sc2-burger {
  appearance: none;
  border: 0;
  background: transparent;
  width: 42px; height: 42px;
  display: none;               /* hidden on desktop */
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--sc2-fg);
}
.sc2-burger:focus-visible { outline: 2px solid var(--sc2-fg); outline-offset: 2px; }
.sc2-burger-bar,
.sc2-burger-bar::before,
.sc2-burger-bar::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.sc2-burger-bar::before { position: absolute; top: -7px; }
.sc2-burger-bar::after  { position: absolute; top: 7px; }

/* Menu layout */
.sc2-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 90px);
  /* reset any theme menu styles */
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}

.sc2-menu > li { display: block; }
.sc2-menu a {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.2;
  color: var(--sc2-fg-dim) !important;     /* beat themes */
  padding: 12px 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.sc2-menu a:hover,
.sc2-menu a:focus-visible {
  color: var(--sc2-fg) !important;
  border-color: rgba(231,238,236,.65);
}

/* Active state helper (optional: add .is-active to current link) */
.sc2-menu a.is-active { color: var(--sc2-fg) !important; border-color: var(--sc2-fg); }

/* =================
   Responsiveness
   ================= */
@media (max-width: 980px) {
  .sc2-nav .sc2-navwrap { justify-content: space-between; }
  .sc2-burger { display: inline-flex; }

  /* Mobile menu closed by default; open when nav has .is-open */
  .sc2-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px 0 !important;
  }
  .sc2-nav.is-open .sc2-menu { display: flex; }

  .sc2-menu a { padding: 10px 0; border: none; }
}

/* =================
   Tough theme overrides
   ================= */
/* Kill theme borders/backgrounds/shadows that leak into nav */
.sc2-header .sc2-topbar, .sc2-header .sc2-nav {
  border: none !important;
  background-image: none !important;
}
/* Override theme text alignment/utilities that may conflict */
.sc2-header .text-center { text-align: center !important; }

/* If any theme applies .menu, .navbar, etc., ensure sc2 wins */
.sc2-header .navbar, .sc2-header .menu, .sc2-header nav, .sc2-header ul {
  border: 0 !important;
  box-shadow: none !important;
}

/* High z-index to float above sticky admin bars in WP */
body.admin-bar .sc2-nav { top: 32px; }  /* adjusts under WP admin bar */

/* Optional: smooth color on scroll (subtle) */
@media (prefers-reduced-motion: no-preference) {
  .sc2-nav { transition: background-color .25s ease, box-shadow .25s ease; }
}



footer{
  font-family: "Cormorant Garamond", serif;
}

    :root {
      --navy: #0c171b;
      --navy-soft: #111f25;
      --sage: #a1aa97;
      --sage-dark: #8c9685;
      --page-bg: #dde1e1;
      --page-bg-soft: #cfd4d4;
      --text-main: #0f172a;
      --text-muted: #000000;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSycstemFont, "Segoe UI", sans-serif;
      background: var(--page-bg);
      color: var(--text-main);
      scroll-behavior: smooth;
    }

    /* Hero */
    .hero {
      background:
        linear-gradient(180deg, #101b20 0%, #0b1518 60%, #0b1518 100%),
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08) 0, transparent 55%);
      color: #f9fafb;
      padding-top: 5.5rem;
      padding-bottom: 5.5rem;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: -40%;
      background:
        radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.35) 0, transparent 60%),
        radial-gradient(circle at 100% 0, rgba(148, 163, 184, 0.25) 0, transparent 60%);
      opacity: 0.12;
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
    }
    .hero-title {
      font-size: clamp(2.6rem, 3.4vw + 1rem, 3.8rem);
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .35rem .9rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      font-size: .75rem;
      color: #e5e7eb;
      text-transform: uppercase;
      letter-spacing: .15em;
      margin-bottom: 1rem;
    }
    .hero-lead {
      font-size: 1.02rem;
      color: #e5e7eb;
    }
    .hero-img-wrap {
      position: relative;
      display: inline-block;
    }
    .hero-img {
      max-width: 320px;
      border-radius: 0;
      box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
      border: 8px solid #111827;
    }
    .hero-tag {
      position: absolute;
      bottom: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--sage);
      color: #111827;
      padding: .55rem 1.4rem;
      font-size: .75rem;
      text-transform: uppercase;
      letter-spacing: .14em;
      white-space: nowrap;
    }

    .btn-sage {
      background: #ceb590;
      border-color: var(--sage);
      color: #111827;
      border-radius: 0;
      letter-spacing: .03em;
      text-transform: uppercase;
      font-size: 0.8rem;
      padding: 0.8rem 1.8rem;
    }
    .btn-sage:hover {
      background: #e3d0b3;
      border-color: var(--sage-dark);
      color: #111827;
    }
    .btn-outline-light-flat {
      border-radius: 0;
      border-color: #e5e7eb;
      color: #e5e7eb;
      text-transform: uppercase;
      letter-spacing: .03em;
      font-size: 0.8rem;
      padding: 0.8rem 1.8rem;
    }
    .btn-outline-light-flat:hover {
      background: #e5e7eb;
      color: #111827;
    }
    .btn-outline-light-flat i {
      margin-right: .4rem;
    }

    /* Sections */
    section {
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
    .section-label {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.7rem;
      color: #9ca3af;
      font-weight: 600;
    }
    .section-title {
      font-size: 2rem;
      font-weight: 500;
    }

    .section-title-small {
      font-size: 1.5rem;
      font-weight: 500;
    }


    .section-dark {
      background: var(--navy);
      color: #f9fafb;
    }
    .section-light {
      background: var(--page-bg);
      color: var(--text-main);
    }
    .section-sage {
      background: ##eaf1e3;
      color: #111827;
    }

    .about-copy p,
    .ec-copy p {
      font-size: 0.98rem;
      line-height: 1.7;
      color: #000000;
    }
    .section-dark .about-copy p,
    .section-dark .ec-copy p {
      color: #ffffff;
    }

    .service-icon {
      width: 5vh;
      height: 5vh;
      border-radius: 999px;
      border: 1px solid rgba(15, 23, 42, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      font-size: 2rem;
    }

    .stats-card {
      background: var(--navy-soft);
      color: #f9fafb;
      padding: 3rem;
    }
    .stat-number {
      font-size: 2.2rem;
      font-weight: 500;
    }
    .stat-label {
      font-size: 0.9rem;
      color: #9ca3af;
    }

    .project-card {
      background: #0f172a;
      color: #f9fafb;
      border-radius: 0;
      border: none;
      padding: 2.5rem 2rem;
    }
    .project-badge {
      font-size: 0.7rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #9ca3af;
      margin-bottom: .75rem;
    }
    .project-card p {
      color: #e5e7eb;
      font-size: 0.95rem;
    }
    .project-card ul {
      font-size: 0.85rem;
      color: #cbd5f5;
    }

    /* Past EC projects – pill cards */
    .past-ec-list {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 1.25rem;
    }
    .past-ec-item {
      padding: 0.85rem 1.2rem;
      border-radius: 0.75rem;
      border: 1px solid #9ca3af;
      background: #e5e7eb;
      min-width: 260px;
      max-width: 100%;
    }
    .past-ec-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.1rem;
    }
    .past-ec-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* Testimonials */
    .testimonial {
      max-width: 760px;
      margin: 0 auto 2.5rem;
      text-align: center;
    }
    .testimonial-quote {
      font-size: 2rem;
      line-height: 1.2;
      font-style: italic;
    }
    .testimonial-meta {
      margin-top: 0.75rem;
      font-size: 0.9rem;
      font-weight: 600;
    }
    .testimonial-date {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    /* Hide default carousel controls/indicators */
    #testimonialCarousel .carousel-indicators,
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
      display: none;
    }

    .contact-bg {
      background: var(--page-bg-soft);
      position: relative;
    }
    .contact-panel {
      background: var(--sage);
      padding: 3rem;
      max-width: 740px;
      margin: 0 auto;
    }
    .contact-panel .form-control,
    .contact-panel .form-check-input {
      border-radius: 0;
      border-color: #9ca3af;
      background: rgba(255, 255, 255, 0.85);
    }
    .contact-panel .form-control:focus {
      box-shadow: none;
      border-color: #111827;
    }

    .small-muted {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .section-dark .small-muted {
      color: #9ca3af;
    }

.sc2-brand-name {font-family: "Cormorant Garamond", serif; font-size:3vh;}
.sc2-menu {font-family: "Cormorant Garamond", serif; font-size:1.5vh;}

    footer {
      background: var(--navy);
      color: #e5e7eb;
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    footer a {
      color: #e5e7eb;
      text-decoration: underline;
    }
    footer a:hover {
      color: #ffffff;
    }

    /* Floating WhatsApp button */
    .whatsapp-float {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      width: 56px;
      height: 56px;
      border-radius: 999px;
      background: #25d366;
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      z-index: 1050;
    }
    .whatsapp-float i {
      font-size: 1.6rem;
    }
    .whatsapp-float:hover {
      background: #1ebe5d;
      color: #ffffff;
      text-decoration: none;
    }
    @media (max-width: 575.98px) {
      .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
      }
    }

    @media (max-width: 991.98px) {
      .hero {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
      }
    }
