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

/* CSS Reset and Core Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:root {
  --primary: #0f172a;       /* Deep Slate Blue */
  --primary-light: #1e293b; /* Mid Slate */
  --brand: #1e3a8a;         /* Corporate Navy */
  --brand-light: #2563eb;   /* Dynamic Blue */
  --accent: #d97706;        /* Industrial Amber Gold */
  --accent-light: #f59e0b;  /* Warm Gold */
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

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

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

/* Common Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--brand);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-accent:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background-color: transparent;
}

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

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Header & Navigation */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

/* Brand Logo Layout */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--primary) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--accent);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary-light);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

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

.nav-link:hover {
  color: var(--brand);
}

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

.nav-link.active {
  color: var(--brand);
  font-weight: 600;
}

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

.mobile-ctas {
  display: none;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Nav Styles */
@media (max-width: 1200px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2.5rem 2.5rem 2.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .header-ctas {
    display: none;
  }

  .nav-menu .mobile-ctas {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
  }

  .nav-menu .mobile-ctas .btn {
    width: 100%;
  }

  /* Hamburger active transition */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 8rem 0 7rem 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 45%, rgba(15, 23, 42, 0) 100%), 
              url('../images/hero-bhavana.jpg') center/cover no-repeat;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: var(--accent-light);
  padding: 0.35rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-badge-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--bg-light);
  font-weight: 500;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-badge-card {
    max-width: 500px;
  }
}

/* Feature/Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent);
  transition: var(--transition);
  z-index: 2;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(30, 58, 138, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--brand);
  color: var(--bg-white);
}

.feature-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Ecosystem / Industries Section */
.ecosystem-intro {
  margin-bottom: 3.5rem;
  text-align: center;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ecosystem-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ecosystem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.ecosystem-icon {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.ecosystem-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.ecosystem-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* "What We Do" Accordion & Tabs layout */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.wwd-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wwd-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.wwd-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wwd-item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  transition: var(--transition);
}

.wwd-icon {
  transition: var(--transition);
  color: var(--text-light);
  font-weight: bold;
}

.wwd-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 0;
}

.wwd-item-body p {
  padding-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
  border-top: 1px solid var(--border-color);
}

.wwd-item.active {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-md);
}

.wwd-item.active .wwd-item-title {
  color: var(--brand-light);
}

.wwd-item.active .wwd-icon {
  transform: rotate(180deg);
  color: var(--brand-light);
}

.wwd-item.active .wwd-item-body {
  max-height: 200px;
}

/* Focus Areas styling */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.focus-card {
  background: var(--bg-light);
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.focus-card:hover {
  background: var(--bg-white);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}

.focus-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(26, 54, 93, 0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.focus-card:hover .focus-num {
  color: rgba(217, 119, 6, 0.25);
}

.focus-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.focus-desc {
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* Page Header component for internal pages */
.page-header {
  padding: 6rem 0 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--brand) 100%);
  color: var(--bg-white);
  text-align: center;
}

.page-title {
  font-size: 3rem;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Leadership and Messages */
.message-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  margin-bottom: 4rem;
}

.message-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .message-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.author-profile {
  text-align: center;
  position: sticky;
  top: 100px;
}

.author-image-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.author-term {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.message-body {
  position: relative;
}

.message-body::before {
  content: '“';
  position: absolute;
  top: -45px;
  left: -20px;
  font-size: 6rem;
  color: rgba(30, 58, 138, 0.05);
  font-family: serif;
  line-height: 1;
}

.message-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.message-p {
  font-size: 0.975rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.message-subheading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin: 2rem 0 1rem 0;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.message-signature {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* Membership benefits and application details */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(30, 58, 138, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.benefit-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.eligibility-container {
  background: var(--primary);
  border-radius: var(--radius);
  color: var(--bg-white);
  padding: 4rem;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

@media (max-width: 991px) {
  .eligibility-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .eligibility-container {
    padding: 2.5rem;
  }
}

.eligibility-title {
  color: var(--bg-white);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.eligibility-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  list-style: none;
}

@media (max-width: 576px) {
  .eligibility-list {
    grid-template-columns: 1fr;
  }
}

.eligibility-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--bg-light);
}

.eligibility-item::before {
  content: '✓';
  color: var(--accent-light);
  font-weight: bold;
}

/* Events and Updates Grid styles */
.updates-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 991px) {
  .updates-section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.updates-column-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.updates-column-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent);
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.update-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.update-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.update-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.update-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.update-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Info & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-card-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

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

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 138, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.info-details p, .info-details a {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.info-details a:hover {
  color: var(--brand-light);
}

/* Enquiry Form Styling */
.form-container {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-light);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Submit Confirmation Page */
.confirmation-container {
  text-align: center;
  max-width: 600px;
  margin: 6rem auto;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 4rem;
  box-shadow: var(--shadow-xl);
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 2.5rem;
  margin: 0 auto 2rem auto;
}

.confirmation-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.confirmation-msg {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.confirmation-details {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.confirmation-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.confirmation-details p:last-child {
  margin-bottom: 0;
}

.confirmation-details strong {
  color: var(--primary);
}

/* Footer Section */
.footer {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col-title {
  color: var(--bg-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-link:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-contact-item svg, .footer-contact-item i {
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--text-light);
}

.footer-contact-item a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--primary-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

/* Animations classes (Scroll fade-in system) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Additional UI styling elements */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Office Bearers & Council Directory Styles */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.directory-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.directory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
}

.directory-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 3px solid var(--border-color);
  background: var(--bg-light);
}

.author-image-wrapper img,
.directory-avatar img,
.table-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
  transform-origin: center 10%;
}

.table-avatar-container {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
  background: var(--bg-light);
}

.directory-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.directory-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.directory-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  text-align: left;
}

.directory-details p {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.directory-details p:last-child {
  margin-bottom: 0;
}

.directory-details strong {
  color: var(--primary);
}

.directory-contact-link {
  color: var(--brand-light);
  font-weight: 500;
}

.directory-contact-link:hover {
  text-decoration: underline;
}

/* Zone Layout styling */
.zone-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.zone-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.zone-block:hover {
  box-shadow: var(--shadow-md);
}

.zone-header {
  background: var(--bg-light);
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.zone-header:hover {
  background: #f1f5f9;
}

.zone-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
}

.zone-badge {
  background: var(--brand);
  color: var(--bg-white);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.zone-indicator {
  font-size: 0.8rem;
  color: var(--text-light);
  transition: var(--transition);
  font-weight: bold;
}

.zone-block.open .zone-indicator {
  transform: rotate(180deg);
  color: var(--brand-light);
}

.zone-content {
  padding: 2rem;
  display: none;
}

.zone-block.open .zone-content {
  display: block;
}

/* Directory Table Sizing */
.directory-table-wrapper {
  overflow-x: auto;
}

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

.directory-table th {
  background: var(--primary);
  color: var(--bg-white);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.directory-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.directory-table tr:last-child td {
  border-bottom: none;
}

.directory-table tr:hover {
  background: #f8fafc;
}

.directory-company {
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 0.25rem;
}

.directory-address {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .directory-table th, .directory-table td {
    padding: 0.75rem;
  }
  .directory-table {
    font-size: 0.8rem;
  }
  .zone-header {
    padding: 1rem 1.5rem;
  }
  .zone-content {
    padding: 1rem;
  }
}
