/* ==========================================================================
   UDAYARAVI CREATION & JACQUARD - PREMIUM DESIGN SYSTEM
   Modern, Clean, Industrial Luxury Aesthetic for Textile Machinery
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0284c7;             /* Precision Cobalt */
  --primary-dark: #0369a1;        /* Deep Cobalt */
  --primary-light: #38bdf8;       /* Bright Cyan */
  --primary-subtle: #f0f9ff;      /* Sky Mist */
  
  --brand-navy: #0f172a;          /* Midnight Slate */
  --brand-navy-light: #1e293b;    /* Dark Steel */
  --brand-navy-card: #182234;     /* Card Navy */

  --accent-gold: #f59e0b;         /* Silk Gold */
  --accent-gold-dark: #d97706;    /* Amber Bronze */
  --accent-gold-soft: #fef3c7;    /* Gold Whisper */
  
  --emerald: #10b981;             /* Precision Green / Status */
  --emerald-dark: #059669;
  --emerald-soft: #ecfdf5;

  --text-primary: #0f172a;        /* High Contrast Charcoal */
  --text-secondary: #475569;      /* Slate Gray */
  --text-muted: #64748b;          /* Soft Gray */
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --bg-main: #f8fafc;             /* Clean Canvas */
  --bg-card: #ffffff;             /* Crisp Card */
  --bg-subtle: #f1f5f9;           /* Soft Section */
  --border-color: #e2e8f0;        /* Subtle Border */
  --border-light: #cbd5e1;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transition */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag.gold {
  color: var(--accent-gold-dark);
  background: var(--accent-gold-soft);
  border-color: rgba(217, 119, 6, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-navy);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--brand-navy);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--brand-navy-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
/* Bottom Credentials & Contact Ribbon (End of page) */
.bottom-info-ribbon {
  background: #0b1329;
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-info-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.bottom-info-left, .bottom-info-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.info-item i {
  color: var(--primary-light);
  font-size: 0.85rem;
}

.info-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

.info-item a:hover {
  color: #ffffff;
}

/* Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.885rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

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

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

.mobile-toggle {
  display: none;
  font-size: 1.35rem;
  color: var(--brand-navy);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.mobile-toggle:hover {
  background: var(--border-color);
}

/* Crucial: Mobile drawer must ALWAYS be hidden by default on desktop */
.mobile-drawer {
  display: none !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background-color: #0b1329;
  color: #ffffff;
  padding: 6rem 0 5rem;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Full-Bleed Hero Background Video (Local HTML5 MP4) */
.hero-bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background-color: #0b1329;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
  border: 0 !important;
  outline: 0 !important;
}

.hero-bg-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-bg-poster.video-playing {
  opacity: 0;
}

/* Subtle Industrial Dark Blue Translucent Overlay */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(11, 19, 41, 0.72) 0%,
    rgba(11, 19, 41, 0.84) 55%,
    rgba(10, 24, 46, 0.92) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(2, 132, 199, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.10) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 4;
}

.hero .container {
  position: relative;
  z-index: 10;
}

/* Centered & Balanced Hero Composition */
.hero-content-centered {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-centered .hero-badge-group {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-content-centered .hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.18;
  margin-bottom: 1.5rem;
  max-width: 920px;
}

.hero-content-centered .hero-description {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 820px;
  margin: 0 auto 2.25rem;
}

.hero-content-centered .hero-cta-group {
  justify-content: center;
  margin-bottom: 2.75rem;
  gap: 1rem;
}

.hero-content-centered .hero-features-list {
  justify-content: center;
  margin: 0 auto;
  max-width: 840px;
  width: 100%;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-pill.gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #ffffff 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.hero-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.hero-feat-icon {
  color: var(--primary-light);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.hero-feat-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.hero-feat-text span {
  font-size: 0.775rem;
  color: #94a3b8;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

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

.stat-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-color);
}

.stat-box:last-child {
  border-right: none;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-box.gold .stat-icon {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-dark);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}

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

/* ==========================================================================
   ABOUT / LEGACY SECTION
   ========================================================================== */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.about-main-img-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.founder-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
}

.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.founder-meta strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.founder-meta span {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-text-body {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-text-body p {
  margin-bottom: 1rem;
}

/* Timeline Milestones */
.legacy-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.timeline-card {
  position: relative;
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.timeline-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.timeline-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Vision / Mission Cards */
.mission-vision-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.mv-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mv-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mv-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mv-card.gold .mv-icon {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-dark);
}

.mv-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.mv-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS CATALOG SECTION
   ========================================================================== */
.products-section {
  background: var(--bg-subtle);
}

.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.product-badge.gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
}

.product-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Machine Key Specs Pill List */
.product-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-navy);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.spec-pill i {
  color: var(--primary);
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   PATENT INNOVATION SPOTLIGHT (6 FRAMES SHEDDING)
   ========================================================================== */
.spotlight-section {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.spotlight-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(2, 132, 199, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.spotlight-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.spotlight-content h2 .gold-highlight {
  color: var(--accent-gold);
}

.spotlight-lead {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.spot-feat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.spot-feat-icon {
  font-size: 1.35rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.spot-feat-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.spot-feat-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

.spotlight-media {
  position: relative;
}

.spotlight-img-frame {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.spotlight-img-frame img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.patent-stamp {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS TABLE & CALCULATOR
   ========================================================================== */
.specs-section {
  background: #ffffff;
}

.specs-wrapper {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table-container {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.specs-table th {
  background: var(--brand-navy);
  color: #ffffff;
  font-weight: 700;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.specs-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.specs-table tr:nth-child(even) td {
  background: rgba(241, 245, 249, 0.5);
}

.specs-table tr:hover td {
  background: var(--primary-subtle);
  color: var(--brand-navy);
}

.specs-table td strong {
  color: var(--brand-navy);
}

/* Interactive Hook Capacity Advisor / Calculator */
.advisor-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.advisor-intro h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 0.75rem;
}

.advisor-intro p {
  color: #047857;
  font-size: 0.95rem;
  line-height: 1.6;
}

.advisor-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.advisor-result-box {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
}

.advisor-result-text strong {
  display: block;
  font-size: 1.1rem;
  color: #065f46;
}

.advisor-result-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   WEAVER & DESIGNER PORTAL ACCESS
   ========================================================================== */
.portal-section {
  background: var(--bg-subtle);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.portal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.portal-card.weaver:hover {
  border-color: var(--primary);
}

.portal-card.designer:hover {
  border-color: var(--accent-gold);
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.portal-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.portal-card.designer .portal-icon {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-dark);
}

.portal-header-text h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.portal-header-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portal-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.portal-features-list li i {
  color: var(--emerald);
  font-size: 0.9rem;
}

/* ==========================================================================
   APPLICATIONS & INDUSTRIES
   ========================================================================== */
.applications-section {
  background: #ffffff;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.app-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.app-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.app-card:hover .app-icon {
  background: var(--primary);
  color: #ffffff;
}

.app-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   GALLERY & VIDEO SHOWCASE
   ========================================================================== */
.gallery-section {
  background: var(--bg-subtle);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.75rem;
}

.gallery-ambient-bg {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  opacity: 0.25;
  transform: scale(1.1);
  pointer-events: none;
}

.gallery-item img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

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

.gallery-card-caption {
  flex: 1;
  min-height: 62px;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gallery-card-caption span {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-caption i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
}

.lightbox-img-wrap img {
  max-height: 85vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   LATEST UPDATES & INNOVATION NEWS
   ========================================================================== */
.updates-section {
  background: #ffffff;
}

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

.update-card {
  background: var(--bg-main);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.update-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.update-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

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

.update-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.update-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.update-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   TESTIMONIALS & TRUST SECTION
   ========================================================================== */
.trust-section {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
}

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

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.review-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.reviewer-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.reviewer-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.reviewer-meta span {
  font-size: 0.775rem;
  color: var(--accent-gold);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background: #ffffff;
}

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

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  background: #ffffff;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  background: #ffffff;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-main);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 1.25rem 1.75rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   CONTACT & INQUIRY SECTION
   ========================================================================== */
.contact-section {
  background: var(--bg-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group-full {
  margin-bottom: 1.25rem;
}

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

/* Map Frame */
.map-container {
  margin-top: 3.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 380px;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--brand-navy);
  color: #cbd5e1;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 1.25rem 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  flex-grow: 1;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ==========================================================================
   MODALS (INQUIRY, PRODUCT DETAILS, POLICIES)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.modal-close-btn {
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--brand-navy);
}

.modal-body {
  padding: 2rem;
}

/* Floating Quick Contact Badge (WhatsApp & Call) */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.45rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.floating-btn.whatsapp {
  background: #25D366;
}

.floating-btn.call {
  background: var(--primary);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand-navy);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .top-bar {
    display: none !important;
  }
}

@media (max-width: 1160px) {
  .site-header .nav-links, 
  .site-header .nav-actions .btn-secondary {
    display: none !important;
  }

  .site-header .nav-actions .btn-primary {
    display: inline-flex !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-drawer {
    display: none !important;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .mobile-drawer.active {
    display: block !important;
  }

  .mobile-drawer .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    list-style: none;
    padding: 0;
  }

  .mobile-drawer .nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-navy);
    padding: 0.4rem 0;
    width: 100%;
    border-bottom: 1px solid var(--bg-subtle);
    display: block;
  }

  .hero-features-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .legacy-timeline {
    grid-template-columns: 1fr;
  }

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

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

  .updates-grid, .trust-grid, .portal-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
