/*
Theme Name: GSOD Detroit
Theme URI: https://gsoddetroit.org/
Author: Gujarati Samaj of Detroit
Description: Custom theme for the Gujarati Samaj of Detroit (GSOD), generated from the GSOD static HTML "index-v2.html" (full-bleed background hero slider). Plum & saffron design system, floating pill navigation, deep-plum footer. Classic (PHP) theme, Elementor & Elementor Pro Theme Builder compatible.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gsod
Tags: community, non-profit, custom-menu, featured-images, translation-ready, elementor
*/

/* ==========================================================================
   GSOD design system — ported verbatim from css/styles.css.
   The webfont @import was removed; fonts are enqueued in functions.php.
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS & VARIABLES (Modern Plum & Saffron Theme)
   ========================================================================== */
:root {
  /* Premium Colors */
  --color-plum: #781d42;          /* Deep Plum/Burgundy Brand Primary */
  --color-plum-hover: #5d1230;
  --color-plum-light: #fbf5f7;
  
  --color-saffron: #f5a623;       /* Saffron Gold Accent */
  --color-saffron-hover: #db8e14;
  --color-saffron-light: #fef9f0;
  
  --color-bg: #faf8f5;            /* Soft Ivory Cream Page Backdrop */
  --color-card-bg: #ffffff;
  
  --color-text: #1e293b;          /* Dark Slate Charcoal */
  --color-text-light: #64748b;    /* Slate Gray */
  --color-border: #f1eae2;        /* Warm Beige border */
  
  /* Fonts */
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Layout Sizing & Shadows */
  --shadow-sm: 0 1px 3px rgba(120, 29, 66, 0.03);
  --shadow-md: 0 10px 30px rgba(120, 29, 66, 0.05);
  --shadow-lg: 0 20px 40px rgba(120, 29, 66, 0.08);
  --shadow-xl: 0 30px 60px rgba(120, 29, 66, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 100% 0%, rgba(120, 29, 66, 0.02) 0%, transparent 40%),
                    radial-gradient(circle at 0% 100%, rgba(245, 166, 35, 0.02) 0%, transparent 40%);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & UTIL CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.text-center { text-align: center; }

.section-title-wrapper {
  margin-bottom: 50px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-plum);
  background: var(--color-plum-light);
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 12px auto 0;
  font-weight: 300;
}

/* ==========================================================================
   BUTTONS (Pill Rounded Designs)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  font-family: var(--font-headings);
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--color-plum);
  color: #ffffff;
  border-color: var(--color-plum);
  box-shadow: 0 10px 20px rgba(120, 29, 66, 0.15);
}

.btn-primary:hover {
  background-color: var(--color-plum-hover);
  border-color: var(--color-plum-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(120, 29, 66, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-plum);
  border-color: var(--color-plum);
}

.btn-secondary:hover {
  background-color: var(--color-plum);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(120, 29, 66, 0.1);
}

.btn-navy {
  background-color: var(--color-plum);
  color: #ffffff;
  border-color: var(--color-plum);
  box-shadow: 0 10px 20px rgba(120, 29, 66, 0.15);
}

.btn-navy:hover {
  background-color: var(--color-plum-hover);
  border-color: var(--color-plum-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(120, 29, 66, 0.25);
}

.btn-saffron {
  background-color: var(--color-saffron);
  color: var(--color-text);
  border-color: var(--color-saffron);
}

.btn-saffron:hover {
  background-color: var(--color-saffron-hover);
  border-color: var(--color-saffron-hover);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-plum);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-text:hover {
  color: var(--color-saffron-hover);
}

.btn:disabled {
  background-color: #cbd5e1;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   FLOATING NAVIGATION HEADER
   ========================================================================== */
header {
  position: sticky;
  top: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 20px auto 0;
  width: calc(100% - 40px);
  max-width: 1200px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(120, 29, 66, 0.04);
  border: 1px solid rgba(241, 234, 226, 0.8);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 30px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 46px;
  width: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-saffron);
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-plum);
  line-height: 1;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  color: var(--color-saffron-hover);
  font-weight: 700;
  margin-top: 2px;
}

/* Navbar center link items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-plum);
  background-color: var(--color-plum-light);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  padding: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.nav-dropdown-item a:hover {
  background-color: var(--color-plum-light);
  color: var(--color-plum);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-plum);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  header {
    border-radius: var(--radius-md);
    width: calc(100% - 32px);
    margin-top: 16px;
  }
  .nav-menu {
    position: fixed;
    top: 100px;
    left: -100%;
    width: calc(100% - 32px);
    max-width: 320px;
    height: auto;
    max-height: 70vh;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 12px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 16px;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: var(--color-plum-light);
    border: none;
    box-shadow: none;
    margin-top: 4px;
    margin-left: 12px;
    width: calc(100% - 12px);
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Remove decorative margins as we use modern spacers now */
.toran-divider {
  display: none !important;
}

/* ==========================================================================
   MODERN HERO SECTION (Slide & split visual grid)
   ========================================================================== */
.hero-slider-wrapper {
  background: radial-gradient(circle at 80% 20%, rgba(120, 29, 66, 0.05) 0%, rgba(245, 166, 35, 0.02) 50%, #ffffff 100%);
  padding: 100px 0 140px;
}

@media (max-width: 768px) {
  .hero-slider-wrapper {
    padding: 60px 0 100px;
  }
}

.hero-slider {
  position: relative;
  min-height: 480px;
}

.slide {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.slide.active {
  display: grid;
}

@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.slide-content {
  max-width: 580px;
}

.slide-tagline {
  color: var(--color-plum);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: block;
}

.slide-title {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 2.5rem;
  }
}

.slide-description {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Right column curved image with play button */
.slide-visual {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.slide-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.visual-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-plum);
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  z-index: 2;
}

.visual-play-btn:hover {
  transform: scale(1.1);
  background: var(--color-saffron);
  color: var(--color-text);
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background: var(--color-plum);
  width: 24px;
  border-radius: 9999px;
}

/* Floating Overlapping Cards */
.hero-floating-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -80px;
  position: relative;
  z-index: 5;
}

@media (max-width: 900px) {
  .hero-floating-cards {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }
}

.floating-card {
  padding: 36px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

.floating-card.primary {
  background-color: var(--color-plum);
  color: #ffffff;
  border-color: var(--color-plum);
}

.floating-card.white {
  background-color: #ffffff;
  color: var(--color-text);
}

.floating-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.floating-card-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--color-saffron);
}

.floating-card.primary .floating-card-icon {
  color: var(--color-saffron);
}

.floating-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: inherit;
}

.floating-card-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ==========================================================================
   ABOUT / OVERLAPPING IMAGES SECTION
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Overlapping image layout */
.overlapping-images-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 60px;
}

.main-overlap-img {
  width: 85%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.sub-overlap-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 5px solid #ffffff;
}

/* Progress bar widgets */
.progress-bar-container {
  margin-top: 30px;
  margin-bottom: 24px;
}

.progress-bar-item {
  margin-bottom: 20px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.progress-bar-track {
  height: 7px;
  background-color: #cbd5e1;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-plum) 0%, var(--color-saffron) 100%);
  border-radius: 9999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   SERVICES / EVENTS GRID (Overlapping card bodies)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
}

.service-card {
  position: relative;
  background: transparent;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  padding-bottom: 50px;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card-img-wrapper {
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

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

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-body {
  margin: -50px 24px 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(241, 234, 226, 0.7);
  position: relative;
  z-index: 2;
}

.service-card-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ==========================================================================
   ADVISORY GATEWAYS STRIP (Plum background)
   ========================================================================== */
.advisory-section {
  background-color: var(--color-plum);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 70px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.advisory-section h2 {
  color: #ffffff;
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 45px;
}

.advisory-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.advisory-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-saffron);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.advisory-item:hover .advisory-circle {
  background: var(--color-saffron);
  color: var(--color-plum);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.advisory-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.advisory-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 180px;
  line-height: 1.4;
}

/* ==========================================================================
   STAT COUNTER / PARALLAX VIDEO BANNER
   ========================================================================== */
.parallax-stats-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  text-align: center;
  color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
}

.parallax-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120, 29, 66, 0.92) 0%, rgba(12, 27, 51, 0.8) 100%);
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-container h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 650px;
  margin: 20px auto 40px;
}

@media (max-width: 768px) {
  .stats-container h2 {
    font-size: 2rem;
  }
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  background: rgba(0, 0, 0, 0.2);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-saffron);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   EXPERTISE SECTION (2x2 Grid)
   ========================================================================== */
.expertise-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .expertise-split {
    grid-template-columns: 1fr;
  }
}

.expertise-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.expertise-card {
  padding: 36px 28px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-plum);
}

.expertise-card.highlighted {
  background: var(--color-plum);
  color: #ffffff;
  border-color: var(--color-plum);
}

.expertise-card-icon {
  font-size: 1.8rem;
  color: var(--color-plum);
  margin-bottom: 16px;
}

.expertise-card.highlighted .expertise-card-icon {
  color: var(--color-saffron);
}

.expertise-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.expertise-card.highlighted .expertise-card-title {
  color: #ffffff;
}

.expertise-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.expertise-card.highlighted .expertise-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   TESTIMONIAL SPLIT SECTION (Plum block left)
   ========================================================================== */
.testimonial-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .testimonial-split {
    grid-template-columns: 1fr;
  }
}

.testimonial-plum-card {
  background-color: var(--color-plum);
  color: #ffffff;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.testimonial-plum-card::after {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: serif;
  line-height: 1;
}

.testimonials-wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 30px;
  opacity: 0.95;
}

.testimonial-author {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-saffron);
}

.testimonial-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.testimonial-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* ==========================================================================
   PRICING / MEMBERSHIP PACKAGES ROW
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px 30px;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background-color: var(--color-plum);
  color: #ffffff;
  border-color: var(--color-plum);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card-name {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-plum);
  margin-bottom: 20px;
}

.pricing-card.featured .pricing-card-name {
  color: var(--color-saffron);
}

.pricing-price {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.pricing-card.featured .pricing-price {
  color: #ffffff;
}

.pricing-duration {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.pricing-card.featured .pricing-duration {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card.featured .pricing-features li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-plum);
  font-weight: 700;
}

.pricing-card.featured .pricing-features li::before {
  color: var(--color-saffron);
}

.pricing-card .btn {
  width: 100%;
}

.pricing-card.featured .btn {
  background-color: #ffffff;
  color: var(--color-plum);
  border-color: #ffffff;
}

.pricing-card.featured .btn:hover {
  background-color: var(--color-saffron);
  border-color: var(--color-saffron);
  color: var(--color-text);
}

/* ==========================================================================
   BOTTOM CTA ACTION BANNER
   ========================================================================== */
.bottom-cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #ffffff;
}

.bottom-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 29, 66, 0.95) 0%, rgba(120, 29, 66, 0.7) 100%);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 650px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .cta-banner-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   BLOG / NEWS / SAMAJ DARSHAN INSIGHTS
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-plum);
}

.blog-card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.blog-card-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-saffron);
  color: var(--color-text);
  padding: 6px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.blog-card-content {
  padding: 26px;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.3;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER SECTION (Deep Plum Layout)
   ========================================================================== */
footer {
  background-color: var(--color-plum);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

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

.footer-col h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-saffron);
  color: var(--color-plum);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(245, 166, 35, 0.3);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-saffron);
  padding-left: 6px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.85rem;
  flex-grow: 1;
}

.newsletter-input:focus {
  border-color: var(--color-saffron);
}

.newsletter-btn {
  background: var(--color-saffron);
  border: none;
  color: var(--color-plum);
  font-weight: 700;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--color-saffron-hover);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.gujarati-motif-line {
  display: none !important; /* Hide old motif footer border */
}

/* ==========================================================================
   FORM & INTERACTIVE COMPONENT DETAILS (Inner Pages)
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

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

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.input-field {
  width: 100%;
  padding: 12px 18px;
  border-radius: 9999px; /* Rounded pill style fields matching screenshot */
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.input-field:focus {
  border-color: var(--color-plum);
  box-shadow: 0 0 0 3px rgba(120, 29, 66, 0.1);
}

.input-field::placeholder {
  color: var(--color-text-light);
  opacity: 0.6;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.form-checkbox input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-error {
  color: var(--color-plum);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.input-field.error {
  border-color: var(--color-plum);
  background-color: #fdf6f7;
}

/* Multi-step Signup wizard */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: slideIn 0.3s ease-out;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.wizard-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-light);
  flex: 1;
}

.wizard-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--color-bg);
  transition: all var(--transition-fast);
}

.wizard-step.active {
  color: var(--color-plum);
}

.wizard-step.active .wizard-step-num {
  background-color: var(--color-plum);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(120, 29, 66, 0.2);
}

.wizard-step.completed .wizard-step-num {
  background-color: var(--color-saffron);
  color: var(--color-text);
}

/* Dialog Modals */
dialog {
  margin: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 90%;
  padding: 36px;
  background-color: #ffffff;
  outline: none;
}

dialog::backdrop {
  background-color: rgba(12, 27, 51, 0.6);
  backdrop-filter: blur(8px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.dialog-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-plum);
}

.dialog-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text-light);
  cursor: pointer;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--color-plum);
}

/* ==========================================================================
   MEMBER PROFILE DASHBOARD & TABLES
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

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

.sidebar-nav {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-user {
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 16px;
}

.user-avatar-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-plum-light);
  color: var(--color-plum);
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 2px solid var(--color-plum);
}

.sidebar-user-name {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.05rem;
}

.sidebar-user-badge {
  font-size: 0.75rem;
  margin-top: 4px;
}

.sidebar-btn {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  background: none;
  color: var(--color-text-light);
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.sidebar-btn:hover, .sidebar-btn.active {
  background-color: var(--color-plum-light);
  color: var(--color-plum);
}

.dashboard-panel {
  display: none;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 36px;
  animation: fadeIn 0.4s ease;
}

.dashboard-panel.active {
  display: block;
}

.panel-title {
  font-family: var(--font-headings);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-plum);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: left;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

th {
  background-color: var(--color-plum-light);
  color: var(--color-plum);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  font-size: 0.95rem;
}

tr:hover td {
  background-color: var(--color-bg);
}

/* Invoices */
.invoice-container {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-plum);
  padding-bottom: 20px;
}

.invoice-logo {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-plum);
}

.invoice-title-block {
  text-align: right;
}

.invoice-number {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-plum);
}

.invoice-summary-item.total {
  font-size: 1.25rem;
  font-weight: 800;
  border-top: 2px double var(--color-border);
  padding-top: 12px;
  color: var(--color-plum);
}

/* ==========================================================================
   ANIMATIONS KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-slide-in { animation: slideIn 0.5s ease forwards; }

/* Redesigned Features List for About Samaj Section */
.features-list {
  margin-top: 30px;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.features-item:hover {
  border-color: var(--color-plum);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.features-num {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-plum);
  background: var(--color-plum-light);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(120, 29, 66, 0.12);
}
.features-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.features-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   WORDPRESS INTEGRATION LAYER  (not part of the original static site)
   ========================================================================== */

/* Accessibility helper */
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;
  margin:-1px;overflow:hidden;padding:0;position:absolute!important;word-wrap:normal!important;
}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:2000;background:#fff;color:var(--color-plum);
  padding:12px 20px;border-radius:0 0 var(--radius-sm) 0;font-weight:700;
}
.skip-link:focus{left:0;}

/* Admin bar must not hide the floating sticky header */
.admin-bar header{ top:calc(20px + 32px); }
@media screen and (max-width:782px){ .admin-bar header{ top:calc(16px + 46px); } }

/* wp_nav_menu submenus reuse the dropdown design */
.nav-menu .sub-menu{
  position:absolute;top:calc(100% + 10px);left:0;background:#fff;border:1px solid var(--color-border);
  border-radius:var(--radius-md);min-width:210px;list-style:none;opacity:0;visibility:hidden;
  transform:translateY(15px);transition:all var(--transition-fast);box-shadow:var(--shadow-lg);z-index:10;padding:8px;
}
.nav-menu .menu-item-has-children{ position:relative; }
.nav-menu .menu-item-has-children:hover > .sub-menu{ opacity:1;visibility:visible;transform:translateY(0); }
.nav-menu .sub-menu a{
  display:block;padding:10px 16px;color:var(--color-text);font-weight:500;font-size:.9rem;border-radius:var(--radius-sm);
}
.nav-menu .sub-menu a:hover{ background:var(--color-plum-light);color:var(--color-plum); }
.nav-menu .current-menu-item > a{ color:var(--color-plum);background:var(--color-plum-light); }

@media (max-width:992px){
  .nav-menu .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;background:var(--color-plum-light);
    border:none;box-shadow:none;margin:4px 0 0 12px;width:calc(100% - 12px);
  }
}

/* ---- Content area for regular WP pages / posts ---- */
.site-main{ flex:1 0 auto; }
.content-area{
  max-width:820px;margin:0 auto;padding:140px 24px 100px;
}
.content-area .entry-title{ font-size:2.6rem;font-weight:800;letter-spacing:-.02em;margin-bottom:16px; }
.content-area .entry-meta{ color:var(--color-text-light);margin-bottom:28px;font-size:.95rem; }
.entry-content{ font-size:1.05rem;line-height:1.75; }
.entry-content > * + *{ margin-top:1.2em; }
.entry-content h2{ font-size:1.9rem;margin-top:1.6em; }
.entry-content h3{ font-size:1.4rem;margin-top:1.4em; }
.entry-content a{ color:var(--color-plum);text-decoration:underline;text-underline-offset:3px; }
.entry-content img{ border-radius:var(--radius-md); }
.entry-content blockquote{
  border-left:4px solid var(--color-saffron);padding-left:20px;color:var(--color-text-light);font-style:italic;
}
.entry-content ul,.entry-content ol{ padding-left:1.4em; }
.entry-content .alignwide{ width:min(1100px,96vw);margin-left:calc(50% - min(550px,48vw)); }
.entry-content .alignfull{ width:100vw;margin-left:calc(50% - 50vw); }
.aligncenter{ margin-left:auto;margin-right:auto;display:block; }
.alignleft{ float:left;margin:0 24px 16px 0; }
.alignright{ float:right;margin:0 0 16px 24px; }

/* Elementor-built pages: let sections run edge to edge */
.gsod-elementor-page .content-area{ max-width:none;padding:0; }
.gsod-elementor-page .content-area .entry-content{ font-size:inherit;line-height:inherit; }
.gsod-elementor-active{ overflow-x:clip; }

/* Pagination */
.pagination{ display:flex;gap:8px;flex-wrap:wrap;margin-top:50px; }
.pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px;
  border-radius:9999px;border:1px solid var(--color-border);font-weight:600;
}
.pagination .page-numbers.current{ background:var(--color-plum);color:#fff;border-color:var(--color-plum); }
.pagination a.page-numbers:hover{ background:var(--color-plum-light);color:var(--color-plum); }

/* Comments */
.comments-area{ margin-top:60px;border-top:1px solid var(--color-border);padding-top:40px; }
.comments-area .comment-list{ list-style:none;padding:0; }
.comments-area .comment-body{ padding:18px 0;border-bottom:1px solid var(--color-border); }
.comments-area .comment-author{ font-weight:700;font-family:var(--font-headings); }
.comments-area input[type=text],.comments-area input[type=email],.comments-area input[type=url],.comments-area textarea{
  width:100%;padding:12px 16px;border:1px solid var(--color-border);border-radius:var(--radius-sm);
  background:var(--color-card-bg);margin-top:6px;
}
.comments-area .form-submit input{
  background:var(--color-plum);color:#fff;border:none;padding:14px 32px;border-radius:9999px;
  font-weight:600;font-family:var(--font-headings);cursor:pointer;
}

/* Footer bottom legal menu rendered inline like the static "a | a" */
.footer-legal-menu{ list-style:none;display:flex;gap:14px;margin:0;padding:0;font-size:.85rem; }
.footer-legal-menu li + li::before{ content:'|';margin-right:14px;color:rgba(255,255,255,.35); }
.footer-legal-menu a{ color:rgba(255,255,255,.75); }
.footer-legal-menu a:hover{ color:var(--color-saffron); }

/* the_custom_logo wrapper alignment inside the pill header */
.header-container .custom-logo-link{ display:flex;align-items:center; }
.header-container .custom-logo{ height:46px;width:46px;object-fit:cover;border-radius:50%;border:2px solid var(--color-saffron); }

/* ==========================================================================
   V2 FULL-BLEED BACKGROUND HERO SLIDER  (from index-v2.html)
   Overrides the base split-grid hero with a viewport-height background
   showcase. The floating cards overlap the bottom of the slider.
   ========================================================================== */
.home .hero-slider-wrapper,
.gsod-hero-v2 {
  padding: 0;
  background: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: -116px;              /* pull behind the floating sticky header */
}
.admin-bar .gsod-hero-v2 { margin-top: -148px; }

.gsod-hero-v2 .hero-slider {
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding-top: 116px;
}
.gsod-hero-v2 .slide {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease-in-out, transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  padding-left: calc((100% - 1200px) / 2 + 24px);
  padding-right: 24px;
  padding-bottom: 160px;
}
.gsod-hero-v2 .slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.gsod-hero-v2 .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 27, 51, 0.30) 0%, rgba(12, 27, 51, 0.72) 100%);
  z-index: 1;
}
.gsod-hero-v2 .slide-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 680px;
  color: #ffffff;
  margin: 0;
}
.gsod-hero-v2 .slide-tagline,
.gsod-hero-v2 .slide-title,
.gsod-hero-v2 .slide-description,
.gsod-hero-v2 .slide-actions {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.gsod-hero-v2 .slide.active .slide-tagline { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.gsod-hero-v2 .slide.active .slide-title { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.gsod-hero-v2 .slide.active .slide-description { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.gsod-hero-v2 .slide.active .slide-actions { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }

.gsod-hero-v2 .slide-tagline {
  color: var(--color-saffron) !important;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.gsod-hero-v2 .slide-title {
  color: #ffffff !important;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}
.gsod-hero-v2 .slide-description {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.6;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}
.gsod-hero-v2 .slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.gsod-hero-v2 .slide-actions .btn-secondary { color: #ffffff; border-color: #ffffff; }
.gsod-hero-v2 .slide-actions .btn-secondary:hover { background-color: #ffffff; color: var(--color-plum); border-color: #ffffff; }

.gsod-hero-v2 .slider-controls {
  position: absolute;
  bottom: 128px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin-top: 0;
  display: flex;
  gap: 10px;
}
.gsod-hero-v2 .slider-controls .dot {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.gsod-hero-v2 .slider-controls .dot.active {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
}

/* v2 floating cards overlap the bottom of the background slider */
.gsod-hero-v2-cards { position: relative; z-index: 10; }
.gsod-hero-v2-cards .hero-floating-cards { margin-top: -140px; }

@media (max-width: 1248px) {
  .gsod-hero-v2 .slide { padding-left: 24px; }
}
@media (max-width: 900px) {
  .gsod-hero-v2-cards .hero-floating-cards { margin-top: -90px; }
}
@media (max-width: 768px) {
  .gsod-hero-v2 { margin-top: -112px; }
  .admin-bar .gsod-hero-v2 { margin-top: -158px; }
  .gsod-hero-v2 .hero-slider { padding-top: 96px; min-height: 560px; }
  .gsod-hero-v2 .slide { padding-left: 16px; padding-right: 16px; padding-bottom: 120px; }
  .gsod-hero-v2 .slide-title { font-size: 2.4rem; }
  .gsod-hero-v2 .slider-controls { bottom: 108px; }
}
