@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary: 102, 126, 234;
  --secondary: 118, 75, 162;
  --background: 255, 255, 255;
  --foreground: 55, 65, 81;
  --surface: 249, 250, 251;
  --border: 229, 231, 235;
  --accent: 167, 243, 208;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

/* Modern Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

article-featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card img,
.article-image img,
img.modern-image {
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card:hover img,
.article-image:hover img,
img.modern-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15),
              0 8px 20px rgba(102, 126, 234, 0.1);
}

/* Optimized Icon and Image Container Sizes */
.w-16 {
  width: 48px !important; /* Reduced from 64px */
}

.h-16 {
  height: 48px !important; /* Reduced from 64px */
}

.w-20 {
  width: 56px !important; /* Reduced from 80px */
}

.h-20 {
  height: 56px !important; /* Reduced from 80px */
}

.h-48 {
  height: 180px !important; /* Reduced from 192px */
}

.h-10 {
  height: 32px !important; /* Reduced from 40px */
}

.w-10 {
  width: 32px !important; /* Reduced from 40px */
}

/* Enhanced styling for icon containers - Clean design without shadows */
.w-20.h-20 {
  min-width: 56px;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.w-20.h-20:hover {
  transform: scale(1.03);
  background-color: rgba(102, 126, 234, 0.08);
}

/* Professional Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.badge-primary {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(102, 126, 234, 0.25) 100%);
  color: rgb(102, 126, 234);
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.badge-secondary {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.15) 0%, rgba(118, 75, 162, 0.25) 100%);
  color: rgb(118, 75, 162);
  border: 1px solid rgba(118, 75, 162, 0.3);
}

.badge-accent {
  background: linear-gradient(135deg, rgba(167, 243, 208, 0.15) 0%, rgba(167, 243, 208, 0.25) 100%);
  color: rgb(16, 185, 129);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Age-specific badge colors */
.age-badge-0-1 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.25) 100%);
  color: rgb(59, 130, 246);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.age-badge-1-3 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.25) 100%);
  color: rgb(245, 158, 11);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.age-badge-3-6 {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.25) 100%);
  color: rgb(34, 197, 94);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.age-badge-6-9 {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.25) 100%);
  color: rgb(168, 85, 247);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.age-badge-9-12 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.25) 100%);
  color: rgb(236, 72, 153);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.age-badge-12-18 {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.25) 100%);
  color: rgb(239, 68, 68);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.age-badge-15-18 {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.25) 100%);
  color: rgb(239, 68, 68);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  color: rgb(102, 126, 234);
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.btn-outline:hover {
  background: rgb(102, 126, 234);
  color: white;
  transform: translateY(-2px);
}

/* Modern Button with Zoom Effect */
.modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 12px rgba(102, 126, 234, 0.2);
  border: none;
  cursor: pointer;
}

.modern-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
  color: white;
  text-decoration: none;
}

.modern-btn:active {
  transform: scale(0.98);
}

.modern-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.modern-btn:hover svg {
  transform: translateX(2px);
}

/* Modern featured image styling - Reduced shadows */
.featured-image img,
.w-full.h-48 {
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.featured-image img:hover,
.w-full.h-48:hover {
  transform: scale(1.01);
}

/* SVG icon optimization */
svg.h-10.w-10 {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.8;
}

/* Additional layout optimizations */
.card {
  margin-bottom: 20px;
}

.grid {
  gap: 20px;
}

.grid-4 {
  gap: 16px;
}

/* Section title optimization */
.section-title {
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Modern Carousel Styles */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
}

.carousel-controls {
  display: none; /* Hide the old controls in header */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(102, 126, 234, 0.95);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  z-index: 10;
  opacity: 0.9;
}

.carousel-btn:hover {
  background: rgb(102, 126, 234);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
  opacity: 1;
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.carousel-btn:disabled:hover {
  transform: translateY(-50%);
  background: rgba(102, 126, 234, 0.95);
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

/* Position specific carousel buttons */
.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 24px;
  margin-top: 20px;
}

.carousel-item {
  flex: 0 0 auto;
  width: calc(33.333% - 16px);
  transition: all 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-8px);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(102, 126, 234, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: rgb(102, 126, 234);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgb(102, 126, 234);
  transform: scale(1.1);
}

/* Responsive carousel styles */
@media (max-width: 1024px) {
  .carousel-item {
    width: calc(50% - 12px);
  }
  
  .carousel-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: 100%;
    flex: 0 0 100%;
  }
  
  .carousel-track {
    gap: 20px;
  }
  
  .carousel-controls {
    order: -1;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Modern Browse by Age Section */
.age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.age-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.age-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--age-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.age-card:hover::before {
  opacity: 1;
}

.age-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--age-color), 0.3);
}

.age-card-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.age-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--age-color), 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.age-card:hover .age-card-icon {
  background: rgba(var(--age-color), 0.15);
  transform: scale(1.1);
}

.age-card-icon svg {
  width: 28px;
  height: 28px;
  color: rgb(var(--age-color));
}

.age-card-info {
  flex: 1;
  min-width: 0;
}

.age-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: rgb(55, 65, 81);
}

.age-card-description {
  font-size: 14px;
  color: rgb(107, 114, 128);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.age-card-badge {
  display: inline-block;
}

/* Age-specific CSS variables and gradients */
.age-card-0-1 {
  --age-color: 59, 130, 246;
  --age-gradient: linear-gradient(90deg, rgb(59, 130, 246), rgb(37, 99, 235));
}

.age-card-1-3 {
  --age-color: 245, 158, 11;
  --age-gradient: linear-gradient(90deg, rgb(245, 158, 11), rgb(217, 119, 6));
}

.age-card-3-6 {
  --age-color: 34, 197, 94;
  --age-gradient: linear-gradient(90deg, rgb(34, 197, 94), rgb(21, 128, 61));
}

.age-card-6-9 {
  --age-color: 168, 85, 247;
  --age-gradient: linear-gradient(90deg, rgb(168, 85, 247), rgb(147, 51, 234));
}

.age-card-9-12 {
  --age-color: 236, 72, 153;
  --age-gradient: linear-gradient(90deg, rgb(236, 72, 153), rgb(219, 39, 119));
}

.age-card-12-18 {
  --age-color: 239, 68, 68;
  --age-gradient: linear-gradient(90deg, rgb(239, 68, 68), rgb(220, 38, 38));
}

.age-card-15-18 {
  --age-color: 239, 68, 68;
  --age-gradient: linear-gradient(90deg, rgb(239, 68, 68), rgb(220, 38, 38));
}

/* Compact responsive behavior */
@media (max-width: 1024px) {
  .age-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .age-card {
    padding: 20px;
  }
  
  .age-card-content {
    gap: 16px;
  }
  
  .age-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .age-card-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .age-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .age-card {
    padding: 20px;
  }
  
  .age-card-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .age-card-icon {
    width: 56px;
    height: 56px;
  }
  
  .age-card-icon svg {
    width: 26px;
    height: 26px;
  }
  
  .age-card-title {
    font-size: 16px;
  }
  
  .age-card-description {
    font-size: 13px;
  }
}

/* Modern Browse by Topic Section - Based on Age Section */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.topic-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--topic-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.topic-card:hover::before {
  opacity: 1;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--topic-color), 0.3);
}

.topic-card-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topic-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--topic-color), 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.topic-card:hover .topic-card-icon {
  background: rgba(var(--topic-color), 0.15);
  transform: scale(1.1);
}

.topic-card-icon svg {
  width: 28px;
  height: 28px;
  color: rgb(var(--topic-color));
}

.topic-card-info {
  flex: 1;
  min-width: 0;
}

.topic-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: rgb(55, 65, 81);
}

.topic-card-description {
  font-size: 14px;
  color: rgb(107, 114, 128);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.topic-card-badge {
  display: inline-block;
}

/* Topic-specific CSS variables and gradients */
.topic-card-nutrition {
  --topic-color: 34, 197, 94;
  --topic-gradient: linear-gradient(90deg, rgb(34, 197, 94), rgb(21, 128, 61));
}

.topic-card-education {
  --topic-color: 59, 130, 246;
  --topic-gradient: linear-gradient(90deg, rgb(59, 130, 246), rgb(37, 99, 235));
}

.topic-card-sleep {
  --topic-color: 99, 102, 241;
  --topic-gradient: linear-gradient(90deg, rgb(99, 102, 241), rgb(79, 70, 229));
}

.topic-card-safety {
  --topic-color: 239, 68, 68;
  --topic-gradient: linear-gradient(90deg, rgb(239, 68, 68), rgb(220, 38, 38));
}

.topic-card-play {
  --topic-color: 245, 158, 11;
  --topic-gradient: linear-gradient(90deg, rgb(245, 158, 11), rgb(217, 119, 6));
}

.topic-card-family {
  --topic-color: 168, 85, 247;
  --topic-gradient: linear-gradient(90deg, rgb(168, 85, 247), rgb(147, 51, 234));
}

.topic-card-discipline {
  --topic-color: 236, 72, 153;
  --topic-gradient: linear-gradient(90deg, rgb(236, 72, 153), rgb(219, 39, 119));
}

.topic-card-technology {
  --topic-color: 14, 165, 233;
  --topic-gradient: linear-gradient(90deg, rgb(14, 165, 233), rgb(2, 132, 199));
}

.topic-card-special {
  --topic-color: 16, 185, 129;
  --topic-gradient: linear-gradient(90deg, rgb(16, 185, 129), rgb(5, 150, 105));
}

/* Topic badge styles */
.topic-badge-nutrition {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.25) 100%);
  color: rgb(34, 197, 94);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.topic-badge-education {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.25) 100%);
  color: rgb(59, 130, 246);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.topic-badge-sleep {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.25) 100%);
  color: rgb(99, 102, 241);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.topic-badge-safety {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.25) 100%);
  color: rgb(239, 68, 68);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.topic-badge-play {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.25) 100%);
  color: rgb(245, 158, 11);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.topic-badge-family {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.25) 100%);
  color: rgb(168, 85, 247);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.topic-badge-discipline {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.25) 100%);
  color: rgb(236, 72, 153);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.topic-badge-technology {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.25) 100%);
  color: rgb(14, 165, 233);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.topic-badge-special {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.25) 100%);
  color: rgb(16, 185, 129);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Responsive behavior for topics */
@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .topic-card {
    padding: 20px;
  }

  .topic-card-content {
    gap: 16px;
  }

  .topic-card-icon {
    width: 50px;
    height: 50px;
  }

  .topic-card-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-card {
    padding: 20px;
  }

  .topic-card-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .topic-card-icon {
    width: 56px;
    height: 56px;
  }

  .topic-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .topic-card-title {
    font-size: 16px;
  }

  .topic-card-description {
    font-size: 13px;
  }
}

/* Articles Page Styles */

/* Hero Search Bar */
.hero-search-container {
  margin-top: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-search-input {
  width: 100%;
  padding: 20px 60px 20px 24px;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-search-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.hero-search-input::placeholder {
  color: rgba(107, 114, 128, 0.8);
}

.hero-search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgb(59, 130, 246), rgb(37, 99, 235));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search-button:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.hero-search-button svg {
  width: 20px;
  height: 20px;
}

/* Filters Section */
.filters-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
}

.filters-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(55, 65, 81);
  margin-bottom: 24px;
  text-align: center;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 14px;
  font-weight: 500;
  color: rgb(75, 85, 99);
  margin-bottom: 8px;
}

.filter-select {
  padding: 12px 16px;
  border: 1px solid rgb(209, 213, 219);
  border-radius: 8px;
  background: white;
  font-size: 14px;
  color: rgb(55, 65, 81);
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: rgb(59, 130, 246);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.clear-filters-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid rgb(239, 68, 68);
  color: rgb(239, 68, 68);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear-filters-btn:hover {
  background: rgb(239, 68, 68);
  color: white;
  transform: translateY(-1px);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.article-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover::before {
  opacity: 1;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.category-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.age-badge {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: rgb(55, 65, 81);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.article-card-content {
  padding: 24px;
}

.article-title {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.article-title a {
  color: rgb(55, 65, 81);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: var(--category-color);
}

.article-description {
  color: rgb(107, 114, 128);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid rgb(243, 244, 246);
  font-size: 13px;
  color: rgb(107, 114, 128);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag {
  padding: 4px 8px;
  background: rgb(243, 244, 246);
  color: rgb(75, 85, 99);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

/* Loading State */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  border-top-color: rgb(59, 130, 246);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* No Results State */
.no-results {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.no-results-content {
  text-align: center;
  max-width: 400px;
}

.no-results-icon {
  width: 64px;
  height: 64px;
  color: rgb(156, 163, 175);
  margin: 0 auto 24px;
}

.no-results h3 {
  font-size: 24px;
  font-weight: 600;
  color: rgb(55, 65, 81);
  margin: 0 0 12px 0;
}

.no-results p {
  color: rgb(107, 114, 128);
  margin: 0 0 24px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
  
  .filters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .hero-search-input {
    padding: 16px 50px 16px 20px;
    font-size: 16px;
  }
  
  .hero-search-button {
    width: 40px;
    height: 40px;
    right: 6px;
  }
  
  .hero-search-button svg {
    width: 18px;
    height: 18px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .filters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .article-card-content {
    padding: 20px;
  }
  
  .article-title {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .hero-search-container {
    margin-top: 36px;
  }
  
  .article-card-image {
    height: 200px;
  }
  
  .article-badges {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  
  .filters-title {
    font-size: 1.25rem;
  }
}

/* Section header styling */
.browse-age-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.browse-age-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.browse-age-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.browse-age-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.browse-age-subtitle {
  font-size: 1.1rem;
  color: rgb(107, 114, 128);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .browse-age-title {
    font-size: 2rem;
  }
  
  .browse-age-subtitle {
    font-size: 1rem;
  }
  
  .browse-age-header {
    margin-bottom: 32px;
  }
  
  .w-20 {
    width: 48px !important;
  }
  
  .h-20 {
    height: 48px !important;
  }
  
  .h-48 {
    height: 160px !important;
  }
  
  svg.h-10.w-10 {
    width: 24px !important;
    height: 24px !important;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .dagja-professional-section {
    padding: 60px 0;
  }
  
  .dagja-hero-content {
    gap: 40px;
    grid-template-columns: 1fr;
  }
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  scroll-behavior: smooth;
  tab-size: 4;
}

body {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  color: rgb(var(--foreground));
}

a {
  color: rgb(var(--primary));
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: rgb(var(--primary) / 0.8);
}

/* Essential Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.article-card, .topic-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card .p-6, .topic-card .p-8 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-10 {
  margin-top: 40px;
}

.p-6 {
  padding: 24px;
}

.p-8 {
  padding: 32px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.px-8 {
  padding-left: 32px;
  padding-right: 32px;
}

.top-3 {
  top: 12px;
}

.left-3 {
  left: 12px;
}

.right-3 {
  right: 12px;
}

.w-full {
  width: 100%;
}

.h-48 {
  height: 192px;
}

.object-cover {
  object-fit: cover;
}

/* Typography */
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Colors */
.text-primary {
  color: rgb(var(--primary));
  font-size: 3rem;
}

.text-primary-600 {
  color: rgb(var(--primary) / 0.8);
}

.text-secondary {
  color: rgb(var(--secondary));
}

.text-secondary-600 {
  color: rgb(var(--secondary) / 0.8);
}

.text-accent {
  color: rgb(var(--accent));
}

.text-accent-600 {
  color: rgb(var(--accent) / 0.8);
}

.text-neutral-600 {
  color: #6b7280;
}

.text-neutral-500 {
  color: #6b7280;
}

.text-neutral-400 {
  color: #9ca3af;
}

.text-red-600 {
  color: #dc2626;
}

.text-red-700 {
  color: #b91c1c;
}

/* Background colors */
.bg-neutral-50 {
  background-color: #f9fafb;
}

.bg-secondary-100 {
  background-color: rgba(var(--secondary), 0.1);
}

.bg-secondary-900\/30 {
  background-color: rgba(var(--secondary), 0.3);
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-200 {
  transition-duration: 200ms;
}

/* Hover effects */
.hover\:transform:hover {
  transform: var(--tw-transform);
}

.hover\:translate-y-1:hover {
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Group hover effects */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:text-primary-600 {
  color: rgb(var(--primary) / 0.8);
}

.group:hover .group-hover\:text-secondary-600 {
  color: rgb(var(--secondary) / 0.8);
}

.group:hover .group-hover\:text-accent-600 {
  color: rgb(var(--accent) / 0.8);
}

.group:hover .group-hover\:text-red-700 {
  color: #b91c1c;
}

/* Header Styles - Premium Floating Design */
header {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  width: calc(100% - 40px) !important;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 
              0 5px 15px rgba(102, 126, 234, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding: 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  will-change: box-shadow;
}

header:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 
              0 10px 25px rgba(102, 126, 234, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.9) !important;
}

/* Header Content */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-radius: 25px;
  height: 64px;
}

.logo-small {
  max-width: 120px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-image {
  max-width: 120px !important;
  border-radius: 12px;
  object-fit: cover;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.2));
}

.logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.2));
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  display: none;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-grow: 1;
  justify-content: center;
}

.nav-link {
  color: #374151;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding: 8px 16px;
  border-radius: 12px;
  transition: color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.08);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 20px;
  margin-top: 8px;
  min-width: 700px; /* Increased for better visibility on PC */
  max-width: 900px; /* Increased for better visibility on PC */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1001;
  backdrop-filter: blur(10px);
  overflow-y: auto; /* Allow vertical scrolling if needed */
  overflow-x: hidden; /* Hide horizontal overflow */
  max-height: calc(100vh - 150px); /* Prevent overflow */
  scrollbar-width: thin; /* Thin scrollbar for Firefox */
  scrollbar-color: rgba(102, 126, 234, 0.5) transparent; /* Styled scrollbar for Firefox */
}

/* Styling scrollbar for Webkit browsers (Chrome, Safari, Edge) */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background-color: rgba(102, 126, 234, 0.5);
  border-radius: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(102, 126, 234, 0.7);
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  animation: dropdown-appear 0.3s ease-out;
}

@keyframes dropdown-appear {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu-grid {
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

/* Optimized layout for topics section */
.dropdown-section:nth-child(2) .dropdown-section-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

/* Ensure items are properly spaced and aligned */
.dropdown-section-items .dropdown-item {
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Add subtle hover effect */
.dropdown-section-items .dropdown-item:hover {
  transform: translateX(3px);
}

.dropdown-section {
  display: flex;
  flex-direction: column;
}

.dropdown-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  margin: 0 0 12px 0;
  padding: 0 4px;
}

.dropdown-section-items {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Increased from 2px for better spacing */
  width: 100%; /* Ensure full width */
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden;
  text-overflow: ellipsis; /* Add ellipsis for very long text */
  width: 100%; /* Ensure full width */
}

.dropdown-item:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

/* Responsive dropdown */
@media (max-width: 1024px) {
  .dropdown-menu {
    min-width: 500px;
    max-width: 90vw;
    left: 0;
    transform: translateX(0) translateY(-5px);
  }
  
  .dropdown-menu-grid {
    grid-template-columns: 1fr 1fr; /* Keep two columns for tablets */
    gap: 16px;
  }
  
  /* Adjust topic section layout for tablets */
  .dropdown-section:nth-child(2) .dropdown-section-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    min-width: 320px;
    max-width: 90vw;
    left: 0;
    transform: translateX(0) translateY(-5px);
    padding: 16px;
  }
  
  .dropdown-menu.show {
    transform: translateX(0) translateY(0);
    animation: dropdown-appear-mobile 0.3s ease-out;
  }
  
  @keyframes dropdown-appear-mobile {
    0% {
      opacity: 0;
      transform: translateX(0) translateY(-15px);
    }
    100% {
      opacity: 1;
      transform: translateX(0) translateY(0);
    }
  }
  
  .dropdown-menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Ensure dropdown doesn't go off-screen on mobile */
  .dropdown {
    position: static; /* Change to static on mobile */
  }
  
  .dropdown-menu {
    position: absolute;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: none;
    transform: translateY(-5px);
    max-height: 75vh; /* Increased height for better visibility */
    overflow-y: auto; /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-bottom: 30px; /* Extra padding at bottom for better scrolling */
  }
  
  /* Add subtle scroll indicator */
  .dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
  }
  
  /* Add visual indicator for scrollable content */
  .dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    pointer-events: none;
    opacity: 0.7;
  }
  
  /* Optimize topic section layout for mobile */
  .dropdown-section:nth-child(2) .dropdown-section-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 8px;
  }
  
  /* Ensure all items are visible */
  .dropdown-item {
    white-space: normal;
    font-size: 14px;
    padding: 8px 10px;
  }
  
  /* Add more space at the bottom for scrolling */
  .dropdown-menu > div:last-child {
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
}

/* Small screen optimizations for dropdown */
@media (max-width: 480px) {
  .dropdown-menu {
    min-width: 280px;
    padding: 12px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 75vh; /* Increased height for better visibility */
    overflow-y: auto; /* Enable scrolling */
  }
  
  /* Improve mobile dropdown items */
  .dropdown-item {
    padding: 12px 8px; /* Larger touch targets for small screens */
    font-size: 15px; /* Slightly larger font for better readability */
    white-space: normal; /* Allow text wrapping on very small screens */
    line-height: 1.3; /* Tighter line height */
    border-radius: 8px; /* Rounded corners for better visual separation */
  }
  
  /* Optimize topic section layout for very small screens */
  .dropdown-section:nth-child(2) .dropdown-section-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px; /* Consistent gap for better alignment */
  }
  
  /* Adjust section headings */
  .dropdown-section h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #4f46e5; /* More vibrant color for better visibility */
    font-weight: 700; /* Bolder for emphasis */
  }
  
  /* Add visual scroll indicator */
  .dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: rgba(102, 126, 234, 0.4);
    border-radius: 4px;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
  }
  
  /* Add more space at the bottom for scrolling */
  .dropdown-menu > div:last-child {
    margin-bottom: 25px;
    padding-bottom: 15px;
  }
}

/* ========================== MODERN ARTICLE STYLING ========================== */

/* Modern Article Content Container */
.article-content {
  margin-top: 120px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 10%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 30%, rgba(118, 75, 162, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Article Container */
.article-content .container {
  position: relative;
  z-index: 1;
}

/* Modern Article Header Image Container */
.article-image-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.article-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

.article-header-image {
    border-radius: 24px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    object-fit: contain;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
}

.article-image-container:hover .article-header-image {
  transform: scale(1.02);
}

/* Modern Category Badge */
.article-image-container .bg-accent {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 0 0 20px 0;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Modern Article Title */
.article-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  text-rendering: optimizeLegibility;
}

/* Modern Article Meta Information */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  font-size: 14px;
}

.article-meta > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.article-meta svg {
  width: 18px;
  height: 18px;
  color: rgba(102, 126, 234, 0.7);
  stroke-width: 2;
}

.article-meta > div:hover {
  color: rgba(102, 126, 234, 0.8);
}

/* Modern Author Section */
.author-section {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
  margin-bottom: 48px;
  position: relative;
}

.author-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.8) 0%, transparent 100%);
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.author-title {
  font-size: 14px;
  color: #6b7280;
  font-weight: 400;
}

/* Modern Article Intro/Lead */
.article-content .text-lg.lead {
  font-size: 1.3rem;
  line-height: 1.65;
  font-weight: 400;
  color: #4b5563;
  margin-bottom: 48px;
  padding: 32px;
  border-radius: 20px;
  border-left: 4px solid rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

/* Modern Typography for Article Body */
.article-content .prose {
  font-size: 17px;
  line-height: 1.75;
  color: #374151;
  max-width: none;
  letter-spacing: 0.01em;
}

/* Modern Headers in Article */
.article-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 64px 0 32px 0;
  color: #1f2937;
  position: relative;
  padding-left: 24px;
}

.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 40px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.6) 100%);
  border-radius: 3px;
}

.article-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 48px 0 24px 0;
  color: #374151;
  position: relative;
}

.article-content h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.6) 0%, transparent 100%);
  border-radius: 2px;
}

/* Modern Paragraphs */
.article-content p {
  margin-bottom: 24px;
  line-height: 1.8;
  color: #374151;
  text-align: justify;
  hyphens: auto;
}

/* Modern Lists */
.article-content ul {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.article-content ul li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 32px;
  padding-right: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.08);
  transition: all 0.3s ease;
  line-height: 1.6;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.6) 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.article-content ul li:hover {
  transform: translateX(8px);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(102, 126, 234, 0.15);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
}

.article-content ul li strong {
  color: #1f2937;
  font-weight: 600;
}

/* Modern Blockquotes */
.article-content blockquote {
  margin: 48px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.06) 0%, rgba(102, 126, 234, 0.04) 100%);
  border-left: 6px solid rgba(118, 75, 162, 0.4);
  border-radius: 0 20px 20px 0;
  font-style: italic;
  font-size: 1.1em;
  position: relative;
  overflow: hidden;
}

.article-content blockquote::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .article-content {
    margin-top: 100px;
  }
  
  .article-content h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 24px;
  }
  
  .article-content h2 {
    font-size: 1.8rem;
    margin: 48px 0 24px 0;
    padding-left: 20px;
  }
  
  .article-content h2::before {
    width: 4px;
    height: 30px;
  }
  
  .article-content h3 {
    font-size: 1.4rem;
    margin: 32px 0 20px 0;
  }
  
  .article-content .text-lg.lead {
    font-size: 1.1rem;
    padding: 24px;
    margin-bottom: 36px;
  }
  
  .article-meta {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .article-meta > div {
    gap: 6px;
  }
  
  .author-section {
    gap: 12px;
    padding: 20px 0;
  }
  
  .author-avatar {
    width: 48px;
    height: 48px;
  }
  
  .article-content ul li {
    padding: 10px 16px 10px 28px;
    margin-bottom: 12px;
  }
  
  .article-content ul li::before {
    left: 12px;
    width: 6px;
    height: 6px;
  }
  
  .article-image-container {
    margin-bottom: 32px;
    border-radius: 16px;
  }
  
  .article-header-image {
    border-radius: 16px;
  }

  
  .dropdown-menu.show {
    transform: translateX(0) translateY(0);
  }
}

@media (max-width: 480px) {
  .dropdown-menu {
    min-width: 280px;
    padding: 12px;
  }
  
  .dropdown-menu-grid {
    gap: 12px;
  }
  
  .dropdown-section h4 {
    font-size: 13px;
    margin-bottom: 8px;
  }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: #374151;
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(102, 126, 234, 0.1);
}



/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 40px 0;
}

/* Dagja Professional Section - Modern Colorful Design for Children's Blog */
.dagja-professional-section {
  background: linear-gradient(135deg, #fef7ff 0%, #f0f9ff 25%, #ecfdf5 50%, #fff7ed 75%, #fef3c7 100%);
  padding: 80px 0;
  position: relative;
  margin-top: 0;
  overflow: hidden;
}

.dagja-professional-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(167, 243, 208, 0.4) 0%, transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(254, 240, 138, 0.4) 0%, transparent 25%),
    radial-gradient(circle at 70% 80%, rgba(196, 181, 253, 0.4) 0%, transparent 25%),
    radial-gradient(circle at 30% 70%, rgba(254, 205, 211, 0.4) 0%, transparent 25%),
    radial-gradient(circle at 90% 50%, rgba(165, 243, 252, 0.4) 0%, transparent 25%);
  animation: floatingBubbles 20s ease-in-out infinite;
}

.dagja-professional-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a7f3d0' fill-opacity='0.1'%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3Ccircle cx='53' cy='53' r='3'/%3E%3Ccircle cx='7' cy='53' r='3'/%3E%3Ccircle cx='53' cy='7' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat,
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fef08a' fill-opacity='0.08'%3E%3Cpath d='M40 15l5 10h10l-8 6 3 10-10-7-10 7 3-10-8-6h10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  background-size: 60px 60px, 80px 80px;
  background-position: 0 0, 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes floatingBubbles {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(1deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
  75% {
    transform: translateY(-30px) rotate(0.5deg);
  }
}

.dagja-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.dagja-text-content {
  padding: 0 20px;
}

.dagja-main-title {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  position: relative;
}

.dagja-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 25px;
  color: #475569;
  line-height: 1.6;
  position: relative;
}

.dagja-subtitle::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 10px;
  width: 4px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.dagja-credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.dagja-credential-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dagja-credential-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.dagja-credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  transition: all 0.3s ease;
}

.dagja-credential-card:nth-child(1)::before {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #10b981 100%);
}

.dagja-credential-card:nth-child(2)::before {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
}

.dagja-credential-card:nth-child(3)::before {
  background: linear-gradient(135deg, #fecaca 0%, #f87171 50%, #ef4444 100%);
}

.dagja-credential-card:nth-child(4)::before {
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 50%, #7c3aed 100%);
}

.dagja-credential-card:hover::before {
  height: 8px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Modern Colorful Icons for Children's Blog */
.dagja-credential-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dagja-credential-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.dagja-credential-card:hover .dagja-credential-icon::before {
  transform: scale(1);
}

.dagja-credential-card:hover .dagja-credential-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

/* Individual Icon Colors */
.dagja-credential-card:nth-child(1) .dagja-credential-icon {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  box-shadow: 0 8px 25px rgba(52, 211, 153, 0.3);
}

.dagja-credential-card:nth-child(2) .dagja-credential-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.dagja-credential-card:nth-child(3) .dagja-credential-icon {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  box-shadow: 0 8px 25px rgba(248, 113, 113, 0.3);
}

.dagja-credential-card:nth-child(4) .dagja-credential-icon {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
  box-shadow: 0 8px 25px rgba(167, 139, 250, 0.3);
}

.dagja-credential-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e293b;
}

.dagja-credential-desc {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Dagja Portrait Section */
.dagja-portrait-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dagja-portrait-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
              0 8px 25px rgba(102, 126, 234, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}


.dagja-avatar {
  width: 150px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2),
              0 8px 20px rgba(102, 126, 234, 0.3),
              inset 0 2px 4px rgba(255, 255, 255, 0.5);
  position: relative;
}

.dagja-avatar:hover {
  transform: scale(1.05);
  border-color: rgba(102, 126, 234, 0.4);
}

.dagja-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dagja-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 24px;
}

.dagja-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.dagja-specialty-tag {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.dagja-specialty-tag:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Main Content */
#main-content {
  padding-top: 0;
  min-height: 100vh;
}

/* Professional Intro Section */
.professional-intro {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.professional-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  padding-right: 40px;
}

.intro-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.intro-subtitle {
  font-size: 1.4rem;
  color: #64748b;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.credential-item:last-child {
  border-bottom: none;
}

.credential-item:hover {
  transform: translateX(8px);
  color: #667eea;
}

.credential-icon {
  width: 24px;
  height: 24px;
  color: #667eea;
  flex-shrink: 0;
}

.credential-item span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #374151;
}

/* Professional Card */
.intro-visual {
  position: relative;
}

.professional-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.professional-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.professional-card:hover .card-glow {
  opacity: 1;
}

.professional-avatar {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 4px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.professional-card:hover .professional-avatar {
  border-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.professional-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e293b;
}

.professional-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Dagja Portrait Section */
.dagja-portrait-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.dagja-portrait-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.dagja-portrait-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.dagja-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 32px;
  border: 6px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
  transition: all 0.4s ease;
}

.dagja-portrait-card:hover .dagja-avatar {
  border-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.03);
}

.dagja-name {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dagja-title {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 32px;
  font-weight: 500;
}

.dagja-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.dagja-specialty-tag {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.dagja-specialty-tag:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

/* Featured Article Section */
.featured-article {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.featured-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 350px;
}

.featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15),
              0 8px 20px rgba(102, 126, 234, 0.1);
}

.featured-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.05) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-article:hover .featured-image::after {
  opacity: 1;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.4s ease;
}

.featured-article:hover .featured-image {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2),
              0 12px 30px rgba(102, 126, 234, 0.15);
}

.featured-article:hover .featured-image img {
  transform: scale(1.02);
}

.featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #1e293b;
}

.featured-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* Badges */
.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-primary {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.age-badge-0-1 {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%);
  color: #059669;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Form Elements */
input[type="text"], select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  color: #374151;
  transition: all 0.3s ease;
}

input[type="text"]:focus, select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: #fafbff;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .intro-text {
    padding-right: 0;
  }
  
  .intro-title {
    font-size: 2.5rem;
  }
  
  .dagja-hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .dagja-main-title {
    font-size: 2.8rem;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-image {
    height: 250px;
  }
  
  .featured-content {
    padding: 30px 24px;
  }
  
  .dagja-credentials-grid {
    grid-template-columns: 1fr;
  }
  
  .professional-card {
    padding: 30px 24px;
  }
}

/* Ultra-Professional Modern Carousel */
.modern-carousel {
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 35px;
  padding: 0 70px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item {
  flex: 0 0 auto;
  width: 320px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 100%);
  border-radius: 20px;
  border: 1px solid rgba(102, 126, 234, 0.06);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 2px 10px rgba(102, 126, 234, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(1.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(102, 126, 234, 0.3) 50%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-item:hover::before {
  opacity: 1;
}

.carousel-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 20px;
  min-height: 140px;
  background: radial-gradient(circle at center, 
    rgba(102, 126, 234, 0.02) 0%, 
    transparent 70%);
  border-radius: 20px;
  box-shadow: inset 0 2px 8px rgba(102, 126, 234, 0.05),
              inset 0 1px 4px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.carousel-image-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, 
    rgba(102, 126, 234, 0.04) 0%, 
    transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* Tailwind-Optimized Responsive Images */
.responsive-article-img {
  border-radius: 20px;
  object-fit: cover;
  background-color: transparent;
  transition: transform 0.3s ease;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.12));
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08),
              0 2px 8px rgba(102, 126, 234, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Removed conflicting hover effect - using parent .carousel-item:hover instead */

@media (min-width: 640px) {
  .responsive-article-img {
    width: 72px;
    height: 72px;
  }
}

@media (min-width: 768px) {
  .responsive-article-img {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .responsive-article-img {
    width: 88px;
    height: 88px;
  }
}

@media (min-width: 1280px) {
  .responsive-article-img {
    width: 96px;
    height: 96px;
  }
}

/* Tailwind-Style Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(102, 126, 234, 0.08);
  border-radius: 50%;
  color: #6366f1;
  font-size: 18px;
  cursor: pointer;
  z-index: 15;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(102, 126, 234, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #6366f1;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.carousel-nav-btn:hover {
  transform: translateY(-50%);
  background: rgba(99, 102, 241, 0.8);
  color: white;
}

.carousel-nav-btn:hover::before {
  opacity: 1;
}

.carousel-nav-btn:active {
  transform: translateY(-50%);
}

.carousel-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.carousel-nav-btn.prev {
  left: 15px;
}

.carousel-nav-btn.next {
  right: 15px;
}

/* Modern Carousel Progress Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px;
}

/* Enhanced Modern Carousel Dots */
.carousel-dot {
  position: relative;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  max-width: 12px !important;
  min-height: 12px !important;
  max-height: 12px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
  cursor: pointer;
  border: 2px solid rgba(102, 126, 234, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box !important;
  display: inline-block !important;
  aspect-ratio: 1 / 1 !important;
}

/* Force carousel dots to stay perfectly round - Override any conflicting styles */
button.carousel-dot,
.carousel-indicators .carousel-dot,
.carousel-indicators button.carousel-dot {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  max-width: 12px !important;
  min-height: 12px !important;
  max-height: 12px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box !important;
  display: inline-block !important;
}

/* Ultimate override for perfect square dots */
.carousel-indicators button.carousel-dot,
.carousel-indicators .carousel-dot,
button[data-slide].carousel-dot {
  width: 12px !important;
  height: 12px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.carousel-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-color: rgba(102, 126, 234, 0.4);
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.carousel-dot.active::before {
  width: 100%;
  height: 100%;
}

.carousel-dot:hover:not(.active) {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.1);
  box-shadow: 0 3px 12px rgba(102, 126, 234, 0.2);
}

/* Legacy indicator support */
.carousel-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  cursor: pointer;
  border: none;
  overflow: hidden;
}

.carousel-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #6366f1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.carousel-indicator.active {
  background: rgba(99, 102, 241, 0.6);
}

.carousel-indicator.active::before {
  width: 100%;
  height: 100%;
}

.carousel-indicator:hover:not(.active) {
  background: rgba(99, 102, 241, 0.3);
}

/* Loading Animation */
.carousel-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.carousel-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(102, 126, 234, 0.1);
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: carousel-spin 1s linear infinite;
}

/* Tailwind Mobile Responsive */
@media (max-width: 768px) {
  .modern-carousel {
    padding: 32px 0 48px;
  }
  
  .carousel-item {
    width: 280px;
    border-radius: 16px;
  }
  
  .carousel-track {
    gap: 20px;
    padding: 0 24px;
  }
  
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .carousel-nav-btn.prev {
    left: 8px;
  }
  
  .carousel-nav-btn.next {
    right: 8px;
  }
  
  .carousel-image-container {
    padding: 20px 16px;
    min-height: 120px;
  }
  
  .responsive-article-img {
    width: 60px !important;
    height: 60px !important;
  }
  
  .carousel-indicators {
    margin-top: 28px;
    gap: 10px;
  }
  
  .carousel-dot,
  button.carousel-dot,
  .carousel-indicators .carousel-dot,
  .carousel-indicators button.carousel-dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
    min-height: 10px !important;
    max-height: 10px !important;
    border-width: 1.5px;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
    display: inline-block !important;
  }
  
  /* Ultimate override for tablets */
  .carousel-indicators button.carousel-dot,
  .carousel-indicators .carousel-dot,
  button[data-slide].carousel-dot {
    width: 10px !important;
    height: 10px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .carousel-indicator {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: 100%;
    flex: 0 0 100%;
  }
  
  .carousel-track {
    gap: 16px;
    padding: 0 20px;
  }
  
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .carousel-image-container {
    padding: 16px 12px;
    min-height: 100px;
  }
  
  .responsive-article-img {
    width: 56px !important;
    height: 56px !important;
  }
  
  .carousel-dot,
  button.carousel-dot,
  .carousel-indicators .carousel-dot,
  .carousel-indicators button.carousel-dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    max-width: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    border-width: 1px;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
    display: inline-block !important;
  }
  
  /* Ultimate override for mobile */
  .carousel-indicators button.carousel-dot,
  .carousel-indicators .carousel-dot,
  button[data-slide].carousel-dot {
    width: 8px !important;
    height: 8px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Simple carousel hover effects */
.carousel-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .carousel-item {
    border: 2px solid #000;
  }
  
  .carousel-nav-btn {
    border: 2px solid #000;
    background: #fff;
    color: #000;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .carousel-item,
  .responsive-article-img,
  .carousel-nav-btn,
  .carousel-indicator {
    transition: none !important;
    animation: none !important;
  }
  
  .carousel-track {
    transition: transform 0.3s ease !important;
  }
}

/* Legacy utility classes (kept for compatibility) */
.w-30 { width: 120px; }
.h-30 { height: 120px; }
.object-contain { object-fit: contain; }
.bg-transparent { background-color: transparent; }
.rounded-3xl { border-radius: 20px; }

/* Carousel responsive width classes */
.flex-none { flex: none; }
.w-full { width: 100%; }

/* Mobile first - default to full width */
#articles-carousel .flex-none {
  width: 100%;
  padding: 0 16px;
  margin-bottom: 20px;
}

/* Tablet - 2 articles per view */
@media (min-width: 768px) {
  #articles-carousel .flex-none {
    width: 50%;
  }
}

/* Desktop - 3 articles per view */
@media (min-width: 1024px) {
  #articles-carousel .flex-none {
    width: 33.333333%;
  }
}

/* Modern Carousel Section (without gradient background) */
.carousel-section {
  padding: 80px 0;
  background: transparent;
}

/* Modern Section Title */
.modern-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1e293b;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.age-highlight {
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.modern-section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

@media (min-width: 768px) {
  .modern-section-title {
    font-size: 3.2rem;
  }
  .modern-section-subtitle {
    font-size: 1.3rem;
  }
}

/* Carousel Container */
.carousel-container {
  position: relative;
}

.carousel-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0 80px;
}

/* Side Carousel Arrows */
.carousel-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
  flex-shrink: 0;
}

.carousel-side-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-side-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(102, 126, 234, 0.25);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2);
}

.carousel-side-arrow:hover::before {
  opacity: 1;
}

.carousel-side-arrow:active {
  transform: translateY(-50%) scale(1.05);
  transition-duration: 0.15s;
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

.modern-arrow-icon {
  width: 24px;
  height: 24px;
  color: rgb(102, 126, 234);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.carousel-side-arrow:hover .modern-arrow-icon {
  color: rgb(79, 102, 204);
  transform: scale(1.15);
}

/* Adjust arrows for medium screens */
@media (max-width: 1300px) and (min-width: 1200px) {
  .carousel-wrapper {
    padding: 0 70px;
  }
  .carousel-arrow-left {
    left: 5px;
  }
  
  .carousel-arrow-right {
    right: 5px;
  }
}

/* Adjust arrows for smaller desktop screens */
@media (max-width: 1199px) and (min-width: 1024px) {
  .carousel-wrapper {
    padding: 0 60px;
  }
  .carousel-arrow-left {
    left: 0px;
  }
  
  .carousel-arrow-right {
    right: 0px;
  }
}

/* Hide arrows only on tablets and mobile */
@media (max-width: 1023px) {
  .carousel-side-arrow {
    display: none;
  }
  
  .carousel-wrapper {
    padding: 0;
  }
}

/* On very large screens, adjust arrow position */
@media (min-width: 1440px) {
  .carousel-wrapper {
    padding: 0 100px;
  }
  .carousel-arrow-left {
    left: 20px;
  }
  
  .carousel-arrow-right {
    right: 20px;
  }
}

/* Modern Indicators */
.modern-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  margin-right: 5px;

}

.modern-indicator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-indicator.active::before {
  transform: scale(1);
}

.modern-indicator:hover {
  transform: scale(1.2);
  background: rgba(102, 126, 234, 0.3);
}

.modern-indicator.active {
  background: transparent;
}

/* Modern Call to Action */
.modern-cta-container {
  max-width: 500px;
  margin: 0 auto;
}

.modern-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(85, 105, 214), rgb(99, 60, 142));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(102, 126, 234, 0.35);
  color: white;
  text-decoration: none;
}

.modern-cta-button:hover::before {
  opacity: 1;
}

.modern-cta-button:active {
  transform: translateY(-1px) scale(1.01);
  transition-duration: 0.1s;
}

.modern-cta-text {
  position: relative;
  z-index: 1;
}

.modern-cta-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.modern-cta-arrow {
  width: 20px;
  height: 20px;
}

.modern-cta-button:hover .modern-cta-icon {
  transform: translateX(4px);
}

/* Outline CTA Button Styles */
.modern-cta-button-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: rgb(102, 126, 234);
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid rgb(102, 126, 234);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-cta-button-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: inherit;
}

.modern-cta-button-outline:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(102, 126, 234, 0.25);
  color: white;
  text-decoration: none;
  border-color: transparent;
}

.modern-cta-button-outline:hover::before {
  opacity: 1;
}

.modern-cta-button-outline:active {
  transform: translateY(-1px) scale(1.01);
  transition-duration: 0.1s;
}

.modern-cta-button-outline .modern-cta-text {
  position: relative;
  z-index: 1;
}

.modern-cta-button-outline .modern-cta-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.modern-cta-button-outline:hover .modern-cta-arrow {
  transform: translateX(4px);
}

.modern-cta-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.5;
}

/* CTA Buttons Container Spacing */
.cta-buttons-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

@media (min-width: 640px) {
  .cta-buttons-container {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .modern-cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .modern-cta-button-outline {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .modern-section-title {
    font-size: 2rem;
  }
  
  .modern-section-subtitle {
    font-size: 1.1rem;
  }
}

/* ========================== HERO BANNER SECTION ========================== */

.hero-banner-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #e9d5ff 30%, #fce7f3 60%, #fed7aa 100%);
  padding: 80px 0;
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-badge-container {
  margin-bottom: 32px;
}

.hero-badge-container .badge {
  font-size: 18px;
  padding: 12px 24px;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  transform: scale(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge-container .badge:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 25%, #ec4899 50%, #f97316 75%, #eab308 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}

.hero-subtitle-container {
  margin-bottom: 48px;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #374151;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero-subtitle-highlight {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.4;
}

.hero-cta {
  margin-top: 24px;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .hero-banner-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #581c87 30%, #831843 60%, #9a3412 100%);
  }
  
  .hero-banner-section::before {
    background: 
      radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 30%, rgba(147, 51, 234, 0.12) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
      radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
  }
  
  .hero-title {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 25%, #f472b6 50%, #fb923c 75%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-subtitle {
    color: #d1d5db;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-banner-section {
    min-height: 60vh;
    padding: 60px 0;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .hero-badge-container {
    margin-bottom: 24px;
  }
  
  .hero-badge-container .badge {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .hero-title {
    margin-bottom: 24px;
  }
  
  .hero-subtitle-container {
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .hero-banner-section {
    min-height: 50vh;
    padding: 40px 0;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-subtitle-highlight {
    font-size: 1.3rem;
  }
}

/* Additional Modern Design Enhancements */

/* Enhanced card hover effects for consistent design */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

/* Modern form styling for contact page */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: rgb(55, 65, 81);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(229, 231, 235, 1);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: rgba(249, 250, 251, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: white;
}

/* Enhanced section spacing for modern layout */
.section + .section {
  margin-top: 0;
}

/* Modern gradient backgrounds for sections */
.bg-gradient-modern {
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.05) 0%, 
    rgba(167, 243, 208, 0.05) 25%, 
    rgba(254, 240, 138, 0.05) 50%, 
    rgba(196, 181, 253, 0.05) 75%, 
    rgba(102, 126, 234, 0.05) 100%);
}

/* Enhanced animation timing for smooth interactions */
* {
  scroll-behavior: smooth;
}

/* Modern scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(249, 250, 251, 1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgb(118, 75, 162), rgb(102, 126, 234));
}

/* Enhanced focus styles for accessibility */
.modern-cta-button:focus,
.btn:focus,
.form-input:focus,
button:focus {
  outline: 2px solid rgba(102, 126, 234, 0.5);
  outline-offset: 2px;
}

/* Modern selection styling */
::selection {
  background: rgba(102, 126, 234, 0.2);
  color: rgb(55, 65, 81);
}

/* Improved mobile experience */
@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-4px);
  }
  
  .modern-cta-button {
    width: 100%;
    justify-content: center;
  }
  
  .modern-cta-button-outline {
    width: 100%;
    justify-content: center;
  }
}

/* Modern Footer Styles */
.modern-footer {
  background: linear-gradient(135deg, 
    rgba(17, 24, 39, 0.95) 0%, 
    rgba(31, 41, 55, 0.98) 50%, 
    rgba(17, 24, 39, 1) 100%);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 20px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

/* Footer Brand */
.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo-image {
  width: auto;
  height: 64px;
  max-width: 200px;
}

.footer-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Footer Navigation */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-nav-column {
  min-width: 0;
}

.footer-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  position: relative;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(167, 243, 208));
  border-radius: 1px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
  display: inline-block;
}

.footer-nav-link:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.footer-nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, rgb(102, 126, 234), rgb(167, 243, 208));
  transition: width 0.3s ease;
}

.footer-nav-link:hover::before {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Footer Styles */
@media (max-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 40px 20px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: none;
  }
  
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-nav-column {
    text-align: left;
  }
  
  .footer-social-link {
    width: 40px;
    height: 40px;
  }
}