/* ==========================================================================
   Blossoming Venture Trading - K-Churum
   Static Site Stylesheet
   Color Palette derived from brand screenshots:
   - Primary Teal: #1a5653
   - Dark Navy: #1b2340
   - Soft Sage: #c5d5cb
   - Light BG: #f0f4f2
   - Accent Pink: #e8546b
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #1a5653;
  --color-primary-dark: #0f3d3a;
  --color-primary-light: #2d7a76;
  --color-navy: #1b2340;
  --color-navy-light: #2a3560;
  --color-sage: #c5d5cb;
  --color-sage-light: #dce8e0;
  --color-bg-light: #f0f4f2;
  --color-bg-cream: #f7f9f8;
  --color-accent-pink: #e8546b;
  --color-text-dark: #1a1a2e;
  --color-text-body: #4a4a5a;
  --color-text-light: #8a8a9a;
  --color-white: #ffffff;
  --color-glass: rgba(255, 255, 255, 0.85);
  --color-glass-border: rgba(255, 255, 255, 0.3);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(26, 86, 83, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ---------- Utility Classes ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-accent {
  background-color: var(--color-accent-pink);
  color: var(--color-white);
}

.btn-accent:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '\2192';
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo {
  color: var(--color-primary);
}

.nav-logo img,
.nav-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base);
}

.navbar.scrolled .nav-logo img,
.navbar.scrolled .nav-logo-img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
  position: relative;
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-links a {
  color: var(--color-text-dark);
}

.navbar.scrolled .nav-links a.btn-primary {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.navbar.scrolled .nav-links a.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

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

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

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--color-text-dark);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #d4ddd8 0%, #c5cfd0 50%, #b8c4cc 100%);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-flower {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(212, 221, 216, 0.4) 0%,
    rgba(192, 207, 200, 0.35) 40%,
    rgba(212, 221, 216, 0.6) 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-dark);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-content .hero-subtitle {
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}

/* ---------- Features Bar ---------- */
.features-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  margin-bottom: 0;
}

.features-bar-inner {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-glass-border);
}

.feature-item {
  padding: 0 24px;
  border-left: 3px solid var(--color-sage);
}

.feature-item:first-child {
  padding-left: 24px;
}

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ---------- Teal Divider ---------- */
.teal-divider {
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  margin: 0;
}

/* ---------- Company Overview Section ---------- */
.company-overview {
  background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.company-overview::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-sage-light) 0%, transparent 70%);
  opacity: 0.5;
}

.overview-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.overview-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 24px;
}

.overview-text {
  font-size: 1.05rem;
  color: var(--color-text-body);
  max-width: 900px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.vision-card {
  background: var(--color-glass);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  border: 2px solid var(--color-sage-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-sage));
}

.vision-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.vision-card p {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ---------- Pillars / Brand Story Section ---------- */
.pillars-section {
  background-color: var(--color-bg-cream);
  position: relative;
}

/* --- Pillars Hero: 2-column header --- */
.pillars-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.pillars-hero-left {
  background-color: var(--color-primary-dark);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pillars-hero-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(160deg, rgba(15, 61, 58, 0.95) 0%, rgba(26, 86, 83, 0.85) 100%);
  z-index: 1;
}

.pillars-hero-left > * {
  position: relative;
  z-index: 2;
}

.pillars-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 28px;
}

.pillars-hero-divider {
  width: 60px;
  height: 4px;
  background-color: var(--color-white);
  border: none;
  opacity: 0.6;
}

.pillars-hero-right {
  background-color: var(--color-white);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillars-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.pillars-hero-text {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.85;
}

/* CTA link inside pillars hero */
.pillars-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.pillars-brand-link:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillars-brand-link .material-symbols-outlined {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.pillars-brand-link:hover .material-symbols-outlined {
  transform: translateX(3px);
}

/* --- Pillar Cards Grid --- */
.pillars-cards-wrapper {
  padding: 64px 0 80px;
}

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

.pillar-card {
  background-color: #ede8e2;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sage);
}

.pillar-card-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #7a1f1f;
  margin-bottom: 8px;
}

.pillar-card-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.pillar-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 2rem;
}

.pillar-card-text {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* Teal divider after pillars */
.pillars-divider {
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  margin: 0;
}

/* ---------- Why Choose Section (Dark) ---------- */
.why-choose {
  background-color: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.why-choose-image {
  position: relative;
  overflow: hidden;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-choose-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-choose-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.why-choose-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-white);
  margin-bottom: 28px;
}

.why-choose-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
}

.why-choose-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-choose-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--color-white);
  font-weight: 500;
}

.why-choose-list li::before {
  content: '\2192';
  color: var(--color-sage);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--color-white);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-sage);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.7;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-body);
  font-weight: 500;
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--color-bg-cream);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-image {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(26, 86, 83, 0.8), rgba(26, 86, 83, 0.5));
  overflow: hidden;
}

.contact-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.contact-image-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.contact-image-content h3 {
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-image-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast);
  outline: none;
  background: var(--color-bg-cream);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 83, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-primary);
  padding: 64px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(197, 213, 203, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(197, 213, 203, 0.08) 0%, transparent 50%);
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-logo-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
}

.footer-logo-svg {
  width: 100%;
  height: 100%;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

/* Footer Newsletter (compact) */
.footer-newsletter {
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer-newsletter-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.footer-newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: all var(--transition-base);
}

.footer-email:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Footer brand cross-link */
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color var(--transition-fast);
}

.footer-brand-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Scroll to Top Button ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-pink);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

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

.scroll-top:hover {
  background: #d1435a;
  transform: translateY(-4px);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 0.7;
    transform: scale(1);
  }
}

/* Intersection Observer animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pillars-hero {
    grid-template-columns: 1fr;
  }

  .pillars-hero-left {
    padding: 56px 40px;
  }

  .pillars-hero-right {
    padding: 48px 40px;
  }

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

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-image {
    min-height: 350px;
  }

  .why-choose-content {
    padding: 48px 40px;
  }

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

  .contact-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--color-text-dark) !important;
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .features-bar {
    margin-top: -40px;
  }

  .features-bar-inner {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .feature-item {
    padding: 16px 0 16px 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .pillars-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pillars-hero-left {
    padding: 40px 24px;
  }

  .pillars-hero-right {
    padding: 32px 24px;
  }

  .pillar-card {
    padding: 28px 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .why-choose-content {
    padding: 40px 24px;
  }

  .vision-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .pillars-cards {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .pillars-hero-title {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }
}

/* ---------- Mobile Menu Animation ---------- */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ---------- Loading State ---------- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-sage);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
