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

/* ==============================================================================
   WhatYouWantKerala (WYWK) — Signature Theme
   Midnight Forest & Electric Lime
   Website: https://whatyouwantkerala.in
   ============================================================================== */

:root {
  --wywk-bg: #101716;        /* Midnight Forest - Primary Background */
  --wywk-primary: #B8F36B;   /* Electric Lime - Accent & Call-To-Action */
  --wywk-green: #253C35;     /* Deep Evergreen - Card Backgrounds */
  --wywk-ivory: #F5F3E9;     /* Warm Ivory - Headings & Alternate Sections */
  --wywk-sage: #718078;      /* Sage Grey - Secondary Details */
  --wywk-soft: #D9F2BD;      /* Soft Lime - Hover & Subtle Accents */
  --wywk-text: #F5F3E9;
  --wywk-muted: #B8C5B9;     /* Body Text on Dark */
  --wywk-border: #34443D;
  --wywk-border-glow: rgba(184, 243, 107, 0.25);

  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-ui: 'Manrope', -apple-system, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--wywk-bg);
  color: var(--wywk-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--wywk-ivory);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.25rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-light {
  background-color: var(--wywk-ivory);
  color: #1a221f;
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: #101716;
}
.section-light p {
  color: #3b4943;
}

/* Badge / Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(184, 243, 107, 0.1);
  border: 1px solid rgba(184, 243, 107, 0.25);
  color: var(--wywk-primary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pill-badge.light {
  background: rgba(16, 23, 22, 0.08);
  border-color: rgba(16, 23, 22, 0.15);
  color: #101716;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  background-color: var(--wywk-primary);
  color: #101716;
}
.btn-primary:hover {
  background-color: var(--wywk-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 243, 107, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--wywk-ivory);
  border: 1px solid var(--wywk-border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--wywk-primary);
  color: var(--wywk-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: #101716;
  color: var(--wywk-primary);
}
.btn-dark:hover {
  background: var(--wywk-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Navigation Header */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(16, 23, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--wywk-border);
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 38px;
  width: auto;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--wywk-ivory);
  letter-spacing: -0.03em;
}
.brand-name span {
  color: var(--wywk-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wywk-muted);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--wywk-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid var(--wywk-border);
  border-radius: 8px;
  color: var(--wywk-ivory);
  padding: 8px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(16, 23, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}
.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}
.drawer-links a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--wywk-ivory);
  font-weight: 600;
}
.drawer-links a:hover {
  color: var(--wywk-primary);
}

/* Hero Section */
.hero-section {
  padding-top: 100px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 60, 53, 0.6) 0%, rgba(16, 23, 22, 1) 75%);
  border-bottom: 1px solid var(--wywk-border);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-title {
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--wywk-primary);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--wywk-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 30px;
  background: rgba(37, 60, 53, 0.3);
  border: 1px solid var(--wywk-border);
  border-radius: 20px;
}
.stat-box {
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wywk-primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--wywk-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-ui);
}

/* Bento Cards / Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.bento-card {
  background: var(--wywk-green);
  border: 1px solid var(--wywk-border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--wywk-border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  background: #2b453d;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(184, 243, 107, 0.12);
  color: var(--wywk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-title {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.card-text {
  color: var(--wywk-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.card-link {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wywk-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover {
  color: var(--wywk-soft);
  gap: 10px;
}

/* Alert Banner */
.fraud-alert-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(37, 60, 53, 0.3) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.alert-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-content h4 {
  color: #fca5a5;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.alert-content p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 10px;
}
.alert-content a {
  color: var(--wywk-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 14px;
  border: 1px solid var(--wywk-border);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}
.info-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--wywk-primary);
  padding: 14px 20px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--wywk-border);
}
.info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--wywk-ivory);
  font-size: 0.95rem;
}
.info-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: #0b100f;
  border-top: 1px solid var(--wywk-border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-about p {
  color: var(--wywk-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 380px;
}
.footer-heading {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--wywk-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--wywk-muted);
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--wywk-primary);
}

.footer-bottom {
  border-top: 1px solid var(--wywk-border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--wywk-sage);
}

/* Custom Responsive Grid Classes */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 32px;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 32px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 48px;
  align-items: flex-start;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}
.philosophy-card {
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

/* ==============================================================================
   Comprehensive Multi-Breakpoint Responsiveness
   ============================================================================== */

/* Laptops & Tablets Landscape (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --container: 960px;
  }
  .vision-grid {
    gap: 40px;
  }
  .bento-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
  }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    grid-column: span 1 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links, .nav-cta .btn-contact {
    display: none !important;
  }
  .nav-cta .btn-secondary {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
  .hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .site-nav {
    height: 70px;
  }
  .nav-wrap {
    height: 70px;
  }

  /* Spacing & Sections */
  .section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .section-light {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* Hero Section */
  .hero-actions {
    flex-direction: column !important;
    width: 100%;
    gap: 12px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 28px !important;
  }

  /* Bento & Cards */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .bento-item {
    grid-column: span 1 !important;
    padding: 24px 20px !important;
  }
  .glass-card {
    padding: 24px 20px !important;
    border-radius: 14px !important;
  }

  /* Alerts & Banners */
  .alert-box {
    flex-direction: column;
    padding: 18px 16px !important;
    align-items: flex-start !important;
    gap: 12px;
  }
  .fraud-alert-banner {
    flex-direction: column;
    padding: 20px !important;
    gap: 16px;
  }

  /* Tables */
  .table-responsive {
    margin: 16px 0;
    border-radius: 10px;
  }
  .info-table {
    font-size: 0.88rem;
  }
  .info-table th, .info-table td {
    padding: 12px 14px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom > div:last-child {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px !important;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-cta .btn-secondary {
    display: none !important;
  }
  .nav-brand img {
    height: 34px !important;
  }
  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .stat-item {
    padding: 16px 14px !important;
  }
  .mobile-drawer {
    width: 88vw !important;
    padding: 24px 18px !important;
  }
  .drawer-links a {
    font-size: 1.05rem !important;
    padding: 10px 0 !important;
  }
  .glass-card {
    padding: 18px 14px !important;
  }
  h1 {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
  }
  h2 {
    font-size: 1.6rem !important;
  }
  .badge {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
  }
}


/* ==========================================================================
   Editorial Motion & Ambient Background System
   ========================================================================== */

/* Ambient Floating Abstract Shapes in Hero */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  will-change: transform;
}

.ambient-shape-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--wywk-primary) 0%, rgba(184, 243, 107, 0.2) 50%, transparent 75%);
  animation: floatSlow1 20s infinite ease-in-out alternate;
}

.ambient-shape-2 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, #34d399 0%, rgba(52, 211, 153, 0.2) 50%, transparent 75%);
  animation: floatSlow2 26s infinite ease-in-out alternate;
}

@keyframes floatSlow1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 35px) scale(1.08); }
  100% { transform: translate(25px, -25px) scale(0.94); }
}

@keyframes floatSlow2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -30px) scale(1.12); }
  100% { transform: translate(-30px, 20px) scale(0.92); }
}

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

/* Fine Line Drawing & Shimmer Divider */
.line-draw {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 243, 107, 0.35), transparent);
  background-size: 200% 100%;
  animation: lineShimmer 9s linear infinite;
}

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

/* Enhanced Bento Card Hover */
.bento-card {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 243, 107, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(184, 243, 107, 0.08);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.bento-card:hover .card-link {
  gap: 10px;
  color: var(--wywk-primary);
}

/* Reduced Motion Override (Mandatory Accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient-shape {
    display: none !important;
  }
}
