/* ── GLOBAL RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #E8341C;
  --red-soft:   #fef0ed;
  --red-border: #f5c2b8;
  --dark:       #111111;
  --mid:        #4a4a4a;
  --border:     #e4e4e4;
  --bg:         #ffffff;
  --font-head:  'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:  'Plus Jakarta Sans', sans-serif;
  --font-tamil: 'Noto Sans Tamil', sans-serif;
}

html, body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  font-size: 32px;
  color: #ff4d4d;
}

.nav-links {
  margin: 0 auto; 
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 6px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.nav-link {
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--red);
  background: #f8f8f8;
}

.nav-link--active {
  font-weight: 700;
  color: var(--dark);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
}

/* ── HERO SECTION ── */
.hero {
  padding: 72px 24px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.h-line { display: block; }

.h-avatarline {
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-la {
  font-size: inherit;
  margin-right: 12px;
}

.h-rgest {
  font-size: inherit;
  margin-left: 12px;
}

.h-tamil {
  display: block;
  font-family: var(--font-tamil);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--red);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-top: 2px;
}

/* Avatars Dynamic Alignment */
.avatars-row {
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
}

.avatar-wrap {
  width: clamp(54px, 7vw, 72px);
  height: clamp(54px, 7vw, 72px);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.20);
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
  position: relative;
  margin-left: -38px;
  transform: scale(0.3);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              margin 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.5s ease;
}

.avatar-wrap:first-child { margin-left: 0; }

.avatars-row.expanded .avatar-wrap {
  opacity: 1;
  transform: scale(1);
  margin-left: -14px;
}

.avatar-wrap:hover {
  transform: translateY(-5px) scale(1.10) !important;
  z-index: 20;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--mid);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
}

.hero-sub .brand-highlight {
  font-family: 'Work Sans', sans-serif;
  color: #4a4a4a;
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.14s;
  min-width: 170px;
}

.btn--outline {
  border: 1.5px solid var(--red);
  color: var(--red);
  background: #fff;
}

.btn--outline:hover {
  background: var(--red-soft);
  transform: translateY(-1px);
}

.btn--soft {
  border: 1.5px solid var(--red-border);
  color: var(--red);
  background: var(--red-soft);
}

.btn--soft:hover {
  background: #fce3dd;
  transform: translateY(-1px);
}

/* ── MEMBERSHIP SECTION ── */
.membership-section {
  width: 100%;
  padding: 80px 30px 120px;
  background-color: #0b0f19;
  background-image: radial-gradient(circle at 50% 20%, rgba(30, 41, 89, 0.5) 0%, rgba(11, 15, 25, 1) 70%);
  color: #ffffff;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
}

.title-container {
  text-align: center;
  margin-bottom: 70px;
}

.title-container h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.title-container .subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #3b82f6;
  letter-spacing: 0.2px;
}

/* Membership Grid Alignment */
.membership-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: stretch;
}

.card {
  border-radius: 28px;
  padding: 40px 30px 90px;
  min-height: 520px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.dark-card {
  background: linear-gradient(165deg, #1d2230 0%, #111522 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.dark-card .icon-box {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.highlighted-card {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #06b6d4 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.35);
}

.highlighted-card .highlight-icon {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff;
}

.card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.price {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.per-year {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.75;
}

.card-details {
  margin-bottom: 22px;
}

.plan-desc {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  line-height: 1.4;
}

.exclusive-text {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}

.features-list {
  list-style: none;
  margin-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.features-list li {
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.92;
}

.features-list li i {
  font-size: 0.82rem;
  color: #38bdf8;
}

.highlighted-card .features-list li i {
  color: #ffffff;
}

.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.tags {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  opacity: 0.75;
}

.btn-glow {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.45);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.65);
}

.gr-font {
  font-family: 'Work Sans', sans-serif;
}

/* ── SLIDER SECTION ── */
.slider-container {
  padding: 60px 0;
  text-align: center;
  
}

.slider-container h2 {
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 30px;
  color: #171616;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
}

.slick-list {
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 10px 0;
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
}

.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  margin: 0 15px;
}

.slick-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85px;
  object-fit: contain;
  margin: 0 auto;
}

/* ── WHAT WE DO SECTION ── */
.main-content {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 30px;
  text-align: center;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.info-card {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.info-icon-box {
  background-color: var(--red-soft);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--red);
}

.info-card h3 {
  font-size: 22px;
  color: #111111;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1200px) {
  .membership-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
  }
}

@media (max-width: 992px) {
  .what-we-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 40px 20px 60px; }

  .mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 70px);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    z-index: 99;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    padding: 4px;
  }

  .btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background-color: #ff5252;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.25);
  }

  .slick-slide img {
    max-height: 60px;
  }

  .what-we-do-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .membership-cards-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .title-container h1 { font-size: 2.4rem; }
  .title-container .subtitle { font-size: 1rem; }

  .card {
    padding: 30px 24px 85px;
    min-height: auto;
  }
}

@media (max-width: 500px) {
  .hero-heading { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .h-tamil { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }

  .avatar-wrap { width: 44px; height: 44px; }
  .avatars-row.expanded .avatar-wrap { margin-left: -8px; }
  .avatar-wrap:nth-child(n+6) { display: none !important; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }
}