﻿/* ===== WARM & LIGHT COLOR PALETTE ===== */
:root {
  /* Primary warm colors */
  --primary-warm: #E67E22;        /* Warm orange */
  --primary-warm-light: #F39C12;  /* Light orange */
  --primary-warm-dark: #D35400;   /* Darker orange */
  
  /* Secondary warm colors */
  --secondary-warm: #F1C40F;      /* Warm yellow */
  --secondary-warm-light: #F7DC6F; /* Light yellow */
  --secondary-warm-dark: #F39C12;  /* Darker yellow */
  
  /* Neutral warm colors */
  --warm-white: #FEF9E7;          /* Cream white */
  --warm-light: #FDF2E9;          /* Very light cream */
  --warm-beige: #F8F4E6;          /* Light beige */
  --warm-gray: #E8E2D5;           /* Warm gray */
  --warm-gray-medium: #D7CFC0;    /* Medium warm gray */
  --warm-gray-dark: #8B7D6B;      /* Dark warm gray */
  
  /* Accent colors */
  --accent-coral: #FF6B6B;        /* Soft coral */
  --accent-peach: #FFB07A;        /* Warm peach */
  --accent-sage: #A8E6CF;         /* Soft sage green */
  --accent-lavender: #D1A3FF;     /* Soft lavender */
  
  /* Text colors */
  --text-primary: #5D4E37;        /* Warm brown */
  --text-secondary: #8B7D6B;      /* Medium brown */
  --text-light: #A0937D;          /* Light brown */
  --text-white: #FFFFFF;
  
  /* Background colors */
  --bg-primary: #FEF9E7;          /* Main background */
  --bg-secondary: #FDF2E9;        /* Secondary background */
  --bg-card: #FFFFFF;             /* Card background */
  --bg-overlay: rgba(253, 242, 233, 0.9); /* Overlay background */
  
  /* Border and shadow */
  --border-light: #E8E2D5;
  --border-medium: #D7CFC0;
  --shadow-light: 0 2px 8px rgba(139, 125, 107, 0.1);
  --shadow-medium: 0 4px 16px rgba(139, 125, 107, 0.15);
  --shadow-heavy: 0 8px 32px rgba(139, 125, 107, 0.2);
  
  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #FEF9E7 0%, #FDF2E9 100%);
  --gradient-primary: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
  --gradient-secondary: linear-gradient(135deg, #F7DC6F 0%, #F1C40F 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(253, 242, 233, 0.9) 0%, rgba(254, 249, 231, 0.9) 100%);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: #ffffff;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-warm-dark);
}

h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

p {
  margin-bottom: 1em;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary-warm);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-warm-dark);
  text-decoration: underline;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

.main-content {
  padding-top: 0px; /* Account for fixed navbar */
  min-height: 100vh;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-top: 2rem;
}

.main-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  animation: subtle-glow 3s ease-in-out infinite alternate;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  color: var(--text-white);
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--primary-warm);
  border: 2px solid var(--primary-warm);
  box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
  background: var(--primary-warm);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  text-decoration: none;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.card:hover::before {
  transform: scaleX(1);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
}

.more-link {
  color: var(--primary-warm);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: var(--primary-warm-dark);
  transform: translateX(5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .main-content {
    padding-top: 55px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes subtle-glow {
  0% {
    box-shadow: var(--shadow-medium);
  }
  100% {
    box-shadow: var(--shadow-heavy);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade-in animation to main elements */
.card,
.section-header,
.btn {
  animation: fade-in-up 0.8s ease-out;
}

/* ===== THEME SUPPORT ===== */
[data-theme="dark"] {
  --bg-primary: #3a342e;
  --bg-secondary: #3a342e;
  --bg-card: #3a342e;
  --text-primary: #F4E4BC;
  --text-secondary: #D4C4A8;
  --border-light: #5D4E37;
  --border-medium: #6B5B42;
  --warm-white: #3a342e;
  --warm-light: #3a342e;
  --warm-beige: #3a342e;
  --gradient-warm: linear-gradient(135deg, #3a342e 0%, #3a342e 100%);
}

[data-theme="dark"] body {
  background: rgb(58, 52, 46);
}

[data-theme="dark"] .main-content {
  background: rgb(58, 52, 46) !important;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-full { border-radius: 50px; }

.shadow-sm { box-shadow: var(--shadow-light); }
.shadow-md { box-shadow: var(--shadow-medium); }
.shadow-lg { box-shadow: var(--shadow-heavy); }/* ========================================
   Tomato Hub - Warm & Light Theme
   Soft, Aesthetic Design with Warm Colors
   ======================================== */

/* CSS Variables for Warm Theme */
:root {
    /* Warm Primary Colors */
    --primary-coral: #ff7f7f;
    --primary-coral-light: #ffb3b3;
    --primary-coral-dark: #e55a5a;
    --secondary-peach: #ffb366;
    --accent-cream: #fff2e6;
    --accent-gold: #ffd700;
    
    /* Warm Neutral Colors */
    --warm-white: #fefefe;
    --warm-gray-50: #faf9f7;
    --warm-gray-100: #f5f3f0;
    --warm-gray-200: #ede9e5;
    --warm-gray-300: #e1dcd6;
    --warm-gray-400: #d4ccc2;
    --warm-gray-500: #c4b8ad;
    --warm-gray-600: #b5a695;
    --warm-gray-700: #a3957f;
    --warm-gray-800: #8b7d6b;
    --warm-gray-900: #736557;
    
    /* Text Colors */
    --text-primary: #5d4e37;
    --text-secondary: #8b7d6b;
    --text-muted: #a3957f;
    --text-light: #f5f3f0;
    
    /* Background Colors */
    --bg-primary: #fefefe;
    --bg-secondary: #faf9f7;
    --bg-accent: #fff2e6;
    --bg-warm: #fdf6f0;
    --bg-hero: linear-gradient(135deg, #ff7f7f 0%, #ffb366 50%, #ffd700 100%);
    --bg-pattern: radial-gradient(circle at 20% 20%, rgba(255, 127, 127, 0.08) 0%, transparent 50%),
                  radial-gradient(circle at 80% 80%, rgba(255, 179, 102, 0.06) 0%, transparent 50%),
                  radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
    
    /* Shadows - Soft and Warm */
    --shadow-sm: 0 1px 3px 0 rgba(115, 101, 87, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(115, 101, 87, 0.15), 0 2px 4px -2px rgba(115, 101, 87, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(115, 101, 87, 0.2), 0 4px 6px -4px rgba(115, 101, 87, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(115, 101, 87, 0.25), 0 8px 10px -6px rgba(115, 101, 87, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Dark Theme - Warm Dark */
[data-theme="dark"] {
    --primary-coral: #ff8a8a;
    --primary-coral-light: #ffb3b3;
    --primary-coral-dark: #e55a5a;
    --secondary-peach: #ffb366;
    --accent-cream: #2a1f1a;
    --accent-gold: #ffd700;
    
    --warm-white: #1a1612;
    --warm-gray-50: #2a2520;
    --warm-gray-100: #3a342e;
    --warm-gray-200: #4a433c;
    --warm-gray-300: #5a524a;
    --warm-gray-400: #6a6158;
    --warm-gray-500: #7a7066;
    --warm-gray-600: #8a7f74;
    --warm-gray-700: #9a8e82;
    --warm-gray-800: #aa9d90;
    --warm-gray-900: #baac9e;
    
    --text-primary: #f5f3f0;
    --text-secondary: #d4ccc2;
    --text-muted: #b5a695;
    --text-light: #5d4e37;
    
    --bg-primary: #1a1612;
    --bg-secondary: #2a2520;
    --bg-accent: #3a342e;
    --bg-warm: #2a1f1a;
    --bg-hero: linear-gradient(135deg, #2a1f1a 0%, #3a342e 50%, #4a433c 100%);
    --bg-pattern: radial-gradient(circle at 20% 20%, rgba(255, 127, 127, 0.1) 0%, transparent 50%),
                  radial-gradient(circle at 80% 80%, rgba(255, 179, 102, 0.08) 0%, transparent 50%),
                  radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #ffffff;
    min-height: 100vh;
    transition: all var(--transition-normal);
    margin: 0;
    padding-top: 80px;
}

/* Dark mode - match hero background */
[data-theme="dark"] body {
    background: rgb(58, 52, 46) !important;
}

/* Warm Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    pointer-events: none;
    z-index: -1;
    transition: all var(--transition-normal);
}

/* Dark mode background pattern */
[data-theme="dark"] body::before {
    background-image: var(--bg-pattern);
}

/* Main Content */
.main-content {
    min-height: 60vh;
    position: relative;
    transition: all var(--transition-normal);
}

/* Dark mode - match hero background */
[data-theme="dark"] .main-content {
    background: rgb(58, 52, 46) !important;
}image.png

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Full width sections */
.main-content > div {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-coral);
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.more-link {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-normal);
}

.more-link:hover {
    color: var(--primary-coral-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bottom-sections {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0;
        margin: 0;
    }
    
    .content-grid {
        padding: 1rem 0;
    }
    
    /* Fix mobile padding for all sections */
    .main-content > div {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Animation for fade effect */
.fade {
    animation: fade 1.5s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* ===== HEADER & NAVIGATION STYLES ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(254, 249, 231, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-warm);
  opacity: 0.8;
  z-index: -1;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

/* ===== LOGO SECTION ===== */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-logo:hover {
  transform: scale(1.03);
}

.logo-img {
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav-link {
  position: relative;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 25px;
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-warm);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  background: transparent;
  color: var(--primary-warm);
  font-weight: 700;
  box-shadow: none;
}

.nav-link.active::after {
  width: 80%;
  background: var(--primary-warm);
}

/* ===== DROPDOWN MENUS ===== */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--border-light);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

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

.dropdown-item {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-light);
}

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

.dropdown-item:hover {
  background: var(--warm-light);
  color: var(--primary-warm);
  padding-left: 2rem;
}

/* ===== THEME TOGGLE ===== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0;
}

.theme-toggle {
  position: relative;
  width: 50px;
  height: 50px;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  transform-style: preserve-3d;
  perspective: 1000px;
  padding: 0;
  margin: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
}

.theme-toggle:hover {
  transform: translateY(-2px) scale(1.15) rotate(5deg);
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.theme-toggle:active {
  transform: scale(1);
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.theme-toggle:focus {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.theme-icon.light-icon {
  color: #f39c12;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) rotateY(-180deg);
  filter: drop-shadow(0 0 8px rgba(243, 156, 18, 0.6));
}

.theme-icon.dark-icon {
  color: #9db4d4;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) rotateY(0deg);
  filter: drop-shadow(0 0 8px rgba(157, 180, 212, 0.6));
  animation: pulse-glow-moon 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(243, 156, 18, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(243, 156, 18, 0.9));
  }
}

[data-theme="dark"] .theme-icon.light-icon {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) rotateY(0deg);
  animation: pulse-glow 2s ease-in-out infinite;
}

[data-theme="dark"] .theme-icon.dark-icon {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) rotateY(180deg);
  animation: none;
}

@keyframes pulse-glow-moon {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(157, 180, 212, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(157, 180, 212, 0.9));
  }
}

.theme-toggle.flip-animation {
  animation: flip-button 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flip-button {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg) scale(1.1);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.theme-toggle.wave-effect {
  animation: wave-pulse 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes wave-pulse {
  0% {
    filter: none;
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(243, 156, 18, 0.5));
  }
  100% {
    filter: none;
  }
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--warm-light);
}

.hamburger {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-light);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0;
    margin-right: 0;
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-link {
    padding: 1rem 2rem;
    border-radius: 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover {
    background: var(--warm-light);
    transform: none;
    box-shadow: none;
    color: var(--primary-warm);
  }
  
  .nav-link:hover::before {
    opacity: 0;
  }
  
  .theme-toggle {
    width: 45px;
    height: 45px;
  }
  
  .theme-icon {
    width: 34px;
    height: 34px;
  }
  
  .logo-img {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.5rem;
    height: 60px;
  }
  
  .logo-text {
    font-size: 1.15rem;
  }
  
  .theme-toggle {
    width: 42px;
    height: 42px;
  }
  
  .theme-icon {
    width: 32px;
    height: 32px;
  }

  .logo-img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .navbar {
  /* Stronger contrast vs. page background */
  background: #120a06 !important; /* darker than main content */
  border-bottom-color: var(--warm-beige);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .theme-toggle {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .theme-toggle:hover {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .theme-toggle:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .theme-toggle:focus {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .navbar::before {
  background: linear-gradient(180deg, #120a06 0%, #120a06 100%);
}

[data-theme="dark"] .nav-link {
  color: var(--text-primary);
}

[data-theme="dark"] .dropdown-content {
  background: var(--bg-card);
  border-color: var(--border-medium);
}

[data-theme="dark"] .dropdown-item:hover {
  background: var(--warm-beige);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
  background: var(--warm-beige);
}

[data-theme="dark"] .hamburger span {
  background: var(--text-primary);
}

/* ===== SCROLL EFFECTS ===== */
.navbar.scrolled {
  background: rgba(254, 249, 231, 0.98);
  box-shadow: var(--shadow-medium);
}

[data-theme="dark"] .navbar.scrolled {
  background: #120a06;
}

/* Clear separator line for dark mode */
[data-theme="dark"] .navbar {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .theme-toggle,
  .logo-img,
  .hamburger span,
  .theme-icon {
    transition: none;
  }
  
  .theme-toggle.wave-effect,
  .theme-toggle.flip-animation {
    animation: none;
  }
  
  .theme-icon.light-icon,
  [data-theme="dark"] .theme-icon.dark-icon {
    animation: none;
  }
}

/* Focus styles for accessibility */
.nav-link:focus {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
}

.theme-toggle:focus {
  outline: none;
}

.theme-toggle:focus-visible {
  outline: 2px dashed var(--primary-warm);
  outline-offset: 4px;
}

/* ===== ADDITIONAL ANIMATIONS ===== */
@keyframes navbar-slide-in {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  animation: navbar-slide-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}/* ===== HERO SECTION (Full background slideshow) ===== */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  padding: 80px 20px;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* ===== HERO SLIDESHOW BACKGROUND ===== */
.hero-slideshow-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2c3e50;
  will-change: transform;
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateX(100%) translateZ(0);
  z-index: 0;
}

.hero-slide.active {
  transform: translateX(0) translateZ(0);
  z-index: 1;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

/* Navigation Arrows for Hero Slideshow */
.hero-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #2c3e50;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slideshow-nav:hover {
  background: var(--primary-coral);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 127, 127, 0.4);
}

.hero-slideshow-nav.prev {
  left: 30px;
}

.hero-slideshow-nav.next {
  right: 30px;
}

.hero-slideshow-nav svg {
  width: 16px;
  height: 16px;
}

/* Slide Indicators for Hero Slideshow */
.hero-slideshow-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
  transform: scale(1.2);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  margin-top: 0;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 5rem;
  max-width: 700px;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

/* Research Stats Boxes - Above Image Slider */
.research-stats-section {
  padding: 2rem 0;
  background: var(--bg-primary);
  text-align: center;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stat-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem 0.75rem;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #e74c3c;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #e74c3c;
  line-height: 1;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.1rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  min-width: 180px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary { 
  background: var(--primary-coral);
  border: 2px solid var(--primary-coral);
  color: #ffffff;
}

.hero-buttons .btn-primary:hover {
  background: var(--primary-coral-dark);
  border-color: var(--primary-coral-dark);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 127, 127, 0.4);
}

.hero-buttons .btn-secondary {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.hero-buttons .btn-secondary:hover {
  background: #ffffff;
  color: var(--primary-coral);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

/* ===== HERO IMAGE ===== */
.hero-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.hero-side-image {
  width: 327px;
  height: 335px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: none;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

.hero-side-image:hover {
  transform: scale(1.02);
  border-color: #999;
}

/* Remove floating shapes and scroll indicator */
.hero::before,
.hero::after { display: none; }
.scroll-indicator { display: none; }
.scroll-arrow { display: none; }

@media (max-width: 768px) {
  .hero { min-height: 50vh; padding: 0px 12px 30px 12px; }
  .hero-container { 
    flex-direction: column; 
    gap: 2rem; 
    text-align: center;
    min-height: auto;
  }
  .hero-content { 
    text-align: center; 
    max-width: 100%;
  }
  .hero-title { font-size: 1.3rem; }
  .hero-subtitle { font-size: 0.75rem; }
  .hero-buttons { 
    flex-direction: column; 
    justify-content: center;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-buttons .btn { 
    min-width: 120px; 
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
  
  .stats-container {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .stat-box {
    padding: 0.75rem 0.5rem;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  .hero-side-image {
    width: 200px;
    height: 200px;
  }
}

/* Dark theme minimal adjustments */
[data-theme="dark"] .hero-title { 
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
[data-theme="dark"] .hero-subtitle { 
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-shadow: none;
}
[data-theme="dark"] .hero-stats {
  border-top: 1px solid rgba(230, 126, 34, 0.3);
  border-bottom: 1px solid rgba(230, 126, 34, 0.3);
}

[data-theme="dark"] .stat-label {
  color: #a0a0a0;
}

[data-theme="dark"] .hero-buttons .btn-primary,
[data-theme="dark"] .hero-buttons .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: var(--primary-warm-light);
}

[data-theme="dark"] .hero-buttons .btn-primary:hover,
[data-theme="dark"] .hero-buttons .btn-secondary:hover {
  background: var(--primary-warm-light);
  color: #FFFFFF;
}

[data-theme="dark"] .research-stats-section {
  background: #3a342e;
}

[data-theme="dark"] .stat-box {
  background: #8b7355;
  border-color: #555;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border-color: #e74c3c;
}

[data-theme="dark"] .stat-number {
  color: #e74c3c;
}

[data-theme="dark"] .stat-label {
  color: #d4ccc2;
}

[data-theme="dark"] .hero-side-image {
  border-color: #666;
  filter: brightness(0.9) contrast(1.1);
}

[data-theme="dark"] .hero-side-image:hover {
  filter: brightness(1.1) contrast(1.2);
  border-color: #888;
}

/* ===== Simple Image Gallery below hero ===== */
/* Replaced by slider */

/* ===== Minimal Image Slider (no frames, one image at a time) ===== */
.image-slider {
  background: transparent; /* share same background as page */
  padding: 16px 0 32px 0;
}

[data-theme="dark"] .image-slider {
  background: #3a342e !important;
}

.slider-wrapper {
  max-width: none; /* full width */
  width: 100%;
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slides {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-item {
  width: 100%;
  height: auto;
  display: none;
  border: none; /* no frame */
}
.slides::before,
.slides::after { display: none; }

/* Dark mode tuning for slider controls */
[data-theme="dark"] .slider-btn {
  background: transparent;
  border: none;
  color: #f4e4bc;
  box-shadow: none;
}

[data-theme="dark"] .slider-btn:hover { background: transparent; color: var(--primary-warm-light); }

[data-theme="dark"] .slider-dots .dot { background: #5d4e37; }
[data-theme="dark"] .slider-dots .dot.active { background: var(--primary-warm-light); }

.slide-item.active { display: block; }

.slider-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  padding: 8px 12px;
}

.slider-btn:hover {
  background: transparent;
  color: var(--primary-warm-dark);
}

.slider-btn.prev { margin-left: 8px; }
.slider-btn.next { margin-right: 8px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--primary-warm);
}
/* ===== HERO SECTION STYLES ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  padding-top: 0px;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1s ease-in-out;
  filter: brightness(0.7) contrast(1.1);
}

.slide.active {
  opacity: 0.6;
  transform: translateX(0%);
}

.slide:nth-child(1) {
  animation: slide1 9s infinite;
}

.slide:nth-child(2) {
  animation: slide2 9s infinite;
}

.slide:nth-child(3) {
  animation: slide3 9s infinite;
}

/* Sliding animations with transparent effect */
@keyframes slide1 {
  0%, 30% {
    opacity: 0.6;
    transform: translateX(0%);
  }
  33.33% {
    opacity: 0;
    transform: translateX(-100%);
  }
  33.34%, 100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes slide2 {
  0%, 30% {
    opacity: 0;
    transform: translateX(100%);
  }
  33.33%, 63.33% {
    opacity: 0.6;
    transform: translateX(0%);
  }
  66.66% {
    opacity: 0;
    transform: translateX(-100%);
  }
  66.67%, 100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes slide3 {
  0%, 63.33% {
    opacity: 0;
    transform: translateX(100%);
  }
  66.66%, 96.66% {
    opacity: 0.6;
    transform: translateX(0%);
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 15;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  animation: hero-content-entrance 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: none;
  letter-spacing: -1px;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: underline-expand 1s ease-out 0.5s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 6.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: subtitle-fade-in 1s ease-out 0.3s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 
    1px 1px 3px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.9);
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: buttons-slide-up 1s ease-out 0.6s both;
}

.hero-buttons .btn {
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
  min-width: 200px;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  animation: button-float 1s ease-out 0.8s both;
}

.hero-buttons .btn:nth-child(2) {
  animation-delay: 1s;
}



/* ===== FLOATING ELEMENTS ===== */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-1 4s ease-in-out infinite;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: float-2 5s ease-in-out infinite reverse;
  z-index: 2;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0;
  animation: scroll-indicator-fade 1s ease-out 1.5s both;
  z-index: 10;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary-warm);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  animation: bounce-arrow 2s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes hero-content-entrance {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


@keyframes underline-expand {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

@keyframes subtitle-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttons-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes button-float {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentle-float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes float-1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float-2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-180deg);
  }
}

@keyframes scroll-indicator-fade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(-8px) rotate(-45deg);
  }
  60% {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 60px 1rem;
  }
  
  .hero-content {
    padding: 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-buttons .btn {
    min-width: 100%;
    max-width: 300px;
    font-size: 0.95rem;
    padding: 0.9rem 2rem;
  }
  
  .hero-slideshow-nav {
    width: 40px;
    height: 40px;
  }
  
  .hero-slideshow-nav.prev {
    left: 15px;
  }
  
  .hero-slideshow-nav.next {
    right: 15px;
  }
  
  .hero-slideshow-indicators {
    bottom: 20px;
  }
  
  .hero-indicator {
    width: 10px;
    height: 10px;
  }
  
  .hero-image-bg {
    background-size: cover;
    opacity: 0.2;
  }
  
  .scroll-indicator {
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons .btn {
    min-width: 200px;
    padding: 0.9rem 1.8rem;
  }
  
  .hero-image-bg {
    background-size: cover;
    opacity: 0.15;
  }
  
  .hero::before,
  .hero::after {
    display: none;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .hero {
  background: #3a342e !important;
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(135deg, 
    rgba(127, 29, 29, 0.3) 0%,
    rgba(153, 27, 27, 0.25) 25%,
    rgba(185, 28, 28, 0.2) 50%,
    rgba(220, 38, 38, 0.15) 75%,
    rgba(239, 68, 68, 0.1) 100%);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(127, 29, 29, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(153, 27, 27, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(185, 28, 28, 0.1) 0%, transparent 60%);
}

[data-theme="dark"] .hero-reflection {
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(61, 36, 38, 0.2) 30%,
    rgba(45, 27, 29, 0.4) 70%,
    rgba(31, 20, 21, 0.7) 100%);
}

[data-theme="dark"] .hero-title {
  text-shadow: none;
}

[data-theme="dark"] .hero-subtitle {
  text-shadow: none;
}

[data-theme="dark"] .scroll-indicator {
  color: var(--text-secondary);
}


/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-title,
  .hero-subtitle,
  .hero-buttons,
  .hero-buttons .btn,
  .hero-image-bg,
  .hero-overlay,
  .scroll-indicator,
  .scroll-arrow,
  .hero::before,
  .hero::after {
    animation: none !important;
  }
  
  .hero-title::after {
    animation: none;
    width: 100px;
  }
  
  .hero-subtitle,
  .hero-buttons,
  .scroll-indicator {
    opacity: 1;
  }
  
  .hero-buttons .btn {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-title {
    background: none;
  }
  
  .hero-overlay {
    opacity: 0.3;
  }
  
  .hero-image-bg {
    opacity: 0.02;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .hero {
    min-height: auto;
    background: white;
    color: black;
    page-break-inside: avoid;
  }
  
  .hero-background,
  .hero-overlay,
  .hero-reflection,
  .scroll-indicator,
  .hero::before,
  .hero::after {
    display: none;
  }
  
  .hero-buttons {
    display: none;
  }
}/* ===== SLIDESHOW SECTION STYLES - MATCHING COLLEAGUE'S COLOR SCHEME ===== */

.slideshow-section {
  position: relative;
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.slideshow-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.slideshow-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.slideshow-section .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'Lato', sans-serif;
}

/* ===== SLIDESHOW CONTAINER ===== */
.slideshow-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* ===== SLIDE STYLES ===== */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out;
  opacity: 1;
  z-index: 0;
  min-height: 500px;
}

.slide:first-child {
  transform: translateX(0);
  z-index: 1;
}

/* Slide overlay for text readability */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  padding: 3rem 2rem 2rem;
  color: white;
}

.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.slide-content p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 500px;
  font-family: 'Lato', sans-serif;
}

/* ===== NAVIGATION ARROWS ===== */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.slideshow-nav:hover {
  background: var(--primary-coral);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.slideshow-nav.prev {
  left: 2rem;
}

.slideshow-nav.next {
  right: 2rem;
}

.slideshow-nav svg {
  width: 20px;
  height: 20px;
}

/* ===== SLIDE INDICATORS ===== */
.slideshow-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-coral);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .slideshow-section {
    padding: 3rem 0;
  }
  
  .slideshow-section .section-header h2 {
    font-size: 2rem;
  }
  
  .slideshow-wrapper {
    height: 350px;
  }
  
  .slide-overlay {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .slide-content h3 {
    font-size: 1.5rem;
  }
  
  .slide-content p {
    font-size: 0.9rem;
  }
  
  .slideshow-nav {
    width: 40px;
    height: 40px;
  }
  
  .slideshow-nav.prev {
    left: 1rem;
  }
  
  .slideshow-nav.next {
    right: 1rem;
  }
  
  .slideshow-nav svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .slideshow-section {
    padding: 2rem 0;
  }
  
  .slideshow-wrapper {
    height: 280px;
  }
  
  .slide-overlay {
    padding: 1.5rem 1rem 1rem;
  }
  
  .slide-content h3 {
    font-size: 1.3rem;
  }
  
  .slide-content p {
    font-size: 0.85rem;
  }
  
  .slideshow-nav {
    width: 35px;
    height: 35px;
  }
  
  .slideshow-nav svg {
    width: 14px;
    height: 14px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .slideshow-section {
  background: var(--bg-secondary);
  border-top-color: var(--border-medium);
}

[data-theme="dark"] .slideshow-section .section-header h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .slideshow-section .section-subtitle {
  color: var(--text-secondary);
}

[data-theme="dark"] .slideshow-container {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .slideshow-nav {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: 2px solid var(--primary-coral);
}

[data-theme="dark"] .slideshow-nav:hover {
  background: var(--primary-coral);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .slideshow-nav svg {
  stroke: var(--primary-coral);
  stroke-width: 2.5;
}

[data-theme="dark"] .slideshow-nav:hover svg {
  stroke: white;
  stroke-width: 3;
}

[data-theme="dark"] .indicator {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .indicator.active {
  background: var(--primary-coral);
}

[data-theme="dark"] .indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }
  
  .slideshow-nav {
    transition: none;
  }
  
  .slideshow-nav:hover {
    transform: translateY(-50%);
  }
  
  .indicator {
    transition: none;
  }
  
  .indicator:hover,
  .indicator.active {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .slide-overlay {
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  }
  
  .slideshow-nav {
    background: rgba(255, 255, 255, 1);
    border: 2px solid var(--primary-coral);
  }
  
  .indicator {
    border: 2px solid #fff;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .slideshow-section {
    page-break-inside: avoid;
  }
  
  .slideshow-nav,
  .slideshow-indicators {
    display: none;
  }
  
  .slide {
    position: static;
    opacity: 1;
    transform: none;
    height: 300px;
    margin-bottom: 2rem;
  }
  
  .slide:not(.active) {
    display: none;
  }
}
/* ===== NEWS SECTION STYLES ===== */

.news-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fef9e7 0%, #fdf2e9 100%) !important;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

[data-theme="dark"] .news-section {
  background: #8b7355 !important;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(243, 156, 18, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(241, 196, 15, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ===== NEWS CARDS ===== */
.news-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  transform-origin: center;
  animation: news-card-entrance 0.8s ease-out;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  height: auto;
  padding: 1.5rem;
  width: 100%;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.news-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-warm-light);
}

.news-card:hover::before {
  transform: scaleX(1);
}

.news-card:hover::after {
  opacity: 0.05;
}

.news-card:nth-child(1) { animation-delay: 0s; }
.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }
.news-card:nth-child(4) { animation-delay: 0.3s; }

/* ===== NEWS TITLE ===== */
.news-title {
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
}

.news-title h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
}

.news-title h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.news-title h3 a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.news-title h3 a:hover {
  color: var(--primary-warm);
  transform: translateX(2px);
}

.news-title h3 a:hover::after {
  width: 100%;
}

/* ===== NEWS BODY ===== */
.news-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  gap: 1rem;
}

/* ===== NEWS IMAGE ===== */
.news-image {
  position: relative;
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 1rem;
  flex-shrink: 0;
}

.news-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.news-card:hover .news-image::before {
  opacity: 0.3;
}

.news-image img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 12px rgba(230, 126, 34, 0.3));
}

.news-card:hover .news-image img {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 8px 20px rgba(230, 126, 34, 0.4));
}

/* ===== NEWS CONTENT ===== */
.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-content p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* ===== NEWS CARD VARIANTS ===== */
.news-card.featured {
  grid-column: span 2;
  background: var(--gradient-warm);
  border: 2px solid var(--primary-warm-light);
}

.news-card.featured .news-image {
  height: 250px;
}

.news-card.featured .news-content {
  padding: 2rem;
}

.news-card.featured .news-content h3 {
  font-size: 1.3rem;
  color: var(--primary-warm-dark);
}

.news-card.featured::before {
  height: 6px;
  background: var(--gradient-secondary);
}

/* ===== LOADING SKELETON ===== */
.news-card.loading {
  pointer-events: none;
  animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

.news-card.loading .news-image {
  background: var(--warm-gray);
}

.news-card.loading .news-title h3,
.news-card.loading .news-content p {
  background: var(--warm-gray);
  color: transparent;
  border-radius: 4px;
}

.news-card.loading .news-title h3 {
  height: 1.2rem;
  margin-bottom: 0.5rem;
}

.news-card.loading .news-content p {
  height: 0.9rem;
}

/* ===== NEWS SECTION HEADER ===== */
.news-section .section-header {
  position: relative;
  z-index: 3;
  padding-top: 1.5rem;
}

.news-section .section-header h2 {
  position: relative;
  display: inline-block;
}

.news-section .section-header h2::before {
  content: '📰';
  margin-right: 0.5rem;
  font-size: 0.8em;
  opacity: 0.7;
}

.news-section .more-link {
  position: relative;
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.news-section .more-link:hover {
  background: var(--primary-warm);
  color: var(--text-white);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
  text-decoration: none;
}

.news-section .more-link::after {
  content: '';
  margin-left: 0;
  transition: transform 0.3s ease;
}

.news-section .more-link:hover::after {
  transform: translateX(0);
}

/* ===== EMPTY STATE ===== */
.news-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.news-empty::before {
  content: '📰';
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.news-empty h3 {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.news-empty p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes news-card-entrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skeleton-pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.6;
  }
}

@keyframes news-glow {
  0%, 100% {
    box-shadow: var(--shadow-light);
  }
  50% {
    box-shadow: var(--shadow-medium);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .news-section {
    padding: 2rem 1rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .news-card.featured {
    grid-column: span 1;
  }
  
  .news-card {
    min-height: 260px;
    height: auto;
    padding: 1.25rem;
  }
  
  .news-image {
    width: 60px;
    height: 60px;
    margin: 0.75rem;
  }
  
  .news-image img {
    width: 45px;
    height: 45px;
  }
  
  .news-card.featured .news-image {
    width: 70px;
    height: 70px;
  }
  
  .news-title h3 {
    font-size: 0.95rem;
  }
  
  .news-content {
    padding: 0.5rem 0;
  }
  
  .news-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 2rem 0.75rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }
  
  .news-card {
    min-height: 240px;
    height: auto;
    padding: 1rem;
  }
  
  .news-image {
    width: 50px;
    height: 50px;
    margin: 0.5rem;
  }
  
  .news-image img {
    width: 35px;
    height: 35px;
  }
  
  .news-title h3 {
    font-size: 0.9rem;
  }
  
  .news-content {
    padding: 0.25rem 0;
  }
  
  .news-content p {
    font-size: 0.8rem;
  }
  
  .news-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .news-section .more-link {
    align-self: flex-end;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .news-section::before {
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(243, 156, 18, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(241, 196, 15, 0.05) 0%, transparent 50%);
}

[data-theme="dark"] .news-card {
  background: #3a342e !important;
  border-color: var(--border-medium);
}

[data-theme="dark"] .news-card:hover {
  border-color: var(--primary-warm);
}

[data-theme="dark"] .news-image {
  background: #3a342e !important;
}

[data-theme="dark"] .news-title h3 a {
  color: var(--text-primary);
}

[data-theme="dark"] .news-content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .news-card.loading .news-image,
[data-theme="dark"] .news-card.loading .news-title h3,
[data-theme="dark"] .news-card.loading .news-content p {
  background: var(--border-medium);
}

[data-theme="dark"] .news-section .more-link {
  background: var(--bg-card);
  border-color: var(--border-medium);
}

[data-theme="dark"] .news-section .more-link:hover {
  background: var(--primary-warm);
  color: var(--text-white);
}

[data-theme="dark"] .news-card.featured {
  background: linear-gradient(135deg, #3D2317 0%, #4A2C1A 100%);
  border-color: var(--primary-warm);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-image img,
  .news-title h3 a,
  .news-section .more-link {
    transition: none;
    animation: none;
  }
  
  .news-card:hover {
    transform: none;
  }
  
  .news-card:hover .news-image img {
    transform: none;
  }
}

.news-card:focus-within {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
}

.news-title h3 a:focus {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .news-card {
    border: 2px solid var(--text-primary);
  }
  
  .news-card:hover {
    border-color: var(--primary-warm);
    background: var(--warm-light);
  }
  
  .news-title h3 a {
    color: var(--text-primary);
    font-weight: 700;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .news-section {
    background: white;
    padding: 1rem 0;
  }
  
  .news-grid {
    display: block;
  }
  
  .news-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .news-image {
    height: auto;
    padding: 1rem;
  }
  
  .news-image img {
    width: 40px;
    height: 40px;
  }
  
  .news-section .more-link {
    display: none;
  }
}
/* ===== TOOLS SECTION STYLES ===== */

.tools-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

[data-theme="dark"] .tools-section {
  background: linear-gradient(135deg, #2a2420 0%, #3a342e 100%) !important;
}

.tools-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(230, 126, 34, 0.02) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(241, 196, 15, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== TOOLS GRID ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

/* ===== TOOL CARDS ===== */
.tool-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--border-light);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 160px;
  justify-content: space-between;
  gap: 1.5rem;
  animation: tool-card-entrance 0.8s ease-out;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 24px;
}

.tool-card:hover {
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-warm);
  text-decoration: none;
  color: inherit;
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-card:hover::after {
  opacity: 0.08;
}

/* Stagger animation for tool cards */
.tool-card:nth-child(1) { animation-delay: 0s; }
.tool-card:nth-child(2) { animation-delay: 0.1s; }
.tool-card:nth-child(3) { animation-delay: 0.2s; }
.tool-card:nth-child(4) { animation-delay: 0.3s; }
.tool-card:nth-child(5) { animation-delay: 0.4s; }
.tool-card:nth-child(6) { animation-delay: 0.5s; }

/* Ensure all tool card icons have consistent styling */
.tool-card:nth-child(2) .tool-icon,
.tool-card:nth-child(3) .tool-icon,
.tool-card:nth-child(4) .tool-icon {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* No hover effects for tool icons */

/* ===== TOOL ICONS ===== */
.tool-icon {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  border: none;
  flex-shrink: 0;
}

.tool-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* No hover effects for tool icons */

/* No hover effects for tool icons */

.tool-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(230, 126, 34, 0.2));
}

/* No hover effects for tool icon images */

/* ===== TOOL CONTENT ===== */
.tool-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
}

.tool-card:hover h3 {
  color: var(--primary-warm-dark);
}

.tool-card h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.tool-card:hover h3::after {
  width: 100%;
}

.tool-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  transition: all 0.3s ease;
}

.tool-card:hover p {
  color: var(--text-primary);
}

/* ===== COMING SOON CARDS ===== */
.tool-card.coming-soon {
  background: var(--bg-card);
  border-color: var(--border-light);
  cursor: default;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 160px;
}

.tool-card.coming-soon .tool-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tool-card.coming-soon .tool-icon {
  display: none;
}

.tool-card.coming-soon h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
}

.tool-card.coming-soon p {
  display: none;
}

.tool-card.coming-soon:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-warm);
}

.tool-card.coming-soon:hover h3 {
  color: var(--primary-warm-dark);
}


/* ===== FEATURED TOOL CARD ===== */
.tool-card.featured {
  grid-column: span 2;
  background: var(--gradient-warm);
  border: 2px solid var(--primary-warm-light);
  min-height: 320px;
}

.tool-card.featured .tool-icon {
  width: 100px;
  height: 100px;
  background: transparent;
  border: none;
  border-radius: 0;
}

.tool-card.featured .tool-icon img {
  width: 60px;
  height: 60px;
}

.tool-card.featured h3 {
  font-size: 1.5rem;
  color: var(--primary-warm-dark);
}

.tool-card.featured::before {
  height: 6px;
  background: var(--gradient-secondary);
}

/* ===== TOOLS SECTION HEADER ===== */
.tools-section .section-header {
  position: relative;
  z-index: 3;
  padding-top: 1.5rem;
}

.tools-section .section-header h2 {
  position: relative;
  display: inline-block;
}

.tools-section .section-header h2::before {
  content: '🔧';
  margin-right: 0.5rem;
  font-size: 0.8em;
  opacity: 0.7;
}

.tools-section .more-link {
  position: relative;
  background: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  font-weight: 500;
}

.tools-section .more-link:hover {
  background: var(--primary-warm);
  color: var(--text-white);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
  text-decoration: none;
}

.tools-section .more-link::after {
  content: '';
  margin-left: 0;
  transition: transform 0.3s ease;
}

.tools-section .more-link:hover::after {
  transform: translateX(0);
}

/* ===== TOOL CATEGORIES ===== */
.tool-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.category-filter {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.category-filter:hover,
.category-filter.active {
  background: var(--primary-warm);
  color: var(--text-white);
  border-color: var(--primary-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

/* ===== EMPTY STATE ===== */
.tools-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  grid-column: 1 / -1;
}

.tools-empty::before {
  content: '🔧';
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.tools-empty h3 {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.tools-empty p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== LOADING STATE ===== */
.tool-card.loading {
  pointer-events: none;
  animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

.tool-card.loading .tool-icon {
  background: transparent;
}

.tool-card.loading h3,
.tool-card.loading p {
  background: var(--warm-gray);
  color: transparent;
  border-radius: 4px;
}

.tool-card.loading h3 {
  height: 1.5rem;
  width: 60%;
  margin: 0 auto 1rem;
}

.tool-card.loading p {
  height: 1rem;
  width: 80%;
  margin: 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes tool-card-entrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skeleton-pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.6;
  }
}

@keyframes tool-glow {
  0%, 100% {
    box-shadow: var(--shadow-light);
  }
  50% {
    box-shadow: var(--shadow-heavy);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .tools-section {
    padding: 2rem 1rem;
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .tool-card {
    padding: 1.5rem 1rem;
    height: 140px;
    border-radius: 20px;
  }
  
  .tool-card.featured {
    grid-column: span 1;
    min-height: 120px;
  }
  
  .tool-icon {
    width: 60px;
    height: 60px;
  }
  
  .tool-icon img {
    width: 36px;
    height: 36px;
  }
  
  .tool-card.featured .tool-icon {
    width: 70px;
    height: 70px;
  }
  
  .tool-card.featured .tool-icon img {
    width: 42px;
    height: 42px;
  }
  
  .tool-card h3 {
    font-size: 1.1rem;
  }
  
  .tool-card.featured h3 {
    font-size: 1.25rem;
  }
  
  .tool-categories {
    gap: 0.5rem;
  }
  
  .category-filter {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .tools-section {
    padding: 2rem 0.75rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tool-card {
    padding: 1.25rem 0.75rem;
    height: 120px;
  }
  
  .tool-icon {
    width: 50px;
    height: 50px;
  }
  
  .tool-icon img {
    width: 30px;
    height: 30px;
  }
  
  .tool-card h3 {
    font-size: 1rem;
  }
  
  .tool-card p {
    font-size: 0.9rem;
  }
  
  .tools-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .tools-section .more-link {
    align-self: flex-end;
  }
  
  .tool-categories {
    justify-content: flex-start;
  }
}

/* ===== DARK THEME OVERRIDES ===== */

[data-theme="dark"] .tools-section::before {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(230, 126, 34, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(241, 196, 15, 0.04) 0%, transparent 60%);
}

[data-theme="dark"] .tool-card {
  background: #3a342e !important;
  border-color: var(--border-medium);
}

[data-theme="dark"] .tool-card:hover {
  border-color: var(--primary-warm);
}

[data-theme="dark"] .tool-icon {
  background: transparent;
  border: none;
}

[data-theme="dark"] .tool-card h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .tool-card p {
  color: var(--text-secondary);
}

[data-theme="dark"] .tool-card.coming-soon {
  background: #3a342e !important;
  border-color: var(--border-medium);
}

[data-theme="dark"] .tool-card.coming-soon h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .tool-card.loading .tool-icon {
  background: transparent;
}

[data-theme="dark"] .tool-card.loading h3,
[data-theme="dark"] .tool-card.loading p {
  background: var(--border-medium);
}

[data-theme="dark"] .tools-section .more-link {
  background: var(--bg-card);
  border-color: var(--border-medium);
}

[data-theme="dark"] .tools-section .more-link:hover {
  background: var(--primary-warm);
  color: var(--text-white);
}

[data-theme="dark"] .category-filter {
  background: var(--bg-card);
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

[data-theme="dark"] .tool-card.featured {
  background: linear-gradient(135deg, #4A2C1A 0%, #5D4E37 100%);
  border-color: var(--primary-warm);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .tool-icon,
  .tool-icon img,
  .tool-card h3,
  .tool-card p,
  .tools-section .more-link,
  .category-filter {
    transition: none;
    animation: none;
  }
  
  .tool-card:hover {
    transform: none;
  }
  
  .tool-card:hover .tool-icon {
    transform: none;
  }
}

.tool-card:focus {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
}

.category-filter:focus {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .tool-card {
    border: 2px solid var(--text-primary);
  }
  
  .tool-card:hover {
    border-color: var(--primary-warm);
    background: var(--warm-light);
  }
  
  .tool-card h3 {
    color: var(--text-primary);
    font-weight: 700;
  }
  
  .tool-icon {
    border: 2px solid var(--text-primary);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .tools-section {
    background: white;
    padding: 1rem 0;
  }
  
  .tools-grid {
    display: block;
  }
  
  .tool-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    box-shadow: none;
    border: 1px solid #ccc;
    min-height: auto;
  }
  
  .tool-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
  }
  
  .tool-icon img {
    width: 24px;
    height: 24px;
  }
  
  .tools-section .more-link,
  .tool-categories {
    display: none;
  }
}
/* ===== ABOUT SECTION STYLES - MATCHING COLLEAGUE'S COLOR SCHEME ===== */

.about-section {
  padding: 4rem 2rem;
  background: var(--bg-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-peach) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section:hover::before {
  transform: scaleX(1);
}

.about-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-header h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.about-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-intro {
  text-align: center;
}

.about-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
}

.about-modules h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.module-item {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--warm-gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.module-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-coral), var(--secondary-peach));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.module-item:hover::before {
  transform: scaleX(1);
}

.module-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-coral);
}

.module-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.module-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.module-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  font-family: 'Lato', sans-serif;
}

.about-footer {
  text-align: center;
  margin-top: 1rem;
}

.learn-more-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-peach) 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: var(--shadow-sm);
}

.learn-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .about-section {
    padding: 1.5rem;
  }
  
  .about-header h3 {
    font-size: 1.5rem;
  }
  
  .modules-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
  }
  
  .module-item {
    padding: 1.25rem;
  }
  
  .module-icon {
    font-size: 1.75rem;
  }
  
  .module-content h5 {
    font-size: 1rem;
  }
  
  .module-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 1.25rem;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .module-item {
    padding: 1rem;
  }
  
  .learn-more-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .about-section {
  background: var(--bg-secondary);
  border-color: var(--warm-gray-300);
}

[data-theme="dark"] .about-header h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .about-subtitle {
  color: var(--text-secondary);
}

[data-theme="dark"] .about-intro p {
  color: var(--text-secondary);
}

[data-theme="dark"] .about-modules h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .module-item {
  background: var(--bg-accent);
  border-color: var(--warm-gray-400);
}

[data-theme="dark"] .module-item:hover {
  border-color: var(--primary-coral);
}

[data-theme="dark"] .module-content h5 {
  color: var(--text-primary);
}

[data-theme="dark"] .module-content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .learn-more-btn {
  background: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-peach) 100%);
  color: white;
}

[data-theme="dark"] .learn-more-btn:hover {
  color: white;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .about-section,
  .module-item,
  .learn-more-btn {
    transition: none;
  }
  
  .about-section::before,
  .module-item::before {
    transition: none;
  }
}

.about-section:focus-within {
  outline: 2px solid var(--primary-coral);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .about-section {
    background: #ffffff;
    border: 1px solid #000000;
    box-shadow: none;
  }
  
  .module-item {
    break-inside: avoid;
    border: 1px solid #cccccc;
  }
  
  .learn-more-btn {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }
}
/* ===== MERGED ABOUT & CONTACT SECTION STYLES ===== */

.about-contact-section {
  padding: 4rem 2rem 2rem 2rem;
  background: var(--bg-secondary);
  min-height: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
}

.about-subsection,
.contact-subsection {
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-coral) 50%, transparent 100%);
  margin: 4rem auto;
  max-width: 600px;
  position: relative;
}

/* Cards Grid */
.about-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  min-height: 350px;
}

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

.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
}

.about-icon {
  background: rgba(100, 181, 246, 0.1);
  color: #64B5F6;
}

.email-icon {
  background: rgba(255, 127, 127, 0.1);
  color: var(--primary-coral);
}

.location-icon {
  background: rgba(255, 179, 102, 0.1);
  color: var(--secondary-peach);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 14px 0;
  font-family: 'Poppins', sans-serif;
}

.info-details {
  text-align: left;
}

.info-details > p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.learn-more-link {
  display: inline-block;
  color: var(--primary-coral);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 127, 127, 0.1);
}

.learn-more-link:hover {
  background: var(--primary-coral);
  color: white;
  transform: translateY(-2px);
}

/* Center learn more link for about section */
.about-subsection .info-details {
  text-align: center;
}

/* Equal padding for about card */
.about-subsection .info-card {
  padding: 28px 24px;
}

.detail-item {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border-left: 3px solid var(--primary-coral);
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item strong {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.detail-item {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.detail-item a {
  color: var(--primary-coral);
  text-decoration: none;
  font-weight: 500;
}

.detail-item a:hover {
  text-decoration: underline;
}

/* Academic Professional Styling */
.detail-item.academic {
  padding: 14px 16px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 249, 247, 0.95) 100%);
  border-left: 3px solid var(--primary-coral);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.detail-item.academic:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.detail-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(93, 78, 55, 0.1);
}

.detail-header strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.affiliation {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  display: block;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  transition: all 0.2s ease;
}

.contact-row:hover {
  padding-left: 3px;
}

.inline-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--primary-coral);
  opacity: 0.8;
}

.contact-row a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', monospace;
  letter-spacing: 0.1px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.contact-row a:hover {
  color: var(--primary-coral);
  text-decoration: none;
}

.address-text {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .about-contact-section {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
  }
  
  .section-divider {
    margin: 3rem auto;
  }
  
  .about-contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-card {
    padding: 24px 20px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-header h3 {
    font-size: 1.5rem;
  }
  
  .contact-item {
    padding: 1.25rem;
  }
  
  .contact-institution {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .contact-institution h4 {
    font-size: 1rem;
  }
  
  .institution-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .about-contact-section {
    padding: 2rem 1rem 1rem 1rem;
  }
  
  .section-divider {
    margin: 2rem auto;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .about-contact-cards {
    padding: 0 10px;
  }
  
  .info-card {
    padding: 20px 16px;
  }
  
  .info-icon {
    width: 56px;
    height: 56px;
  }
  
  .info-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .contact-section {
    padding: 1.25rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .contact-detail {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .detail-icon {
    align-self: flex-start;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .about-contact-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] .section-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 127, 127, 0.5) 50%, transparent 100%);
}

[data-theme="dark"] .info-card {
  background: var(--bg-accent);
  border-color: var(--warm-gray-400);
}

[data-theme="dark"] .info-card:hover {
  border-color: var(--primary-coral);
}

[data-theme="dark"] .section-header h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .info-card h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .info-details > p {
  color: var(--text-secondary);
}

[data-theme="dark"] .detail-item {
  background: var(--bg-secondary);
}

[data-theme="dark"] .detail-item strong {
  color: var(--text-primary);
}

[data-theme="dark"] .detail-item.academic {
  background: linear-gradient(135deg, rgba(58, 52, 46, 0.9) 0%, rgba(42, 37, 32, 0.95) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .detail-item.academic:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .detail-header {
  border-bottom-color: rgba(245, 243, 240, 0.1);
}

[data-theme="dark"] .contact-row a,
[data-theme="dark"] .address-text {
  color: var(--text-primary);
}

[data-theme="dark"] .learn-more-link {
  background: rgba(255, 127, 127, 0.15);
}

[data-theme="dark"] .learn-more-link:hover {
  background: var(--primary-coral);
  color: white;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .contact-section,
  .contact-item,
  .email-link {
    transition: none;
  }
  
  .contact-section::before,
  .contact-item::before {
    transition: none;
  }
}

.contact-section:focus-within {
  outline: 2px solid var(--primary-coral);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .contact-section {
    background: #ffffff;
    border: 1px solid #000000;
    box-shadow: none;
  }
  
  .contact-item {
    break-inside: avoid;
    border: 1px solid #cccccc;
  }
  
  .email-link {
    color: #000000;
    text-decoration: underline;
  }
}
/* ===== SIDEBAR STYLES ===== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

/* ===== SIDEBAR SECTIONS ===== */
.sidebar-section {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: sidebar-entrance 0.8s ease-out;
}

.sidebar-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.sidebar-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-warm-light);
}

.sidebar-section:hover::before {
  transform: scaleX(1);
}

.sidebar-section:hover::after {
  opacity: 0.05;
}

.sidebar-section:nth-child(1) { animation-delay: 0s; }
.sidebar-section:nth-child(2) { animation-delay: 0.2s; }

/* ===== SECTION HEADERS ===== */
.sidebar-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.sidebar-section .section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--gradient-primary);
}

.sidebar-section .section-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-section .section-header h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: inline-block;
}

.sidebar-section .more-link {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  border: 2px solid var(--primary-warm-light);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.2);
  position: relative;
  overflow: hidden;
}

.sidebar-section .more-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.sidebar-section .more-link:hover {
  color: var(--text-white);
  background: linear-gradient(135deg, var(--primary-warm-dark) 0%, var(--primary-warm) 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
  text-decoration: none;
  border-color: var(--primary-warm-dark);
}

.sidebar-section .more-link:hover::before {
  left: 100%;
}

.sidebar-section .more-link::after {
  content: '';
  margin-left: 0;
  transition: transform 0.3s ease;
}

.sidebar-section .more-link:hover::after {
  transform: translateX(0);
}

/* ===== ABOUT SECTION - PROFESSIONAL DESIGN ===== */
.about-section {
  background: linear-gradient(135deg, #fef9e7 0%, #fdf2e9 100%);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.about-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-warm-light);
  position: relative;
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  margin: -2rem -2rem 2rem -2rem;
  padding: 2rem;
  border-radius: 18px 18px 0 0;
}

.about-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, var(--primary-warm-light), #ffffff);
  border-radius: 2px;
}

.about-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.05em;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-intro p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: left;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  font-weight: 400;
}


.about-modules {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

.about-modules h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  text-align: left;
  position: relative;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.module-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.module-item:hover {
  border-color: var(--primary-warm);
  background: rgba(230, 126, 34, 0.05);
}

.module-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: none;
}

/* No hover effects for module icons */

.module-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.module-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.about-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  position: relative;
}

.about-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-warm), var(--primary-warm-light));
  border-radius: 1px;
}

.learn-more-btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--primary-warm-light);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, var(--primary-warm-dark) 0%, var(--primary-warm) 100%);
  border-color: var(--primary-warm-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
  text-decoration: none;
  color: white;
}

.learn-more-btn:hover::before {
  left: 100%;
}

/* ===== CONTACT SECTION - REVAMPED DESIGN ===== */
.contact-section {
  background: linear-gradient(135deg, #fef9e7 0%, #fdf2e9 100%);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}


.contact-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-warm-light);
  position: relative;
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  margin: -2rem -2rem 2rem -2rem;
  padding: 2rem;
  border-radius: 18px 18px 0 0;
}


.contact-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
  border-color: var(--primary-warm);
  background: rgba(230, 126, 34, 0.05);
}

.contact-institution {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-warm-light);
}

.institution-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* No hover effects for institution icons */

.contact-institution h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-icon {
  font-size: 1.2rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* No hover effects for detail icons */

.detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.02em;
}

.detail-value {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 400;
}

.email-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-link {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  border-radius: 4px;
}

.email-link:hover {
  color: var(--primary-warm-dark);
  background: rgba(230, 126, 34, 0.1);
  padding-left: 0.5rem;
  text-decoration: none;
}

/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widget {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  box-shadow: var(--shadow-light);
  transform: translateY(-2px);
}

.widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-title::before {
  content: '📌';
  font-size: 0.8rem;
}

.widget-content {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== QUICK LINKS ===== */
.quick-links {
  background: var(--gradient-warm);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
}

.quick-links h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-links h4::before {
  content: '🔗';
  font-size: 0.9rem;
}

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

.quick-links li {
  margin-bottom: 0.5rem;
}

.quick-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
}

.quick-links a::before {
  content: '→';
  color: var(--primary-warm);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.quick-links a:hover {
  color: var(--primary-warm);
  background: var(--bg-card);
  transform: translateX(5px);
}

.quick-links a:hover::before {
  transform: translateX(3px);
}

/* ===== STATISTICS WIDGET ===== */
.stats-widget {
  background: var(--gradient-secondary);
  color: var(--text-primary);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-warm-dark);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ===== ANIMATIONS ===== */
@keyframes sidebar-entrance {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: var(--shadow-light);
  }
  50% {
    box-shadow: var(--shadow-medium);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .sidebar {
    gap: 1.5rem;
  }
  
  .sidebar-section {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .sidebar-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .about-content {
    gap: 1.5rem;
  }
  
  .about-header h3 {
    font-size: 1.3rem;
  }
  
  .about-intro p {
    font-size: 0.9rem;
    padding: 0;
  }
  
  .modules-grid {
    gap: 0.75rem;
  }
  
  .module-item {
    padding: 0.75rem;
  }
  
  .module-icon {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  
  .contact-info {
    gap: 1rem;
  }
  
  .contact-item {
    padding: 1.5rem;
  }
  
  .contact-institution {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  
  .institution-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .contact-institution h4 {
    font-size: 1rem;
  }
  
  .contact-details {
    gap: 1rem;
  }
  
  .contact-detail {
    gap: 0.75rem;
  }
  
  .detail-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .detail-value {
    font-size: 0.85rem;
  }
  
  .email-link {
    font-size: 0.85rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-links {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .sidebar-section {
    padding: 1.25rem;
  }
  
  .sidebar-section .section-header h3 {
    font-size: 1.1rem;
  }
  
  .about-intro p {
    font-size: 0.85rem;
    padding: 0;
  }
  
  .about-modules h4 {
    font-size: 1rem;
  }
  
  .module-content h5 {
    font-size: 0.9rem;
  }
  
  .module-content p {
    font-size: 0.8rem;
  }
  
  .learn-more-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .contact-item {
    padding: 1.25rem;
  }
  
  .contact-institution {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .institution-icon {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .contact-institution h4 {
    font-size: 0.95rem;
  }
  
  .contact-details {
    gap: 0.75rem;
  }
  
  .contact-detail {
    gap: 0.5rem;
  }
  
  .detail-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .detail-value {
    font-size: 0.8rem;
  }
  
  .email-link {
    font-size: 0.8rem;
  }
  
  .sidebar-widget {
    padding: 1.25rem;
  }
  
  .widget-title {
    font-size: 0.95rem;
  }
  
  .widget-content {
    font-size: 0.8rem;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .sidebar-section {
  background: #8b7355 !important;
  border-color: var(--border-medium);
}

[data-theme="dark"] .sidebar-section:hover {
  border-color: var(--primary-warm);
}

[data-theme="dark"] .sidebar-section .section-header {
  border-color: var(--border-medium);
}

[data-theme="dark"] .sidebar-section .more-link {
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  border-color: var(--primary-warm-light);
}

[data-theme="dark"] .about-section {
  background: #8b7355 !important;
  border: none;
}


[data-theme="dark"] .about-header {
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  border-bottom-color: var(--primary-warm-light);
}

[data-theme="dark"] .about-header h3 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .about-intro p {
  color: var(--text-primary);
  background: transparent;
  border: none;
}

[data-theme="dark"] .about-modules {
  background: transparent !important;
  border: none;
  padding: 0;
  border-radius: 0;
}

[data-theme="dark"] .about-modules h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .module-item {
  background: #4a3d35;
  border-color: var(--border-medium);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .module-item:hover {
  border-color: var(--primary-warm);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background: #4a3d35;
}

[data-theme="dark"] .module-icon {
  background: transparent;
  box-shadow: none;
}

[data-theme="dark"] .module-content h5 {
  color: var(--text-primary);
}

[data-theme="dark"] .module-content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .about-footer {
  border-top-color: var(--primary-warm-light);
}

[data-theme="dark"] .learn-more-btn {
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  border-color: var(--primary-warm-light);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3);
}

[data-theme="dark"] .learn-more-btn:hover {
  background: linear-gradient(135deg, var(--primary-warm-dark) 0%, var(--primary-warm) 100%);
  border-color: var(--primary-warm-dark);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.5);
}

/* ===== DARK MODE FOR CONTACT SECTION ===== */
[data-theme="dark"] .contact-section {
  background: #8b7355 !important;
  border: 1px solid var(--border-medium);
}


[data-theme="dark"] .contact-header {
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-warm-light) 100%);
  border-bottom-color: var(--primary-warm-light);
}

[data-theme="dark"] .contact-header h3 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .contact-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .contact-item {
  background: #4a3d35;
  border-color: var(--primary-warm-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .contact-item:hover {
  border-color: var(--primary-warm);
  background: #4a3d35;
}

[data-theme="dark"] .contact-institution {
  border-bottom-color: var(--primary-warm-light);
}

[data-theme="dark"] .institution-icon {
  background: transparent;
  box-shadow: none;
}

[data-theme="dark"] .contact-institution h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .detail-icon {
  background: transparent;
}

[data-theme="dark"] /* No hover effects for detail icons */

[data-theme="dark"] .detail-label {
  color: var(--primary-warm-light);
}

[data-theme="dark"] .detail-value {
  color: var(--text-primary);
}

[data-theme="dark"] .email-link {
  color: #a0a0a0;
}

[data-theme="dark"] .email-link:hover {
  color: var(--primary-warm-light);
  background: rgba(230, 126, 34, 0.2);
}

[data-theme="dark"] .sidebar-widget {
  background: var(--bg-card);
  border-color: var(--border-medium);
}

[data-theme="dark"] .quick-links {
  background: linear-gradient(135deg, #4A2C1A 0%, #5D4E37 100%);
  border-color: var(--border-medium);
}

[data-theme="dark"] .quick-links a:hover {
  background: var(--bg-card);
}

[data-theme="dark"] .stats-widget {
  background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .sidebar-section,
  .about-logo,
  .about-logo img,
  .contact-item,
  .sidebar-widget,
  .stat-item,
  .quick-links a {
    transition: none;
    animation: none;
  }
  
  .sidebar-section:hover,
  .contact-item:hover,
  .sidebar-widget:hover {
    transform: none;
  }
}

.sidebar-section:focus-within {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
}

.contact-item a:focus,
.quick-links a:focus,
.sidebar-section .more-link:focus {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .sidebar-section {
    border: 2px solid var(--text-primary);
  }
  
  .sidebar-section:hover {
    border-color: var(--primary-warm);
    background: var(--warm-light);
  }
  
  .sidebar-section .section-header h3 {
    color: var(--text-primary);
    font-weight: 700;
  }
  
  .contact-item {
    border: 2px solid var(--text-secondary);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .sidebar {
    break-inside: avoid;
  }
  
  .sidebar-section {
    break-inside: avoid;
    margin-bottom: 1rem;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .about-logo,
  .stats-widget,
  .quick-links {
    background: #f5f5f5;
  }
  
  .sidebar-section .more-link {
    display: none;
  }
  
  .contact-item p {
    font-size: 10pt;
  }
}
/* ===== FOOTER STYLES ===== */

.footer {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.02) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(241, 196, 15, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

/* ===== FOOTER CONTENT ===== */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.footer-info {
  flex: 1;
  min-width: 300px;
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-info p:first-child {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

.footer-info p:first-child::before {
  content: '🍅';
  font-size: 1.2rem;
}

.footer-info p:last-child {
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-info p:last-child::before {
  content: '⚡';
  font-size: 0.9rem;
}

/* ===== FOOTER LINKS ===== */
.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.02em;
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s ease;
  z-index: -1;
  border-radius: 20px;
}

.footer-links a:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  text-decoration: none;
}

.footer-links a:hover::before {
  left: 0;
}

/* Individual link styling */
.footer-links a:nth-child(1)::after { content: ' 🔬'; }
.footer-links a:nth-child(2)::after { content: ' 🔄'; }
.footer-links a:nth-child(3)::after { content: ' 🧬'; }

/* ===== FOOTER SECTIONS ===== */
.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-section {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.footer-section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.footer-section:hover::before {
  transform: scaleY(1);
}

.footer-section h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-section a::before {
  content: '→';
  color: var(--primary-warm);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-warm);
  transform: translateX(5px);
}

.footer-section a:hover::before {
  transform: translateX(3px);
}

/* Section icons */
.footer-section:nth-child(1) h4::before { content: '🔗'; }
.footer-section:nth-child(2) h4::before { content: '📚'; }
.footer-section:nth-child(3) h4::before { content: '📞'; }

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100px;
  height: 1px;
  background: var(--gradient-primary);
}

.copyright {
  color: var(--text-light);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.copyright::before {
  content: '©';
  font-weight: bold;
  color: var(--primary-warm);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--primary-warm);
  color: var(--text-white);
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow-light);
  border-color: var(--primary-warm);
}

/* Social icons */
.social-link:nth-child(1)::before { content: '📧'; }
.social-link:nth-child(2)::before { content: '🐙'; }
.social-link:nth-child(3)::before { content: '📖'; }

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  font-size: 1.2rem;
}

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

.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-heavy);
}

.scroll-to-top::before {
  content: '↑';
  font-weight: bold;
}

/* ===== FOOTER ANIMATIONS ===== */
@keyframes footer-glow {
  0% {
    opacity: 0.6;
    transform: scaleX(0.8);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes footer-entrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-content,
.footer-sections {
  animation: footer-entrance 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .footer-info {
    min-width: auto;
  }
  
  .footer-links {
    gap: 1rem;
    justify-content: flex-start;
  }
  
  .footer-links a {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .footer-sections {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-section {
    padding: 1.25rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1rem;
  }
  
  .footer-social {
    align-self: flex-end;
  }
  
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer-content {
    gap: 1rem;
  }
  
  .footer-info p {
    font-size: 0.85rem;
  }
  
  .footer-info p:last-child {
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .footer-section {
    padding: 1rem;
  }
  
  .footer-section h4 {
    font-size: 0.95rem;
  }
  
  .footer-section a {
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    padding-top: 0.75rem;
  }
  
  .copyright {
    font-size: 0.75rem;
  }
  
  .social-link {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #2a2420 0%, #3a342e 100%) !important;
  border-color: var(--border-medium);
}

[data-theme="dark"] .footer::before {
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(241, 196, 15, 0.04) 0%, transparent 60%);
}

[data-theme="dark"] .footer-info p {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-info p:first-child {
  color: var(--text-primary);
}

[data-theme="dark"] .footer-info p:last-child {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a {
  background: var(--bg-card);
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-section {
  background: var(--bg-card);
  border-color: var(--border-medium);
}

[data-theme="dark"] .footer-section h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .footer-section a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-section a:hover {
  color: var(--primary-warm-light);
}

[data-theme="dark"] .footer-bottom {
  border-color: var(--border-medium);
}

[data-theme="dark"] .copyright {
  color: var(--text-light);
}

[data-theme="dark"] .social-link {
  background: var(--bg-card);
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

[data-theme="dark"] .social-link:hover {
  background: var(--primary-warm);
  color: var(--text-white);
  border-color: var(--primary-warm);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .footer,
  .footer-content,
  .footer-sections,
  .footer-section,
  .footer-links a,
  .footer-section a,
  .social-link,
  .scroll-to-top {
    transition: none;
    animation: none;
  }
  
  .footer-section:hover,
  .footer-links a:hover,
  .social-link:hover,
  .scroll-to-top:hover {
    transform: none;
  }
  
  .scroll-to-top.visible {
    transform: none;
  }
}

.footer-links a:focus,
.footer-section a:focus,
.social-link:focus,
.scroll-to-top:focus {
  outline: 2px solid var(--primary-warm);
  outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .footer {
    border-top: 2px solid var(--text-primary);
  }
  
  .footer-section {
    border: 2px solid var(--text-secondary);
  }
  
  .footer-section:hover {
    border-color: var(--primary-warm);
    background: var(--warm-light);
  }
  
  .footer-links a {
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
    font-weight: 600;
  }
  
  .social-link {
    border: 2px solid var(--text-secondary);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .footer {
    background: white;
    border-top: 1px solid #ccc;
    padding: 1rem 0;
    margin-top: 2rem;
    page-break-inside: avoid;
  }
  
  .footer::before,
  .footer::after {
    display: none;
  }
  
  .footer-sections {
    display: block;
  }
  
  .footer-section {
    break-inside: avoid;
    margin-bottom: 1rem;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .footer-links,
  .footer-social,
  .scroll-to-top {
    display: none;
  }
  
  .footer-bottom {
    border-top: 1px solid #ccc;
    justify-content: center;
  }
  
  .copyright {
    color: black;
    font-size: 10pt;
  }
}
