/* JKA Component Styles */

/* 1. Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-sandgray);
  padding: 1.25rem 0;
  transition: padding 0.3s ease, background 0.3s ease;
}

header.header-scrolled {
  padding: 0.75rem 0;
  background: rgba(250, 248, 245, 0.92);
  box-shadow: var(--shadow-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-offblack);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
  left: 0;
}

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

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-offblack);
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--color-cream);
  z-index: 1005;
  box-shadow: -10px 0 40px rgba(16, 15, 13, 0.15);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.nav-open {
  right: 0;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: auto;
}

.mobile-links a {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-offblack);
}

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

.mobile-links li.mobile-header {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  opacity: 0.75;
}

.mobile-links li.mobile-sublink {
  padding-left: 1rem;
}

.mobile-links li.mobile-sublink a {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

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

.btn-primary {
  position: relative;
  background: var(--gradient-gold-glow);
  color: var(--color-white);
  border: none;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(129, 83, 33, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-gold-hover);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(129, 83, 33, 0.35), var(--shadow-glow);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-wine) 100%);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-secondary:hover {
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  gap: 0.5rem;
  padding: 0.25rem 0;
  position: relative;
}

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

.btn-text:hover::after {
  width: 100%;
}

.btn-text svg {
  transition: transform 0.3s ease;
}

.btn-text:hover svg {
  transform: translateX(4px);
}

/* 3. Cards & Grids */
.card {
  background: var(--color-white);
  border: var(--border-glow-light);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-medium), var(--shadow-glow);
}

.card-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

/* Watermark Service Cards */
.service-card {
  background: var(--color-white);
  border: var(--border-glow-light);
  border-radius: var(--border-radius-md);
  padding: 2rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.service-card .watermark {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-heading);
  font-size: 12rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-sandgray);
  opacity: 0.25;
  z-index: 0;
  user-select: none;
  transition: var(--transition-smooth);
}

.service-card-content {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--color-offblack);
  text-transform: uppercase;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.service-card .btn-text {
  margin-top: auto;
  align-self: flex-start;
  z-index: 2;
}

.service-card:hover {
  background: var(--color-dark-slate);
  border-color: var(--color-accent-gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium), var(--shadow-glow);
}

.service-card:hover h3 {
  color: var(--color-white);
}

.service-card:hover p {
  color: var(--color-text-muted);
}

.service-card:hover .watermark {
  color: var(--color-accent-gold);
  opacity: 0.08;
  transform: scale(1.1) translateY(-10px);
}

/* 4. Challenge Alert Cards */
.challenge-card {
  background: rgba(30, 27, 24, 0.4);
  border: 1px solid rgba(193, 167, 133, 0.15);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.challenge-card:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 20px rgba(200, 141, 57, 0.15);
  transform: translateY(-4px);
}

.challenge-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--color-accent-gold);
}

.challenge-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

/* 5. Executive Intelligence Dashboard Mock-up */
.dashboard-mock {
  background: var(--color-dark-slate);
  border: 1px solid rgba(200, 141, 57, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-medium), 0 20px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.dashboard-header {
  border-bottom: 1px solid rgba(242, 236, 228, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00FF66;
  animation: pulseGold 2s infinite;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-stat-card {
  background: rgba(30, 27, 24, 0.6);
  border: 1px solid rgba(242, 236, 228, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
}

.dashboard-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  font-weight: 600;
}

.dashboard-stat-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.dashboard-chart {
  height: 180px;
  border-left: 2px solid rgba(242, 236, 228, 0.1);
  border-bottom: 2px solid rgba(242, 236, 228, 0.1);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0.5rem;
  position: relative;
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12%;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  background: var(--gradient-gold-glow);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  transition: height 1s ease-in-out;
  height: 20%;
}

.chart-lbl {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* 6. Case Study Accordion */
.accordion-list {
  border-top: 1px solid var(--color-border-subtle);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.accordion-header {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.accordion-header h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-offblack);
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.accordion-header:hover h3 {
  color: var(--color-primary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--color-offblack);
  transition: background 0.3s ease;
}

.accordion-icon::before {
  top: 11px;
  left: 0;
  width: 100%;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 100%;
}

.accordion-item.active .accordion-icon {
  transform: rotate(135deg);
}

.accordion-item.active .accordion-header h3 {
  color: var(--color-primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content {
  padding-bottom: 2.5rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.accordion-metrics {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.metric-badge {
  background: rgba(42, 75, 53, 0.1);
  color: var(--color-forest);
  border: 1px solid rgba(42, 75, 53, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* 7. Stats Bar */
.stats-bar {
  background: var(--color-white);
  border-top: 1px solid var(--color-sandgray);
  border-bottom: 1px solid var(--color-sandgray);
  padding: 4rem 0;
}

.stat-item {
  border-right: 1px solid var(--color-sandgray);
  padding: 0 1.5rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-offblack);
  margin-bottom: 0.5rem;
}

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

/* 8. Testimonials Section Slider */
.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.testimonial-card {
  background: var(--color-white);
  border: var(--border-glow-light);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-offblack);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonial-company {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

.slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* 9. Contact Forms & Inputs */
.contact-form-card {
  background: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-glow-light);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-medium);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-offblack);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-sandgray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-offblack);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(129, 83, 33, 0.1);
}

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

/* 10. Client Logos Marquee */
.marquee-container {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
  display: flex;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-cream), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-cream), transparent);
}

.marquee-content {
  display: flex;
  list-style: none;
  gap: 5rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.marquee-item svg,
.marquee-item img {
  height: 40px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}

.marquee-item:hover svg,
.marquee-item:hover img {
  opacity: 0.9;
  filter: grayscale(0);
}

/* 11. Footer Elements */
footer {
  background: var(--color-offblack);
  color: var(--color-text-muted);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(242, 236, 228, 0.08);
}

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

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

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

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

.footer-col a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(242, 236, 228, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: var(--color-text-muted);
}

/* 12. Dynamic Page layout specifics */
/* Founder Section editorial image */
.founder-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.founder-image-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: var(--border-radius-md);
  z-index: 0;
  transition: var(--transition-smooth);
}

.founder-image-wrapper:hover::before {
  transform: translate(6px, 6px);
}

.founder-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  display: block;
  position: relative;
  z-index: 1;
  background: var(--color-sandgray);
  object-fit: cover;
  box-shadow: var(--shadow-medium);
}

/* Responsive Specific Overrides */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-container .btn {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-sandgray);
    padding: 1.5rem 0;
    text-align: center;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

/* Founder Signature Animation */
.signature-svg {
  overflow: visible;
}

.signature-path {
  fill: var(--color-primary);
}

/* The path inside the mask draws itself to reveal the text */
.signature-mask-path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.signature-svg.active .signature-mask-path {
  stroke-dashoffset: 0;
}

/* Signature underline */
.signature-line {
  stroke: var(--color-secondary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.signature-svg.active .signature-line {
  stroke-dashoffset: 0;
}

/* FAQ Grid Layout - 3 Columns */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid rgba(129, 83, 33, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(16, 15, 13, 0.02);
  display: flex;
  flex-direction: column;
  height: max-content;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: 0 12px 30px rgba(16, 15, 13, 0.06);
}

.faq-item.faq-active {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 15px 35px rgba(129, 83, 33, 0.08);
}

.faq-item.faq-active .accordion-icon {
  transform: rotate(135deg);
}

.faq-item.faq-active .accordion-icon::before,
.faq-item.faq-active .accordion-icon::after {
  background: var(--color-primary);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-offblack);
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-header:hover h3,
.faq-item.faq-active .faq-header h3 {
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Hero Title - Responsive Big Heading */
.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--color-offblack);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

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

/* Dropdown Menus */
.nav-links li {
  position: relative;
}

.nav-links li.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  border: 1px solid var(--color-sandgray);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  padding: 0.75rem 0;
  min-width: 250px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  margin-top: 0.5rem;
}

.dropdown-menu li {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--color-offblack);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-fast);
  text-align: left;
}

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

.dropdown-menu a:hover {
  background: rgba(129, 83, 33, 0.05);
  color: var(--color-primary);
  padding-left: 1.75rem;
}

/* Hero Section Enhancements */
#hero {
  position: relative;
  background: var(--gradient-alabaster);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(129, 83, 33, 0.025) 1px, transparent 1px);
  background-size: 100% 48px;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.hero-glow-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(200, 141, 57, 0.08) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 15s infinite alternate ease-in-out;
}

.hero-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(40, 53, 86, 0.05) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 30px) scale(1.1);
  }
}

.hero-image-card {
  width: 100%;
  height: 480px;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: var(--color-dark-slate);
  border: var(--border-glow-dark);
  transition: var(--transition-slow);
  z-index: 2;
}

.hero-image-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 45px rgba(16, 15, 13, 0.15), var(--shadow-glow);
  border-color: var(--color-secondary);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.8) contrast(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  display: block;
}

.hero-image-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.7) contrast(1.1);
}

.hero-svg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
  transition: var(--transition-slow);
}

.hero-image-card:hover .hero-svg-overlay {
  opacity: 0.85;
  transform: scale(1.02) rotate(1deg);
}

.svg-rotate {
  transform-origin: 200px 200px;
  animation: rotateTechnical 40s linear infinite;
}

.svg-rotate-reverse {
  transform-origin: 200px 200px;
  animation: rotateTechnicalReverse 60s linear infinite;
}

@keyframes rotateTechnical {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateTechnicalReverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.svg-pulse {
  animation: pulseDot 4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 0.3;
    r: 2px;
  }
  50% {
    opacity: 0.9;
    r: 4px;
  }
}

.hero-dashboard-widget {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(30, 27, 24, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(200, 141, 57, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  color: var(--color-white);
  z-index: 10;
  transition: var(--transition-smooth);
}

.hero-image-card:hover .hero-dashboard-widget {
  background: rgba(30, 27, 24, 0.85);
  border-color: var(--color-secondary);
  box-shadow: 0 10px 30px rgba(200, 141, 57, 0.15);
  transform: translateY(-4px);
}

/* Founder Section Card Overlay Styles */
.founder-image-wrapper-inner {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-medium);
}

.founder-image-wrapper-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  display: block;
}

.founder-image-wrapper:hover .founder-image-wrapper-inner img {
  transform: scale(1.04);
  filter: brightness(0.75) contrast(1.1);
}

.founder-svg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
  transition: var(--transition-slow);
}

.founder-image-wrapper:hover .founder-svg-overlay {
  opacity: 0.85;
  transform: scale(1.01) rotate(0.5deg);
}

.founder-svg-overlay .svg-rotate {
  transform-origin: 200px 250px;
}

.founder-svg-overlay .svg-rotate-reverse {
  transform-origin: 200px 250px;
}

/* News & Blog Cards - Global Styles */
.news-card {
  background: var(--color-white);
  border: var(--border-glow-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium), var(--shadow-glow);
  border-color: var(--color-accent-gold);
}

.news-card-img {
  height: 180px;
  background: var(--color-sandgray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-sandgray);
  overflow: hidden;
}

.news-card-img svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  fill: none;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(129, 83, 33, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* Podcast Cards (Dark Theme) - Homepage & Subpages */
.podcast-card {
  background: rgba(30, 27, 24, 0.45);
  border: 1px solid rgba(193, 167, 133, 0.15);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.podcast-card:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 25px rgba(200, 141, 57, 0.15);
  transform: translateY(-4px);
}

.podcast-card-img {
  height: 180px;
  background: var(--color-dark-slate);
  overflow: hidden;
  position: relative;
}

.podcast-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.podcast-card:hover .podcast-card-img img {
  opacity: 1;
  transform: scale(1.03);
}

.podcast-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.podcast-meta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


