@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --green:       #2d6a4f;
  --green-dark:  #1b4332;
  --green-light: #d8f3dc;
  --green-mid:   #40916c;
  --gold:        #b5903a;
  --gold-light:  #f9f0dc;
  --gold-bright: #c9a84c;
  --white:       #ffffff;
  --off-white:   #f8f9f4;
  --text:        #1a1a1a;
  --text-muted:  #5a6370;
  --text-light:  #9aa3ae;
  --border:      #e4e9e2;
  --shadow-sm:   0 1px 4px rgba(45,106,79,.07);
  --shadow-md:   0 4px 24px rgba(45,106,79,.10);
  --shadow-lg:   0 12px 40px rgba(45,106,79,.14);
  --radius:      14px;
  --radius-sm:   8px;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* ── GLOBAL OVERFLOW FIX ── */
*, *::before, *::after { max-width: 100%; }
img, video, iframe, embed, object { max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center;
  padding: 0 5%;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  font-size: .88rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: color .2s; position: relative; padding-bottom: 9px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--green);
  color: white !important;

  padding: 0.6rem 1.4rem;

  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;

  text-decoration: none;
  border: none;
  outline: none;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  transition: all 0.25s ease;
}

/* Remove underline effect if any */
.nav-cta::after {
  display: none !important;
}

/* Hover */
.nav-cta:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Active click */
.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}



.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 5% 2rem; flex-direction: column; gap: 1rem;
  z-index: 199; box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .95rem; font-weight: 500; color: var(--text);
  text-decoration: none; padding: .5rem 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; }
.mobile-menu .mob-cta {
  background: var(--green); color: var(--white) !important;
  padding: .8rem 1.5rem; border-radius: 50px; text-align: center; margin-top: .3rem;
}

/* ── PAGE TOP PAD ── */
.page-top { padding-top: 68px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green); color: var(--white);
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer; display: inline-flex;
  align-items: center; gap: .5rem;
  box-shadow: 0 4px 16px rgba(45,106,79,.28);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,106,79,.35); }

.btn-secondary {
  background: transparent; color: var(--text);
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--border); cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold); color: var(--white);
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 16px rgba(181,144,58,.3);
  transition: background .2s, transform .15s;
}
.btn-gold:hover { background: #9a7a30; transform: translateY(-2px); }

/* ── SECTION COMMONS ── */
section { padding: 90px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green-light); color: var(--green);
  padding: .3rem 1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; margin-bottom: .9rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.75; font-weight: 300;
}

.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── FOOTER ── */
footer {
  background: var(--green-dark); color: rgba(255,255,255,.72);
  padding: 70px 5% 30px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 2rem;
}
.footer-logo img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 1rem; display: block; }
.footer-desc { font-size: .83rem; line-height: 1.75; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-head); font-size: .88rem; font-weight: 700;
  color: var(--white); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a {
  color: rgba(255,255,255,.6); text-decoration: none;
  font-size: .82rem; transition: color .2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-contact p { font-size: .82rem; margin-bottom: .55rem; display: flex; align-items: center; gap: .5rem; }
.footer-contact a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .76rem; color: rgba(255,255,255,.38);
}

/* ── WHATSAPP STICKY ── */
.wa-sticky {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  overflow: visible;
}

.wa-sticky svg { width: 28px; height: 28px; fill: #fff; }
.wa-sticky:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

.wa-pulse {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2);   opacity: 0; }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* ── COUNTER ANIMATION ── */
.count-num {
  font-family: var(--font-head);
  display: inline-block;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--off-white); padding: 100px 5% 70px;
  border-bottom: 1px solid var(--border); text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: var(--green-light); opacity: .5; pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: var(--gold-light); opacity: .4; pointer-events: none;
}
.page-hero .section-sub { margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 4%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}





/* Mobile Responsive */
@media (max-width: 768px) {

  .section-inner > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .timeline {
    padding-left: 1rem;
    border-left: 2px solid var(--border);
  }

  .tl-item {
    position: relative;
    margin-bottom: 1.8rem;
    padding-left: 1.2rem;
  }

  .tl-dot {
    position: absolute;
    left: -7px;
    top: 4px;
    width: 10px;
    height: 10px;
  }

  .tl-year {
    font-size: 0.75rem;
  }

  .tl-title {
    font-size: 0.95rem;
  }

  .tl-desc {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Skills section */
  .reveal-right > div {
    gap: 0.8rem !important;
  }

  .reveal-right span {
    font-size: 0.8rem !important;
  }

  .reveal-right div[style*="height:8px"] {
    height: 6px !important;
  }
}