/* ========================================================
   Root Color Variables
======================================================== */
:root {
  --color-primary: #2563eb;
  --color-dark: #1e3a8a;
  --color-light: #f8fafc;
  --color-border: #e2e8f0;
  --color-accent: #0d9488;

  --color-contrast: #f59e0b; /* Amber 500 */
  --color-contrast-light: #fef3c7; /* Amber 100 */
  --color-contrast-dark: #b45309;  /* Amber 700 */


}

/* ========================================================
   Offer – Add Eye-Catching Flair (Free!)
======================================================== */
.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  max-width: 640px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  transition: box-shadow 0.3s ease;
}

.product-card .card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0.25rem 0 1rem; /* <-- Top margin adjusted */
  color: #111827;
}


.product-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #111827;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
  letter-spacing: 0.03em;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.label {
  font-weight: 500;
  color: #6b7280;
}

.card-use,
.card-approach {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
}

.card-cta {
  margin-top: 1.5rem;
  background: #f3f4f6; /* Soft light gray */
  color: #1f2937;       /* Slate-800 for contrast */
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
}




/* ========================================================
   Reset and Base Styles
======================================================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: var(--color-light);
  color: #333;
}

body {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* ========================================================
   Main Container & Spacing
======================================================== */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  padding: 40px 0;
  flex: 1;
}

.main-content > * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================================
   Sections
======================================================== */
.section {
  padding: 3rem 1rem;
  margin-bottom: 3rem;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.section h2 {
  margin-top: 0;
  color: var(--color-dark);
}

.section p,
.section li {
  color: #333;
}

.section.text-center {
  text-align: center;
}

/* ========================================================
   Desktop Navbar - Navbar
======================================================== */
/* Main Navbar Container */
.navbar {
  height: 80px;
  min-height: 80px; /* Prevents compression */
  display: flex;
  align-items: center;
  background-color: #1e3a8a;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.3s ease;
  will-change: transform; /* Optimizes animation performance */
  z-index: 1000;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  max-height: 50px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Desktop Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px; /* Space between items */
}

.nav-menu li a {
  text-decoration: none;
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 12px; /* Horizontal spacing inside each item */
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--color-primary) !important;
  font-weight: 600;
  transform: translateY(-2px);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu li a.active::after,
.nav-menu li a:hover::after {
  transform: scaleX(1);
}

/* ========================================================
   Mobile Navbar
======================================================== */
/* Mobile Toggle Button */
.nav-toggle {
  display: none;
  background-color: var(--color-primary);
  color: white;
  font-size: 1.2rem;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 110;
}

/* Mobile Styles */
@media (max-width: 800px) {
  .nav-toggle {
    display: block;
    margin-left: auto; /* Pushes to far right */
  }

  .nav-menu {
    /* Reset desktop styles first */
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-dark);
    width: auto;
    min-width: 120px;
    max-width: 80%;
    padding: 0.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    gap: 0;
  }

  .nav-menu li a {
    padding: 2px 5px;
    display: block;
    font-size: 0.95rem;
  }

  /* Show menu when toggle is clicked/focused */
  .nav-toggle:focus + .menu-container .nav-menu,
  .menu-container .nav-menu:focus-within {
    display: flex;
  }
}

/* Tablet navbar fix: 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav-container {
    flex-wrap: wrap; /* allows logo and menu to wrap if needed */
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap; /* menu items wrap to next line if space is tight */
    justify-content: flex-end; /* keeps them right-aligned */
    gap: 0.5rem; /* small gap between menu items */
    font-size: 0.95rem; /* slightly smaller text to fit */
  }

  .nav-menu li a {
    padding: 0.5rem 0.75rem; /* reduce padding to fit more */
    white-space: nowrap; /* keep menu items on one line each */
  }

  .nav-logo img {
    max-width: 140px; /* slightly smaller logo on tablets */
    height: auto;
  }
}

/* Tablet navbar alignment fix */
@media (min-width: 768px) and (max-width: 1368px) {
  .nav-container {
    max-width: 1200px; /* match body content width */
    margin: 0 auto; /* center align within the viewport */
    padding-left: 1rem; /* match body padding */
    padding-right: 1rem; /* match body padding */
  }
}

/* iPad Air navbar fix */
@media (min-width: 800px) and (max-width: 850px) {
  .navbar {
    height: 60px; /* consistent height */
    display: flex;
    align-items: center;
  }

  .nav-logo img {
    max-height: 40px; /* scale logo */
    vertical-align: middle;
  }

  .nav-menu li a {
    line-height: 60px; /* center menu items vertically */
    padding-top: 0px;
    padding-bottom: 7px;
  }

  .nav-menu li a.active {
    border-bottom: 3px solid currentColor; /* adjust underline */
    line-height: 60px; /* keep underline inside navbar */
  }
}

@media (max-width: 800px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
  }
}


.nav-menu li a {
  text-decoration: none;
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--color-primary) !important;
  font-weight: 600;
  transform: translateY(-2px);
}

.nav-menu li a::after,
footer.site-footer a.active::after,
footer.site-footer a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu li a.active::after,
.nav-menu li a:hover::after {
  transform: scaleX(1);
}




/* ========================================================
   Footer
======================================================== */
footer {
  background-color: var(--color-dark);
  padding: 10px 0;
  color: white;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links,
.footer-copyright {
  margin: 0;
}

.footer-links {
  white-space: nowrap; /* Prevent line break between links */
}

.footer-links a {
  color: white !important;
  text-decoration: none;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease;
}

.footer-links a + a::before {
  content: "|";
  margin: 0 6px; /* Controls spacing around the pipe */
  color: white;
}


.footer-links a:hover {
  color: var(--color-primary) !important;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

footer.site-footer a.active {
  color: var(--color-primary) !important;
  font-weight: 600;
  transform: translateY(-2px);
}

/* ========================================================
   Responsive Adjustments
======================================================== */
@media (max-width: 768px) {
  .nav-container,
  .footer-container {
    padding: 15px 20px;
  }

  .nav-menu,
  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
    margin-top: 15px;
  }

  .footer-links a {
    margin-left: 0;
  }
}


/* ========================================================
   COMPLETE HERO SECTION STYLES (Optimized)
======================================================== */
.hero-section {
  background-color: var(--color-light);
  padding: 20px 0 45px;
  border-bottom: 1px solid var(--color-border);
}

.hero-frame {
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background-color: white;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

/* Hero Text Content */
.hero-text {
  flex: 1 1 300px;
  padding: 40px 0;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 500px;
  color: #444;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Image Placeholder & Slider */
.hero-image-placeholder {
  flex: 1 1 300px;
  aspect-ratio: 1.65 / 1;
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  filter: blur(8px);
  animation: blurCycle 18s infinite;
}

@keyframes blurCycle {
  0%   { opacity: 0; filter: blur(8px); }
  5%   { opacity: 1; filter: blur(0); }
  35%  { opacity: 1; filter: blur(0); }
  40%  { opacity: 0; filter: blur(8px); }
  100% { opacity: 0; filter: blur(8px); }
}

.image-slider img:nth-child(1) { animation-delay: 0s; }
.image-slider img:nth-child(2) { animation-delay: 6s; }
.image-slider img:nth-child(3) { animation-delay: 12s; }

/* Text Overlays */
.image-text {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  font-family: 'Caveat', cursive;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  line-height: 1.3;
  opacity: 0;
}

.image-text.question { font-size: 1.2rem; }
.image-text.line { font-size: 1rem; font-weight: 400; }

/* Image 1 Text */
.image-text.question[data-image="1"] {
  animation: textCycle 18s infinite both;
  animation-delay: 0s;
  top: 10%; right: 5%;
}
.image-text.line[data-image="1"] {
  animation: textCycleLine 18s infinite both;
  animation-delay: 1s;
  top: 17%; right: 5%;
}

/* Image 2 Text */
.image-text.question[data-image="2"] {
  animation: textCycle 18s infinite both;
  animation-delay: 6s;
  top: 5%; left: 5%;
}
.image-text.line[data-image="2"] {
  animation: textCycleLine 18s infinite both;
  animation-delay: 7s;
  top: 12%; left: 5%;
}

/* Image 3 Text */
.image-text.question[data-image="3"] {
  animation: textCycle 18s infinite both;
  animation-delay: 12s;
  top: 10%; right: 5%;
}
.image-text.line[data-image="3"] {
  animation: textCycleLine 18s infinite both;
  animation-delay: 13s;
  top: 17%; right: 5%;
}

/* ========================================================
   IMAGE TEXT SPACING FIX
   Adds consistent spacing between question and line text
   WITHOUT changing existing positions
======================================================== */

/* For desktop - top right positioning */
@media (min-width: 1025px) {
  /* Image 1 - Top Right */
  .image-text.question[data-image="1"] {
    margin-bottom: 0.5rem !important; /* Space below question */
  }
  .image-text.line[data-image="1"] {
    margin-top: 0.5rem !important; /* Space above line */
  }
  
  /* Image 2 - Top Left */
  .image-text.question[data-image="2"] {
    margin-bottom: 0.5rem !important; /* Space below question */
  }
  .image-text.line[data-image="2"] {
    margin-top: 0.5rem !important; /* Space above line */
  }
  
  /* Image 3 - Top Right */
  .image-text.question[data-image="3"] {
    margin-bottom: 0.5rem !important; /* Space below question */
  }
  .image-text.line[data-image="3"] {
    margin-top: 0.5rem !important; /* Space above line */
  }
}

/* For tablets and mobiles - bottom left positioning */
@media (max-width: 1024px) {
  .image-text.question[data-image] {
    margin-bottom: 0.4rem !important; /* Space below question */
  }
  
  .image-text.line[data-image] {
    margin-top: 0.4rem !important; /* Space above line */
  }
}

/* For smaller devices - adjust spacing proportionally */
@media (max-width: 768px) {
  .image-text.question[data-image] {
    margin-bottom: 0.3rem !important;
  }
  
  .image-text.line[data-image] {
    margin-top: 0.3rem !important;
  }
}

@media (max-width: 480px) {
  .image-text.question[data-image] {
    margin-bottom: 0.25rem !important;
  }
  
  .image-text.line[data-image] {
    margin-top: 0.25rem !important;
  }
}




@keyframes textCycle {
  0%, 2.5%   { opacity: 0; transform: translateY(4px); }
  10%, 30%   { opacity: 1; transform: translateY(0); }
  37.5%, 100%{ opacity: 0; transform: translateY(4px); }
}

@keyframes textCycleLine {
  0%, 5%   { opacity: 0; transform: translateY(4px); }
  15%, 26% { opacity: 1; transform: translateY(0); }
  32%, 100% { opacity: 0; transform: translateY(4px); }
}

/* Rotating Text Slider */
.hero-slider {
  position: relative;
  height: 3.5rem;
  overflow: visible;
  margin: 1rem 0;
}

.slider-track {
  position: relative;
  height: 100%;
}

.slide {
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) rotateX(-90deg) scale(0.8);
  animation: flipInOut 12s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 3s; }
.slide:nth-child(3) { animation-delay: 6s; }
.slide:nth-child(4) { animation-delay: 9s; }

@keyframes flipInOut {
  0% { opacity: 0; transform: translate(-50%, -50%) rotateX(-90deg) scale(0.8); }
  10% { opacity: 1; transform: translate(-50%, -50%) rotateX(0deg) scale(1); }
  25% { opacity: 1; transform: translate(-50%, -50%) rotateX(0deg) scale(1); }
  35% { opacity: 0; transform: translate(-50%, -50%) rotateX(90deg) scale(0.8); }
  100% { opacity: 0; }
}

/* Responsive Design */


@media (max-width: 768px) {
  .hero-frame {
    padding: 0 10px;
    margin: 0 5px;
    gap: 1.5rem;
  }
  
  .hero-text {
    padding: 20px 0; /* Reduce padding for mobile */
    flex: 1 1 100%; /* Make text section full width */
    text-align: center; /* Center align text on mobile */
  }
  
  .hero-image-placeholder {
    flex: 1 1 100%;
    height: 220px;
    aspect-ratio: unset;
    width: 100%; /* ← ADD THIS - force full width */
    max-width: 100%; 
    margin: 0 0 25px 0; /* ← ADD bottom margin: 0 top, 0 right, 20px bottom, 0 left */
    padding: 0; /* ← ADD THIS - remove any padding */
  }
  
  /* Adjust text sizes for mobile */
  .hero-title {
    font-size: 2rem; /* Slightly smaller title */
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem; /* Slightly smaller subtitle */
    margin-bottom: 1.5rem;
  }
  
  /* Mobile text repositioning - make text smaller and better positioned */
  .image-text.question[data-image],
  .image-text.line[data-image] {
    font-size: 0.85rem !important; /* Smaller text for mobile */
    left: 5% !important;
    right: 5% !important;
    text-align: center !important; /* Center text on mobile */
  }
  
  .image-text.question[data-image] {
    top: 15% !important;
    bottom: auto !important;
  }
  
  .image-text.line[data-image] {
    top: 30% !important;
    bottom: auto !important;
    font-size: 0.75rem !important; /* Even smaller for secondary text */
  }
  
  /* Stack buttons vertically on mobile */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* Tablet specific fixes - covers ALL tablets: iPad Mini, iPad Air, iPad Pro, Surface Pro */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-frame {
    padding: 0 15px 25px; /* ← REDUCED side padding from 20px to 15px */
    overflow: hidden; /* ← ADD this to prevent overflow */
  }
  
  .hero-image-placeholder {
    max-width: 98%; /* ← INCREASED from 95% to 98% for wider image */
    margin: 0 auto 25px; 
    height: 280px; /* ← ADD fixed height */
    aspect-ratio: unset; /* ← ADD to override any aspect ratio */
  }
  
  /* Ensure images fill properly */
  .image-slider img {
    object-fit: cover; /* ← Ensure proper filling */
  }
  
  /* Adjust overlay text for tablet */
  .image-text.question[data-image],
  .image-text.line[data-image] {
    font-size: 1rem !important;
  }
  
  .image-text.line[data-image] {
    font-size: 0.9rem !important;
  }
}

@media (min-width: 1025px) {
  .image-slider img {
    object-fit: contain;
    object-position: center top;
  }
}

/* ========================================================
   HERO IMAGE FIXES FOR SMALLER TABLETS
   Prevents cropping on iPad Mini, Surface Duo, and similar devices
======================================================== */

/* Fix for iPad Mini (768x1024) */
@media (max-width: 768px) and (max-height: 1024px) and (min-height: 1000px) {
  .hero-image-placeholder {
    height: 45vh !important; /* Reduce height */
    margin-bottom: 15px !important;
  }
  
  .image-slider img {
    object-fit: contain !important; /* Show full image without cropping */
  }
}

/* Fix for Surface Duo (540x720) */
@media (max-width: 540px) and (max-height: 720px) and (min-height: 700px) {
  .hero-image-placeholder {
    height: 40vh !important; /* Further reduce height */
    margin-bottom: 10px !important;
  }
  
  .image-slider img {
    object-fit: contain !important; /* Show full image without cropping */
  }
}

/* Fix for responsive dimensions (768x608) */
@media (max-width: 768px) and (max-height: 608px) {
  .hero-image-placeholder {
    height: 35vh !important; /* Significantly reduce height */
    margin-bottom: 5px !important;
  }
  
  .image-slider img {
    object-fit: contain !important; /* Show full image without cropping */
  }
}

/* Additional fix for all smaller tablets */
@media (max-width: 768px) and (max-height: 1024px) {
  .hero-section {
    padding: 15px 0 30px !important; /* Reduce padding */
  }
  
  .hero-frame {
    padding: 0 10px 15px !important; /* Reduce internal padding */
  }
}

/* Interactive States */
.image-slider:hover img,
.image-slider:hover .image-text {
  animation-play-state: paused;
}

.image-slider:hover img[style*="opacity: 1"] {
  filter: blur(0) brightness(1.05);
  transition: filter 0.3s ease;
}

/* Tooltips */
.slide::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  width: max-content;
  max-width: 260px;
  text-align: left;
  z-index: 10;
}

.slide:hover::after {
  opacity: 1;
}

/* ========================================================
   IMAGE TEXT POSITIONING FIX FOR TABLETS & MOBILES
   Positions all text at bottom left on mobile devices
======================================================== */

/* For all tablets and mobiles */
@media (max-width: 1024px) {
  .image-text.question[data-image],
  .image-text.line[data-image] {
    /* Reset all individual positioning */
    top: auto !important;
    bottom: 15% !important;
    left: 5% !important;
    right: auto !important;
    text-align: left !important;
    transform: none !important;
    font-size: 1rem !important;
    width: 90% !important;
    margin: 0 !important;
  }
  
  /* Specific adjustment for the secondary text line */
  .image-text.line[data-image] {
    bottom: 5% !important;
    font-size: 0.9rem !important;
  }
}

/* Additional refinement for smaller tablets */
@media (max-width: 768px) {
  .image-text.question[data-image] {
    font-size: 0.9rem !important;
    bottom: 20% !important;
  }
  
  .image-text.line[data-image] {
    font-size: 0.8rem !important;
    bottom: 8% !important;
  }
}

/* For very small mobile devices */
@media (max-width: 480px) {
  .image-text.question[data-image] {
    font-size: 0.8rem !important;
    bottom: 22% !important;
  }
  
  .image-text.line[data-image] {
    font-size: 0.7rem !important;
    bottom: 10% !important;
  }
}




/* ========================================================
   Card Grid Styles
======================================================== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body {
  flex-grow: 1;
}

.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  display: block;
  border-radius: 12px;
}

.card-link:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}



/* ========================================================
   Testimonial Slider (One Visible Slide at a Time)
======================================================== */
.testimonial-slider {
  position: relative;
  height: 100px;
  max-width: 600px;
  margin: 2rem auto;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  font-size: 1.2rem;
  color: #333;
  padding: 1rem 2rem;
  box-sizing: border-box;
  transition: opacity 1s ease-in-out;
  text-align: center;
}

.testimonial-slide:nth-child(1) {
  animation: fadeSlider 25s infinite;
  animation-delay: 0s;
}

.testimonial-slide:nth-child(2) {
  animation: fadeSlider 25s infinite;
  animation-delay: 5s;
}

.testimonial-slide:nth-child(3) {
  animation: fadeSlider 25s infinite;
  animation-delay: 10s;
}

.testimonial-slide:nth-child(4) {
  animation: fadeSlider 25s infinite;
  animation-delay: 15s;
}

.testimonial-slide:nth-child(5) {
  animation: fadeSlider 25s infinite;
  animation-delay: 20s;
}

@keyframes fadeSlider {
  0% { opacity: 0; visibility: hidden; }
  4% { opacity: 1; visibility: visible; }
  20% { opacity: 1; visibility: visible; }
  24% { opacity: 0; visibility: hidden; }
  100% { opacity: 0; visibility: hidden; }
}



/* ========================================================
   Global Reusable Button
======================================================== */
.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;          /* Ensure consistent size */
  line-height: 1.2;         /* Match line height */
  font-family: inherit;     /* Optional: match page font */
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  width: auto;
  max-width: max-content;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.button:hover {
  background-color: var(--color-dark);
}

button:disabled,
.button:disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  border: 1px solid #999 !important;
}







/* ========================================================
   Contact Section Layout (Two-Column Responsive Layout)
======================================================== */
.contact-layout {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ========================================================
   Contact Form Styles (Left Pane)
======================================================== */
.contact-form {
  flex: 1 1 300px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.25rem;
  color: var(--color-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
}

.form-message {
  margin-top: 16px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message.show {
  opacity: 1;
}

.contact-form select {
  max-width: 100%;
  width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

@media (max-width: 768px) {
  .contact-form select {
    font-size: 1rem;
    word-break: break-word;
    white-space: normal;
  }
}



/* ========================================================
   Modal Style - Contact Form Styles (Left Pane)
======================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  max-width: 500px;
  width: 90%;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


/* ========================================================
   Services Detail Card Styles (Right Pane)
======================================================== */
.service-details {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ========================================================
   Tab Layout (Updated)
======================================================== */
.tab-layout {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.tab-buttons {
  position: sticky;
  top: 7rem; /* 👈 Adjust this as needed to provide spacing from the top */
  align-self: flex-start;
  flex: 0 0 160px; /* example narrower tabs 160px wider tabs 250px*/
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  z-index: 10; /* 👈 Keeps it above other content if overlapping occurs */
}



.tab-button {
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  background-color: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tab-button:hover {
  background-color: var(--color-dark);
  color: white;
  border-color: var(--color-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tab-button.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: bold;
}


.tab-content {
  flex: 3 1 600px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}



.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.icon-img {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.5rem;
  display: block;
}

.icon-caption {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}


/* ========================================================
   Good Fit Section Styles
======================================================== */
.good-fit .fit-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 450px;
  text-align: left;
}

.good-fit .fit-list li {
  background-color: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}



@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding: 15px 20px;
  }
}



/* ========================================================
   Styled Table (Reusable Table Design)
======================================================== */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.styled-table th,
.styled-table td {
  padding: 10px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.styled-table thead {
  background-color: var(--color-contrast-light);
}

.styled-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}


/* ========================================================
   Bordered Image Utility (Reusable)
======================================================== */
.image-bordered {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-top: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}


.sample-poster-img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}


/* ========================================================
   Note Styling for Placeholder Sections
======================================================== */
.note {
  font-style: italic;
  color: #666;
  border-left: 4px solid var(--color-border);
  padding-left: 12px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}



/* ========================================================
   Floating TOC Enhancements for Mobile
======================================================== */


/* Floating TOC Toggle Button (Mobile Only) */
.floating-toc-toggle {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  padding: 12px 18px;
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

@media (max-width: 768px) {
  .floating-toc-toggle {
    display: block;
  }

  .toc-sidebar {
    display: none;
    position: fixed;
    bottom: 4.5rem;
    right: 1.5rem;
    width: 250px;
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 1rem;
  }

  body.show-toc .toc-sidebar {
    display: block;
  }
}

/* ========================================================
   Desktop TOC Visibility
======================================================== */

@media (min-width: 769px) {
  .toc-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .toc-sidebar {
    display: block;
    flex: 0 0 220px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    height: max-content;
    z-index: 1;
  }

  .toc-main {
    flex: 1 1 600px;
  }

  .floating-toc-toggle {
    display: none !important;
  }
}

@media (min-width: 769px) {
  h2[id],
  h3[id],
  h4[id] {
    scroll-margin-top: 100px; /* matches the height of your sticky navbar */
  }
}


/* ========================================================
   Mobile Floating Tab Menu for Whitepaper Page
======================================================== */
.tab-float-toggle {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background-color: var(--color-primary);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.tab-float-panel {
  display: none;
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 998;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tab-float-panel button {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  background: white;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}

.tab-float-panel button.active {
  background-color: var(--color-primary);
  color: white;
  font-weight: bold;
}

/* Mobile only */
@media (max-width: 768px) {
  .tab-buttons {
    display: none;
  }
  .tab-float-toggle {
    display: block;
  }
}

/* Make floating panel visible when body has class 'show-tab-panel' */
body.show-tab-panel .tab-float-panel {
  display: block;
}


/* ========================================================
   Offer provided to visitor on portfolio page
======================================================== */

.promo-highlight {
  border: 2px solid #1E3A8A;
  background-color: #F9FAFB;
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.1);
}

.special-tag {
  background-color: #DC2626;
  color: #fff;
  font-weight: bold;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.highlight-title {
  color: #1E3A8A;
}


/* ============================
   Sidebar tip text
=============================== */

.sidebar-tip {
  font-size: 0.875rem;
  color: var(--color-dark);
  margin-top: 0.75rem;
  opacity: 0.8;
  text-align: left;
}


/* ============================
   Blog Listing (blog.njk only)
   Only NEW styles NOT in index.njk
=============================== */

/* Blog List - use same layout style as homepage cards */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-card {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}


@media (min-width: 768px) {
  .blog-list {
    grid-template-columns: 1fr; /* ✅ One blog card per row */
  }
}



/* Blog Title (used in h2 inside .blog-card) */
.blog-title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.blog-title a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: bold;
}

.blog-title a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Blog Date */
.blog-date {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.5rem;
  display: block;
}

/* Blog Description */
.blog-desc {
  font-size: 0.95rem;
  color: #444;
  margin: 1rem 0;
  line-height: 1.6;
}

/* Read More Link */
.read-more-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #1e3a8a;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* Pagination Navigation (for older/newer buttons) */
.pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Tag/Category Cloud (structure only, design reused from homepage) */
.tag-cloud {
  margin: 2rem 0;
  padding: 1rem;
  background: #f8f8f8;
  border-radius: 8px;
}

.tag-cloud h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===============================
   Blog Layout
=============================== */
.section.blog-layout {
  display: flex;
  gap: 2rem;
  position: relative;
  align-items: flex-start; /* Ensure sidebar and posts align at top */
  flex-wrap: nowrap;
}


/* Two-column section */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}


/* Responsive fallback */
@media (max-width: 768px) {
  .two-columns {
    grid-template-columns: 1fr;
  }
}

/* Monthly Grouped Posts */
.monthly-group {
  margin: 2rem 0;
}

.month-label {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.monthly-posts {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.monthly-posts li {
  margin: 0.25rem 0;
}

.monthly-posts a {
  text-decoration: none;
  color: #2c3e50;
}

.monthly-posts a:hover {
  text-decoration: underline;
  color: #1e3a8a;
}


/* ===============================
   TOC Sidebar Styles
=============================== */

/* Default: hidden on mobile */
.blog-sidebar.blog-toc {
  display: none;
  position: sticky;
  top: 2rem;
  max-height: 80vh;
  overflow-y: auto;
  background: #f9f9f9;
  border-left: 1px solid #ddd;
  padding: 1rem;
  font-size: 0.95rem;
}

/* TOC Toggle Button: visible only on mobile */
.filter-toggle-btn.toc-toggle-btn {
  display: none;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
}



/* Show TOC sidebar on desktop */
@media (min-width: 1024px) {
  .blog-sidebar.blog-toc {
    display: block;
  }

  .filter-toggle-btn.toc-toggle-btn {
    display: none;
  }
}

/* Show toggle button and hide sidebar on smaller screens */
@media (max-width: 1023px) {
  .filter-toggle-btn.toc-toggle-btn {
    display: inline-block;
  }

  .blog-sidebar.blog-toc {
    position: fixed;
    top: 4rem;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  body.show-filters .blog-sidebar.blog-toc {
    transform: translateX(0);
    display: block;
  }
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

/* ----------------------------------------
   Blog Layout & Post Cards
---------------------------------------- */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-card {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.collapsed {
  display: none;
}

.toggle-btn {
  font-size: 0.9rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 1rem;
}



/* Sidebar (TOC) Sticky */
.blog-sidebar.blog-toc {
  position: sticky;
  top: 4rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding-right: 1rem;
  border-right: 1px solid #eee;
  background-color: #fff;
  z-index: 10;
}

/* Content Area */
.blog-content {
  width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-post-layout {
    display: block;
  }

  .blog-sidebar.blog-toc {
    display: none;
    position: relative;
    border-right: none;
    max-height: unset;
  }

  .blog-sidebar.blog-toc.show {
    display: block;
    margin-bottom: 1rem;
  }

  .toc-toggle-btn {
    display: inline-block;
    margin: 1rem 0;
  }
}


/* ===============================
   Tag & Category Pills (Reusable)
   Used in blog list & blog post
=============================== */
.tag-pill {
  display: inline-block;
  background-color: #f1f5f9;                 /* Soft neutral background (light gray-blue) */
  color: var(--color-dark);                  /* Deep blue text */
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;                 /* Gentle border */
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-pill:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.tags-container {
  margin: 2rem 0;
  font-size: 0.9rem;
}

.tags-container h4 {
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.meta-tags-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem; /* space between category and tags */
  margin: 0.75rem 0;
  font-size: 0.9rem;
}

.meta-tags-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-label {
  font-weight: bold;
  color: var(--color-dark);
  margin-right: 0.25rem;
}


.meta-tags-inline .meta-label {
  margin-right: 0.25rem;
  font-weight: bold;
}

.meta-tags-inline .tag-pill {
  margin-right: 0.5rem;
}

.tags-list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}


/* ===============================
   Breadcrump
=============================== */

.breadcrumb {
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}

.breadcrumb a {
  color: #1E3A8A;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.breadcrumb a:hover {
  border-bottom: 1px solid #1E3A8A;
  opacity: 0.85;
}

.breadcrumb span {
  color: #555;
  font-weight: 600;
}


/* ------------------------------
   🎯 Advertisement Styles
   ------------------------------ */
.ad-box {
  border: 2px dashed #9c27b0; /* Purple highlight frame */
  border-radius: 10px;
  margin: 2rem 0;
  background: linear-gradient(to bottom, #fdfbff, #f7f0ff); /* soft gradient */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease;
}
.ad-box:hover {
  transform: scale(1.01); /* subtle pop on hover */
}

.ad-header {
  background-color: #e91e63; /* Distinct red-pink header */
  color: white;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-bottom: 1px solid #d81b60;
}

.ad-content {
  padding: 1.5rem;
  text-align: center;
}

.ad-title {
  font-size: 1.3rem;
  color: #4a148c;
  margin-bottom: 0.5rem;
}

.ad-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}


/* For all devices (mobile-first) */
.floating-notes-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}

/* For desktop: adjust position to align inside centered layout */
@media (min-width: 1140px) {
  .floating-notes-button {
    right: calc((100vw - 1140px) / 2 + 1rem);
  }
}


/* Two-Column Flow Without Breaks (Desktop Only) */
@media (min-width: 768px) {
  .two-column .section-body {
    column-count: 2;
    column-gap: 2rem;
    orphans: 3;
    widows: 3;
  }
}


@media screen and (min-width: 768px) {
  .two-column-flow {
    column-count: 2;
    column-gap: 2rem;
  }
  .two-column-flow > * {
    break-inside: avoid;
  }
}


/* --------------------------------------
   Make blog sidebar sticky on desktop
   -------------------------------------- */

.blog-sidebar {
  position: sticky;
  top: 80px;
  align-self: flex-start;
  background-color: #fff;
  max-width: 200px;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* Hide filter button on desktop by default */
.filter-toggle-btn {
  display: none;
}

/* Show sidebar and toggle button on mobile */
@media (max-width: 768px) {
  .blog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: white;
    border-right: 1px solid var(--color-border);
    padding: 1.5rem;
    width: 80%;
    max-width: 250px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    display: none;
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  body.show-filters .blog-sidebar {
    display: block;
    transform: translateX(0);
  }

  .filter-toggle-btn {
    display: inline-block;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1100;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: inherit;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
}

/* --------------------------------------
   cookies
   -------------------------------------- */
/* Cookie Banner - Core Styles (KEEP THESE) */
/* Cookie Banner Styles */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: 1rem;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#cookie-consent-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* Mobile responsive */
@media (max-width: 480px) {
  #cookie-consent-banner {
    padding: 0.75rem;
    flex-direction: column;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-actions button {
    width: 100%;
  }
}




/* ========================================================
   Blog Post Heading Styles
======================================================== */

/* h3 with class .h3 (used in blog posts) */
h3.h3 {
  font-size: 1.5rem; /* Change this to increase size */
  font-weight: 600;
  color: #000000;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--color-contrast);
}

/* Also add h2 styling since it's not defined either */
.section h2 {
  font-size: 1.8rem; /* Add this - h2 size */
  font-weight: 700;
  color: var(--color-dark);
  margin: 2rem 0 1.25rem 0;

}

