/* ==========================================================================
   SHREE MOTIBHAI R. CHAUDHARY FOUNDATION (MRCF) - INSTITUTIONAL DESIGN SYSTEM
   Visual Identity: Premium Teal (#00A896), Deep Teal (#004D40) & Saffron (#FF6B00)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* BRAND COLOR PALETTE */
  --primary-green: #00A896;     /* Primary Vibrant Teal from Logo */
  --primary-dark: #004D40;      /* Deep Teal Forest for Headers & Dark Sections */
  --primary-hover: #00897B;     /* Interactive Hover Teal */
  
  --secondary-green: #00897B;   /* Medium Accent Teal */
  --light-green: #E0F2F1;       /* Soft Mint Background Tint */
  --mint-bg: #F0FDFB;           /* Very Soft Mint Section Background */
  
  --accent-orange: #FF6B00;     /* Saffron Orange from Logo Top Arch */
  --accent-orange-hover: #E05D00;
  
  --accent-cyan: #00B4D8;       /* Water Wave Cyan */
  --accent-navy: #00363A;       /* Deep Charcoal Teal */
  
  --bg-warm: #FAFBFB;
  --bg-cream: #F4F9F8;
  --bg-soft-beige: #E6F4F1;
  --card-white: #FFFFFF;
  
  --heading-dark: #00363A;      /* Heading Deep Teal */
  --text-dark: #1E293B;         /* Body Text Dark */
  --text-muted: #475569;        /* Body Text Muted */
  --text-light: #64748B;        /* Caption Text Light */
  
  --accent-saffron: var(--accent-orange);
  --border-light: rgba(0, 168, 150, 0.16);
  --border-subtle: #E2E8F0;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-card: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 54, 58, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 54, 58, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 54, 58, 0.12);
  --shadow-3d: 0 20px 40px -10px rgba(0, 168, 150, 0.22);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* TYPOGRAPHY SPACING & RHYTHM */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-dark);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.75rem); font-weight: 800; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 0.85rem; }
h4 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); margin-bottom: 0.75rem; }
h5 { font-size: 1rem; margin-bottom: 0.5rem; }
h6 { font-size: 0.875rem; margin-bottom: 0.5rem; }

p {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRIDS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 920px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.25rem 0;
}

.section-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}
.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

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

.section-beige {
  background-color: var(--bg-soft-beige);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

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

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

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

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

/* ==========================================================================
   BADGES, BUTTONS & UI COMPONENTS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: var(--light-green);
  color: var(--primary-green);
  border: 1px solid rgba(0, 168, 150, 0.2);
  margin-bottom: 0.85rem;
}

.badge-saffron {
  background-color: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange);
  border-color: rgba(255, 107, 0, 0.25);
}

.badge-cyan {
  background-color: rgba(0, 180, 216, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(0, 180, 216, 0.25);
}

.badge-white {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  border-radius: 8px;
}

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

.btn-primary {
  background-color: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.3);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 168, 150, 0.4);
}

.btn-accent {
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}
.btn-accent:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}
.btn-outline:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
}

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

/* ==========================================================================
   HEADER & NAVIGATION ARCHITECTURE
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1rem 0;
  background-color: rgba(250, 251, 251, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 168, 150, 0.12);
}

.header.scrolled {
  padding: 0.65rem 0;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(0, 168, 150, 0.18);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-green);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 0.35rem 0.45rem;
  font-weight: 600;
  font-size: 0.81rem;
  color: var(--text-dark);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
  background-color: var(--light-green);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.65rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
}

.dropdown-link:hover {
  background-color: var(--mint-bg);
  color: var(--primary-green);
}

.dropdown-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: var(--light-green);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Mobile Nav Drawer & Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--heading-dark);
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 54, 58, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading-dark);
  border-radius: 8px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--mint-bg);
  color: var(--primary-green);
}

/* ==========================================================================
   HERO & FEATURE CARDS
   ========================================================================== */
.hero {
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(0, 168, 150, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.06) 0%, transparent 40%),
              var(--bg-warm);
  position: relative;
  overflow: hidden;
}

/* Leaf SVG Background Ornaments */
.leaf-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  width: 260px;
  height: 260px;
}
.leaf-ornament.leaf-1 { top: -20px; right: -40px; }
.leaf-ornament.leaf-2 { bottom: -30px; left: -30px; transform: rotate(45deg); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  line-height: 1.14;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary-green);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual-wrap {
  position: relative;
}

.hero-card-stack {
  position: relative;
}

.hero-main-img-card {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 4px solid #ffffff;
  background: linear-gradient(135deg, #f8f6f0 0%, #eaf4ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-img-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Floating Glass Cards */
.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
}
.floating-glass-card.top-right { top: 5%; right: -2%; }
.floating-glass-card.bottom-left { bottom: 5%; left: -2%; }

.float-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light-green);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.float-text-wrap h5 {
  font-size: 0.9rem;
  color: var(--heading-dark);
  margin-bottom: 0.15rem;
}
.float-text-wrap p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* STATS BAR */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
  color: #ffffff;
  padding: 2.75rem 0;
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* CARD GRIDS & ITEMS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.card {
  background-color: var(--card-white);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 150, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light-green);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-title {
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}

.card-desc {
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-green);
  margin-top: auto;
}

/* ACTIVITY CARDS (EQUAL HEIGHT & STRAIGHT LINE HORIZONTAL ALIGNMENT) */
.activity-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 150, 0.35);
}

.activity-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.activity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

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

.activity-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-green);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.activity-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--heading-dark);
}

.activity-body .card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.activity-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
  min-height: 4.2rem;
  justify-content: flex-end;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.activity-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.activity-meta-item i {
  color: var(--primary-green);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.activity-body .btn {
  margin-top: 0;
  width: 100%;
}

/* ==========================================================================
   TIMELINE & STEP PROCESS BOXES (CARDS GRID)
   ========================================================================== */
.timeline-wrap {
  width: 100%;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .timeline-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .timeline-track {
    grid-template-columns: 1fr;
  }
}

.timeline-node {
  background: #ffffff;
  border: 1px solid rgba(0, 168, 150, 0.16);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.timeline-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green, #00A896), var(--accent-orange, #d97706));
  opacity: 0.85;
  transition: height 0.3s ease;
}

.timeline-node:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0, 168, 150, 0.16);
  border-color: var(--primary-green, #00A896);
}

.timeline-node:hover::before {
  height: 6px;
}

.timeline-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #004D40 0%, #00A896 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 168, 150, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.timeline-node:hover .timeline-circle {
  transform: scale(1.1) rotate(5deg);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.timeline-content h5 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-dark, #0f291e);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin: 0;
}

/* HIGH-IMPACT STEP & FEATURE CARDS */
.step-card,
.feature-step-card {
  background: #ffffff;
  border: 1px solid rgba(0, 168, 150, 0.15);
  border-radius: var(--radius-card, 16px);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card::after,
.feature-step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-orange, #e65c00));
  opacity: 0.8;
  transition: height 0.3s ease;
}

.step-card:hover,
.feature-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 168, 150, 0.15);
  border-color: var(--primary-green);
}

.step-card:hover::after,
.feature-step-card:hover::after {
  height: 6px;
}

.step-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--light-green, #e6f4f1), #d0eee9);
  color: var(--primary-green, #004D40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.12);
  transition: transform 0.3s ease;
}

.step-card:hover .step-card-icon,
.feature-step-card:hover .step-card-icon {
  transform: scale(1.1) rotate(4deg);
}

.step-card-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(0, 77, 64, 0.08);
  line-height: 1;
}

.step-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-dark, #0f291e);
  margin-bottom: 0.6rem;
}

.step-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   DOCUMENT & COMPLIANCE CERTIFICATE CARDS
   ========================================================================== */
.doc-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.doc-card {
  background: #ffffff;
  border: 1px solid rgba(0, 168, 150, 0.18);
  border-radius: var(--radius-card, 16px);
  padding: 1.75rem 2.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-green), var(--accent-orange, #d97706));
  opacity: 0.85;
  transition: width 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 168, 150, 0.15);
  border-color: var(--primary-green);
}

.doc-card:hover::before {
  width: 8px;
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.doc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--light-green, #e6f4f1), #d0eee9);
  color: var(--primary-green, #004D40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.12);
  transition: transform 0.3s ease;
}

.doc-card:hover .doc-icon {
  transform: scale(1.1) rotate(4deg);
}

.doc-details h5 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-dark, #0f291e);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.doc-details p {
  font-size: 0.92rem;
  color: var(--text-muted, #64748b);
  line-height: 1.5;
  margin: 0;
}

.doc-card .btn {
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 30px;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
}

.doc-card .btn:hover {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.3);
}

@media (max-width: 768px) {
  .doc-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .doc-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PILLAR CARDS (OUR WORK)
   ========================================================================== */
.pillar-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.pillar-card img {
  border-radius: 16px;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* PAGE BANNER */
.page-banner {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
  color: #ffffff;
  position: relative;
}

.page-banner h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 680px;
}

/* ==========================================================================
   FOOTER ARCHITECTURE
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--accent-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   SPACING UTILITY CLASSES
   ========================================================================== */
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.my-1 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-2 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-3 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-4 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.gap-4 { gap: 2rem !important; }

/* ==========================================================================
   FORM DESIGN SYSTEM & INPUT CONTROLS
   ========================================================================== */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--heading-dark);
  display: block;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  transition: all var(--transition-fast);
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  appearance: none;
  -webkit-appearance: none;
}

select, select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004D40'%3E%3Cpath d='M12 15L7 10H17L12 15Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

textarea.form-control, textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-control:hover,
input:hover,
select:hover,
textarea:hover {
  border-color: rgba(0, 168, 150, 0.4);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.14);
  background-color: #ffffff;
}

.nav-desktop .btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

@media (max-width: 1260px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .pillar-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX STYLING
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 280px;
  cursor: pointer;
  background: var(--card-white);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.35) 60%, transparent 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  opacity: 0.95;
  transition: opacity var(--transition-normal);
}

.gallery-overlay h5 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  font-family: var(--font-heading);
  line-height: 1.35;
}

.gallery-overlay p {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin: 0;
}

/* CLEAN LOGO DISPLAY FIX */
.nav-brand img, .brand-logo-glow img, .footer-brand img, .top-bar-brand img {
  mix-blend-mode: multiply;
  object-fit: contain;
}
