/* ============================================
   DINAMIKA DAYA UTAMA - Global Stylesheet
   Premium Kratom Extract Exporter
   ============================================ */

/* ---------- Google Fonts (Loaded via HTML link tag for optimal Core Web Vitals) ---------- */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --forest: #1A3C2E;
  --forest-dark: #0F2A1E;
  --forest-light: #2A5C46;
  --gold: #C9A84C;
  --gold-light: #D4BC72;
  --gold-dark: #A88A36;
  --cream: #F7F4EE;
  --cream-dark: #EDE8DD;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --white: #FFFFFF;
  --black: #111111;

  /* Functional Colors */
  --success: #2E7D32;
  --info: #1565C0;
  --warning: #F9A825;
  --error: #C62828;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 80px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--charcoal-light);
}

.text-gold {
  color: var(--gold);
}

.text-forest {
  color: var(--forest);
}

.text-cream {
  color: var(--cream);
}

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background-color: var(--forest-dark);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--cream);
}

.section--dark p {
  color: rgba(247, 244, 238, 0.85);
}

.section--cream {
  background-color: var(--cream-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--forest-dark);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  color: var(--forest-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}

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

.btn--outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn--outline:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 60, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  z-index: 1001;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* Footer logo */
.footer-brand .logo-img {
  height: 32px;
  max-width: 140px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--forest-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .company-name {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.logo-text .company-tagline {
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  margin-left: var(--space-sm);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: var(--space-xs);
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(15, 42, 30, 0.7) 0%,
      rgba(26, 60, 46, 0.8) 50%,
      rgba(15, 42, 30, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: var(--space-xl);
}

.hero-content h1 {
  color: var(--cream);
  margin-bottom: var(--space-lg);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content .hero-sub {
  color: rgba(247, 244, 238, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-2xl);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--cream);
  opacity: 0.6;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: var(--forest-dark);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: rgba(247, 244, 238, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(247, 244, 238, 0.5);
}

.breadcrumb .separator {
  color: rgba(247, 244, 238, 0.3);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image .placeholder-icon {
  font-size: 3rem;
  color: var(--forest-light);
  opacity: 0.3;
}

.card-body {
  padding: var(--space-xl);
}

.card-body h3 {
  margin-bottom: var(--space-sm);
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(26, 60, 46, 0.08);
  color: var(--forest);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Feature Icons Section ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid rgba(26, 60, 46, 0.06);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold);
  transition: transform var(--transition-spring);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.feature-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  border: 1px solid rgba(26, 60, 46, 0.06);
  transition: all var(--transition-base);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  padding-top: var(--space-xl);
  font-size: 0.95rem;
  color: var(--charcoal);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--charcoal-light);
}

/* ---------- Video Section ---------- */
.video-section {
  position: relative;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* Responsive 16:9 YouTube embed */
.youtube-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, var(--forest-light) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(247, 244, 238, 0.85);
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(247, 244, 238, 0.7);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: rgba(247, 244, 238, 0.6);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  line-height: 1.7;
}

.footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(247, 244, 238, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: rgba(247, 244, 238, 0.6);
}

.footer-contact li .icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--forest-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 244, 238, 0.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.4);
}

.footer-bottom a {
  color: rgba(247, 244, 238, 0.4);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: var(--error);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(26, 60, 46, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232D2D2D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ---------- Product Tables ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table thead {
  background: var(--forest-dark);
}

.spec-table th {
  color: var(--cream);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(26, 60, 46, 0.06);
  font-size: 0.95rem;
}

.spec-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Timeline / Process ---------- */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--forest));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-content {
  flex: 1;
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 4px solid var(--cream);
  z-index: 1;
}

/* ---------- Certifications Badges ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
}

.cert-badge {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 60, 46, 0.08);
  transition: all var(--transition-base);
}

.cert-badge:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.cert-badge .cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: rgba(26, 60, 46, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--forest);
}

.cert-badge h4 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  margin-bottom: var(--space-xs);
}

.cert-badge p {
  font-size: 0.8rem;
  color: var(--charcoal-light);
}

/* ---------- Partner Logos ---------- */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  opacity: 0.4;
}

.partner-logos .partner-logo {
  width: 120px;
  height: 60px;
  background: var(--charcoal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity var(--transition-base);
}

.partner-logos:hover {
  opacity: 0.7;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card .card-image {
  height: 200px;
}

.blog-card .card-body {
  padding: var(--space-xl);
}

.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.blog-card h3 a {
  color: var(--forest-dark);
}

.blog-card h3 a:hover {
  color: var(--gold);
}

/* Blog Article */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal-light);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(26, 60, 46, 0.1);
  font-size: 0.85rem;
  color: var(--charcoal-light);
}

.article-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(26, 60, 46, 0.1);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(26, 60, 46, 0.06);
  color: var(--forest);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- Google Maps Placeholder ---------- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid rgba(26, 60, 46, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Team Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid rgba(26, 60, 46, 0.06);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.team-card p {
  font-size: 0.9rem;
}

/* ---------- Image Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.5s;
}

.stagger-children.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility Classes ---------- */
.text-center {
  text-align: center;
}

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

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

.mt-1 {
  margin-top: var(--space-md);
}

.mt-2 {
  margin-top: var(--space-xl);
}

.mt-3 {
  margin-top: var(--space-2xl);
}

.mt-4 {
  margin-top: var(--space-3xl);
}

.mb-1 {
  margin-bottom: var(--space-md);
}

.mb-2 {
  margin-bottom: var(--space-xl);
}

.mb-3 {
  margin-bottom: var(--space-2xl);
}

.mb-4 {
  margin-bottom: var(--space-3xl);
}

.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: var(--space-md);
}

.gap-2 {
  gap: var(--space-xl);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 42, 30, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-menu-overlay a {
  color: var(--cream);
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.mobile-menu-overlay a:hover {
  color: var(--gold);
}

/* ---------- Blog Styles ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card .card-meta {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-sm);
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.blog-card .card-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--forest-dark);
}

.blog-card h3 a:hover {
  color: var(--gold);
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

/* Article Styling (Post details) */
.article-wrapper {
  padding: var(--space-3xl) 0;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest-dark);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.article-meta-large {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-lg);
}

.article-meta-large span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.article-featured-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--space-2xl);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.article-content p {
  margin-bottom: var(--space-lg);
}

.article-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest-dark);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--forest);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content ul {
  list-style-type: disc;
}

.article-content ol {
  list-style-type: decimal;
}

.article-content li {
  margin-bottom: var(--space-xs);
}

.article-content blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  border-left: 4px solid var(--gold);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  color: var(--forest-light);
}

.article-content strong {
  color: var(--forest-dark);
}

.article-footer {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(26, 60, 46, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.article-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--cream-dark);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.article-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.article-author-info h4 {
  margin-bottom: var(--space-xs);
}

.article-author-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ---------- Responsive Breakpoints ---------- */

/* Tablet and below */
@media (max-width: 1024px) {

  .grid--4,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
  }

  .timeline-marker {
    position: relative;
    left: 0;
  }
}

/* Mobile landscape and below */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .feature-grid,
  .blog-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .partner-logos {
    gap: var(--space-xl);
  }

  .partner-logos .partner-logo {
    width: 100px;
    height: 50px;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card-body {
    padding: var(--space-lg);
  }

  .feature-item {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ---------- Print Styles ---------- */
@media print {

  .header,
  .footer,
  .hero-video-bg,
  .hero-scroll-indicator,
  .menu-toggle,
  .mobile-menu-overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
  }
}


/* ---------- Custom DDU Line Icons ---------- */
.icon-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-custom svg {
  width: 1.35em;
  height: 1.35em;
  display: block;
}

.feature-icon.icon-custom svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
}

.footer-contact .icon-custom {
  width: 20px;
  height: 20px;
}

.footer-contact .icon-custom svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  padding: var(--space-4xl) 0;
  background-color: var(--cream);
}

.faq-container {
  max-width: 880px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--gold-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.12);
}

.faq-question {
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  color: var(--forest);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.75;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: var(--space-md);
}

.faq-answer p {
  margin-bottom: var(--space-sm);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--forest-light);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: var(--gold-dark);
}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}