/* ============================================================
   TRIZION GLOBAL — style.css
   ============================================================ */

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --green-900: #0d2b1e;
  --green-800: #163d2b;
  --green-700: #1e5238;
  --green-600: #2a6b4a;
  --green-500: #3a8f63;
  --green-400: #4db87e;
  --green-300: #7dd5a8;
  --green-100: #e6f4ee;

  --bg-light:  #f7f9f8;
  --bg-white:  #ffffff;
  --bg-section:#f2f6f4;

  --text-dark:  #0d1f16;
  --text-body:  #3d5246;
  --text-muted: #7a9386;
  --text-white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-card: 0 4px 24px rgba(13,43,30,0.08);
  --shadow-card-hover: 0 12px 40px rgba(13,43,30,0.15);
  --shadow-btn: 0 4px 16px rgba(30,82,56,0.35);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

/* ─── Container ─────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,82,56,0.45);
}

.btn-white {
  background: #fff;
  color: var(--green-800);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--green-100);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ─── Section Labels ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
  position: relative;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 56px;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  border-radius: 99px;
  margin: 16px auto 56px;
}

/* ════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30,82,56,0.08);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(13,43,30,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green-600);
  border-radius: 99px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 10px 20px; font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 99px;
  transition: var(--transition);
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #0a1f14 0%, #0d2b1e 50%, #0f2318 100%);
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,107,74,0.22) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-blob-2 {
  position: absolute;
  bottom: -120px; right: 10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(74,184,126,0.10) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { animation: fadeUp 0.8s ease both; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42,107,74,0.25);
  color: var(--green-300);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
  border: 1px solid rgba(74,184,126,0.28);
}
.badge-icon { width: 13px; height: 13px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.highlight { color: var(--green-400); }

.hero-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 0;
  animation: fadeUp 0.8s 0.2s ease both;
}

/* ── Floating Icon Cards ─────────────────────────────── */
.hero-icons-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  animation: fadeUp 0.8s 0.25s ease both;
}

.connector-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-card {
  position: absolute;
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(74,184,126,0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-card i { width: 28px; height: 28px; }
.float-card:hover {
  transform: scale(1.1) translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(74,184,126,0.2);
  border-color: var(--green-400);
}

.float-card--tl     { top: 8%;   left: 12%;  animation: floatA 4s ease-in-out infinite; }
.float-card--tr     { top: 8%;   right: 10%; animation: floatB 4.5s ease-in-out infinite; width: 64px; height: 64px; }
.float-card--center {
  top: 50%;
  left: 50%;
  margin-top: -44px;   /* half of 88px height */
  margin-left: -44px;  /* half of 88px width */
  animation: floatC 3.8s ease-in-out infinite;
  width: 88px;
  height: 88px;
  background: rgba(42,107,74,0.35);
  border-color: rgba(74,184,126,0.55);
}
 
/*.float-card--center i { width: 34px; height: 34px; color: var(--green-300); } */
.float-card--bl     { bottom: 12%; left: 10%; animation: floatB 5s ease-in-out infinite; width: 64px; height: 64px; }
.float-card--br     { bottom: 12%; right: 8%; animation: floatA 4.2s ease-in-out infinite; }


/* ════════════════════════════════════════════════════════
   EXPERTISE / SERVICE CARDS
════════════════════════════════════════════════════════ */
.expertise {
  background: var(--bg-white);
}
.expertise .section-label,
.expertise .section-title { text-align: center; display: block; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(30,82,56,0.10);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: default;
  opacity: 0;
  transform: translateY(24px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(42,107,74,0.24);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px; height: 48px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-700);
  transition: background var(--transition);
}
.card-icon i { width: 22px; height: 22px; }
.service-card:hover .card-icon {
  background: var(--green-700);
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-600);
  transition: gap var(--transition), color var(--transition);
}
.card-link i { width: 14px; height: 14px; transition: transform var(--transition); }
.card-link:hover { color: var(--green-800); gap: 10px; }
.card-link:hover i { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════
   CORE VALUES
════════════════════════════════════════════════════════ */
.values {
  background: var(--bg-section);
}
.values .section-label,
.values .section-title { text-align: center; display: block; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(30,82,56,0.08);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.value-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
.value-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--green-100), var(--green-300));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--green-800);
}
.value-icon i { width: 28px; height: 28px; }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--bg-white);
}

.cta-box {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(77,184,126,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-highlight {
  color: var(--green-300);
}

.cta-sub {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-light);
  border-top: 1px solid rgba(30,82,56,0.1);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 56px;
  align-items: start;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-logo { margin-bottom: 4px; }

.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(30,82,56,0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-socials a i { width: 16px; height: 16px; }
.footer-socials a:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green-700); }

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact ul li i {
  width: 16px; height: 16px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact ul li a,
.footer-contact ul li span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  transition: color var(--transition);
}
.footer-contact ul li a:hover { color: var(--green-700); }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(30,82,56,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-inner span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--green-700); }

/* ─── Back to Top ───────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--green-700);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--green-800); transform: translateY(-3px); }
.back-to-top i { width: 20px; height: 20px; }

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(3deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(-4deg); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-10px) scale(1.04); }
}


/* ── Flutter Card Special Styling ───────────────────── */
.flutter-card .flutter-icon {
  background: var(--green-100);
  color: var(--green-700);
}
.flutter-card:hover .flutter-icon {
  background: var(--green-700);
  color: #fff;
}
.flutter-card .flutter-icon svg {
  width: 24px;
  height: 24px;
}

/* 7-card grid: first row 3, second row 3, third row 1 centered */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flutter-card {
  grid-column: 2 / 3;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .cards-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .flutter-card {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 18px;
    box-shadow: 0 8px 32px rgba(13,43,30,0.12);
    border-bottom: 1px solid rgba(30,82,56,0.1);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-icons-wrap {
    height: 300px;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 48px 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .flutter-card {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .section-pad { padding: 64px 0; }
  .hero { padding: 110px 0 64px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-icons-wrap { height: 260px; }
}
