/* ==========================================
   DESIGN SYSTEM - SREE MUTHUMANI CHITS (P) LTD
   Theme: Premium Red & White with Gold Accents
   ========================================== */

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

:root {
  /* Colors */
  --red-primary: #d32f2f;
  --red-dark: #9a0007;
  --red-light: #ff6659;
  --red-accent: #ffebee;
  --gold-accent: #d4af37;
  --gold-hover: #b8972f;
  --white: #ffffff;
  --gray-bg: #f8f9fa;
  --gray-border: #eaeaea;
  --text-dark: #1e2022;
  --text-muted: #5e6266;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 32px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(211, 47, 47, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 8px 20px rgba(212, 175, 55, 0.2);
}

/* Base resets & resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Sub-page Hero Banner */
.sub-hero {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 60%, #e53935 100%);
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.sub-hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sub-hero-title {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.sub-hero-title span {
  color: var(--gold-accent);
}

.sub-hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Badge override inside sub-hero (red bg needs white badge) */
.sub-hero .section-badge {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Services Interactive Hub Section */
.services-hub-section {
  background: var(--white);
  max-width: 100%;
  padding: 3rem 1.5rem 4rem;
  margin: 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navbar */
.navbar {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 100%);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 3px solid var(--red-dark);
  box-shadow: 0 4px 20px rgba(150, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

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

.logo-text span {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.80);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--white) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.contact-nav-btn {
  background-color: var(--gold-accent);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-nav-btn:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.contact-nav-btn:after {
  display: none !important;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Sections Layout */
section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: var(--red-accent);
  color: var(--red-primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border: 1px solid rgba(211, 47, 47, 0.15);
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-title span {
  color: var(--red-primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.2);
}

.btn-primary:hover {
  background-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(211, 47, 47, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--red-accent);
  transform: translateY(-3px);
}

.btn-gold {
  background-color: var(--gold-accent);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.35);
}

/* Cards & Layout Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  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;
}

/* Hero Section */
.hero-sec {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
  padding: 6rem 1.5rem 8rem;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  margin-bottom: 2rem;
}

.hero-sec::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(211,47,47,0.03) 0%, rgba(211,47,47,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--red-accent);
  color: var(--red-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(211, 47, 47, 0.1);
  margin-bottom: 1.5rem;
  animation: pulse 2.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title span {
  color: var(--red-primary);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
}

.hero-stat-card {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat-card i {
  color: var(--red-primary);
  font-size: 1.5rem;
}

.hero-stat-info h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.hero-stat-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shape {
  position: absolute;
  width: 350px;
  height: 350px;
  background-color: var(--red-accent);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-graphic {
  position: relative;
  z-index: 2;
  font-size: 10rem;
  color: var(--red-primary);
  filter: drop-shadow(0 15px 30px rgba(211, 47, 47, 0.25));
}

.cin-bubble {
  position: absolute;
  bottom: -30px;
  background: var(--white);
  border: 1.5px solid var(--gold-accent);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  z-index: 3;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Feature Grid & Cards */
.feature-card {
  background: var(--white);
  padding: 2.2rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  border-bottom: 4px solid var(--gray-border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--red-primary);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background-color: var(--red-accent);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image i {
  font-size: 8rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.about-experience {
  background: var(--white);
  color: var(--text-dark);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  position: absolute;
  bottom: -20px;
  right: -20px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--red-primary);
  max-width: 200px;
}

.about-experience strong {
  font-size: 2.2rem;
  color: var(--red-primary);
  display: block;
  line-height: 1;
}

.about-experience span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.about-info p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.fact-item {
  background: var(--gray-bg);
  padding: 1.2rem;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--red-primary);
}

.fact-item h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.fact-item p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Directors Hub */
.directors-section {
  background-color: var(--gray-bg);
  border-radius: var(--border-radius-lg);
  padding: 5rem 3rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.directors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.director-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

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

.director-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50px;
  background-color: var(--red-accent);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.director-details h4 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.director-details .din {
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--red-accent);
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 4px;
}

.director-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Chit Plan Services Page */
.plan-hub {
  margin-top: 3rem;
}

.plan-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.plan-tab-btn {
  background: var(--white);
  border: 2px solid var(--gray-border);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-headings);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.plan-tab-btn:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.plan-tab-btn.active {
  background-color: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Plan Card layout to capture */
.plan-card-wrapper {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card-header {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.plan-card-header::before {
  content: 'SREE MUTHUMANI CHITS';
  position: absolute;
  top: 15px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 4px;
  opacity: 0.3;
  width: 100%;
  left: 0;
}

.plan-card-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-headings);
  margin-bottom: 0.25rem;
}

.plan-card-sub {
  font-size: 0.95rem;
  opacity: 0.9;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.plan-card-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
}

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

.summary-block span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  font-weight: 600;
}

.summary-block strong {
  font-size: 1.1rem;
  font-family: var(--font-headings);
}

.plan-card-body {
  padding: 2rem;
}

.plan-table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gray-border);
  margin-top: 1rem;
}

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

.plan-table th {
  background-color: var(--gray-bg);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.plan-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gray-border);
  color: var(--text-dark);
}

.plan-table tr:nth-child(even) {
  background-color: #fafafa;
}

.plan-table tr:hover {
  background-color: var(--red-accent);
}

.plan-table tr.total-row {
  background-color: #f2f2f2;
  font-weight: 700;
  border-top: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
}

.plan-table tr.total-row td {
  color: var(--red-primary);
}

.table-registration-msg {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

.action-row-left {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Visual Highlights */
.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: var(--gray-bg);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border-left: 5px solid var(--red-primary);
}

.highlight-item i {
  color: var(--red-primary);
  font-size: 1.4rem;
  margin-top: 2px;
}

.highlight-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.highlight-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.contact-card-box {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
}

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

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

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

.contact-info-content h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-content a:hover {
  color: var(--red-primary);
}

/* WhatsApp block custom styles */
.whatsapp-chat-box {
  background-color: #f6fbf7;
  border: 2px dashed #25D366;
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
}

.whatsapp-chat-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(37,211,102,0.05) 0%, rgba(37,211,102,0) 70%);
  pointer-events: none;
}

.whatsapp-title {
  color: #128C7E;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.whatsapp-body {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.whatsapp-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-btn {
  background-color: #25D366;
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.wa-btn:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

/* Form Styles */
.contact-form-box {
  background-color: var(--gray-bg);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
}

.contact-form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gray-border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

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

/* Footer styling */
footer {
  background-color: var(--red-primary);
  color: var(--white);
  padding: 5rem 1.5rem 2rem;
  border-top: 6px solid var(--red-dark);
  font-size: 0.95rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #2e3135;
}

.footer-about .logo-text span {
  color: var(--white);
}

.footer-about p {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-headings);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--white);
}

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

.footer-links-list a {
  color: rgba(255, 255, 255, 0.9);
}

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

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

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-contact-list i {
  color: var(--gold-accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-experience {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
    width: max-content;
  }
  
  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  color: white;
}
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.4s ease;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-border);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links a {
    color: var(--text-dark) !important;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    background-color: var(--red-primary) !important;
    color: var(--white) !important;
  }
  
  .grid-2, .grid-3, .grid-4, .company-facts, .directors-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-sec {
    text-align: center;
    padding: 4rem 1.5rem 5rem;
  }
  
  .hero-desc {
    margin: 0 auto 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .hero-image-wrapper {
    margin-top: 3rem;
  }
  
  .director-card {
    flex-direction: column;
    text-align: center;
  }
  
  .highlights-list {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 485px) {
  .logo-text span {
    font-size: 1.15rem;
  }
  
  .logo-text small {
    font-size: 0.65rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .plan-tab-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .plan-card-amount {
    font-size: 2.2rem;
  }
  
  .plan-card-body {
    padding: 1rem;
  }
  
  .contact-card-box, .contact-form-box {
    padding: 1.5rem;
  }
  
  .pamphlet-table th, .pamphlet-table td {
    padding: 0.4rem !important;
    font-size: 0.85rem !important;
  }
  
  .pamphlet-total-row td {
    font-size: 1rem !important;
    padding: 0.6rem !important;
  }
}

/* ==========================================
   PRELOADER LOADING ANIMATION
   ========================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 99999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.preloader-logo-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid var(--gray-bg);
  border-top: 4px solid var(--red-primary);
  border-bottom: 4px solid var(--gold-accent);
  border-radius: 50%;
  animation: spinLoader 1.5s linear infinite;
}

.preloader-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--red-dark);
  letter-spacing: 1px;
  text-align: center;
}

.preloader-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--red-primary);
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================
   DURATION SWITCHER
   ========================================== */
.duration-switcher-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.duration-label {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.duration-options {
  display: flex;
  background-color: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  padding: 4px;
}

.duration-opt-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-family: var(--font-headings);
}

.duration-opt-btn.active {
  background-color: var(--red-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Pamphlet Theme Styles for Chit Plan Card */
.pamphlet-card-wrapper {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 4px solid var(--red-primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 auto;
  max-width: 100%;
}

.pamphlet-header {
  background: linear-gradient(180deg, #c62828 0%, #8e0000 100%);
  position: relative;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--white);
  border-bottom: 4px solid var(--gold-accent);
}

.pamphlet-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Diamond cross-lattice pattern matching printed card */
  background-image: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.08) 75%), 
    linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.08) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  pointer-events: none;
}

.pamphlet-logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  z-index: 2;
}

.pamphlet-logo-circle img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.pamphlet-brand-details {
  z-index: 2;
  text-align: left;
}

.pamphlet-title-english {
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--gold-accent);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.pamphlet-title-tamil {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.pamphlet-subtitle-tamil {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pamphlet-cin {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.25rem;
  font-family: var(--font-body);
}

.pamphlet-scheme-title {
  background: var(--red-primary);
  color: var(--white);
  text-align: center;
  padding: 0.8rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-headings);
  letter-spacing: 0.5px;
  border-radius: 8px;
  margin: 1.5rem auto;
  max-width: calc(100% - 3rem);
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.2);
}

.pamphlet-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 2px solid var(--red-primary);
}

.pamphlet-table th {
  border: 2px solid var(--red-primary);
  color: var(--red-primary);
  background: var(--white);
  font-weight: 800;
  text-align: center;
  padding: 0.8rem;
  font-size: 1rem;
}

.pamphlet-table td {
  border: 1px solid var(--red-primary);
  color: #000000;
  background: var(--white);
  text-align: center;
  padding: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.pamphlet-table tr:nth-child(even) td {
  background: #fff8f8;
}

.pamphlet-total-row td {
  background: var(--white) !important;
  color: var(--red-primary) !important;
  font-weight: 900 !important;
  font-size: 1.2rem !important;
  border: 2px solid var(--red-primary) !important;
  padding: 1rem !important;
}

.pamphlet-total-val {
  color: #000000;
  font-size: 1.35rem;
}

.pamphlet-profit-val {
  color: #25D366;
  font-size: 1.35rem;
}

/* ── Plan Tabs ───────────────────────────────────────────────────────────── */
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.plan-tab-btn {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: 50px;
  padding: 0.55rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-headings);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.plan-tab-btn:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: var(--red-accent);
  transform: translateY(-2px);
}

.plan-tab-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
  transform: translateY(-2px);
}

/* Duration toggle hover */
.duration-opt-btn:hover {
  background-color: var(--red-accent);
  color: var(--red-primary);
}

/* ── 15 Rules Premium Card Grid ──────────────────────────────────────────── */
.rules-section {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  max-width: 100%;
  padding: 5rem 2rem;
}

.rules-section .section-header {
  max-width: var(--max-width);
  margin: 0 auto 3.5rem;
}

.rules-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rule-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1.8rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(211, 47, 47, 0.12);
  border-color: var(--red-primary);
}

.rule-card:hover::before {
  transform: scaleX(1);
}

.rule-number {
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--red-accent);
  line-height: 1;
  letter-spacing: -1px;
  -webkit-text-stroke: 2px var(--red-primary);
  margin-bottom: 0.2rem;
}

.rule-icon {
  width: 44px;
  height: 44px;
  background: var(--red-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.rule-card:hover .rule-icon {
  background: var(--red-primary);
  color: var(--white);
}

.rule-card h4 {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

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

/* Gold highlight for card #15 */
.rule-card--highlight {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border-color: var(--gold-accent);
}

.rule-card--highlight .rule-number {
  -webkit-text-stroke: 2px var(--gold-accent);
  color: #fff8e1;
}

.rule-card--highlight .rule-icon {
  background: var(--gold-accent);
  color: var(--white);
}

.rule-card--highlight::before {
  background: linear-gradient(90deg, var(--gold-accent), var(--gold-hover));
}

.rule-card--highlight:hover {
  border-color: var(--gold-hover);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.2);
}

/* Responsive: 2-col on tablet, 1-col on mobile */
@media (max-width: 1024px) {
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================
   GLASS-MORPHISM & PREMIUM ANIMATIONS
   ========================================== */

/* --- Glassmorphism Card --- */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.09), 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(211, 47, 47, 0.15), 0 6px 20px rgba(0,0,0,0.08);
}

/* --- Entrance Animation Keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmerSlide {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* --- Entrance Animation Classes (JS-triggered) --- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}

/* Active state toggled by IntersectionObserver in app.js */
.animate-fade-up.in-view,
.animate-slide-left.in-view,
.animate-slide-right.in-view,
.animate-scale-in.in-view {
  opacity: 1;
  transform: none;
}

/* Staggered children (assign via data-delay) */
.animate-fade-up[data-delay="1"] { transition-delay: 0.1s; }
.animate-fade-up[data-delay="2"] { transition-delay: 0.2s; }
.animate-fade-up[data-delay="3"] { transition-delay: 0.3s; }
.animate-fade-up[data-delay="4"] { transition-delay: 0.4s; }
.animate-fade-up[data-delay="5"] { transition-delay: 0.5s; }
.animate-fade-up[data-delay="6"] { transition-delay: 0.6s; }

/* --- Micro-animations: Buttons --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: inherit;
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97);
}

/* --- Micro-animations: Nav links underline sweep --- */
.nav-links a:not(.contact-nav-btn) {
  position: relative;
}

.nav-links a:not(.contact-nav-btn)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:not(.contact-nav-btn):hover::after,
.nav-links a.active:not(.contact-nav-btn)::after {
  width: 60%;
  left: 20%;
}

/* --- Micro-animations: Feature/rule cards --- */
.feature-card,
.rule-card,
.director-card,
.contact-card-box,
.contact-form-box,
.fact-item,
.highlight-item {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* --- Micro-animations: Section badge pop --- */
.section-badge {
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.section-badge:hover {
  transform: scale(1.04);
}

/* --- Floating particles on hero (already in canvas) & glowing pulse ring --- */
@keyframes glowRing {
  0%   { box-shadow: 0 0 0 0 rgba(211,47,47,0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(211,47,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(211,47,47,0); }
}

.hero-badge {
  animation: glowRing 2.8s ease-out infinite;
}

/* --- Smooth scroll helpers --- */
html { scroll-behavior: smooth; }

/* --- WhatsApp button pulse --- */
.wa-btn {
  animation: pulse 3s ease-in-out infinite;
}

/* --- Section divider shimmer line --- */
.shimmer-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), var(--gold-accent), transparent);
  background-size: 200% auto;
  animation: shimmerSlide 2.5s linear infinite;
  border-radius: 2px;
  margin: 0 auto;
  max-width: 200px;
}



/* Mobile Preloader Fix */
@media (max-width: 768px) {
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--white);
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  
  .preloader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
  }
  
  .preloader-logo-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .preloader-logo {
    width: 50px;
    height: 50px;
  }
}
