/* 
TrustUp Website - Main Stylesheet
Created: April 2025
*/

/* ===== Base Styles ===== */
:root {
  /* Color Palette */
  --color-background-primary: #fffff0; /* Ivory/soft white */
  --color-background-secondary: #fff8e1; /* Light cream */
  --color-accent-primary: #e6be8a; /* Champagne gold */
  --color-accent-secondary: #bfb1a4; /* Light taupe */
  --color-cta-primary: #1a5d4c; /* Deep emerald green */
  --color-cta-secondary: #0f3057; /* Navy blue */
  --color-text-primary: #333333; /* Dark charcoal */
  --color-text-secondary: #666666; /* Medium gray */
  --color-highlight: #d4af37; /* Gold */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-overlay: rgba(0, 0, 0, 0.5);
  --color-glass-bg: rgba(255, 255, 255, 0.15);
  --color-glass-border: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Lato', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container Width */
  --container-width: 1200px;
  --container-padding: 2rem;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-background-primary);
  overflow-x: hidden;
}

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
}

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

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

ul,
ol {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

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

button {
  cursor: pointer;
  font-family: var(--font-accent);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-number {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.section-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-top: var(--spacing-xs);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-medium);
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--color-cta-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-accent-primary);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  background-color: var(--color-accent-secondary);
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-text {
  background: none;
  padding: 0.5rem 0;
  color: var(--color-cta-primary);
  position: relative;
  text-transform: none;
  letter-spacing: normal;
}

.btn-text:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-cta-primary);
  transition: width var(--transition-medium);
}

.btn-text:hover {
  color: var(--color-cta-secondary);
  transform: none;
  box-shadow: none;
}

.btn-text:hover:after {
  width: 100%;
  background-color: var(--color-cta-secondary);
}

.btn-text i {
  margin-left: 0.5rem;
  transition: transform var(--transition-medium);
}

.btn-text:hover i {
  transform: translateX(5px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.header.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  max-width: 180px;
}

.logo img {
  width: 100%;
}

.main-nav {
  display: flex;
}

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

.nav-list li {
  margin: 0 1rem;
  position: relative;
}

.nav-list a {
  color: var(--color-text-primary);
  font-family: var(--font-accent);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-list a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-cta-primary);
  transition: width var(--transition-medium);
}

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-medium);
  z-index: 100;
  list-style: none;
  padding: 0.5rem 0;
}

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

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-primary);
}

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

.dropdown-menu a:hover {
  background-color: var(--color-background-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
}

.language-selector {
  margin-left: 1.5rem;
}

.language-selector select {
  padding: 0.5rem;
  border: 1px solid var(--color-accent-secondary);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.875rem;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  margin-left: 1.5rem;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-text-primary);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
}

.hero-content {
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--spacing-md);
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-secondary);
}

.hero-cta {
  margin-top: var(--spacing-md);
}

/* Glassmorphism Cards */
.glassmorphism-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  transition: all var(--transition-medium);
}

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

/* Value Section */
.value-section {
  background-color: var(--color-background-secondary);
  position: relative;
}

.value-card {
  position: relative;
  overflow: hidden;
}

.value-badge {
  position: absolute;
  top: 20px;
  right: -60px;
  background-color: var(--color-highlight);
  color: var(--color-white);
  padding: 0.5rem 4rem;
  transform: rotate(45deg);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.value-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.value-item {
  display: flex;
  align-items: flex-start;
}

.value-icon {
  font-size: 2rem;
  color: var(--color-accent-primary);
  margin-right: var(--spacing-sm);
  flex-shrink: 0;
}

.value-text h3 {
  margin-bottom: var(--spacing-xs);
}

.value-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* Trust Types */
.trust-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.trust-card {
  overflow: hidden;
}

.trust-image {
  height: 250px;
  overflow: hidden;
  margin: -var(--spacing-lg) -var(--spacing-lg) var(--spacing-md) -var(
      --spacing-lg
    );
}

.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.trust-content h3 {
  margin-bottom: var(--spacing-xs);
}

.trust-price {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cta-primary);
  margin-bottom: var(--spacing-sm);
}

.trust-description {
  margin-bottom: var(--spacing-sm);
}

.trust-benefits {
  margin-bottom: var(--spacing-md);
  padding-left: 1.5rem;
}

.trust-benefits li {
  margin-bottom: var(--spacing-xs);
}

/* News Aggregator */
.news-aggregator {
  background-color: var(--color-background-secondary);
}

.news-card {
  overflow: hidden;
}

.news-header {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.news-feed {
  max-height: 400px;
  overflow-y: auto;
  padding-right: var(--spacing-sm);
}

.news-item {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--color-glass-border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.news-item h4 {
  margin-bottom: var(--spacing-xs);
}

.news-link {
  display: inline-block;
  margin-top: var(--spacing-xs);
  font-weight: 500;
}

.news-footer {
  text-align: center;
  margin-top: var(--spacing-md);
}

/* Workshops Preview */
.featured-workshop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.workshop-image {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.workshop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.workshop-date {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--color-cta-primary);
  margin-bottom: var(--spacing-md);
}

.countdown {
  display: flex;
  justify-content: center;
  margin: var(--spacing-md) 0;
}

.countdown-item {
  margin: 0 var(--spacing-sm);
  text-align: center;
}

.countdown-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.workshop-description {
  margin-bottom: var(--spacing-md);
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.workshop-card-small {
  overflow: hidden;
}

.workshop-image-small {
  height: 200px;
  overflow: hidden;
  margin: -var(--spacing-lg) -var(--spacing-lg) var(--spacing-md) -var(
      --spacing-lg
    );
}

.workshop-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.workshop-content-small {
  text-align: center;
}

.workshop-date-small {
  font-family: var(--font-secondary);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

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

/* Testimonials */
.testimonials {
  background-color: var(--color-background-secondary);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  padding: var(--spacing-xl);
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--spacing-sm);
}

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

.author-info h4 {
  margin-bottom: 0;
}

.author-info p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: 1px solid var(--color-accent-primary);
  color: var(--color-accent-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 var(--spacing-xs);
  transition: all var(--transition-medium);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--color-accent-primary);
  color: var(--color-white);
}

.testimonials-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* Trust vs Wills Preview */
.comparison-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.comparison-image {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.comparison-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comparison-content h3 {
  margin-bottom: var(--spacing-md);
}

.comparison-highlights {
  margin-top: var(--spacing-md);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.highlight-icon {
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  margin-right: var(--spacing-sm);
  flex-shrink: 0;
}

.highlight-text h4 {
  margin-bottom: var(--spacing-xs);
}

/* Contact Preview */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-image {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.contact-card {
  height: 100%;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group:nth-child(5),
.form-group:nth-child(6),
.form-submit {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-accent-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
  background-color: var(--color-cta-secondary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 150px;
}

.footer-social {
  display: flex;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  margin-left: var(--spacing-xs);
  transition: all var(--transition-medium);
}

.social-link:hover {
  background-color: var(--color-accent-primary);
  color: var(--color-text-primary);
  transform: translateY(-3px);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-column h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-accent-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

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

.footer-newsletter p {
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.newsletter-form button {
  padding: 0 1.25rem;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background-color: var(--color-accent-primary);
  color: var(--color-text-primary);
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.newsletter-form button:hover {
  background-color: var(--color-highlight);
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-info {
  margin-bottom: var(--spacing-sm);
}

.footer-info p {
  margin-bottom: var(--spacing-xs);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-links li {
  margin-left: var(--spacing-md);
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
}

.legal-links a:hover {
  color: var(--color-white);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-cta-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-cta-secondary);
  color: var(--color-white);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  :root {
    --container-padding: 1.5rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

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

@media (max-width: 992px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 2.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .featured-workshop,
  .comparison-preview,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .workshop-image,
  .comparison-image,
  .contact-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
    --container-padding: 1rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    height: 80vh;
  }

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

  .main-nav {
    display: none;
  }

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

  .value-content {
    grid-template-columns: 1fr;
  }

  .trust-types-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top,
  .footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social,
  .legal-links {
    margin-top: var(--spacing-sm);
  }

  .legal-links li:first-child {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  :root {
    --spacing-xl: 2.5rem;
    --spacing-lg: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: var(--spacing-md);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
  }

  .newsletter-form button {
    border-radius: var(--radius-sm);
    width: 100%;
    padding: 0.75rem;
  }
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping if needed */
  padding: 10px 30px;
}

.header-nav a {
  margin: 0 15px; /* adds breathing room between links */
  white-space: nowrap; /* keeps words from breaking weirdly */
  font-size: 16px; /* optional: adjust size */
}

.header-logo {
  max-height: 60px;
}

.portal-login-button {
  margin-left: 20px;
}

.language-selector {
  margin-left: 10px;
}
@media (max-width: 768px) {
  .header-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-nav a,
  .portal-login-button,
  .language-selector {
    margin: 10px 0;
  }
}

.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: #333;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .portal-login-button,
  .language-selector {
    margin: 10px 0;
    font-size: 18px;
    width: 100%;
    text-align: left;
  }
}
@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-links.active {
  display: flex;
  animation: fadeInMenu 0.4s ease forwards;
}

.premium-background {
  position: relative;
  background: url('assets/images/trust-background.jpg') no-repeat center center
    fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  padding: 100px 0;
}

.premium-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.4
  ); /* darken background for better text readability */
  z-index: 1;
}

.premium-background .container {
  position: relative;
  z-index: 2;
}
/* — Sticky, animated header — */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, padding 0.3s;
  padding: 20px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* — Logo resize — */
.site-header.scrolled .logo img {
  height: 40px;
  transition: height 0.3s;
}
.logo img {
  height: 60px;
}

/* — Menu styles — */
.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .nav-link {
  position: relative;
  margin: 0 15px;
  padding: 5px 0;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}
.nav-menu .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #b38b6d;
  transition: width 0.3s;
}
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
  width: 100%;
}
.nav-menu .nav-link:hover {
  color: #b38b6d;
}

/* — Submenu — */
.has-submenu {
  position: relative;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li {
  margin: 0;
}
.submenu .nav-link {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
}

/* — Mobile menu toggle — */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  transition: transform 0.3s;
}
.nav-menu.active {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
  background: #fff;
  flex-direction: column;
  padding: 60px 20px;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.nav-menu.active ul {
  flex-direction: column;
}
.nav-menu.active {
  transform: translateX(0);
}


@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
}
/* — Glowing hover text and underline — */
.nav-menu .nav-link {
  transition: color 0.2s, text-shadow 0.3s;
}
.nav-menu .nav-link:hover {
  color: #b38b6d;
  text-shadow: 0 0 5px rgba(179, 139, 109, 0.8),
    0 0 10px rgba(179, 139, 109, 0.6), 0 0 20px rgba(179, 139, 109, 0.4);
}
/* — Underline glow — */
.nav-menu .nav-link::after {
  background: #b38b6d;
  transition: box-shadow 0.3s;
}
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
  box-shadow: 0 0 5px rgba(179, 139, 109, 0.8),
    0 0 10px rgba(179, 139, 109, 0.6);
}

/* — Pulsing glow on the active link — */
@keyframes pulse-glow {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(179, 139, 109, 0.8),
      0 0 10px rgba(179, 139, 109, 0.6), 0 0 20px rgba(179, 139, 109, 0.4);
  }
  50% {
    text-shadow: 0 0 10px rgba(179, 139, 109, 1),
      0 0 20px rgba(179, 139, 109, 0.8), 0 0 30px rgba(179, 139, 109, 0.6);
  }
}
.nav-menu .nav-link.active {
  animation: pulse-glow 2s infinite;
}

/* — Glowing hamburger on hover — */
.hamburger span {
  transition: background 0.3s, box-shadow 0.3s;
}
.hamburger:hover span {
  background: #b38b6d;
  box-shadow: 0 0 5px rgba(179, 139, 109, 0.8);
}
/* Ensure nav links have padding for a full-width hover background */
.nav-menu .nav-link {
  display: inline-block;
  padding: 8px 16px; /* adjust to match your spacing */
  border-radius: 4px; /* soft corners on hover bg */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Emerald-green background on hover */
.nav-menu .nav-link:hover {
  background-color: #50c878; /* same green as your button */
  color: #fff !important; /* ensure text stays white */
  text-shadow: none; /* remove glow if you prefer */
}
/* Darker green background on menu hover */
.nav-menu .nav-link:hover {
  background-color: #2e8b57; /* darker green */
  color: #fff !important;
  text-shadow: none;
}
/* Fade in/out emerald hover background */
.nav-menu .nav-link {
  /* existing rules… */
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.nav-menu .nav-link:hover {
  background-color: #2e8b57; /* or whatever dark green you chose */
  color: #fff !important;
}
/* Background image for Premium Trust Solutions */
.premium-background {
  background-image: url('../images/trust-background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0; /* ensures enough height for the image */
  position: relative;
  z-index: 1;
}

/* Optional translucent overlay for better text legibility */
.premium-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
/* Green glow on glassmorphism cards */
.glassmorphism-card {
  transition: box-shadow 0.4s ease-in-out;
}

.glassmorphism-card:hover {
  box-shadow: 0 0 10px rgba(46, 139, 87, 0.6), 0 0 20px rgba(46, 139, 87, 0.5),
    0 0 30px rgba(46, 139, 87, 0.4);
}
/* Force-enable transition and custom glow on all glass cards */
.glassmorphism-card {
  /* ensure any existing shadow is smoothly overridden */
  transition: box-shadow 0.4s ease-in-out !important;
}

/* Emerald glow on hover, with !important for specificity */
.glassmorphism-card:hover {
  box-shadow: 0 0 10px rgba(46, 139, 87, 0.6) !important,
    0 0 20px rgba(46, 139, 87, 0.5) !important, 0 0 30px rgba(46, 139, 87, 0.4) !important;
}
/* — White text in Premium Trust Solutions section — */
.premium-background .section-header h2,
.premium-background .section-header .section-subtitle {
  color: #fff !important;
}

.premium-background .trust-card .trust-content,
.premium-background .trust-card .trust-content h3,
.premium-background .trust-card .trust-price,
.premium-background .trust-card .trust-description,
.premium-background .trust-card .trust-benefits li,
.premium-background .trust-card a.btn-text {
  color: #fff !important;
}
/* Background image for Trust vs Wills section */
.trust-vs-wills-preview {
  position: relative;
  background-image: url('../images/trust-vs-wills-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0; /* adjust vertical padding as needed */
  z-index: 1;
}

/* Dark overlay to keep text legible */
.trust-vs-wills-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* Ensure text stays on top */
.trust-vs-wills-preview .container {
  position: relative;
  z-index: 2;
}
/* Make every heading and paragraph in that section white */
#estate-planning-highlights h3,
#estate-planning-highlights p,
#estate-planning-highlights h4 {
  color: #fff;
}
/* White text for Trust vs Wills comparison section */
.trust-vs-wills-preview .comparison-card .comparison-content {
  color: #fff;
}

/* Ensure headings and paragraphs inside inherit the white color */
.trust-vs-wills-preview .comparison-card .comparison-content h3,
.trust-vs-wills-preview .comparison-card .comparison-content h4,
.trust-vs-wills-preview .comparison-card .comparison-content p {
  color: #fff;
}
/* Green glow on hover for that comparison card */
.glassmorphism-card.comparison-card {
  /* smooth transition into the glow */
  transition: box-shadow 0.3s ease-in-out;
}

.glassmorphism-card.comparison-card:hover {
  /* green glow effect */
  box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.7);
}

/* Premium Trust Solutions: place 3 cards in one row */
.trust-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; /* adjust spacing between cards */
}

/* Make it stack on smaller screens */
@media (max-width: 768px) {
  .trust-types-grid {
    grid-template-columns: 1fr;
  }
}
/* Make all text in the Our Story section white */

/* If some elements still inherit other colors, target them explicitly: */

.our-story {
  padding: 80px 0;
}

.our-story .container {
  position: relative;
}
/* Add this to your main CSS file (e.g., styles.css) */

.our-philosophy {
  position: relative;
  background: url('../images/philosophy-bg.jpg') center center / cover no-repeat;
  padding: 80px 0;
  overflow: hidden;
  color: white;
}

/* Optional: Add a semi‑transparent overlay for better contrast */
.our-philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Ensure your content sits above the overlay */
.our-philosophy .container {
  position: relative;
  z-index: 1;
}
/* 1. Core background settings with !important to override any earlier rules */
/* .our-philosophy {
  position: relative !important;
  background-image: url('assets/images/your-philosophy-bg.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  padding: 80px 0 !important;
  overflow: hidden !important;
} */

/* 2. Overlay to boost contrast */
.our-philosophy::before {
  content: '' !important;
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1 !important;
}

.our-philosophy h2 {
  color: white !important;
}

.our-philosophy h3 {
  color: white !important;
}

.our-philosophy .section-subtitle {
  color: var(--color-background-secondary);
}

/* 3. Push your actual content above the overlay */
.our-philosophy .container {
  position: relative !important;
  z-index: 2 !important;
}

.philosophy-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* center the image and the heading */
.trust-card .trust-image {
  display: flex;
  justify-content: center;
}

.trust-card .trust-content h3 {
  text-align: center;
  margin-top: 1rem; /* optional spacing */
}
.trust-card .trust-content h3 {
  text-align: center;
  margin-top: 1rem;   /* optional spacing */
  font-weight: bold;  /* makes the text bold */
}
.trust-card .trust-content .trust-price {
  font-weight: normal;     /* remove bold */
  font-size: 0.875rem;     /* shrink text size */
  margin-top: 0.5rem;      /* optional spacing above/below */
  /* text-align: center; */ /* if you need to re‑center it */
}
.value-card {
  padding: 0;           /* remove inner padding so video spans full width */
  overflow: hidden;
}

.value-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;  /* match your card’s border radius */
}
/* Center the contact card */
.contact-container {
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: center;      /* vertical centering if you want */
  padding: 2rem 0;          /* optional spacing above/below */
}

/* Optional: constrain the card’s max‑width so it doesn’t get too wide */
.contact-card {
  width: 100%;
  max-width: 500px;         /* adjust as needed */
}
.why-choose-us {
  /* set the new background image: */
  background-image: url('/assets/images/why-choose-us-bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /* add some top/bottom padding so your content isn’t flush to the edges */
  padding: 5rem 0;
}
.why-choose-us {
  /* 1. Pull in the image from assets/images */
  background-image: url("../images/why-choose-us-bg.png");
  /* 2. Make it cover the section */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* 3. Give the section some height so you can actually see it */
  padding: 5rem 0;

  /* 4. Positioning context if you ever add overlays */
  position: relative;
}

/* If you want to darken it for text legibility: */
.why-choose-us::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 0;
}

.why-choose-us .container {
  /* make sure your content sits on top of the overlay */
  position: relative;
  z-index: 1;
}
/* Ensure all text in Why Choose Us is white */
.why-choose-us {
  color: #fff; /* base color for inherited text */
}

/* Headings & subtitles */
.why-choose-us .section-header h2,
.why-choose-us .section-header .section-subtitle,
.why-choose-us h3 {
  color: #fff;
}

/* Paragraphs */
.why-choose-us p {
  color: #fff;
}

/* Icons (if you want them white too) */
.why-choose-us .choose-icon i {
  color: #fff;
}
.course-overview ul li {
  margin-bottom: 1rem;  /* adds 1rem space after each <li> */
}

/* Remove white bg from dropdowns */
.nav-menu .submenu {
  background-color: transparent !important;
  box-shadow: none; /* remove any white shadows if present */
}

/* If you need a specific color instead of transparent, use: */
/* .nav-menu .submenu { background-color: rgba(0,0,0,0.5) !important; } */
/* Pulsating glow keyframes */
@keyframes greenPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
  }
}

/* Transparent submenu with green glow */
.nav-menu .submenu {
  background-color: transparent !important;
  box-shadow: none;            /* remove default shadow */
  animation: greenPulse 2s infinite;
  border-radius: 6px;          /* match your card styling */
  padding: 0.5rem;             /* optional: give it some breathing room */
}

/* If you want each link to glow instead of the container:
.nav-menu .submenu li a {
  animation: greenPulse 2s infinite;
}
*/
/* 1. Make the header stick to the top and sit above everything else */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  /* 2. Give it a contrasting background */
  background-color: rgba(0, 0, 0, 0.7); /* dark semi‑transparent */
  /* if you’d rather solid, use background-color: #004080; */
}

/* 3. Ensure your links are bright against that background */
.site-header .nav-link {
  color: #fff; 
}

/* 4. (Optional) Add a little padding so the header has breathing room */
.site-header .header-inner {
  padding: 1rem 2rem;
}
/* Base header: transparent */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state: dark semi‑opaque */
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Always keep your links in white for contrast */
.site-header .nav-link {
  color: #fff;
  transition: color 0.3s ease;
}
/* Keep all links on one line and prevent wrapping */
.nav-menu ul {
  display: flex;
  justify-content: space-between; /* spread out items */
  flex-wrap: nowrap;               /* no wrapping */
}

/* Shrink font and add a bit of horizontal padding */
.nav-menu .nav-link {
  font-size: 0.9rem;    /* slightly smaller */
  padding: 0 1rem;      /* space each link out */
  white-space: nowrap;  /* prevent individual link from breaking */
}

/* Make the consultation card wider site‑wide */
.contact-preview .contact-card {
  max-width: 1100px;   /* or 100%, or whatever width you prefer */
  width: 100%;
  margin: 0 auto;      /* center it */
  box-sizing: border-box;
}
/* ========================
   Consultation Card Green Headings
   ======================== */
.contact-preview .contact-card h2,
.contact-preview .contact-card h3,
.contact-preview .contact-card .section-subtitle {
  color: #2A6F4D !important;
}

/* Match sub‑titles like “Personalized Trust Assessment” */
.contact-preview .contact-card h4 {
  color: #2A6F4D !important;
}
/* Reduce space below the subtitle */
.contact-preview .section-header .section-subtitle {
  margin-bottom: 0.5rem !important;
}

/* Reduce space above the card */
.contact-preview .contact-container {
  margin-top: 0.5rem !important;
}
/* — Tighter spacing for the Consultation preview — */
.contact-preview {
  /* shrink the section’s top & bottom padding */
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.contact-preview .section-header {
  /* pull the card closer to the header */
  margin-bottom: 1rem !important;
}

.contact-preview .contact-container {
  /* reduce the gap between header and card */
  gap: var(--spacing-md) !important; /* defaults to 2rem; adjust to 1rem if you want even tighter */
}
/* FAQ Intro Background */
.faq-intro-bg {
  position: relative;
  background-image: url('../images/faq-intro-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0; /* adjust for vertical space */
  z-index: 1;
}
.faq-intro-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* optional overlay */
  z-index: -1;
}

/* FAQ Categories Background */
.faq-categories-bg {
  position: relative;
  background-image: url('../images/faq-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  z-index: 1;
}
.faq-categories-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}
/* Background for the “Trust Types” FAQ section */
#trust-types {
  position: relative;
  background: url('../images/trust-types-bg.png') no-repeat center center;
  background-size: cover;
  padding: 4rem 0;              /* vertical padding to give content breathing room */
  color: #fff;                  /* ensure white text stands out */
}

/* Optional dark overlay for contrast */
#trust-types::before {
  content: '';
  position: absolute;
  inset: 0;                     /* shorthand for top/right/bottom/left:0 */
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

/* Keep your container content above the overlay */
#trust-types .container {
  position: relative;
  z-index: 1;
}
/* Background for Tax Benefits FAQ */
#tax-benefits {
  position: relative;
  padding: 4rem 0;  
  color: #fff;   /* ensures headings/subtitles remain visible */
  background: url('../images/tax-benefits-bg.png') no-repeat center center;
  background-size: cover;
}

#tax-benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);  /* subtle dark overlay for contrast */
  z-index: 0;
  pointer-events: none;
}

#tax-benefits .container {
  position: relative;
  z-index: 1;  /* lifts your content above the overlay */
}
/* Background for “Our Services” FAQ section */
#our-services {
  position: relative;
  padding: 4rem 0;  
  color: #fff;  
  background: url('../images/our-services-bg.png') no-repeat center center;
  background-size: cover;
}

#our-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);  /* dark overlay for legibility */
  z-index: 0;
  pointer-events: none;
}

#our-services .container {
  position: relative;
  z-index: 1;  /* keep your cards and headings above the overlay */
}
#our-services .section-header h2,
#our-services .section-header .section-subtitle {
  color: #fff;
}
#our-services .section-header h2,
#our-services .section-header .section-subtitle {
  color: #fff !important;
}
#tax-benefits .section-header h2,
#tax-benefits .section-header .section-subtitle {
  color: #fff;
}
#tax-benefits .section-header h2,
#tax-benefits .section-header .section-subtitle {
  color: #fff !important;
}

#trust-types .section-header h2,
#trust-types.section-header .section-subtitle {
  color: #fff;
}
#trust-types .section-header h2,
#trust-types .section-header .section-subtitle {
  color: #fff !important;
}
/* Make “Browse by Category” header text white */
.faq-categories .section-header h2,
.faq-categories .section-header .section-subtitle {
  color: #fff;
}

/* Background for Key Benefits section */
.key-benefits {
  position: relative;
  background: url('../images/family-key-benefits-bg.png') no-repeat center center;
  background-size: cover;
  padding: 4rem 0;                /* vertical breathing room */
  color: #fff;                    /* white text for contrast */
}

.key-benefits::before {
  content: '';
  position: absolute;
  inset: 0;                       /* top/right/bottom/left: 0 */
  background: rgba(0, 0, 0, 0.4); /* subtle dark overlay */
  z-index: 0;
  pointer-events: none;
}

.key-benefits .container {
  position: relative;
  z-index: 1;                     /* keep content above overlay */
}
/* Make “Key Benefits” header text white */
.key-benefits .section-header h2,
.key-benefits .section-header .section-subtitle {
  color: #fff;
}
.key-benefits .section-header h2,
.key-benefits .section-header .section-subtitle {
  color: #fff !important;
}
/* Hero‐style background for the Family Trust course section */
.trust-workshop {
  position: relative;
  padding: 4rem 0;  
  color: #fff; /* ensure text pops against the photo */
  background: url('../images/trust-workshop-bg.png') no-repeat center center;
  background-size: cover;
}

/* Optional dark overlay for perfect contrast */
.trust-workshop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

/* Keep all content above the overlay */
.trust-workshop .container {
  position: relative;
  z-index: 1;
}

/* Force your section header to white */
.trust-workshop .section-header h2 {
  color: #fff;
}
/* Background for Business Trust “Key Benefits” section */
#business-key-benefits,
.key-benefits-2 {
  position: relative;
  padding: 4rem 0;  
  color: #fff;  
  background: url('../images/business-key-benefits-bg.png') no-repeat center center;
  background-size: cover;
}

/* Optional dark overlay to keep text legible */
#business-key-benefits::before,
.key-benefits-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

/* Ensure your content sits above the overlay */
#business-key-benefits .container,
.key-benefits-2 .container {
  position: relative;
  z-index: 1;
}

/* Headings and subtitles remain white */
#business-key-benefits .section-header h2,
#business-key-benefits .section-header .section-subtitle,
.key-benefits-2 .section-header h2,
.key-benefits-2 .section-header .section-subtitle {
  color: #fff;
}
/* Hero background for Business Trust Digital Course */
.trust-workshop-2 {
  position: relative;
  padding: 4rem 0;  
  color: #fff;  /* white text for contrast */
  background: url('../images/business-trust-workshop-bg.png') no-repeat center center;
  background-size: cover;
}

/* Optional dark overlay for perfect legibility */
.trust-workshop-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);  /* adjust opacity as needed */
  z-index: 0;
  pointer-events: none;
}

/* Keep your content above the overlay */
.trust-workshop-2 .container {
  position: relative;
  z-index: 1;
}

/* Force your section header text to white */
.trust-workshop-2 .section-header h2,
.trust-workshop-2 .section-header .section-subtitle {
  color: #fff;
}

/* Charitable Trust “Key Benefits” Background */
.key-benefits-3 {
  position: relative;
  padding: 4rem 0;  
  color: #fff;  /* ensure text stands out */
  background: url('../images/charitable-key-benefits-bg.png') no-repeat center center;
  background-size: cover;
}

/* Optional dark overlay for legibility */
.key-benefits-3::before {
  content: '';
  position: absolute;
  inset: 0;  
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

/* Keep your container content above the overlay */
.key-benefits-3 .container {
  position: relative;
  z-index: 1;
}

/* Force section header text to white */
.key-benefits-3 .section-header h2,
.key-benefits-3 .section-header .section-subtitle {
  color: #fff;
}
/* Background for Charitable Trust Digital Course section */
.trust-workshop-3 {
  position: relative;
  padding: 4rem 0;  
  color: #fff;  /* ensures white text */
  background: url('../images/charitable-trust-workshop-bg.png') no-repeat center center;
  background-size: cover;
}

/* Subtle dark overlay for text legibility */
.trust-workshop-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
}

/* Keep your inner container and content above the overlay */
.trust-workshop-3 .container {
  position: relative;
  z-index: 1;
}

/* Force your headings and subtitles to white */
.trust-workshop-3 .section-header h2,
.trust-workshop-3 .section-header .section-subtitle {
  color: #fff;
}

/* Background for Key Differences section */
#key-differences-4 {
  position: relative;
  padding: 4rem 0;  
  color: #fff;  
  background: url('../images/key-differences-bg.png') no-repeat center center;
  background-size: cover;
}

/* Dark overlay for better text contrast */
#key-differences-4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
}

/* Keep your .container content above the overlay */
#key-differences-4 .container {
  position: relative;
  z-index: 1;
}

/* Force header text to white */
#key-differences-4 .section-header h2,
#key-differences-4 .section-header .section-subtitle {
  color: #fff;
}
/* === Contact Form Section Stacking === */
.contact-container {
  display: flex;
  flex-direction: column;  /* stack children vertically */
  gap: 2rem;               /* space between each card */
}

/* On medium+ screens, only the bottom two cards sit side by side */
@media (min-width: 768px) {
  .contact-info {
    display: flex;
    gap: 1.5rem;
  }
  .contact-info .glassmorphism-card {
    flex: 1;             /* equal width for info and response cards */
  }
}

/* Ensure the consultation card spans full width */
.contact-form-card {
  width: 100%;
}
.categories-grid .category-card {
  color: #fff; /* makes the <h3> and <p> white */
}

.categories-grid .category-card .category-icon i {
  color: #fff; /* makes the font‑awesome icon white, if desired */
}
/* === Step 1: Make the FAQ cards lay out in columns === */
.categories-grid {
  display: grid;
  grid-gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
/* Light green background for the Trusts column */
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(2) {
  background-color: #e6ffe6;  /* very pale green */
}
/* Top‑align all cells in the comparison table */
.comparison-table td {
  vertical-align: top;
}
.will-column h4 {
  margin-top: 1rem; /* adjust as needed */
}
/* 1. Define the pulsing glow keyframes */
@keyframes pulseGlow {
  0%, 85%, 100% {
    /* no glow for most of the cycle */
    text-shadow: none;
  }
  90% {
    /* quick burst of glow */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.9),
                 0 0 16px rgba(255, 215, 0, 0.7);
  }
}

/* 2. Apply it to the link every 10 seconds */
.nav-link.pulse-glow {
  animation: pulseGlow 10s ease-in-out infinite;
}
/* collapse gap between intro image and next section */
.intro-image img {
  display: block;
  margin-bottom: 0;
}

/* pull the section up tight against the image */
.trust-workshop, 
.trust-workshop-2, 
.trust-workshop-3 {
  padding-top: 0;       /* remove top padding */
  /* keep bottom padding as needed */
  padding-bottom: 4rem;
}

/* remove extra top margin on the heading */
.trust-workshop .section-header h2,
.trust-workshop-2 .section-header h2,
.trust-workshop-3 .section-header h2 {
  margin-top: 0;
}
/* Remove space below the intro image */
.contact-intro {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.contact-intro .intro-content,
.contact-intro .intro-image {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Pull up the next section immediately under the intro */
.contact-intro + .contact-form-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If the inner “section-header” still has extra top margin: */
.contact-preview .section-header,
.contact-form-section .section-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* in assets/css/style.css at the bottom */
.trust-evasion-columns .trust-evasion-item img {
  width: 100%;
  max-width: 200px;   /* <-- shrink to a nice thumbnail size */
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}
/* === Larger letters grid & centered buttons === */
.trust-evasion-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
}

.trust-evasion-columns .trust-evasion-item {
  text-align: center;  /* center everything inside */
}

/* Bigger images */
.trust-evasion-columns .trust-evasion-item img {
  width: 100%;
  max-width: 250px;    /* increase from 120px/200px to 250px */
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

/* Centered, naturally‑sized buttons */
.trust-evasion-columns .trust-evasion-item button {
  display: inline-block;
  margin: 1rem auto 0;  /* top margin, auto left/right to center */
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
/* === News‐videos grid === */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.videos-grid .value-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  text-align: center;
}

.videos-grid .value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.videos-grid .value-card video {
  width: 100%;
  border-radius: 0.75rem;
  outline: none;
}
/* === Vertical‐scroll window showing one row of 3 === */
.videos-scroll {
  max-height: 400px;        /* adjust this so it fits exactly one row of cards */
  overflow-y: auto;         /* vertical scrollbar only */
  margin-top: 2rem;
  padding-right: 0.5rem;    /* give a little breathing room for the scrollbar */
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* always 3 cards per row */
  gap: 2rem;
}

/* glassmorphism styling */
.videos-grid .value-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.videos-grid .value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.videos-grid .value-card video {
  width: 100%;
  border-radius: 0.75rem;
}
/* === Dark‑green scrollbar for .videos-scroll === */

/* Chrome, Edge, Safari */
.videos-scroll::-webkit-scrollbar {
  width: 12px;
  background: transparent;
}

.videos-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.videos-scroll::-webkit-scrollbar-thumb {
  background-color: #006400;       /* dark green */
  border-radius: 6px;
  border: 3px solid transparent;
  background-clip: content-box;
}

.videos-scroll::-webkit-scrollbar-button {
  display: block;
  height: 12px;
  background-color: #006400;       /* dark green */
}

/* Up arrow */
.videos-scroll::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,6 3,0 6,6' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Down arrow */
.videos-scroll::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,0 3,6 6,0' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Firefox */
.videos-scroll {
  scrollbar-width: thin;
  scrollbar-color: #006400 transparent;
}
/* === Dark‑green glow on glass cards === */
.glassmorphism-card {
  transition: box-shadow 0.3s ease-in-out;
}

.glassmorphism-card:hover {
  box-shadow:
    0 4px 12px rgba(0, 100, 0, 0.25),   /* subtle base shadow */
    0 0 20px rgba(0, 100, 0, 0.5),      /* medium green glow */
    0 0 40px rgba(0, 100, 0, 0.7);      /* stronger outer glow */
}
/* === Equalize title height so videos align === */
.videos-grid .value-card h3 {
  /* Force every title to occupy at least this height */
  min-height: 5rem;       /* tweak this value until videos line up perfectly */
  margin-bottom: 1rem;    /* keep your existing spacing */
}


/* Pulsating “border” via box-shadow */
@keyframes pulsate-border {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    /* adjust spread (third value) and opacity as desired */
    box-shadow: 0 0 0 8px rgba(53,109,99, 0.6);
  }
}

/* --- define a 15‑second border pulse keyed to your brand green --- */
@keyframes travelPulse {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    /* spread: 8px, fade out to transparent */
    box-shadow: 0 0 0 8px rgba(26, 93, 76, 0.6);
  }
}

/* smooth 2s fade‑in/fade‑out glow once every 10s */
@keyframes travelGlow {
  /* no glow before or after the 2s window */
  0%, 20%, 100% {
    box-shadow: none;
  }
  /* at 10% (≈1s): peak glow */
  10% {
    box-shadow: 0 0 12px 6px rgba(0, 255, 0, 0.8);
  }
}

.nav-link.trustup-travel {
  position: relative;            /* allow the glow to render outside */
  border: none !important;       /* no static border */
  box-shadow: none;              /* start without glow */
  animation: travelGlow 10s linear infinite;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.value-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.value-card.show {
  opacity: 1;
  transform: translateY(0);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #fff;
}

.value-card video {
  width: 100%;
  border-radius: 12px;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.value-card video {
  width: 100%;
  border-radius: 12px;
}
@media only screen and (max-width: 1024px) {
  nav#navMenu {
    background: #1a5d4c;
}

.nav-menu .nav-link {
    font-size: 18px;
    margin: 12px 10px;
}

#navMenu .submenu {
    background-color: #000 !important;
    z-index: 99999 !important;
}

.course-overview img {max-width: 100% !important;}
}
/* Core grid */
.workshops-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 2rem;
}

/* Make the last card span across all columns */
.workshops-grid-container .span-full {
  grid-column: 1 / -1;
  /* we'll center it when we collapse to one column */
}

/* —— Tablet: two columns —— */
@media screen and (max-width: 900px) {
  .workshops-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* —— Mobile: one column —— */
@media screen and (max-width: 600px) {
  .workshops-grid-container {
    grid-template-columns: 1fr;
  }

  /* Center the full-span card in the single-column layout */
  .workshops-grid-container .span-full {
    justify-self: center;
    max-width: 500px; /* optional: prevent it from getting too wide */
  }

  /* Make sure images fill their container */
  .workshop-image img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* 1. Span the full grid row */
.workshops-grid-container .second-row-workshops {
  grid-column: 1 / -1;        /* occupy all columns */
  display: flex;              /* flex container */
  justify-content: center;    /* center the cards horizontally */
  gap: 2rem;                  /* space between the two cards */
  margin-top: 2rem;           /* optional space above */
}

/* 2. Give each card a reasonable width so they don’t stretch too far */
.second-row-workshops .workshop-detail {
  flex: 1 1 300px;            /* bases at 300px, but can grow/shrink */
  max-width: 400px;           /* never exceed 400px each */
}

/* 3. On small screens, stack them vertically again */
@media (max-width: 600px) {
  .second-row-workshops {
    flex-direction: column;
    align-items: center;      /* center when stacked */
  }
  .second-row-workshops .workshop-detail {
    max-width: 90%;           /* give side‑padding on mobile */
  }
}

.calendar-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}
.calendar-wrapper #calendar {
  min-width: 320px;  /* never narrower than a small phone */
  width: 100%;       /* otherwise expand to fill wrapper */
}
@media (max-width: 768px) {
  /* shrink calendar toolbar buttons */
  .fc-toolbar .fc-button {
    font-size: 0.8rem;
    padding: 0.25em 0.5em;
  }
  /* smaller day numbers */
  .fc-daygrid-day-number {
    font-size: 0.75rem !important;
  }
  /* tighter event titles */
  .fc-daygrid-event .fc-event-title {
    font-size: 0.6rem !important;
    line-height: 1.1;
    white-space: normal;           /* allow wrapping */
    word-break: break-word;
  }
  /* slightly squashed cells */
  #calendar .fc-scrollgrid {
    aspect-ratio: 1 / 1.2;
  }
}
/* Allow event titles to wrap on any screen size */
#calendar .fc-daygrid-event .fc-event-title {
  white-space: normal !important;      /* break at spaces */
  overflow-wrap: break-word !important;/* wrap long words if needed */
  word-break: normal !important;       /* don’t split inside words */
  overflow: visible !important;        /* don’t hide overflow */
  text-overflow: clip !important;      /* no ellipsis */
  line-height: 1.2 !important;         /* reasonable spacing */
}

/* Let the cell grow to fit wrapped lines */
#calendar .fc-daygrid-event {
  height: auto !important;
}
/* Make the eBook cover image smaller on the purchase page */
.ebook-purchase .cover img {
  width: 70%;      /* shrink to 50% of its container—adjust as needed */
  max-width: 500px; /* never grow larger than 300px */
  height: auto;    /* preserve aspect ratio */
  display: block;
  margin: 0 auto;  /* center it */
}
/* Promo grid: responsive 3‑up on desktop, stacking on mobile */
.promo-grid {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 3rem;
}

/* Glass effect card */
.glass-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Uniform book titles */
.book-card .book-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

/* Make all covers the same size */
.book-card img {
  width: 150px;      /* exact width for all covers */
  height: auto;
  margin: 0 auto 1rem;
}

/* Tidy up the Amazon button */
.book-card .btn-amazon {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-cta-primary);
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.book-card .btn-amazon:hover {
  background-color: var(--color-cta-secondary);
}
/* ---------------------------------------------------
   Featured eBook card at top of the purchase page
--------------------------------------------------- */
.featured-ebook {
  max-width: 600px;       /* Limit its width */
  margin: 0 auto 3rem;    /* Center and add bottom spacing */
  padding: 2rem;          /* Inner padding */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Make featured cover slightly larger than the grid cards */
.featured-ebook .cover img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

/* Match headline font & centering */
.featured-ebook header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}
/* ---------------------------------------------------
   “Buy Now” button styling for eBook purchase page
--------------------------------------------------- */
.btn-buy {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-cta-primary);
  color: #ffffff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-buy:hover {
  background-color: var(--color-cta-secondary);
  transform: translateY(-2px);
}
/* Update “Buy Now” button to green background and white text */
.btn-buy {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-cta-primary); /* green */
  color: #ffffff;                              /* white text */
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-buy:hover {
  background-color: var(--color-cta-secondary); /* darker green on hover */
  transform: translateY(-2px);
}
/* Responsive video grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Ensure cards stretch to full column width */
.videos-grid .value-card {
  width: 100%;
  padding: 1rem;
}

/* Make videos scale to their container */
.videos-grid video {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
  margin-top: 0.75rem;
}
/* Force all videos to 16:9, same size, cropping where needed */
.videos-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;      /* lock to 16:9 ratio */
  object-fit: cover;         /* fill the box, cropping edges if necessary */
  border-radius: 0.5rem;
  display: block;
}

/* Optionally cap the height if you need a maximum size */
.videos-grid video {
  max-height: 200px;         /* adjust to taste */
}
/* ----------------------------------------------------------------
   Ensure inline playback on iOS (no fullscreen takeover)
---------------------------------------------------------------- */
video[playsinline] {
  /* iOS-specific hint */
  -webkit-playsinline: true;
}

/* ----------------------------------------------------------------
   Mobile: force single‑column grid & full‑width cards
---------------------------------------------------------------- */
@media (max-width: 767px) {
  .videos-grid {
    /* one column only */
    grid-template-columns: 1fr !important;
    grid-gap: 1rem;
    padding: 0 1rem; /* optional side padding */
  }
  
  .videos-grid .value-card {
    /* full‑width cards on mobile */
    width: 100%;
    margin: 0 auto;
  }
  
  .videos-grid video {
    /* ensure they don’t exceed viewport width */
    width: 100%;
    height: auto;
    max-height: none;
  }
}
/* Force a 2‑column, 2‑row grid for exactly four videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;          /* space between cards */
  margin: 2rem 0;
}

/* Remove any mobile override that forced 1 column */
@media (max-width: 767px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* — VIDEOS GRID: show videos full-size, no cropping — */
.videos-grid .value-card {
  overflow: visible;       /* allow video to expand beyond any implicit bounds */
  padding: 0;              /* remove padding so video spans 100% of the card */
}

.videos-grid .value-card video {
  display: block;          /* remove inline gaps */
  width: 100%;             /* fill the width of its parent */
  height: auto;            /* preserve aspect ratio */
  object-fit: contain;     /* ensure the entire frame is visible */
  border-radius: 0.75rem;  /* match your existing styling */
}
/* Match the page’s glassmorphism cards */
.form-card {
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

/* Style the embedded form to fit */
.form-iframe {
  width: 100%;
  height: 600px;          /* adjust as needed */
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-height: 400px;
}

/* Optional: Responsive height on mobile */
@media (max-width: 767px) {
  .form-iframe {
    height: 500px;
  }
}
/* MOBILE: stack videos one per row at full width */
@media screen and (max-width: 767px) {
  .videos-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;  /* one column */
    grid-gap: 1rem !important;               /* space between cards */
    margin: 0 auto;                          /* center if needed */
  }

  .videos-grid .value-card {
    width: 100% !important;                  /* ensure cards fill column */
    max-width: none !important;
  }

  .videos-grid video {
    width: 100% !important;                  /* video fills its card */
    height: auto !important;
    display: block;
  }
}
/* === Logo Responsiveness === */
.logo img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Adjust for tablets and smaller screens */
@media (max-width: 1024px) {
  .logo img {
    max-height: 50px;
  }
}

/* === Header Priority Over Other UI === */
.site-header {
  position: relative;
  z-index: 1001;
}

/* === Fix Header Background === */
.site-header {
  position: relative;
  z-index: 1001;
  background-color: #000000d9; /* Subtle dark background with transparency */
  backdrop-filter: blur(10px);
}

/* === Make Navigation Links Visible Against Dark Header === */
.nav-link {
  color: #ffffff !important;
}

/* === Keep Logo Sharp and Sized Right === */
.logo img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* === Responsive Adjustments for Logo === */
@media (max-width: 1024px) {
  .logo img {
    max-height: 50px;
  }
}

/* === Transparent Sticky Header with Blur Effect === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.4); /* Transparent black */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s ease;
}

/* Add padding to the top of the page so content doesn't hide behind fixed header */
body {
  padding-top: 90px; /* Adjust based on actual header height */
}

/* === Responsive Logo === */
.logo img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .logo img {
    max-height: 50px;
  }
}

/* === Navigation Text Styling === */
.nav-link {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

<script>
  // Add scroll effect to header
  window.addEventListener('scroll', function () {
    const header = document.querySelector('.site-header');
    if (window.scrollY > 50) {
      header.classList.add('scrolled');
    } else {
      header.classList.remove('scrolled');
    }
  });
</script>
/* === Transparent header with blur + sticky + dark on scroll === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* When scrolled down, darken the background */
.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.65) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* === Google Translate dropdown fix === */
#google_translate_element {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 10000 !important;
}
/* ─── HEADER: always 100% transparent on load ─── */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;

  /* Force full transparency (no solid or semi-solid color) */
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;

  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ─── When the user scrolls down, we darken + add shadow ─── */
.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
/* ─── “Pull up” the hero/video beneath the fixed header ─── */
.hero {
  margin-top: -80px;   /* Shift the hero up behind the 80px-tall header */
  padding-top: 80px;   /* Restore 80px of top-padding so the hero’s content isn’t cut off */
}

/* If your header is taller or shorter than 80px, adjust that number accordingly. */
/* ─── Language‐selector in the header ─── */
.site-header #google_translate_element {
  position: absolute;        /* so it sits over top‐right inside the header */
  top: 50%;                  /* vertically center within the header‐inner */
  right: 20px;               /* adjust how far from the right edge you want */
  transform: translateY(-50%); /* perfectly center it vertically */
  z-index: 10000;            /* above everything else in the header */
}

/* Make sure the dropdown itself is visible on scroll */
.site-header.scrolled #google_translate_element {
  z-index: 10000;
}

/* (Optional) If your header‐height changes on scroll, tweak top: or transform accordingly */
/* ─── Tablet & Below: push the translate selector below the header ─── */
@media (max-width: 1024px) {
  .site-header #google_translate_element {
    /* Move it down to the bottom edge of the header, rather than overlapping the menu */
    position: absolute !important;
    top: 100% !important;     /* “100%” of the header’s height, so it sits right underneath */
    right: 20px !important;    /* adjust this if you want a little more or less right‐edge padding */
    transform: translateY(0) !important;
    z-index: 10001 !important; /* always on top of everything */
  }

  /* (Optional) If the built‐in Google drop‐down is very wide, you can cap its max width */
  .site-header #google_translate_element .goog-te-gadget-simple {
    max-width: 180px !important; 
    width: 100% !important;
  }
}
/* ─── HEADER (initially transparent) ─── */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;

  /* Force full transparency */
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;

  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* On scroll, dark + blur */
.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ─── Language-selector inside the header ─── */
.site-header #google_translate_element {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10000;
}

.site-header.scrolled #google_translate_element {
  z-index: 10000;
}

/* ─── Tablet & below: push it down ─── */
@media (max-width: 1024px) {
  .site-header #google_translate_element {
    top: 100% !important;
    right: 20px !important;
    transform: translateY(0) !important;
    z-index: 10001 !important;
  }

  .site-header #google_translate_element .goog-te-gadget-simple {
    max-width: 180px !important;
    width: 100% !important;
  }
}

/* ─── Optional: hide on phone ─── */
@media (max-width: 768px) {
  .site-header #google_translate_element {
    display: none !important;
  }
}

/* ─── Push page content down so it isn’t hidden under fixed header ─── */
body {
  padding-top: 80px; /* or whatever your header’s final height is */
}
@media (max-width: 1024px) {
  .site-header #google_translate_element {
    position: absolute !important;
    top: 100% !important;     /* sits just under the header’s bottom edge */
    right: 20px !important;    /* adjust spacing from the right edge */
    transform: translateY(0) !important;
    z-index: 10001 !important; /* keeps it on top of other content */
  }

  /* If the Google dropdown itself gets too wide, cap its width */
  .site-header #google_translate_element .goog-te-gadget-simple {
    max-width: 180px !important;
    width: 100% !important;
  }
}
.site-header #google_translate_element {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10000;
}
/* === Bootcamp Popup Styles === */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 9999;
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.popup-title {
  color: #004080;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.popup-text {
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.popup-features li {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}
.popup-features li::before {
  content: "✔️";
  margin-right: 0.5rem;
}

.popup-btn {
  display: inline-block;
  margin-top: 0.5rem;
}
/* === Video inside Popup === */
.popup-video {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* (fade-in timing from before still applies) */
.popup-content {
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}
.popup-overlay.show .popup-content {
  opacity: 1;
}
/* === Video inside Popup === */
.popup-video {
  width: 100%;
  height: auto;
  max-height: 250px;      /* limit height so it never overflows */
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* Fade-in timing remains the same */
.popup-content {
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}
.popup-overlay.show .popup-content {
  opacity: 1;
}
/* Shift popup down on phones/tablets */
@media (max-width: 768px) {
  .popup-overlay {
    /* push content down instead of centering vertically */
    align-items: flex-start;
    /* give breathing room from the very top */
    padding-top: 2rem;
  }

  .popup-content {
    /* optional: add a little extra margin */
    margin-top: 1rem;
    /* ensure it can scroll if content is tall */
    max-height: 90vh;
    overflow-y: auto;
  }
}
@media only screen and (max-width: 768px) {
  /* Make the overlay align its content at the top and add some padding */
  #bootcamp-popup-overlay {
    display: flex !important;          /* ensure flex layout */
    align-items: flex-start !important;/* vertical alignment at top */
    padding-top: 80px !important;      /* adjust this value as needed */
  }

  /* Optional: if the popup card itself needs extra downward offset */
  #bootcamp-popup-overlay .popup-content {
    margin-top: 20px !important;       /* small extra nudge */
  }
}
/* TrustUp – Form Modal */
.tu-modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:10000;}
.tu-modal.is-open{display:flex;}

.tu-modal__backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.55);
  opacity:0; transition:opacity .35s ease;
}
.tu-modal.is-open .tu-modal__backdrop{opacity:1;}

.tu-modal__dialog{
  position:relative; width:min(92vw, 780px); height:min(90vh, 1027px);
  background:transparent; border-radius:16px; overflow:hidden;
  opacity:0; transform:translateY(10px);
  transition:opacity .35s ease, transform .35s ease;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  display:flex; flex-direction:column;
}

.tu-modal.is-open .tu-modal__dialog{opacity:1; transform:translateY(0);}

.tu-modal__close{
  position:absolute; top:.5rem; right:.5rem; z-index:2;
  width:36px; height:36px; border:none; border-radius:999px; cursor:pointer;
  background:#fff; font-size:20px; line-height:36px; text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}

.tu-modal__dialog iframe{width:100%; height:100%; border:0; background:#fff; border-radius:12px;}

@media (prefers-reduced-motion: reduce){
  .tu-modal__backdrop, .tu-modal__dialog{transition:none}
}
/* --- Books grid (2 columns x 2 rows) --- */
.promo-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
  margin: 2rem auto;
  max-width: 1200px;
}

/* 1 column on small screens */
@media (max-width: 768px){
  .promo-grid{
    grid-template-columns: 1fr;
  }
}

/* Make cards tidy and equal-ish height */
.book-card{
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
}

.book-card img{
  width: 60%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 1rem;
}

/* Push the button to the bottom for consistent layout */
.book-card .btn-amazon{
  margin-top: auto;
}
/* ===== Testimonials ===== */
.testimonials {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
}

.testimonials .section-header h2 {
  font-family: "Playfair Display", serif;
  color: #0b1c3a; /* deep luxe heading */
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  /* Glassmorphism */
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* Subtle accent glow */
  outline: 1px solid rgba(0,64,128,0.15);
}

.testimonial-quote-mark {
  position: absolute;
  top: -10px;
  left: 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  color: rgba(0,64,128,0.12); /* #004080 accent, very soft */
  pointer-events: none;
  user-select: none;
}

.testimonial-text {
  position: relative;
  margin: 0 0 1.5rem 0;
  color: #122033;
  font-family: "Lato", "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  line-height: 1.7;
}

.testimonial-text p + p { margin-top: 0.75rem; }

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004080 0%, rgba(0,64,128,0.65) 100%);
  box-shadow: 0 6px 18px rgba(0,64,128,0.25);
}

.author-meta {
  display: grid;
  line-height: 1.2;
}

.author-name {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #0b2147;
}

.author-title {
  font-size: 0.9rem;
  color: rgba(18,32,51,0.7);
}

.brand-badge {
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #004080;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,64,128,0.08);
  border: 1px solid rgba(0,64,128,0.18);
}

/* Respect your existing .container widths and mobile spacing */
@media (max-width: 640px) {
  .testimonial-footer { flex-direction: column; align-items: flex-start; }
  .brand-badge { align-self: flex-start; }
}
/* Hover effect for testimonial card */
.testimonial-card:hover {
  box-shadow:
    0 12px 35px rgba(0, 255, 128, 0.35),   /* green glow shadow */
    0 0 20px rgba(0, 255, 128, 0.4),       /* soft neon glow */
    inset 0 1px 0 rgba(255,255,255,0.25); /* keeps inner glass line */
  border-color: rgba(0, 255, 128, 0.4);   /* subtle green edge */
  transition: all 0.35s ease;
  transform: translateY(-4px);            /* slight lift */
}
/* --- Books page form: glass look to match index --- */
#book-form {
  position: relative;
}

.form-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);           /* Glass */
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-card-header {
  text-align: center;
  margin-bottom: 1rem;
}

.form-card-header .section-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0 0 0.35rem 0;
}

.form-card-header .subtitle {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 0.75rem auto;
  max-width: 48ch;
}

.form-embed-wrap {
  /* Maintain visual rhythm and avoid CLS while form loads/resizes */
  min-height: 560px;               /* safe default; the script will auto-resize */
  display: grid;
}

.form-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);   /* bright canvas inside the glass */
}

/* Footer note under form */
.form-card-footer {
  margin-top: 0.75rem;
  text-align: center;
}

.form-card-footer .fineprint {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Dark/Light text contrast if your page uses a dark hero behind */
.section .section-title,
.section .subtitle {
  color: #fff; /* uses your hero/overlay contrast; adjust if your page is light */
}

/* Responsiveness */
@media (max-width: 768px) {
  .form-card {
    padding: 1rem;
  }
  .form-embed-wrap { min-height: 640px; } /* give small screens a bit more height */
}
#book-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(1000px 500px at 110% 10%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
