/* ========================================
   VELACHERY CAMPAIGN - RESPONSIVE STYLES
   Mobile-First, Desktop-Optimized
   ======================================== */

/* CSS VARIABLES */
:root {
  --navy: #0D1B2A;
  --deep: #111827;
  --blue: #1565C0;
  --cyan: #00B4D8;
  --pink: #FF3C6E;
  --gold: #FFB700;
  --white: #F5F5F0;
  --muted: #94A3B8;
  --card: #1A2535;
  --green: #00C97A;
  --purple: #9C27B0;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a, button {
  -webkit-tap-highlight-color: rgba(255, 60, 110, 0.3);
  touch-action: manipulation;
}

.tamil {
  font-family: 'Noto Sans Tamil', sans-serif;
}

.bebas {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #1a2a4a 0%, var(--navy) 65%);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle 300px at 15% 25%, rgba(255,60,110,0.08) 0%, transparent 60%),
    radial-gradient(circle 350px at 85% 75%, rgba(0,180,216,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.badge {
  background: rgba(255, 183, 0, 0.12);
  border: 1px solid rgba(255, 183, 0, 0.4);
  color: var(--gold);
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* PROFILE RING */
.ring {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
  z-index: 1;
}

.ring::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(var(--pink), var(--cyan), var(--gold), var(--pink));
  animation: spin 6s linear infinite;
}

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

.ring img {
  width: clamp(140px, 35vw, 180px);
  height: clamp(140px, 35vw, 180px);
  border-radius: 50%;
  border: 5px solid var(--navy);
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.hero-name {
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: clamp(11px, 2.8vw, 14px);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: clamp(48px, 11vw, 72px);
  color: var(--pink);
  line-height: 0.9;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.pill {
  background: rgba(255, 60, 110, 0.15);
  border: 1px solid rgba(255, 60, 110, 0.4);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 500;
  color: var(--pink);
  white-space: nowrap;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta {
  padding: 16px 32px;
  border-radius: 100px;
  font-size: clamp(14px, 3.2vw, 16px);
  font-weight: 600;
  text-decoration: none;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cta-p {
  background: var(--pink);
  color: white;
}

.cta-p:hover {
  background: #E6355F;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 60, 110, 0.3);
}

.cta-s {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.cta-s:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SECTIONS
   ======================================== */

.sec {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.sec + .sec {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sec-inner {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.eye {
  font-size: clamp(11px, 2.5vw, 13px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.stitle {
  font-size: clamp(36px, 8vw, 56px);
  line-height: 1;
  margin-bottom: 48px;
}

.sbody {
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.75;
  color: #CBD5E1;
  margin: 0 auto 32px;
  max-width: 800px;
}

.callout {
  background: var(--card);
  border-left: 4px solid var(--pink);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  font-style: italic;
  color: #CBD5E1;
  font-size: clamp(14px, 3.2vw, 16px);
  line-height: 1.7;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

/* ========================================
   CREDENTIALS BOXES
   ======================================== */

.impact-highlight {
  background: linear-gradient(135deg, rgba(255, 60, 110, 0.15) 0%, rgba(0, 180, 216, 0.15) 100%);
  border: 2px solid var(--pink);
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

.impact-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--cyan) 50%, var(--gold) 100%);
}

.impact-badge {
  display: inline-block;
  background: var(--pink);
  color: white;
  font-size: clamp(11px, 2.5vw, 13px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.impact-statement {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 6vw, 42px);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* VERTICAL CREDENTIALS LIST */
.credentials-list {
  margin: 40px 0;
  max-width: 900px;
}

.cred-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cred-item:last-child {
  border-bottom: none;
}

.cred-icon {
  font-size: clamp(28px, 5vw, 32px);
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}

.cred-content {
  flex: 1;
}

.cred-title {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cred-org {
  font-size: clamp(14px, 3.2vw, 16px);
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.cred-desc {
  font-size: clamp(13px, 3vw, 15px);
  color: var(--muted);
  line-height: 1.6;
}

/* OLD GRID STYLES - DEPRECATED */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
  max-width: 1200px;
}

/* VELACHERY STATS */
.stat-g {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 48px auto;
  max-width: 1000px;
}

.stat-c {
  background: var(--card);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
}

.stat-c:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-n {
  font-size: clamp(40px, 9vw, 52px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-l {
  font-size: clamp(13px, 2.8vw, 14px);
  color: var(--muted);
  line-height: 1.4;
}

/* ========================================
   MLA EXPLAINER
   ======================================== */

.expl {
  margin: 32px auto;
  max-width: 800px;
  text-align: left;
}

.expl-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: flex-start;
}

.expl-item:last-child {
  border-bottom: none;
}

.expl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  margin-top: 6px;
}

.expl-t {
  font-size: clamp(14px, 3.2vw, 16px);
  line-height: 1.65;
  color: #CBD5E1;
}

.expl-t strong {
  color: var(--white);
}

/* ========================================
   FOCUS AREAS / ISSUES
   ======================================== */

.issue {
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ihdr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px 16px 0 0;
}

.ihdr.flood { background: linear-gradient(135deg, #1565C0, #0D47A1); }
.ihdr.waste { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
.ihdr.infra { background: linear-gradient(135deg, #4A148C, #6A1B9A); }
.ihdr.jobs { background: linear-gradient(135deg, #E65100, #BF360C); }
.ihdr.women { background: linear-gradient(135deg, #7B1FA2, #AD1457); }
.ihdr.leadership { background: linear-gradient(135deg, #C62828, #B71C1C); }

.ititle {
  font-size: clamp(20px, 4.5vw, 24px);
  letter-spacing: 0.04em;
  color: white;
}

.ibody {
  background: var(--card);
  border-radius: 0 0 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
}

.act {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.act:last-child {
  border-bottom: none;
}

.aem {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.atxt {
  font-size: clamp(14px, 3.2vw, 16px);
  line-height: 1.6;
  color: #CBD5E1;
  text-align: left;
}

.atxt strong {
  color: var(--white);
}

/* ========================================
   90 DAYS PLAN
   ======================================== */

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 48px auto;
  max-width: 900px;
}

.phase {
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.phase:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.phase.p1 { background: linear-gradient(160deg, #1565C0, #0D47A1); }
.phase.p2 { background: linear-gradient(160deg, #6A1B9A, #4A148C); }
.phase.p3 { background: linear-gradient(160deg, #2E7D32, #1B5E20); }

.pnum {
  font-size: clamp(48px, 10vw, 64px);
  color: white;
  line-height: 1;
}

.pdays {
  font-size: clamp(11px, 2.5vw, 13px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.pword {
  font-size: clamp(22px, 5vw, 28px);
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pdesc {
  font-size: clamp(13px, 3vw, 14px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* ========================================
   BUDGET BOX
   ======================================== */

.budbox {
  background: var(--card);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin: 48px auto;
  max-width: 800px;
}

.budhead {
  font-size: clamp(12px, 2.8vw, 14px);
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

.budrow {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: clamp(14px, 3.2vw, 16px);
  color: #CBD5E1;
  gap: 20px;
}

.budrow:last-child {
  border-bottom: none;
}

.budamt {
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.budtotal {
  font-weight: 700;
  color: var(--white);
  border-top: 2px solid rgba(255, 255, 255, 0.15) !important;
  padding-top: 16px !important;
  margin-top: 8px;
}

.budtotal .budamt {
  color: var(--gold);
}

/* ========================================
   TEAM GRID
   ======================================== */

.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 48px auto;
  max-width: 900px;
}

.tc {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
}

.tc:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.tav {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 4.5vw, 24px);
  color: white;
}

.tnm {
  font-size: clamp(13px, 3vw, 15px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.trl {
  font-size: clamp(11px, 2.5vw, 12px);
  color: var(--muted);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.csec {
  background: linear-gradient(160deg, #1A2535, #0D1B2A);
  padding: 80px 24px;
  text-align: center;
}

.ctitle {
  font-size: clamp(40px, 9vw, 56px);
  color: var(--pink);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}

.clinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.clink {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: 16px;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 72px;
  transition: all 0.3s ease;
}

.clink:hover {
  background: rgba(26, 37, 53, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.clink-lbl {
  font-size: clamp(11px, 2.5vw, 12px);
  color: var(--muted);
}

.clink-val {
  font-size: clamp(14px, 3.2vw, 15px);
  font-weight: 600;
}

.final {
  font-size: clamp(32px, 7vw, 42px);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.copyright {
  font-size: clamp(11px, 2.5vw, 12px);
  color: var(--muted);
  margin-top: 32px;
}

/* ========================================
   DIVIDER
   ======================================== */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
}

.dl {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.dd {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > * {
  animation: fadeUp 0.7s ease both;
}

.hero > *:nth-child(1) { animation-delay: 0.1s; }
.hero > *:nth-child(2) { animation-delay: 0.2s; }
.hero > *:nth-child(3) { animation-delay: 0.3s; }
.hero > *:nth-child(4) { animation-delay: 0.4s; }
.hero > *:nth-child(5) { animation-delay: 0.5s; }
.hero > *:nth-child(6) { animation-delay: 0.6s; }
.hero > *:nth-child(7) { animation-delay: 0.7s; }

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablets */
@media (min-width: 768px) {
  .hero {
    padding: 100px 48px 80px;
  }
  
  .sec {
    padding: 100px 48px;
  }
  
  .csec {
    padding: 100px 48px;
  }
  
  .ring img {
    width: clamp(160px, 30vw, 200px);
    height: clamp(160px, 30vw, 200px);
  }
  
  .impact-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stat-g {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .phases {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    padding: 120px 60px 100px;
  }
  
  .sec {
    padding: 120px 60px;
  }
  
  .csec {
    padding: 120px 60px;
  }
  
  .clinks {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  
  .ring::before {
    animation: none;
  }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
  .hero,
  .sec,
  .csec {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}
