/* ═══════════════════════════════════════════════
   DMA MODERN DESIGN SYSTEM
   Detroit Malayalee Association
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');

/* ─── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ─── Variables ────────────────────────────────── */
:root {
  --red:       #86053b;
  --red-light: rgba(134,5,59,0.08);
  --green:     #79B91C;
  --orange:    #FA8828;
  --dark:      #1a1212;
  --muted:     #6b6b6b;
  --border:    rgba(0,0,0,0.09);
  --bg:        #faf9f7;
  --white:     #ffffff;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --font-d:    'Playfair Display', serif; /* revert: 'Cormorant Garamond', serif */
  --font-b:    'DM Sans', sans-serif;
  --nav-h:     66px;
  --max-w:     1140px;
}

/* ─── Base ─────────────────────────────────────── */
body {
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
}

/* ─── Top Bar ──────────────────────────────────── */
.dma-topbar {
  background: var(--red);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  padding: 7px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.dma-topbar a {
  color: rgba(255,255,255,0.75);
  margin-left: 18px;
  transition: color .15s;
}
.dma-topbar a:hover { color: #fff; }
.dma-topbar-left { display: flex; gap: 4px; align-items: center; }
.dma-topbar-right { display: flex; align-items: center; }
.dma-topbar i { margin-right: 4px; font-size: 11px; }

/* ─── Navigation ───────────────────────────────── */
.dma-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.dma-logo {
  white-space: nowrap;
  flex-shrink: 0;
}
.dma-logo img {
  height: 52px;
  width: auto;
  display: block;
}
.dma-nav-contact {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.dma-nav-contact a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: var(--radius);
  transition: all .15s;
  white-space: nowrap;
}
.dma-nav-contact a:hover {
  color: var(--red);
  background: var(--red-light);
}
.dma-nav-contact a svg { flex-shrink: 0; }

/* Nav links */
.dma-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.dma-nav-links > li { position: relative; }
.dma-nav-links > li > a,
.dma-nav-links > li > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 11px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.dma-nav-links > li > a:hover,
.dma-nav-links > li > span:hover,
.dma-nav-links > li.active > a {
  color: var(--red);
  background: var(--red-light);
}
.dma-nav-links > li > a.active { color: var(--red); }

/* Dropdown arrow — rotates when open */
.dma-nav-links .has-drop > a::after,
.dma-nav-links .has-drop > span::after {
  content: '▾';
  font-size: 16px;
  opacity: .7;
  display: inline-block;
  transition: transform .2s;
}
.dma-nav-links .has-drop:hover > a::after,
.dma-nav-links .has-drop:focus-within > a::after,
.dma-nav-links .has-drop:hover > span::after,
.dma-nav-links .has-drop:focus-within > span::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.dma-nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  min-width: 210px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 100;
}
.dma-nav-links .has-drop:hover .dropdown,
.dma-nav-links .has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dma-nav-links .dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--muted);
  transition: color .15s, background .15s, box-shadow .15s, padding-left .15s;
}
.dma-nav-links .dropdown li a:hover {
  color: var(--red);
  background: var(--red-light);
  box-shadow: inset 3px 0 0 var(--red);
  padding-left: 23px;
}

/* ─── Mega Menu ─────────────────────────────── */
/* revert: remove .has-mega class from li, replace .mega-panel with <ul class="dropdown"> */
.dma-nav-links .has-mega { position: static; }
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 100;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-col-head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red-light);
}
.mega-panel a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color .15s, padding-left .15s;
}
.mega-panel a:last-child { border-bottom: 0; }
.mega-panel a:hover { color: var(--red); padding-left: 6px; }

/* Volunteer CTA button */
.btn-volunteer {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  transition: background .15s !important;
  white-space: nowrap;
}
.btn-volunteer:hover {
  background: #6a0430 !important;
  color: var(--white) !important;
}

/* Mobile hamburger — solid red, always obvious */
.dma-nav-toggle {
  display: none;
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 9px 10px;
  cursor: pointer;
  color: #fff;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  flex-shrink: 0;
}
.dma-nav-toggle svg { display: block; }
.dma-nav-toggle:hover { background: #6a0430; }
.dma-nav-toggle.active { background: var(--dark); }

/* CSS-driven icon swap: show hamburger by default, X when active */
.dma-nav-toggle .icon-close { display: none; }
.dma-nav-toggle.active .icon-menu { display: none; }
.dma-nav-toggle.active .icon-close { display: block; }

/* Backdrop that dims the page when mobile menu is open */
.dma-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  cursor: pointer;
}
.dma-nav-backdrop.open { display: block; }

/* ─── Top Sponsors Strip ────────────────────────── */
.dma-top-sponsors {
  background: var(--red);
  padding: 20px 32px;
  overflow: hidden;
}
.dma-top-sponsors-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  justify-content: center;
}
.dma-top-sponsors-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  white-space: nowrap;
}
.dma-top-sponsors-imgs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
}
.dma-top-sponsors-imgs img {
  height: 120px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.92);
  padding: 10px 20px;
  transition: background .2s;
}
.dma-top-sponsors-imgs img:hover { background: #fff; }
.dma-top-sponsors-all {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  transition: color .15s;
}
.dma-top-sponsors-all:hover { color: #fff; }
@media (max-width: 768px) {
  .dma-top-sponsors-all { margin-left: 0; }
  .dma-top-sponsors-imgs img { height: 90px; }
}

/* ─── Hero Carousel ─────────────────────────────── */
.dma-hero {
  width: 100%;
  max-width: 100vw;
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--dark);
}
.dma-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(0.4,0,0.2,1);
}
.dma-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.dma-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Gradient fallbacks */
.dma-hero-slide.s1 { background: linear-gradient(135deg, #2d0a1a 0%, #86053b 50%, #FA8828 100%); }
.dma-hero-slide.s2 { background: linear-gradient(135deg, #0a1a2e 0%, #185FA5 60%, #79B91C 100%); }
.dma-hero-slide.s3 { background: linear-gradient(135deg, #1a2e0a 0%, #3B6D11 60%, #FA8828 100%); }
.dma-hero-slide.s4 { background: linear-gradient(135deg, #2e1a0a 0%, #854F0B 50%, #FA8828 100%); }
.dma-hero-slide.s5 { background: linear-gradient(135deg, #1a0a2e 0%, #533AB7 60%, #86053b 100%); }
.dma-hero-slide.s6 { background: linear-gradient(135deg, #0a2e2a 0%, #0F6E56 60%, #79B91C 100%); }
.dma-hero-slide.s7 { background: linear-gradient(135deg, #2e2a0a 0%, #854F0B 60%, #FA8828 100%); }

.dma-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 45%, transparent 70%);
}
.dma-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 64px 52px;
  color: var(--white);
}
.dma-hero-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 16px rgba(134,5,59,0.45);
}
.dma-hero-title {
  font-family: var(--font-d);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.18;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 4px 32px rgba(0,0,0,0.55);
}
.dma-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: background .2s;
  z-index: 10;
}
.dma-hero-arrow:hover { background: rgba(255,255,255,0.26); }
.dma-hero-arrow.prev { left: 20px; }
.dma-hero-arrow.next { right: 20px; }
.dma-hero-dots {
  position: absolute;
  bottom: 24px;
  right: 64px;
  display: flex;
  gap: 7px;
  z-index: 10;
}
.dma-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}
.dma-dot.active { background: var(--white); width: 26px; }

/* ─── Section Shared ────────────────────────────── */
.dma-section {
  padding: 68px 0;
}
.dma-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.dma-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 6px;
}
.dma-title {
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.dma-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.dma-section-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ─── Event Cards ───────────────────────────────── */
.dma-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.dma-event-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  background: var(--bg);
  transition: box-shadow .2s, transform .2s;
}
.dma-event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dma-event-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 6px;
}
.dma-event-name {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.dma-event-loc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.dma-event-loc svg,
.dma-event-loc .icon { color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* ─── About / Two-Col Grid ──────────────────────── */
.dma-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.dma-two-col.reverse { direction: rtl; }
.dma-two-col.reverse > * { direction: ltr; }
.dma-img-block {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.dma-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dma-body-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.dma-body-text p { margin-bottom: 14px; }
.dma-body-text p:last-child { margin-bottom: 0; }

/* ─── Cards Grid ────────────────────────────────── */
.dma-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dma-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow .2s, transform .2s;
}
.dma-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dma-card-img {
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.dma-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.dma-card:hover .dma-card-img img { transform: scale(1.04); }
.dma-card-body { padding: 22px 24px; }
.dma-card-title {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.dma-card-desc { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ─── Team Grid ─────────────────────────────────── */
.dma-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.dma-team-card {
  text-align: center;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 24px 16px 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.dma-team-card:hover {
  box-shadow: 0 15px 40px rgba(134,5,59,0.2);
  transform: translateY(-6px);
  border-color: var(--red);
}
.dma-team-img {
  margin: 0 auto 16px;
  overflow: hidden;
}
.dma-team-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--red);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  display: block;
}
.dma-team-card:hover .dma-team-img img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(134,5,59,0.3);
}
.dma-team-name {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}
.dma-team-role {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  background: var(--red-light);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* ─── Page Header (Breadcrumb) ──────────────────── */
.dma-page-header {
  background: url('../images/bg/bg2.jpg') top/cover no-repeat;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.dma-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.55));
}
.dma-page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.dma-page-header h1 {
  font-family: var(--font-d);
  font-size: 40px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: capitalize;
}
.dma-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.dma-breadcrumb a { color: rgba(255,255,255,0.75); transition: color .15s; }
.dma-breadcrumb a:hover { color: var(--white); }
.dma-breadcrumb span { color: rgba(255,255,255,0.45); }

/* ─── Blog / Content with Sidebar ──────────────── */
.dma-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.dma-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dma-sidebar h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.dma-sidebar ul li {
  border-bottom: 1px solid var(--border);
}
.dma-sidebar ul li:last-child { border-bottom: 0; }
.dma-sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .15s;
}
.dma-sidebar ul li a:hover { color: var(--red); }
.dma-sidebar ul li a::before {
  content: '›';
  color: var(--red);
  font-size: 16px;
}

/* ─── Accordion ─────────────────────────────────── */
.dma-accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.dma-accordion-item { border-bottom: 1px solid var(--border); }
.dma-accordion-item:last-child { border-bottom: 0; }
.dma-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  transition: background .15s, color .15s;
}
.dma-accordion-btn:hover { background: var(--red-light); color: var(--red); }
.dma-accordion-btn.open { background: var(--red); color: var(--white); }
.dma-accordion-btn .icon { transition: transform .2s; font-size: 18px; flex-shrink: 0; }
.dma-accordion-btn.open .icon { transform: rotate(45deg); }
.dma-accordion-body {
  display: none;
  padding: 16px 20px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--bg);
}
.dma-accordion-body.open { display: block; }

/* ─── Gallery Grid ──────────────────────────────── */
.dma-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dma-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--border);
}
.dma-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.dma-gallery-item:hover img { transform: scale(1.06); }
.dma-gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.dma-gallery-item.wide { grid-column: span 2; }

/* ─── Dhwani / Publication Cards ────────────────── */
.dma-pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dma-pub-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.dma-pub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dma-pub-cover {
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.dma-pub-cover img { width: 100%; height: 100%; object-fit: cover; }
.dma-pub-body { padding: 18px 20px; }
.dma-pub-title {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}
.btn-read {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background .15s;
}
.btn-read:hover { background: #6a0430; color: var(--white); }

/* ─── Sponsors ──────────────────────────────────── */
.dma-sponsors-bar {
  background: var(--red);
  padding: 24px 0;
}
.dma-sponsors-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.dma-sponsors-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  font-weight: 500;
}
.dma-sponsor-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 9px 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s;
}
.dma-sponsor-badge:hover { background: rgba(255,255,255,0.22); color: var(--white); }

.dma-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.dma-sponsor-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.dma-sponsor-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dma-sponsor-card img {
  max-height: 80px;
  width: auto;
  margin: 0 auto 14px;
}
.dma-sponsor-card h4 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.dma-sponsor-level {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  font-weight: 500;
  background: var(--red-light);
  padding: 3px 10px;
  border-radius: 12px;
}

/* ─── Forms ─────────────────────────────────────── */
.dma-form { max-width: 600px; }
.dma-form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dma-form-group.full { grid-template-columns: 1fr; }
.dma-form input,
.dma-form select,
.dma-form textarea {
  width: 100%;
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--dark);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color .15s;
  outline: none;
}
.dma-form input:focus,
.dma-form select:focus,
.dma-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
}
.dma-form textarea { min-height: 130px; resize: vertical; }
.dma-form select { cursor: pointer; }
.btn-submit {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background .15s;
  margin-top: 8px;
}
.btn-submit:hover { background: #6a0430; }

/* Full-width form variant */
.dma-form-wide { max-width: 100%; }

/* Membership cards */
.dma-membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.dma-membership-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.dma-membership-card:hover,
.dma-membership-card.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(134,5,59,0.1);
}
.dma-membership-price {
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 500;
  color: var(--red);
  margin: 8px 0 4px;
}
.dma-membership-type {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}
.dma-membership-note { font-size: 12px; color: var(--muted); }

/* ─── Contact ───────────────────────────────────── */
.dma-contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.dma-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.dma-map iframe { width: 100%; height: 100%; display: block; }
.dma-contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.dma-contact-info h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 20px;
}
.dma-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.dma-contact-item:last-child { margin-bottom: 0; }
.dma-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.dma-contact-text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.dma-contact-text strong { display: block; color: var(--dark); font-size: 13px; font-weight: 500; margin-bottom: 2px; }

/* ─── Places / Kerala ───────────────────────────── */
.dma-places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.dma-place-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.dma-place-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dma-place-img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--dark));
}
.dma-place-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dma-place-card:hover .dma-place-img img { transform: scale(1.06); }
.dma-place-body { padding: 16px 18px; }
.dma-place-name {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.dma-place-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── Content Article ───────────────────────────── */
.dma-article h2 {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
  margin: 28px 0 12px;
}
.dma-article h3 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  margin: 24px 0 10px;
}
.dma-article p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}
.dma-article ul {
  list-style: none;
  margin-bottom: 16px;
}
.dma-article ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.dma-article ul li::before {
  content: '▸';
  color: var(--red);
  position: absolute;
  left: 0;
}
.dma-article img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 20px 0;
}
.dma-highlight {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}
.dma-highlight p { margin-bottom: 0; color: var(--dark); }

/* ─── Footer ────────────────────────────────────── */
.dma-footer {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
              url('../images/bg/bg1.jpg') center/cover no-repeat;
  color: rgba(255,255,255,0.55);
  padding: 52px 0 0;
  font-size: 13px;
}
.dma-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.dma-footer-logo {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.dma-footer-logo span { color: var(--orange); }
.dma-footer-tagline { margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
.dma-footer-social { display: flex; gap: 8px; margin-top: 16px; }
.dma-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background .15s, color .15s;
}
.dma-footer-social a:hover { background: var(--red); color: var(--white); }
.dma-footer-col h5 {
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 600;
}
.dma-footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  font-size: 13px;
  transition: color .15s;
}
.dma-footer-col a:hover { color: var(--white); }
.dma-footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ─── Utilities ─────────────────────────────────── */
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .dma-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dma-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-nav-links > li > a,
  .dma-nav-links > li > span { padding: 8px 8px; font-size: 12px; color: var(--dark); }
  /* Hide contact bar below 1024px so nav items have room */
  .dma-nav-contact { display: none; }
}

@media (max-width: 900px) {
  /* Switch to hamburger at 900px — 10+ nav items don't fit below this */
  :root { --nav-h: 60px; }

  .dma-topbar { display: none; }

  .dma-nav { padding: 0 16px; width: 100%; justify-content: flex-start; gap: 12px; }
  .dma-logo img { height: auto; width: auto; max-height: 38px; max-width: calc(100vw - 80px); }
  .dma-nav-toggle { display: flex; }

  .dma-nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 8px 0 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 1001;
  }
  .dma-nav-links.open { display: flex; }
  .dma-nav-links > li > a,
  .dma-nav-links > li > span {
    padding: 13px 20px;
    border-radius: 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    transform: none !important;
    box-shadow: none !important;
  }
  .dma-nav-links > li:last-child > a { border-bottom: 0; }
  .btn-volunteer {
    margin: 10px 16px !important;
    border-radius: var(--radius) !important;
    text-align: center;
    display: block;
  }

  /* Mobile dropdowns — expand on tap */
  .dma-nav-links .has-drop > a::after,
  .dma-nav-links .has-drop > span::after { content: '▾'; font-size: 18px; opacity: .8; }
  .dma-nav-links .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height .25s ease, visibility .25s;
    box-shadow: none;
    border: none;
    border-top: none;
    border-radius: 0;
    padding: 0;
    background: var(--bg);
  }
  .dma-nav-links .dropdown.mobile-open {
    visibility: visible;
    max-height: 500px;
  }
  .dma-nav-links .dropdown li a {
    padding: 11px 20px 11px 38px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    box-shadow: none !important;
  }

  /* Mega menu — mobile (stack as flat list) */
  .dma-nav-links .has-mega { position: relative; }
  .mega-panel {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    background: var(--bg);
    display: block;
    transition: max-height .3s ease, visibility .3s;
  }
  .mega-panel.mobile-open { visibility: visible; max-height: 800px; }
  .mega-col { display: contents; }
  .mega-col-head {
    display: block;
    padding: 8px 20px 4px 28px;
    font-size: 9px;
    margin: 0;
    border: none;
    background: var(--bg);
  }
  .mega-panel a {
    padding: 11px 20px 11px 38px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }
  .mega-panel a:last-child { border-bottom: 1px solid var(--border); }

  .dma-two-col { grid-template-columns: 1fr; gap: 32px; }
  .dma-content-layout { grid-template-columns: 1fr; }
  .dma-contact-grid { grid-template-columns: 1fr; }
  .dma-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dma-hero { height: 360px; }
  .dma-hero-title { font-size: 18px; }
  .dma-hero-tag { font-size: 9px; padding: 4px 10px; margin-bottom: 8px; }
  .dma-hero-content { padding: 0 16px 28px; }
  .dma-hero-dots { right: 16px; bottom: 10px; }

  .dma-section { padding: 44px 0; }
  .dma-section-inner { padding: 0 16px; }
  .dma-title { font-size: 26px; }

  .dma-cards-grid { grid-template-columns: 1fr; }
  .dma-events-grid { grid-template-columns: 1fr; }
  .dma-team-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-pub-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-places-grid { grid-template-columns: 1fr; }
  .dma-membership-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-form-group { grid-template-columns: 1fr; }

  .dma-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .dma-footer-bottom { flex-direction: column; text-align: center; }

  .dma-page-header { padding: 32px 0 24px; }
  .dma-page-header h1 { font-size: 26px; }
  .dma-page-header-inner { padding: 0 16px; }

  .dma-sponsors-bar-inner { padding: 0 16px; }

  .dma-map { height: 240px; }

  /* Sponsor strip — wrap images on mobile */
  .dma-top-sponsors { padding: 16px; }
  .dma-top-sponsors-inner { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .dma-top-sponsors-label { width: 100%; text-align: center; }
  .dma-top-sponsors-imgs { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .dma-top-sponsors-imgs img { height: 72px; padding: 6px 12px; }
  .dma-top-sponsors-all { margin-left: 0; display: none; }
}

@media (max-width: 480px) {
  .dma-hero { height: 280px; }
  .dma-hero-title { font-size: 15px; }
  .dma-hero-arrow { width: 36px; height: 36px; font-size: 18px; }
  .dma-logo img { height: auto; max-height: 38px; }
  .dma-team-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-pub-grid { grid-template-columns: 1fr; }
  .dma-membership-grid { grid-template-columns: 1fr; }
  .dma-top-sponsors-imgs img { height: 58px; padding: 4px 10px; }
}
