/* ============================================
   GENTLEMAN'S SYNDICATE — Master Stylesheet
   Purple & Gold | Level Up Your Character
   ============================================ */

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

:root {
  --purple: #5B0BB5;
  --purple-deep: #3D0080;
  --purple-light: #7B2FD4;
  --purple-glow: rgba(91, 11, 181, 0.15);
  --yellow: #FFD700;
  --yellow-light: #FFE44D;
  --yellow-dark: #E6C200;
  --cream: #FBF5EF;
  --cream-dark: #F0E6D8;
  --black: #1a1a1a;
  --dark: #111;
  --white: #ffffff;
  --gray: #777;
  --gray-light: #aaa;
  --text-dark: #2a2a2a;
  --text-body: #444;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--purple-light);
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Page Load Animation --- */
.page-wrapper {
  opacity: 0;
  animation: fadeInPage 0.8s ease forwards;
}

@keyframes fadeInPage {
  to { opacity: 1; }
}

/* --- Top Banner --- */
.top-banner {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.4s ease;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav.scrolled {
  background: rgba(251, 245, 239, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

.nav-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
}

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

.nav-links a {
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width var(--transition);
}

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

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  transition: all var(--transition) !important;
}

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

.nav-cta:hover {
  background: var(--purple-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Dropdown Menus --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  position: relative;
}

.nav-dropdown > a::after {
  /* Override the underline to keep it for dropdowns too */
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-deep);
  list-style: none;
  min-width: 200px;
  padding: 0.5rem 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 1001;
  margin-top: 0.25rem;
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--white) !important;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a::after {
  display: none !important;
}

.dropdown-menu li a:hover {
  color: var(--yellow) !important;
  background: rgba(255, 255, 255, 0.1);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 40%, var(--purple-light) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--white);
  animation: fadeInUp 1s ease 0.5s both;
}

.hero h1 .accent {
  color: var(--yellow);
  display: block;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-motto {
  margin-top: 3rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  animation: fadeInUp 1s ease 1.1s both;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
}

.btn-purple:hover {
  background: var(--purple-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 11, 181, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline-dark:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Section Styles --- */
.section {
  padding: 6rem 0;
}

.section-purple {
  background: var(--purple);
  color: var(--white);
}

.section-purple h2,
.section-purple h3 {
  color: var(--white);
}

.section-purple p {
  color: rgba(255,255,255,0.8);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

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

.section-label {
  display: inline-block;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-purple .section-label {
  color: var(--yellow);
}

.section-dark .section-label {
  color: var(--yellow);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.purple-line {
  width: 60px;
  height: 3px;
  background: var(--purple);
  margin: 1.5rem auto 0;
}

.yellow-line {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: 1.5rem auto 0;
}

/* --- Scrolling Motto Banner --- */
.motto-banner {
  background: var(--cream-dark);
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.motto-track {
  display: inline-block;
  animation: scrollMotto 20s linear infinite;
}

.motto-track span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--purple);
  margin-right: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.motto-track span::after {
  content: '\2726';
  color: var(--yellow);
  font-style: normal;
}

@keyframes scrollMotto {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 3rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --- Tier Cards (Rewired Rookie / IC3 / Esquire) --- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tier-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.tier-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(91, 11, 181, 0.1);
}

.tier-card.featured {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
}

.tier-card.featured h3,
.tier-card.featured p {
  color: var(--white);
}

.tier-card.featured .tier-icon {
  border-color: var(--yellow);
  color: var(--yellow);
}

.tier-icon {
  width: 70px;
  height: 70px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--purple);
}

.tier-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-card .tier-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tier-card.featured .tier-subtitle {
  color: var(--yellow);
}

.tier-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* --- Services/Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(91, 11, 181, 0.1);
}

.service-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.4rem 0;
  color: var(--text-body);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  gap: 0.75rem;
  color: var(--purple-deep);
}

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

.about-image {
  position: relative;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--white);
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,0.06);
}

.about-image-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 180px;
  height: 180px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  opacity: 0.2;
  z-index: -1;
}

.about-content .section-label {
  text-align: left;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-signature {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.about-signature .name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--purple);
}

.about-signature .title {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.value-item {
  padding: 2rem 1.5rem;
}

.value-item h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--purple);
}

.value-item p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* --- Events --- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.event-card:hover {
  border-color: var(--purple);
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(91, 11, 181, 0.08);
}

.event-date {
  text-align: center;
  padding: 1rem;
  border: 2px solid var(--purple);
  border-radius: 8px;
  background: var(--purple);
}

.event-date .month {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.event-date .day {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  margin: 0.25rem 0;
}

.event-date .year {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.event-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.event-info .event-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.event-meta span {
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-info p {
  color: var(--text-body);
  font-size: 0.9rem;
}

.event-action .btn {
  white-space: nowrap;
}

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

.blog-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(91, 11, 181, 0.1);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-image .blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--purple);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

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

.testimonial-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--purple);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--gray);
}

/* --- CTA Section (Purple) --- */
.cta-section {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
  background: var(--purple);
  color: var(--white);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,215,0,0.08) 0%, transparent 60%);
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-section .section-label {
  color: var(--yellow);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

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

/* --- Footer --- */
.footer {
  background: var(--yellow);
  padding: 4rem 0 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-crest-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--black);
  line-height: 1.1;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.footer-contact strong {
  color: var(--purple);
}

.footer-contact a {
  color: var(--purple);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social a:nth-child(1) { background: #E1306C; }
.footer-social a:nth-child(2) { background: #FF0000; }
.footer-social a:nth-child(3) { background: #1DA1F2; }
.footer-social a:nth-child(4) { background: #0A66C2; }
.footer-social a:nth-child(5) { background: #25D366; }

.footer-social a:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-body);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: var(--text-body);
}

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

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Page Header (interior pages) --- */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  background: var(--cream);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--purple);
}

.page-header .section-label {
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--purple);
}

.page-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Pillar Grid --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.4s ease;
}

.pillar-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(91,11,181,0.08);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--purple);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--purple);
}

.pillar-card p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* --- Blog Detail --- */
.blog-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-detail-content {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.9;
}

.blog-detail-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--purple);
}

.blog-detail-content p {
  margin-bottom: 1.5rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.blog-detail-content li {
  margin-bottom: 0.75rem;
}

/* --- Groups Section --- */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.group-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.group-card:hover {
  border-color: var(--purple);
  box-shadow: 0 10px 25px rgba(91,11,181,0.08);
}

.group-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.group-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.group-meta {
  font-size: 0.8rem;
  color: var(--gray);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid,
  .blog-grid,
  .testimonials-grid,
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    border-left: 2px solid rgba(0,0,0,0.05);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile dropdown overrides */
  .nav-dropdown {
    position: relative;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    background: var(--purple-deep);
    min-width: 0;
    width: 100%;
    border-radius: 4px;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-dropdown.open > .dropdown-menu {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Disable hover on mobile — use tap only */
  .nav-dropdown:hover > .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .nav-dropdown.open:hover > .dropdown-menu,
  .nav-dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-menu li a {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid,
  .blog-grid,
  .testimonials-grid,
  .tiers-grid,
  .groups-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-date {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
  }

  .event-date .day {
    font-size: 1.5rem;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand-block {
    flex-direction: column;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .pillars-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }
}
