/* =========================================
   CROMBIE COMMUNITY - DRAMATIC ENHANCED STYLES
   ========================================= */

:root {
  color-scheme: light;
  --primary: #0b3a2e;
  --primary-light: #0f4d3d;
  --primary-dark: #072a21;
  --accent: #f4b400;
  --accent-light: #ffc833;
  --accent-dark: #d9a100;
  --muted: #f5f5f5;
  --text: #102026;
  --max-width: 1100px;
  --shadow: 0 20px 40px rgba(16, 32, 38, 0.08);
  --shadow-lg: 0 25px 50px rgba(16, 32, 38, 0.15);
  --shadow-glow: 0 0 30px rgba(244, 180, 0, 0.3);
  --shadow-primary-glow: 0 0 30px rgba(11, 58, 46, 0.3);
  --gradient-primary: linear-gradient(135deg, #0b3a2e 0%, #0f5c45 100%);
  --gradient-accent: linear-gradient(135deg, #f4b400 0%, #ffc833 100%);
  --gradient-hero: linear-gradient(135deg, #f7faf8 0%, #e8f5f0 50%, #ffffff 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(244, 180, 0, 0.1) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(11, 58, 46, 0.1) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(244, 180, 0, 0.08) 0px, transparent 50%);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Selection styling */
::selection {
  background: var(--accent);
  color: var(--primary);
}

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

body {
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   SCROLL PROGRESS BAR
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--accent);
}

/* =========================================
   ANIMATED BACKGROUND PARTICLES
   ========================================= */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 11s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 16s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3s; animation-duration: 11s; }

@keyframes float-particle {
  0%, 100% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 0.4;
    transform: translateY(10vh) scale(1);
  }
  100% {
    transform: translateY(-10vh) scale(0);
    opacity: 0;
  }
}

/* =========================================
   LINKS & IMAGES
   ========================================= */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =========================================
   HEADER - GLASSMORPHISM STYLE
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: var(--primary);
}

.logo i {
  color: var(--accent);
  font-size: 1.5rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a i {
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

.nav a:not(.button):hover i {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav a:not(.button)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav a:not(.button):hover::after {
  width: 100%;
}

/* =========================================
   BUTTONS - FANCY ANIMATED
   ========================================= */
.button {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(11, 58, 46, 0.3);
}

.button::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 ease;
}

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

.button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(11, 58, 46, 0.4), var(--shadow-primary-glow);
}

.button:active {
  transform: translateY(-1px) scale(0.98);
}

.button i {
  transition: transform 0.3s ease;
}

.button:hover i {
  transform: translateX(3px);
}

.button-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.button-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 25px rgba(11, 58, 46, 0.3);
}

.button-accent {
  background: var(--gradient-accent);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(244, 180, 0, 0.3);
}

.button-accent:hover {
  box-shadow: 0 8px 25px rgba(244, 180, 0, 0.4), var(--shadow-glow);
}

/* =========================================
   HERO SECTION - DRAMATIC
   ========================================= */
.hero {
  padding: 6rem 0 4rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  animation: mesh-move 20s ease-in-out infinite alternate;
}

@keyframes mesh-move {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 5%) scale(1.1); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, #ffffff, transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .highlight {
  position: relative;
  display: inline-block;
}

.hero-content .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent);
  opacity: 0.4;
  z-index: -1;
  transform: skewX(-5deg);
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.15) 0%, transparent 70%);
  animation: rotate-gradient 10s linear infinite;
}

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

.hero-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(11, 58, 46, 0.15);
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-muted {
  background: linear-gradient(180deg, var(--muted) 0%, #ffffff 100%);
}

.section-muted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 58, 46, 0.1), transparent);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title i {
  color: var(--accent);
  margin-right: 0.5rem;
  animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  animation: width-pulse 3s ease-in-out infinite;
}

@keyframes width-pulse {
  0%, 100% { width: 60px; }
  50% { width: 80px; }
}

/* =========================================
   GRID LAYOUTS
   ========================================= */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* =========================================
   CARDS - 3D HOVER EFFECTS
   ========================================= */
.card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 240, 240, 0.8);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

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

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-2deg);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(11, 58, 46, 0.1);
}

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

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.card h3 i {
  color: var(--accent);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.card:hover h3 i {
  transform: scale(1.2) rotate(10deg);
  color: var(--primary);
}

.card p {
  color: #5a6a6e;
  line-height: 1.7;
}

/* Card icon badge */
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(244, 180, 0, 0.3);
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(244, 180, 0, 0.4);
}

/* =========================================
   BADGE - ANIMATED
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(11, 58, 46, 0.1) 0%, rgba(11, 58, 46, 0.05) 100%);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(11, 58, 46, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 180, 0, 0.2), transparent);
  animation: badge-shimmer 3s infinite;
}

@keyframes badge-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.badge i {
  font-size: 0.75rem;
}

.badge:hover {
  background: var(--gradient-accent);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(244, 180, 0, 0.3);
}

/* =========================================
   STATISTICS SECTION
   ========================================= */
.stat-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 0 0 4px 4px;
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(11, 58, 46, 0.3);
  transition: all 0.3s ease;
}

.stat:hover .stat-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 25px rgba(11, 58, 46, 0.4);
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat .counter {
  display: inline-block;
}

.stat a {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

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

.stat a i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.stat a:hover i {
  transform: translateX(3px);
}

/* =========================================
   NEWS SECTION
   ========================================= */
.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.news-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 25px 50px rgba(11, 58, 46, 0.12);
}

.news-card:hover::before {
  border-color: var(--accent);
}

.news-card-image {
  position: relative;
  overflow: hidden;
}

.news-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover img {
  transform: scale(1.1);
}

.news-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-card-image::after {
  opacity: 1;
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-content h3 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.news-card-content h3 i {
  color: var(--accent);
  margin-top: 4px;
}

.news-card-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #7a8a8e;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.news-card-date i {
  color: var(--accent);
}

/* =========================================
   LOGO GRID - PARTNERS
   ========================================= */
.logo-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.logo-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid #eef1f4;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 600;
  color: #4b5b61;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.logo-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  border-radius: 50%;
}

.logo-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.logo-card:hover::before {
  width: 200px;
  height: 200px;
}

.logo-card i {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.logo-card:hover i {
  transform: scale(1.2);
}

/* =========================================
   CTA CARD - DRAMATIC
   ========================================= */
.cta-card {
  background: linear-gradient(135deg, rgba(11, 58, 46, 0.95) 0%, rgba(15, 77, 61, 0.95) 100%);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.2) 0%, transparent 60%);
  animation: cta-glow 5s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20%, 20%) scale(1.2); }
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(11, 58, 46, 0.3) 0%, transparent 60%);
  animation: cta-glow 7s ease-in-out infinite alternate-reverse;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-card h2 i {
  color: var(--accent);
  animation: pulse-icon 2s ease-in-out infinite;
}

.cta-card .button {
  background: var(--gradient-accent);
  color: var(--primary);
}

/* =========================================
   FORMS
   ========================================= */
.form {
  display: grid;
  gap: 1.25rem;
}

input,
textarea {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: #9a9a9a;
}

/* =========================================
   FOOTER - DARK ELEGANT
   ========================================= */
.site-footer {
  background: var(--gradient-primary);
  color: #fff;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.footer-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand i {
  color: var(--accent);
  font-size: 1.5rem;
}

.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer h4 i {
  color: var(--accent);
}

.site-footer ul {
  list-style: none;
  margin-top: 0.8rem;
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.site-footer a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.site-footer a i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.site-footer a:hover i {
  transform: scale(1.2);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 20px rgba(244, 180, 0, 0.4);
}

.footer-meta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-meta i {
  color: var(--accent);
  animation: pulse-icon 2s ease-in-out infinite;
}

/* =========================================
   SEARCH BAR - FANCY
   ========================================= */
.search-bar {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9a9a;
  transition: color 0.3s ease;
}

.search-input-wrapper input {
  width: 100%;
  padding-left: 2.75rem;
}

.search-input-wrapper input:focus + i,
.search-input-wrapper:focus-within i {
  color: var(--accent);
}

/* =========================================
   TAG - CATEGORY LABELS
   ========================================= */
.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tag i {
  font-size: 0.7rem;
}

/* =========================================
   NOTICE BOX
   ========================================= */
.notice {
  background: linear-gradient(135deg, #fff6e5 0%, #fffbf2 100%);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(244, 180, 0, 0.1);
}

.notice i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
}

.notice code {
  background: rgba(11, 58, 46, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--primary);
}

/* =========================================
   FEATURE LIST
   ========================================= */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.feature-list li i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* =========================================
   CODE BLOCK
   ========================================= */
.code-block {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  position: relative;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: #252540;
  border-radius: 12px 12px 0 0;
}

.code-block::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 15px;
  width: 10px;
  height: 10px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #27ca40;
}

.code-block pre {
  margin-top: 1rem;
  color: #e0e0e0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* =========================================
   LOADING SPINNER
   ========================================= */
.loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(244, 180, 0, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   TOOLTIP
   ========================================= */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* =========================================
   ANIMATED UNDERLINE
   ========================================= */
.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================================
   FLOATING ACTION BUTTON
   ========================================= */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(244, 180, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.fab.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(244, 180, 0, 0.5);
}

.fab:active {
  transform: translateY(-2px) scale(1.05);
}

/* =========================================
   ANIMATED GRADIENT TEXT
   ========================================= */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .search-bar {
    flex-direction: column;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .cta-card {
    padding: 2rem;
  }

  .fab {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card:hover {
    transform: translateY(-5px);
  }

  .news-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   ACCESSIBILITY - REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  .site-header,
  .site-footer,
  .particles-container,
  .fab,
  .scroll-progress {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card,
  .hero-card,
  .news-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* =========================================
   EVENTS CALENDAR
   ========================================= */
.calendar-container {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(240, 240, 240, 0.8);
}

.calendar-header {
  background: var(--gradient-primary);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.calendar-nav {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.calendar-nav:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: linear-gradient(135deg, rgba(11, 58, 46, 0.05) 0%, rgba(11, 58, 46, 0.02) 100%);
  border-bottom: 1px solid rgba(240, 240, 240, 0.8);
}

.weekday {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(240, 240, 240, 0.5);
  padding: 1px;
}

.calendar-day {
  background: #fff;
  min-height: 100px;
  padding: 0.75rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
}

.calendar-day:hover:not(.calendar-day-empty) {
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.05) 0%, rgba(244, 180, 0, 0.02) 100%);
}

.calendar-day-empty {
  background: linear-gradient(135deg, rgba(240, 240, 240, 0.3) 0%, rgba(240, 240, 240, 0.1) 100%);
}

.calendar-day-today {
  background: linear-gradient(135deg, rgba(11, 58, 46, 0.08) 0%, rgba(11, 58, 46, 0.03) 100%);
}

.calendar-day-today .day-number {
  background: var(--gradient-primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 58, 46, 0.3);
}

.calendar-day-past {
  opacity: 0.5;
}

.calendar-day-event {
  cursor: pointer;
}

.calendar-day-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(244, 180, 0, 0.2);
  z-index: 10;
}

.day-number {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.day-events {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.event-dot {
  --event-color: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--event-color) 0%, color-mix(in srgb, var(--event-color) 80%, #000) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.7rem;
  box-shadow: 0 2px 8px rgba(244, 180, 0, 0.3);
  animation: event-pulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.event-dot:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(244, 180, 0, 0.5);
}

@keyframes event-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(244, 180, 0, 0.3); }
  50% { box-shadow: 0 2px 15px rgba(244, 180, 0, 0.5); }
}

/* Calendar Tooltip */
.calendar-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(11, 58, 46, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
}

.calendar-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--primary);
}

.calendar-day-event:hover .calendar-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.tooltip-event {
  font-size: 0.85rem;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tooltip-header strong {
  font-size: 1rem;
}

.tooltip-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0.9;
  font-size: 0.8rem;
}

.tooltip-details i {
  width: 16px;
  color: var(--accent);
}

/* =========================================
   EVENT CARDS
   ========================================= */
.events-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.event-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

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

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 25px 50px rgba(11, 58, 46, 0.15);
}

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

.event-card-featured {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
}

.event-card-featured::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: rotate-gradient 15s linear infinite;
}

.event-card-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.event-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(244, 180, 0, 0.35);
  transition: all 0.3s ease;
}

.event-card:hover .event-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(244, 180, 0, 0.45);
}

.event-recurring-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(11, 58, 46, 0.25);
}

.event-recurring-badge i {
  animation: spin 4s linear infinite;
}

.event-card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.event-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}

.event-card-content h3 i {
  color: var(--accent);
  transition: all 0.3s ease;
}

.event-card:hover h3 i {
  transform: scale(1.2);
}

.event-description {
  color: #5a6a6e;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(11, 58, 46, 0.04) 0%, rgba(11, 58, 46, 0.02) 100%);
  border-radius: 12px;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.event-detail i {
  width: 20px;
  color: var(--accent);
  font-size: 0.9rem;
}

.event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.event-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.15) 0%, rgba(244, 180, 0, 0.08) 100%);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.event-highlight i {
  color: var(--accent);
  font-size: 0.7rem;
}

.event-highlight:hover {
  background: var(--gradient-accent);
  transform: scale(1.05);
}

.event-card-footer {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(11, 58, 46, 0.06) 0%, rgba(11, 58, 46, 0.02) 100%);
  border-top: 1px solid rgba(240, 240, 240, 0.8);
  position: relative;
  z-index: 1;
}

.event-day-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.event-day-indicator i {
  color: var(--accent);
  font-size: 1.2rem;
  animation: bounce-icon 2s ease-in-out infinite;
}

/* Responsive calendar */
@media (max-width: 768px) {
  .calendar-day {
    min-height: 70px;
    padding: 0.5rem;
  }

  .calendar-header {
    padding: 1rem;
  }

  .calendar-title {
    font-size: 1.2rem;
  }

  .weekday {
    padding: 0.75rem 0.25rem;
    font-size: 0.7rem;
  }

  .event-dot {
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
  }

  .calendar-tooltip {
    display: none;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .calendar-day {
    min-height: 50px;
    padding: 0.25rem;
  }

  .day-number {
    font-size: 0.8rem;
  }

  .calendar-day-today .day-number {
    width: 24px;
    height: 24px;
  }

  .event-dot {
    width: 18px;
    height: 18px;
    font-size: 0.5rem;
    border-radius: 4px;
  }
}
