:root {
  --primary-color: #8e3517;
  --secondary-color: #48331a;
  --tertiary-color: #1c2120;
  --text-light: #ffffff;
  --text-muted: #d6d6d6;
}

body {
  font-family: "Noto Sans Tamil", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif Tamil", serif;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 0.25rem;
  font-weight: 500;
  font-family: "Noto Sans Tamil", sans-serif;
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

.top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--text-light);
  border-bottom: 1px solid #dee2e6;
}

.top-bar-left {
  gap: 1rem;
}

.logo-square {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1.3;
}

.site-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.site-subtitle {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.top-bar-right {
  gap: 0.75rem;
}

.top-bar form {
  font-family: "Noto Sans Tamil", sans-serif;
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.top-bar form:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(142, 53, 23, 0.12);
}

.top-bar input[type="search"] {
  min-width: 12rem;
  background: var(--text-light);
  border: none;
  border-radius: 0;
  padding: 0.5rem 0.875rem;
  font-family: "Noto Sans Tamil", sans-serif;
  transition: background-color 0.3s ease;
}

.top-bar input[type="search"]:focus {
  box-shadow: none;
  outline: none;
}

.top-bar form .btn {
  color: var(--text-light);
  background-color: var(--primary-color);
  border: none;
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  font-family: "Noto Sans Tamil", sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.top-bar form .btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.top-bar-right > a.btn {
  color: var(--text-light);
  background-color: var(--primary-color);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.875rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-family: "Noto Sans Tamil", sans-serif;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.top-bar-right > a.btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.navbar-branded {
  background-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-family: "Noto Sans Tamil", sans-serif;
  padding: 0;
}

.navbar-branded .navbar-nav {
  gap: 0.125rem;
}

.navbar-branded .nav-item {
  position: relative;
}

.navbar-branded .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.3);
}

.navbar-branded .nav-link {
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0.625rem;
  margin: 0.25rem 0;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-branded .nav-link:hover {
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.2);
}

.navbar-branded .nav-link.active {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.navbar-branded .dropdown-menu {
  background: var(--text-light);
  color: var(--tertiary-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 0.25rem;
  padding: 0.375rem 0;
  font-family: "Noto Sans Tamil", sans-serif;
  max-height: 80vh;
  overflow-y: auto;
}

.navbar-branded .dropdown-item {
  color: var(--tertiary-color);
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-branded .dropdown-item:hover {
  background-color: rgba(142, 53, 23, 0.1);
  color: var(--primary-color);
}

.navbar-branded .dropdown-item.active {
  background-color: rgba(142, 53, 23, 0.15);
  color: var(--primary-color);
  font-weight: 500;
}

.navbar-branded .dropdown-divider {
  margin: 0.25rem 0;
  border-color: rgba(0, 0, 0, 0.08);
}

.navbar-branded .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(142, 53, 23, 0.25);
}

@media (max-width: 991.98px) {
  .navbar-branded .nav-item::after {
    display: none;
  }

  .top-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .top-bar-left {
    justify-content: center;
  }

  .top-bar-right {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  .top-bar form {
    width: 100%;
  }

  .top-bar input[type="search"] {
    min-width: 0;
    flex: 1;
  }

  .top-bar-right > a.btn {
    width: 100%;
    text-align: center;
  }
}

.footer {
  background: var(--secondary-color);
  color: var(--text-light);
  font-family: "Noto Sans Tamil", sans-serif;
}

.footer h5 {
  font-family: "Noto Serif Tamil", serif;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 192px;
  height: 192px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-subtitle {
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.footer-registration {
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-links {
  list-style-type: disc;
  padding-left: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.375rem;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-address {
  display: flex;
  align-items: flex-start;
}

.footer-contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-hours {
  font-size: 0.9rem;
}

.btn-donate {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-donate:hover {
  background-color: var(--tertiary-color);
  color: var(--text-light);
}

.footer-social a {
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.hero-section {
  background: linear-gradient(135deg, #faf8f5 0%, #f0ebe3 50%, #e8e2d9 100%);
  color: var(--tertiary-color);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.hero-logo img {
  max-width: 280px;
  height: auto;
  margin-bottom: 24px;
}

.hero-section h1 {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.hero-subtext {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
  color: var(--tertiary-color);
}

.hero-cta .btn {
  font-size: 0.875rem;
  padding: 0.4rem 0.875rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-cta .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: 0.3s ease;
}

.hero-cta .btn-primary:hover {
  background-color: #742a13;
  border-color: #742a13;
}

.hero-cta .btn-outline-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transition: 0.3s ease;
}

.hero-cta .btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.movement-vision-minimal {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 28px 20px;
}

.movement-minimal-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-light);
}

.vision-minimal-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.vision-minimal-item i {
  font-size: 1.25rem;
  opacity: 0.95;
}

.movement-minimal-cta {
  background-color: var(--text-light);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.movement-minimal-cta:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
}

.core-pillars-section {
  background-color: #fafaf8;
}

.core-pillars-heading {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.core-pillars-subheading {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  color: var(--tertiary-color);
}

.core-pillar-card {
  background: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.core-pillar-card:hover {
  transform: scale(1.03);
  border-color: rgba(142, 53, 23, 0.5);
}

.core-pillar-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.core-pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-pillar-body {
  padding: 1.5rem;
  flex: 1;
}

.core-pillar-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.core-pillar-desc {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--tertiary-color);
  margin: 0;
}

.flagship-programs-section {
  background-color: #f5f3f0;
}

.flagship-heading {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.flagship-subheading {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  color: var(--tertiary-color);
}

.flagship-card {
  background: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.flagship-card:hover {
  transform: scale(1.02);
  border-color: rgba(142, 53, 23, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.flagship-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  max-height: 140px;
}

.flagship-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flagship-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.flagship-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.flagship-desc {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--tertiary-color);
  margin-bottom: 1rem;
}

.flagship-cta {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.flagship-cta:hover {
  color: var(--secondary-color);
}

.arivuk-section {
  background-color: var(--text-light);
}

.arivuk-heading {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.arivuk-card {
  background: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arivuk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.arivuk-date {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.arivuk-date-day {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--text-light);
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 10px;
}

.arivuk-date-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.arivuk-month {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.arivuk-year {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.8rem;
  color: var(--tertiary-color);
}

.arivuk-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.arivuk-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.375rem;
}

.arivuk-location {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.85rem;
  color: var(--tertiary-color);
  margin-bottom: 0.5rem;
}

.arivuk-desc {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--tertiary-color);
  margin-bottom: 0.75rem;
}

.arivuk-link {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.875rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.arivuk-link:hover {
  color: var(--secondary-color);
}

.arivuk-cta-btn {
  display: inline-block;
  padding: 0.6rem 1.75rem;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.95rem;
  color: var(--primary-color);
  background: transparent;
  border: 1px solid rgba(142, 53, 23, 0.4);
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.arivuk-cta-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

/* membership-cta */
.membership-cta {
  position: relative;
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #4a1a12 0%, #2d0f0a 40%, #0d0504 100%);
  overflow: hidden;
}

.membership-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.membership-cta-bg::before {
  content: "தமிழ்";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif Tamil", serif;
  font-size: clamp(4rem, 20vw, 12rem);
  color: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.membership-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.membership-cta-heading {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.membership-cta-sub {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.membership-cta-sub:last-of-type {
  margin-bottom: 2rem;
}

.membership-cta-btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a0a06;
  background: linear-gradient(135deg, #b8860b 0%, #9a7209 50%, #8b6910 100%);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(184, 134, 11, 0.25);
  transition: box-shadow 0.35s ease, transform 0.2s ease;
}

.membership-cta-btn:hover {
  box-shadow: 0 4px 24px rgba(184, 134, 11, 0.4);
  transform: translateY(-1px);
  color: #1a0a06;
}

.membership-cta-link {
  display: block;
  margin-top: 1.25rem;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.membership-cta-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* mission-vision page */
.mv-hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 4rem 1.5rem;
  text-align: center;
}

.mv-hero-section .mv-hero-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.95;
}

.mv-hero-section .mv-hero-icon i {
  display: inline-block;
}

.mv-hero-section .mv-hero-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.mv-hero-section .mv-hero-intro {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
}

/* Page hero with image background (for non-home pages) */
.page-hero {
  position: relative;
  background-image: url('../images/tamil-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--text-light);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(142, 53, 23, 0.85), rgba(72, 51, 26, 0.9));
  z-index: 0;
}

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

.page-hero .mv-hero-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.95;
}

.page-hero .mv-hero-icon i {
  display: inline-block;
}

.page-hero .mv-hero-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.page-hero .mv-hero-intro {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
}

.mv-declaration {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.mv-mission-block {
  background: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mv-mission-block:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 53, 23, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mv-mission-block .core-pillar-title {
  margin-bottom: 1rem;
}

.mv-mission-list {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--tertiary-color);
  padding-left: 1.25rem;
  margin: 0;
  list-style-type: disc;
}

.mv-mission-list li {
  margin-bottom: 0.375rem;
}

.mv-principles-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 3rem 1.5rem;
}

.mv-principles-section .core-pillars-heading {
  color: var(--text-light);
}

.mv-principle-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.95rem;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--text-light);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.mv-principle-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.mv-principle-item i {
  font-size: 1.1rem;
  opacity: 0.9;
}

.mv-closing-section {
  padding: 4rem 1.5rem;
  text-align: center;
  background-color: #fafaf8;
}

.mv-closing-text {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--tertiary-color);
  max-width: 640px;
  margin: 0 auto;
}

/* history timeline */
.history-timeline-section {
  padding: 3rem 0 4rem;
  background: #fafaf8;
}

.history-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 0 2.5rem;
}

@media (min-width: 768px) {
  .history-timeline {
    padding: 0 1rem;
  }
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

@media (min-width: 768px) {
  .history-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.history-timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.history-timeline-item:last-child {
  padding-bottom: 0;
}

.history-timeline-node {
  position: absolute;
  left: -2.5rem;
  top: 1.5rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary-color);
  border: 3px solid var(--text-light);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(142, 53, 23, 0.35);
  z-index: 2;
}

@media (min-width: 768px) {
  .history-timeline-node {
    left: 50%;
    transform: translateX(-50%);
  }
}

.history-timeline-item:nth-child(odd) .history-timeline-node {
  background: var(--primary-color);
}

.history-timeline-item:nth-child(even) .history-timeline-node {
  background: var(--secondary-color);
}

.history-timeline-card {
  background: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-left: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .history-timeline-item:nth-child(odd) .history-timeline-card {
    margin-left: 0;
    margin-right: calc(50% + 1.5rem);
  }

  .history-timeline-item:nth-child(even) .history-timeline-card {
    margin-left: calc(50% + 1.5rem);
    margin-right: 0;
  }
}

.history-timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(142, 53, 23, 0.25);
}

.history-timeline-epoch {
  display: inline-block;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(142, 53, 23, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.history-timeline-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.history-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.history-timeline-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.875rem;
  color: var(--tertiary-color);
}

.history-timeline-meta-item i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.history-timeline-desc {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--tertiary-color);
  margin: 0;
}

.history-timeline-tagline {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.history-timeline-item.history-timeline-highlight .history-timeline-card {
  border-color: rgba(142, 53, 23, 0.3);
  background: linear-gradient(135deg, #fdfcfb 0%, #f8f5f2 100%);
}

/* administrative committee page */
.committee-section {
  padding: 5rem 0;
  background-color: #fafaf8;
}

.committee-section .core-pillars-heading {
  margin-bottom: 3rem;
}

.committee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 601px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ac-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ac-member-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(142, 53, 23, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 300ms ease;
}

@media (min-width: 992px) {
  .ac-member:hover .ac-member-img {
    transform: scale(1.03);
  }
}

.ac-member-name {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.ac-member-designation {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--tertiary-color);
}

/* join-as-member page */
.join-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}

.join-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .join-layout {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
}

.join-sidebar {
  flex: 0 0 auto;
  background: #f0ede8;
  padding: 1.25rem;
  border-radius: 6px;
}

@media (min-width: 992px) {
  .join-sidebar {
    width: 240px;
    position: sticky;
    top: 7rem;
  }
}

.join-sidebar-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.join-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.join-nav li {
  margin-bottom: 0.5rem;
}

.join-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: var(--tertiary-color);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.join-nav a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.join-nav a.active {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.join-nav svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

@media (max-width: 991px) {
  .join-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .join-nav li {
    margin-bottom: 0;
  }
}

.join-main {
  flex: 1;
  min-width: 0;
  max-width: 800px;
}

.join-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #fafaf8;
  border-radius: 6px;
}

.join-section:last-child {
  margin-bottom: 0;
}

.join-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
}

.join-section p,
.join-section li {
  line-height: 1.75;
  color: var(--tertiary-color);
  margin-bottom: 0.75rem;
}

.join-section ul,
.join-section ol {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.join-section ol {
  list-style-type: decimal;
}

.join-form-group {
  margin-bottom: 1.25rem;
}

.join-form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--tertiary-color);
}

.join-form-group input:not([type="checkbox"]),
.join-form-group select {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
}

@media (max-width: 599px) {
  .join-form-group input:not([type="checkbox"]),
  .join-form-group select {
    max-width: none;
  }
}

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

.join-form-row {
  margin-bottom: 2rem;
}

.join-form-row-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.join-error {
  font-size: 0.85rem;
  color: #c00;
  margin-top: 0.25rem;
}

.join-captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.join-captcha-q {
  font-size: 1rem;
  color: var(--tertiary-color);
}

.join-captcha-input {
  width: 80px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.join-submit {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  background: transparent;
  color: var(--secondary-color);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.join-submit:hover {
  background: var(--secondary-color);
  color: #fff;
}

.join-declaration-label {
  display: block;
  cursor: pointer;
  font-weight: 400;
}

.join-declaration-label input[type="checkbox"] {
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* contact page */
.contact-content {
  background: #fafaf8;
  padding: 3rem 0 4rem;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-layout {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }
  .contact-col-left {
    width: 42%;
    flex: 0 0 42%;
    padding-right: 2.5rem;
    border-right: 1px solid #e5e2de;
  }
  .contact-col-right {
    width: 58%;
    flex: 1;
    padding-left: 2.5rem;
  }
}

.contact-panel {
  background: #fff;
  padding: 2rem;
  border: 1px solid #e8e6e3;
}

.contact-section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e2de;
}

.contact-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0ede8;
}

.contact-block:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-block-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.contact-block-body {
  flex: 1;
}

.contact-block-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-block-content {
  font-size: 1rem;
  color: var(--tertiary-color);
  line-height: 1.65;
}

.contact-block-content a {
  color: var(--tertiary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-block-content a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--tertiary-color);
  border: 1px solid #ddd;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-social a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(142, 53, 23, 0.04);
}

.contact-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.contact-map-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e2de;
}

.contact-map-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.contact-map {
  width: 100%;
  height: 280px;
  border: none;
}

.contact-form-panel {
  background: #fff;
  padding: 2rem;
  border: 1px solid #e8e6e3;
}

.contact-form-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e2de;
}

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

.contact-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease;
}

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

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

.contact-error {
  font-size: 0.85rem;
  color: #c00;
  margin-top: 0.35rem;
}

.contact-submit {
  padding: 0.7rem 1.75rem;
  border: 1px solid var(--secondary-color);
  border-radius: 0;
  background: transparent;
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-submit:hover {
  background: var(--secondary-color);
  color: #fff;
}

@media (max-width: 991px) {
  .contact-layout {
    gap: 2rem;
  }
  .contact-col-left {
    padding-right: 0;
    border-right: none;
  }
  .contact-col-right {
    padding-left: 0;
  }
}

/* ===== Tamil Arivuyanthiram: ஏன் இது அவசியம் section ===== */
.avasiyam-section {
  background: linear-gradient(180deg, #faf8f6 0%, #fff 50%, #faf8f6 100%);
}

.avasiyam-intro {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.95rem;
  color: var(--secondary-color);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.avasiyam-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 768px) {
  .avasiyam-cards {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .avasiyam-card--solution {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

.avasiyam-card {
  background: var(--text-light);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.avasiyam-card.avasiyam-animate {
  opacity: 0;
  transform: translateY(24px);
}

.avasiyam-card.avasiyam-visible {
  opacity: 1;
  transform: translateY(0);
}

.avasiyam-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-color);
  opacity: 0.5;
}

.avasiyam-card--challenge:hover {
  border-color: rgba(142, 53, 23, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.avasiyam-card--solution {
  background: linear-gradient(135deg, rgba(142, 53, 23, 0.06), rgba(72, 51, 26, 0.04));
  border-color: rgba(142, 53, 23, 0.35);
}

.avasiyam-card--solution::before {
  background: var(--primary-color);
  opacity: 1;
  width: 5px;
}

.avasiyam-card--solution:hover {
  border-color: rgba(142, 53, 23, 0.5);
  box-shadow: 0 8px 24px rgba(142, 53, 23, 0.12);
}

.avasiyam-card-badge {
  display: inline-block;
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-color);
  background: rgba(72, 51, 26, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.avasiyam-card-badge--solution {
  background: var(--primary-color);
  color: var(--text-light);
}

.avasiyam-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--secondary-color);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.avasiyam-card-icon--solution {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.avasiyam-card-title {
  font-family: "Noto Serif Tamil", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tertiary-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.avasiyam-card--solution .avasiyam-card-title {
  color: var(--primary-color);
  font-size: 1.15rem;
}

.avasiyam-card-desc {
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tertiary-color);
  margin: 0;
}

