/* =========================================
   KNOWLEDGE HUB - COMPLETE WITH ANIMATIONS & POPUP
   ========================================= */

:root {
    /* AHDA Brand Colors */
    --ahda-orange: #F57B2C;     
    --ahda-maroon: #AC1A2C;   
    --ahda-green: #14776D;     
    --ahda-teal: #0B4F66;  
    
    /* Neutral Colors */
    --ahda-white: #FFFFFF;
    --ahda-bg: #F3FAFA;
    --ahda-text-gray: #465256;  
    --ahda-ink: #162C32;        
    
    /* Accessibility Optimized Colors */
    --primary-text: var(--ahda-ink);
    --secondary-text: var(--ahda-text-gray);
    --primary-heading: var(--ahda-teal);
    --accent-heading: var(--ahda-green);
    --primary-accent: var(--ahda-orange);
    --secondary-accent: var(--ahda-maroon);
    
    /* Enhanced Variables */
    --shadow-sm: 0 2px 8px rgba(11, 79, 102, 0.1);
    --shadow-md: 0 8px 25px rgba(11, 79, 102, 0.15);
    --shadow-lg: 0 15px 40px rgba(11, 79, 102, 0.2);
    --shadow-orange: 0 8px 25px rgba(245, 123, 44, 0.25);
}

/* Color utility classes */
.orange-text {
  color: var(--ahda-orange);
}

.maroon-text {
  color: var(--ahda-maroon);
}

.orange-icon {
  color: var(--ahda-orange);
}

.maroon-icon {
  color: var(--ahda-maroon);
}

.knowledge-hub-wrapper{
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--primary-text);
  background: var(--ahda-white);
  overflow-x: hidden;
}

.kh-header-spacer{ 
  height: 90px; 
}

/* container */
.knowledge-hub-wrapper .container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =======================
   ANIMATION CLASSES - FIXED
   ======================= */
.animate-fadeInUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fadeInUp.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.animate-slideInLeft {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slideInLeft.animated {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.animate-slideInRight {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slideInRight.animated {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Make hero content visible by default (before animation) */
.kh-hero-content {
  opacity: 1 !important;
}

.kh-hero-content .animate-fadeInUp,
.kh-hero-content .animate-slideInLeft,
.kh-hero-content .animate-slideInRight {
  opacity: 1 !important;
  transform: none !important;
}

/* But keep animation ready for when 'animated' class is added */
.kh-hero-content .animate-fadeInUp.animated,
.kh-hero-content .animate-slideInLeft.animated,
.kh-hero-content .animate-slideInRight.animated {
  animation: none; /* Remove animation since we're using transitions */
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate-on-scroll.fadeInLeft {
  transform: translateX(-30px);
}

.animate-on-scroll.fadeInRight {
  transform: translateX(30px);
}

.animate-on-scroll.fadeInUp {
  transform: translateY(30px);
}

.animate-on-scroll.zoomIn {
  transform: scale(0.9);
}

.animate-on-scroll.slideInLeft {
  transform: translateX(-30px);
}

.animate-on-scroll.slideInRight {
  transform: translateX(30px);
}

.animate-on-scroll.animated {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Stagger animations */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.3s;
}

.stagger-3 {
  transition-delay: 0.5s;
}

/* Pulse animation */
.animate-on-scroll.pulse.animated {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 123, 44, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 123, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 123, 44, 0);
  }
}

/* =======================
   POPUP MODAL
   ======================= */
.kh-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.kh-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.kh-popup-container {
  transform: scale(0.7);
  transition: transform 0.3s ease;
  max-width: 450px;
  width: 90%;
}

.kh-popup-overlay.active .kh-popup-container {
  transform: scale(1);
}

.kh-popup-content {
  background: var(--ahda-white);
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 123, 44, 0.2);
  animation: popupGlow 2s infinite;
}

@keyframes popupGlow {
  0%, 100% {
    box-shadow: 0 20px 40px rgba(11, 79, 102, 0.2);
  }
  50% {
    box-shadow: 0 20px 50px rgba(245, 123, 44, 0.3);
  }
}

.kh-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--secondary-text);
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.kh-popup-close:hover {
  color: var(--ahda-maroon);
  background: rgba(172, 26, 44, 0.1);
  transform: rotate(90deg);
}

.kh-popup-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--ahda-orange);
  animation: rocketFloat 2s infinite;
}

@keyframes rocketFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.kh-popup-icon i {
  display: inline-block;
  animation: rocketShake 3s infinite;
}

@keyframes rocketShake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}

.kh-popup-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-heading);
  margin-bottom: 15px;
}

.kh-popup-message {
  font-size: 1.2rem;
  color: var(--ahda-maroon);
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.5;
}

.kh-popup-progress {
  width: 100%;
  height: 8px;
  background: rgba(11, 79, 102, 0.1);
  border-radius: 10px;
  margin: 20px 0;
  overflow: hidden;
}

.kh-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--ahda-orange), var(--ahda-maroon));
  border-radius: 10px;
  transition: width 2s ease;
}

.kh-popup-footer {
  color: var(--secondary-text);
  font-size: 0.95rem;
  margin: 20px 0;
  font-style: italic;
}

.kh-popup-dismiss {
  background: var(--ahda-teal);
  color: var(--ahda-white);
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-top: 10px;
}

.kh-popup-dismiss:hover {
  background: var(--ahda-white);
  color: var(--ahda-teal);
  border-color: var(--ahda-teal);
  transform: scale(1.05);
}

/* =======================
   HERO SECTION - FIXED
   ======================= */
.kh-hero{
  position: relative;
  overflow: hidden;
  margin-top: -170px;
  padding: 150px 0 5.2rem;
  color: var(--ahda-white);
  background: linear-gradient(135deg, var(--ahda-teal) 0%, var(--ahda-green) 100%);
  min-height: 500px; /* Ensure hero has height */
  display: flex;
  align-items: center;
}

/* background slideshow with zoom animation */
.kh-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kh-hero-bg-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1.5s ease;
  animation: zoomBg 20s infinite alternate;
}

@keyframes zoomBg {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.kh-hero-bg-slide.is-active{
  opacity: 0.3;
}

/* overlay for readability */
.kh-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11, 79, 102, 0.9) 0%, rgba(20, 119, 109, 0.85) 100%);
  animation: overlayPulse 8s infinite;
}

@keyframes overlayPulse {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.8;
  }
}

.kh-hero-pattern{
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle at 20% 30%, rgba(245, 123, 44, 0.15) 0%, transparent 30%);
  pointer-events: none;
  animation: patternMove 15s infinite linear;
}

@keyframes patternMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* content layer - FIXED */
.kh-hero .container{ 
  position: relative; 
  z-index: 2; 
  width: 100%;
}

.kh-hero-content{
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  opacity: 1 !important; /* Force visibility */
}

.kh-hero-title{
  margin: 0 0 16px;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  opacity: 1 !important; /* Force visibility */
  transform: none !important; /* Remove transform */
}

.kh-hero-title span {
  display: inline-block;
}

.kh-hero-subtitle{
  margin: 0 auto 32px;
  max-width: 650px;
  font-size: 1.25rem;
  opacity: 0.95 !important; /* Force visibility */
  font-weight: 400;
  transform: none !important; /* Remove transform */
}

/* buttons with hover animation */
.kh-hero-actions{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 1 !important; /* Force visibility */
  transform: none !important; /* Remove transform */
}

.kh-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.kh-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.kh-btn:hover::before {
  width: 300px;
  height: 300px;
}

.kh-btn-primary{
  background: var(--ahda-white);
  color: var(--ahda-teal);
  box-shadow: var(--shadow-md);
}

.kh-btn-primary:hover{
  background: var(--ahda-orange);
  color: var(--ahda-white);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-orange);
}

.kh-btn-outline{
  background: transparent;
  color: var(--ahda-white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(5px);
}

.kh-btn-outline:hover{
  background: var(--ahda-white);
  color: var(--ahda-teal);
  border-color: var(--ahda-white);
  transform: translateY(-2px) scale(1.05);
}

/* =======================
   ABOUT SECTION WITH IMAGE
   ======================= */
.kh-about{
  padding: 80px 0;
  background: var(--ahda-white);
  position: relative;
  overflow: hidden;
}

.kh-about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 123, 44, 0.03) 0%, transparent 70%);
  animation: bgFloat 20s infinite alternate;
  pointer-events: none;
}

@keyframes bgFloat {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-20px, 20px);
  }
}

.kh-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.kh-about-content {
  flex: 1;
}

.kh-about-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.kh-image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.kh-feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.5s ease;
  display: block;
}

.kh-image-wrapper:hover .kh-feature-image {
  transform: scale(1.05);
}

.kh-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 79, 102, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.kh-image-wrapper:hover .kh-image-overlay {
  opacity: 1;
}

.kh-image-text {
  color: var(--ahda-white);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 10px 20px;
  border: 2px solid var(--ahda-white);
  border-radius: 40px;
  animation: pulseText 1.5s infinite;
}

@keyframes pulseText {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.kh-image-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--secondary-text);
  font-style: italic;
  animation: fadeInUp 1s ease;
}

.kh-about-title{
  margin: 0 0 24px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-heading);
  line-height: 1.2;
}

.kh-about-subtitle{
  margin: 40px 0 24px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-heading);
  border-left: 5px solid var(--ahda-orange);
  padding-left: 20px;
  position: relative;
  overflow: hidden;
}

.kh-about-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ahda-orange), transparent);
  animation: lineGrow 2s infinite;
}

@keyframes lineGrow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.kh-about-text{
  margin: 0 0 20px;
  color: var(--secondary-text);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Features grid for two-column list */
.kh-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.kh-about-list{
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--secondary-text);
}

.kh-about-list li{
  margin: 16px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.kh-about-list li:hover {
  transform: translateX(5px);
}

.kh-about-list li::before {
  content: "•";
  color: var(--ahda-orange);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* List links */
.kh-list-link {
  color: var(--ahda-teal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--ahda-teal);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.kh-list-link:hover {
  color: var(--ahda-orange);
  border-bottom-color: var(--ahda-orange);
  transform: translateY(-2px);
}

/* Benefits list with icons */
.kh-benefits-grid {
  background: var(--ahda-bg);
  padding: 30px;
  border-radius: 20px;
  margin: 30px 0;
  border-left: 5px solid var(--ahda-maroon);
  position: relative;
  overflow: hidden;
}

.kh-benefits-grid::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(172, 26, 44, 0.05) 0%, transparent 70%);
  animation: rotate 20s infinite linear;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.kh-benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  position: relative;
  z-index: 1;
}

.kh-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 0;
  font-size: 1.05rem;
  color: var(--secondary-text);
  transition: all 0.3s ease;
}

.kh-benefits-list li:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 10px;
}

.kh-benefits-list li i {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
  animation: iconSpin 3s infinite;
}

@keyframes iconSpin {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(10deg) scale(1.2);
  }
}

/* CTA boxes */
.kh-cta-box {
  background: linear-gradient(135deg, rgba(245, 123, 44, 0.08) 0%, rgba(172, 26, 44, 0.08) 100%);
  padding: 25px;
  border-radius: 16px;
  margin: 30px 0;
  text-align: center;
  border: 1px solid rgba(245, 123, 44, 0.2);
  position: relative;
  animation: boxGlow 3s infinite;
}

@keyframes boxGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 123, 44, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 123, 44, 0.2);
  }
}

.kh-visit-box {
  background: var(--ahda-teal);
  padding: 20px 30px;
  border-radius: 50px;
  margin: 40px 0 0;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.kh-visit-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  from {
    transform: translateX(-100%) rotate(45deg);
  }
  to {
    transform: translateX(100%) rotate(45deg);
  }
}

.kh-about-cta{
  margin: 0;
  font-size: 1.1rem;
}

.kh-cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--ahda-orange);
  color: var(--ahda-white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-orange);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.kh-cta-button:hover {
  background: var(--ahda-white);
  color: var(--ahda-orange);
  border-color: var(--ahda-orange);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 30px rgba(245, 123, 44, 0.3);
}

.kh-cta-text {
  color: var(--secondary-text);
  font-weight: 400;
  margin-left: 10px;
  animation: textPulse 2s infinite;
}

@keyframes textPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.kh-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ahda-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  transition: all 0.3s ease;
  margin-left: 15px;
  position: relative;
  overflow: hidden;
}

.kh-visit-link:hover {
  background: var(--ahda-white);
  color: var(--ahda-teal);
  transform: translateX(5px) scale(1.05);
}

.kh-visit-link i {
  animation: arrowMove 1.5s infinite;
}

@keyframes arrowMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* text links */
.kh-text-link{
  color: var(--ahda-green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.kh-text-link:hover{
  color: var(--ahda-orange);
  border-bottom-color: var(--ahda-orange);
  transform: translateY(-2px);
}

/* =======================
   Responsive Design
   ======================= */
@media (max-width: 992px){
  .kh-hero{
    padding: 140px 0 80px;
  }
  
  .kh-hero-title{
    font-size: 2.5rem;
  }
  
  .kh-hero-subtitle{
    font-size: 1.1rem;
  }
  
  .kh-about{
    padding: 60px 0;
  }
  
  .kh-about-title{
    font-size: 2.2rem;
  }
  
  .kh-about-subtitle{
    font-size: 1.5rem;
  }
  
  .kh-about-grid {
    gap: 30px;
  }
}

@media (max-width: 768px){
  .kh-header-spacer{ 
    height: 70px; 
  }
  
  .kh-hero{ 
    margin-top: -70px; 
    padding: 120px 0 60px; 
  }

  .kh-hero-actions{
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .kh-btn{
    width: 100%;
    max-width: 300px;
    padding: 12px 24px;
  }

  .kh-about{ 
    padding: 40px 0; 
  }
  
  .kh-about-title{
    font-size: 2rem;
  }
  
  .kh-about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .kh-about-image {
    order: -1;
  }
  
  .kh-feature-image {
    max-width: 80%;
  }
  
  .kh-features-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .kh-benefits-list li{
    font-size: 1rem;
  }
  
  .kh-visit-box {
    border-radius: 30px;
    padding: 20px;
  }
  
  .kh-visit-link {
    display: inline-flex;
    margin: 10px 0 0;
  }
  
  .kh-popup-content {
    padding: 30px 20px;
  }
  
  .kh-popup-title {
    font-size: 1.5rem;
  }
  
  .kh-popup-message {
    font-size: 1rem;
  }
}

@media (max-width: 480px){
  .kh-hero-title{
    font-size: 2rem;
  }
  
  .kh-hero-subtitle{
    font-size: 1rem;
  }
  
  .kh-about-title{
    font-size: 1.8rem;
  }
  
  .kh-about-subtitle{
    font-size: 1.3rem;
  }
  
  .kh-about-text,
  .kh-about-list li{
    font-size: 0.95rem;
  }
  
  .kh-benefits-grid {
    padding: 20px;
  }
  
  .kh-cta-button {
    width: 100%;
    justify-content: center;
  }
  
  .kh-cta-text {
    display: block;
    margin: 10px 0 0;
  }
  
  .kh-popup-icon {
    font-size: 3rem;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after,
  .kh-hero-bg-slide,
  .kh-btn,
  .kh-feature-image,
  .kh-cta-button,
  .kh-visit-link,
  .kh-about-list li::before,
  .kh-popup-icon i,
  .kh-popup-content,
  .kh-popup-close {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .kh-btn:hover,
  .kh-feature-image:hover,
  .kh-cta-button:hover,
  .kh-visit-link:hover,
  .kh-about-list li:hover { 
    transform: none !important; 
  }
}