/* ==========================================================================
   1. GLOBAL VARIABLES & FONTS
   ========================================================================== */
:root {
  --primary: #0d9488;          /* Teal */
  --primary-dark: #0f766e;     /* Teal Dark */
  --primary-light: #ccfbf1;    /* Teal Light */
  --secondary: #10b981;        /* Green */
  --secondary-dark: #047857;   /* Green Dark */
  --accent: #84cc16;           /* Lime / Hijau Muda */
  
  --text-dark: #0f172a;        /* Slate 900 (Text Utama) */
  --text-light: #475569;       /* Slate 600 (Text Deskripsi) */
  --bg-dark: #090d16;          /* Dark Slate */
  --bg-light: #f0fdfa;         /* Teal soft */
  --bg-white: #ffffff;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  
  --shadow-sm: 0 4px 6px -1px rgba(13, 148, 136, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 24px 50px -12px rgba(13, 148, 136, 0.12), 0 8px 16px -8px rgba(0, 0, 0, 0.04);
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #fafdfc;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

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

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

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================================================
   3. BACKGROUND DECORATIONS (GLOW BLOBS)
   ========================================================================== */
.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.blob-1 {
  width: 450px;
  height: 450px;
  top: -150px;
  right: -100px;
  background-color: #ccfbf1; /* teal light */
}

.blob-2 {
  width: 350px;
  height: 350px;
  top: 600px;
  left: -150px;
  background-color: #dcfce7; /* green light */
}

.blob-3 {
  width: 500px;
  height: 500px;
  bottom: 200px;
  right: -200px;
  background-color: #f0fdf4;
}

/* ==========================================================================
   4. CENTRAL HEADER / NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  transition: var(--transition);
}

.site-header.scrolled .nav-wrap {
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
}

.brand-text small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 9px;
  transition: var(--transition);
}

/* Toggle Animation */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   5. UTILITIES & BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg-white);
  box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-nav {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 10px -2px rgba(13, 148, 136, 0.2);
}

.btn-nav:hover {
  transform: scale(1.03);
}

.btn-block {
  width: 100%;
}

.section {
  padding: 100px 0;
}

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

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-eyebrow.light {
  color: #a7f3d0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-title.text-white {
  color: #fff;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulse-dot 2s infinite;
}

.badge-tag span:last-child {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual & Overlapping Stack */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-bg-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(13, 148, 136, 0.1);
  z-index: 1;
}

.logo-box {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: float 6s ease-in-out infinite;
}

.floating-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Floating Info Cards */
.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: max-content;
}

.badge-left {
  top: 15%;
  left: -20px;
  animation: float-left 8s ease-in-out infinite;
}

.badge-right {
  bottom: 15%;
  right: -20px;
  animation: float-right 8s ease-in-out infinite;
}

@keyframes float-left {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(-5px, -10px); }
  100% { transform: translate(0px, 0px); }
}

@keyframes float-right {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(5px, 10px); }
  100% { transform: translate(0px, 0px); }
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

.badge-icon.green { background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%); }
.badge-icon.teal { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }

.floating-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.floating-card span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ==========================================================================
   7. CEO SECTION
   ========================================================================== */
.ceo-section {
  position: relative;
  background-color: var(--bg-white);
  border-top: 1px solid rgba(13, 148, 136, 0.05);
}

.ceo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.ceo-image-wrapper {
  position: relative;
}

.ceo-image-frame {
  text-align: center;
}

.ceo-photo {
  max-width: 100%;
  height: auto;
  display: inline-block;
  transition: var(--transition);
}

.ceo-name-card {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  color: #fff;
  display: inline-block;
}

.ceo-name-card h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.ceo-name-card span {
  font-size: 0.85rem;
  color: #a7f3d0;
  font-weight: 500;
}

.ceo-message {
  padding-left: 12px;
}

.ceo-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
  margin: 18px 0 24px;
  position: relative;
  font-style: italic;
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
}

.ceo-paragraph {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.ceo-signature p {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.signature-line {
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 99px;
}

/* ==========================================================================
   8. SERVICES / PILAR SECTION
   ========================================================================== */
.services-section {
  background-color: #fafdfc;
  border-top: 1px solid rgba(13, 148, 136, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid rgba(13, 148, 136, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.service-card:hover .card-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.card-icon i {
  width: 24px;
  height: 24px;
}

.card-num {
  position: absolute;
  top: 30px;
  right: 40px;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(13, 148, 136, 0.06);
  line-height: 1;
  transition: var(--transition);
}

.service-card:hover .card-num {
  color: rgba(13, 148, 136, 0.15);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--primary-dark);
}

.card-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-dark);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.service-card p:last-child {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   9. TARGET SMART RENSTRA JANGKA MENENGAH (STATS SECTION)
   ========================================================================== */
.stats-section {
  position: relative;
}

.stats-box {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #112d37 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-box .section-eyebrow {
  margin-bottom: 14px;
}

.stats-intro {
  max-width: 620px;
  margin-bottom: 48px;
}

.text-emerald-100 {
  color: #d1fae5;
  font-size: 1.05rem;
}

/* Grid perbaikan untuk Target RENSTRA */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.target-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.target-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.target-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.target-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.target-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.target-title {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.target-desc {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   10. PHILOSOPHY OF LOGO & COLORS (SK IDENTITAS)
   ========================================================================== */
.philosophy-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid rgba(13, 148, 136, 0.05);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.10fr;
  gap: 64px;
  align-items: center;
}

.philosophy-visual {
  display: flex;
  justify-content: center;
}

.logo-display-card {
  position: relative;
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfdf5 100%);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.1);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.philosophy-logo-img {
  width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(13, 148, 136, 0.12));
  animation: float 7s ease-in-out infinite;
}

.display-tag {
  position: absolute;
  bottom: 24px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
}

.philosophy-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.philosophy-elements {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.philosophy-el {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.el-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.philosophy-el strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.philosophy-el p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Color palette segment */
.color-palette-box {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 148, 136, 0.1);
}

.color-palette-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.colors-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.color-item {
  display: flex;
  flex-direction: column;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 6px;
}

.teal-dot { background-color: var(--primary); }
.green-dot { background-color: var(--secondary); }
.lightgreen-dot { background-color: var(--accent); }

.color-item strong {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.color-item p {
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* ==========================================================================
   11. TEAM / PENGURUS SECTION
   ========================================================================== */
.team-section {
  background-color: #fafdfc;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(13, 148, 136, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card-lead {
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  border: 1.5px solid rgba(13, 148, 136, 0.2);
  padding: 40px 32px;
}

.lead-photo {
  width: 110px !important;
  height: 110px !important;
  margin: 0 auto 20px !important;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-md);
}

/* Styling Bingkai Foto Pengurus Bulat Premium */
.member-photo-wrap {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  background-color: #f1f5f9;
}

.member-photo-wrap.large {
  width: 100px;
  height: 100px;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .member-photo {
  transform: scale(1.08);
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.member-role {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.member-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   12. LEGALITY SECTION
   ========================================================================== */
.legality-section {
  background-color: var(--bg-white);
  border-top: 1px solid rgba(13, 148, 136, 0.05);
}

.legality-cards-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.legality-badge-card {
  background: #fafdfc;
  border: 1px solid rgba(13, 148, 136, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  width: min(440px, 100%);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.legality-badge-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.2);
  box-shadow: var(--shadow-md);
}

.badge-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.legality-badge-card strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.legality-badge-card h3 {
  font-size: 1.25rem;
  font-family: monospace;
  color: var(--primary-dark);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
  border: 1px dashed rgba(13, 148, 136, 0.3);
}

.legality-badge-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   13. CONTACT & COLLABORATION
   ========================================================================== */
.contact-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #122c36 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.contact-intro-text {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 18px 0 28px;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-badges span {
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Form Styling */
.contact-form-panel {
  background: var(--bg-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.contact-form-panel p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #fcfdfe;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
  background-color: var(--bg-white);
}

/* ==========================================================================
   14. CENTRAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #cbd5e1;
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-logo {
  max-width: 48px;
  height: auto;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #a7f3d0;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-info i {
  color: var(--secondary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}

.footer-bottom-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-weight: 600;
}

.back-to-top:hover {
  color: #fff;
}

/* Floating scroll-to-top button */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #0d9488;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.5);
}

.scroll-top-btn i {
  width: 22px;
  height: 22px;
}

/* Toast notification */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s ease;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateX(0); }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }
#form-submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* ==========================================================================
   15. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .ceo-grid,
  .philosophy-grid,
  .contact-grid-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .site-header {
    background-color: var(--bg-white);
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-bottom: 1.5px solid rgba(13, 148, 136, 0.1);
    flex-direction: column;
    padding: 32px;
    gap: 20px;
    align-items: stretch;
    text-align: center;
  }

  .main-nav.open {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .hero-section {
    padding-top: 120px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-column: span 1;
  }

  .philosophy-layout {
    grid-template-columns: 1fr;
  }

  .colors-row {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    max-width: 320px;
    height: 320px;
  }

  .visual-bg-circle {
    width: 220px;
    height: 220px;
  }

  .logo-box {
    width: 150px;
    height: 150px;
  }

  .badge-left {
    left: -10px;
  }

  .badge-right {
    right: -10px;
  }

  .contact-form-panel {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-box {
    padding: 32px;
  }

  .logo-display-card {
    padding: 24px;
  }
}
