/* ===================================
   Jabalia AL.Nazlh Municipality
   Professional Modern Website
   Color Palette from Logo
=================================== */

/* CSS Variables - Colors from Logo */
:root {
  --primary-blue: #1a365d;
  --secondary-blue: #2c5282;
  --accent-gold: #d69e2e;
  --gold-light: #ecc94b;
  --sky-blue: #90cdf4;
  --sky-light: #bee3f8;
  --teal: #319795;
  --teal-dark: #285e61;
  --brown: #975a16;
  --cream: #fefcf3;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-600: #718096;
  --gray-800: #2d3748;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-light) 100%);
  --gradient-sky: linear-gradient(180deg, var(--sky-light) 0%, var(--sky-blue) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15), 0 5px 10px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Lazy Loading Styles */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

img.lazy.loaded,
img[loading="lazy"]:not(.lazy) {
  opacity: 1;
  animation: none;
  background: none;
}

/* Smooth image load */
img {
  transition: opacity 0.3s ease-in-out;
}

/* Placeholder shimmer effect */
.lazy-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Content visibility for performance */
.lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* Optimize rendering */
.media-card-image img,
.album-card-image img,
.partner-logo img {
  will-change: opacity;
  contain: layout style paint;
}

/* Prevent layout shift */
.media-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.album-card-image,
.fullwidth-slide-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.partner-logo {
  aspect-ratio: 4/3;
}

/* Hardware acceleration for animations */
.fullwidth-slide,
.media-card,
.album-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* فرض الأرقام الإنجليزية في كل الموقع */
* {
  font-variant-numeric: lining-nums tabular-nums;
}

/* الأرقام والتواريخ بالإنجليزية */
.stats-number,
.media-card-date,
.date,
time,
[class*="number"],
[class*="count"],
[class*="price"],
[class*="stat"] {
  direction: ltr;
  unicode-bidi: isolate;
  font-feature-settings: 'tnum' on, 'lnum' on;
}

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--cream);
  direction: rtl;
  overflow-x: hidden;
  padding-top: 80px;
}

/* Home page with slider - no padding */
body.has-slider {
  padding-top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-blue);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================
   Header & Navigation
=================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(26, 54, 93, 0.98);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  position: relative;
}

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

.logo img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  color: var(--white);
}

.logo-text h1 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--sky-light);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.9em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all var(--transition-normal);
  transform: translateX(50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
  background: rgba(255,255,255,0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-dropdown-toggle:hover {
  color: var(--accent-gold);
  background: rgba(255,255,255,0.1);
}

/* Override colors for dropdown toggle when it has color class */
.nav-dropdown-toggle.nav-link-highlight,
.nav-dropdown-toggle.nav-link-gold {
  background: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%) !important;
  color: #1a365d !important;
  border-radius: 50px !important;
}

.nav-dropdown-toggle.nav-link-green {
  background: linear-gradient(135deg, #38a169 0%, #48bb78 100%) !important;
  color: white !important;
  border-radius: 50px !important;
}

.nav-dropdown-toggle.nav-link-red {
  background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%) !important;
  color: white !important;
  border-radius: 50px !important;
}

.nav-dropdown-toggle.nav-link-purple {
  background: linear-gradient(135deg, #805ad5 0%, #9f7aea 100%) !important;
  color: white !important;
  border-radius: 50px !important;
}

.nav-dropdown-arrow {
  font-size: 0.65em;
  margin-right: 0.25rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-arrow.rotate-180 {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  padding: 0.5rem;
  z-index: 1000;
  margin-top: 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-left: 1px solid rgba(0,0,0,0.08);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #1e293b !important;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid transparent;
}

.nav-dropdown-item:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
  color: #ffffff !important;
  border-color: transparent;
}

.nav-dropdown-item i {
  font-size: 1em;
  width: 22px;
  text-align: center;
  color: #1e40af;
  transition: color 0.2s ease;
}

.nav-dropdown-item:hover i {
  color: #ffffff !important;
}

.nav-dropdown-item span {
  color: inherit;
}

/* Colored Nav Links */
.nav-link-gold {
  background: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%) !important;
  color: #1a365d !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-link-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.nav-link-green {
  background: linear-gradient(135deg, #38a169 0%, #48bb78 100%) !important;
  color: white !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-link-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4);
}

.nav-link-red {
  background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%) !important;
  color: white !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-link-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

.nav-link-purple {
  background: linear-gradient(135deg, #805ad5 0%, #9f7aea 100%) !important;
  color: white !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-link-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(128, 90, 213, 0.4);
}

/* Colored dropdown items - only when explicitly colored */
.nav-dropdown-item.nav-link-highlight,
.nav-dropdown-item.nav-link-gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  color: #92400e !important;
  border: 1px solid #fcd34d !important;
}

.nav-dropdown-item.nav-link-highlight:hover,
.nav-dropdown-item.nav-link-gold:hover {
  background: linear-gradient(135deg, #d69e2e, #ecc94b) !important;
  color: #1a365d !important;
}

.nav-dropdown-item.nav-link-green {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
  color: #065f46 !important;
  border: 1px solid #86efac !important;
}

.nav-dropdown-item.nav-link-green:hover {
  background: linear-gradient(135deg, #38a169, #48bb78) !important;
  color: white !important;
}

.nav-dropdown-item.nav-link-red {
  background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
  color: #991b1b !important;
  border: 1px solid #fca5a5 !important;
}

.nav-dropdown-item.nav-link-red:hover {
  background: linear-gradient(135deg, #e53e3e, #fc8181) !important;
  color: white !important;
}

.nav-dropdown-item.nav-link-purple {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe) !important;
  color: #5b21b6 !important;
  border: 1px solid #c4b5fd !important;
}

.nav-dropdown-item.nav-link-purple:hover {
  background: linear-gradient(135deg, #805ad5, #9f7aea) !important;
  color: white !important;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 10px;
  }
  
  .nav-dropdown-menu {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
  }
  
  .nav-dropdown-item {
    color: var(--white);
    padding: 0.75rem 1.5rem;
  }
  
  .nav-dropdown-item:hover {
    background: rgba(255,255,255,0.1);
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* ===================================
   Hero Section
=================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: -2;
}

.hero-bg::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.05'%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");
  opacity: 0.3;
}

/* Hero Video Background */
.hero-video {
  background: var(--primary-blue);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Local Video Styles */
.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* YouTube Player Styles */
.hero-video-bg .youtube-fallback {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  min-height: 56.25vw; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
}

.hero-video-bg .youtube-fallback.active {
  display: block;
}

.hero-video-bg iframe,
.hero-video-bg #youtube-player iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 177.77vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Video Loading Indicator */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  z-index: 5;
  display: none;
}

.video-loading span {
  font-size: 1rem;
  opacity: 0.8;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.85) 0%,
    rgba(44, 82, 130, 0.75) 50%,
    rgba(26, 54, 93, 0.85) 100%
  );
  z-index: 1;
}

/* Add pattern overlay on top of video */
.hero-overlay::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");
  opacity: 0.5;
}

/* Responsive video background */
@media (max-width: 768px) {
  .hero-video-bg iframe {
    min-width: 300%;
    min-height: 100%;
  }
  
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 54, 93, 0.9) 0%,
      rgba(44, 82, 130, 0.85) 100%
    );
  }
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  padding: 2rem;
  animation: fadeInUp 1s ease;
  position: relative;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--primary-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   Buttons
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 158, 46, 0.5);
  color: var(--primary-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Button with icon */
.btn i {
  margin-left: 0.5rem;
  font-size: 0.9em;
}

.btn-primary i,
.btn-outline i {
  opacity: 0.9;
}

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

.section-light {
  background: var(--white);
}

.section-gray {
  background: var(--gray-100);
}

.section-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-primary .section-header h2 {
  color: var(--white);
}

.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ===================================
   Quick Links / Services Grid
=================================== */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quick-link-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.quick-link-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.quick-link-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  transition: all var(--transition-normal);
}

.quick-link-card:hover .quick-link-icon {
  background: var(--gradient-gold);
  color: var(--primary-blue);
  transform: rotateY(180deg);
}

.quick-link-card h3 {
  margin-bottom: 0.5rem;
}

.quick-link-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===================================
   Media Center Cards
=================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.media-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Ensure card acts as a proper link */
a.media-card {
  display: block;
}

a.media-card:hover {
  color: inherit;
  text-decoration: none;
}

.media-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(26, 54, 93, 0.2);
}

/* Glow effect on hover */
.media-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-blue), var(--accent-gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.media-card:hover::before {
  opacity: 1;
}

.media-card-image {
  position: relative;
  height: auto;
  min-height: 180px;
  overflow: hidden;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.media-card:hover .media-card-image img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

/* Overlay gradient on hover */
.media-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 54, 93, 0.8) 0%,
    rgba(26, 54, 93, 0.3) 30%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.media-card-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-gold);
  color: var(--primary-blue);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.media-card:hover .media-card-category {
  transform: scale(1.1);
}

/* Media Type Indicators */
.media-indicators {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.media-indicator {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--primary-blue);
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.media-indicator small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.media-indicator:hover {
  background: var(--accent-gold);
  color: white;
  transform: scale(1.1);
}

.media-indicator:hover small {
  color: white;
}

.media-indicator i {
  transition: transform var(--transition-fast);
}

.media-indicator:hover i {
  transform: scale(1.1);
}

/* Video indicator pulse animation */
.media-indicator .fa-play-circle {
  animation: pulse-video 2s infinite;
}

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

/* Album indicator special styling */
.media-indicator.album-indicator {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.media-indicator.album-indicator small {
  color: white;
  font-weight: 700;
}

.media-indicator.album-indicator:hover {
  background: linear-gradient(135deg, #f59e0b 0%, var(--accent-gold) 100%);
  transform: scale(1.15);
}

.media-indicator.album-indicator i {
  animation: pulse-album 2s infinite;
}

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

.media-card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  background: var(--white);
}

.media-card-date {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.media-card:hover .media-card-date {
  color: var(--accent-gold);
}

.media-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.media-card:hover h3 {
  color: var(--primary-blue);
}

.media-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.media-card:hover .read-more {
  gap: 1rem;
  color: var(--primary-blue);
}

.read-more:hover {
  gap: 1rem;
  color: var(--primary-blue);
}

/* Arrow animation on card hover */
.read-more i {
  transition: transform var(--transition-fast);
}

.media-card:hover .read-more i {
  transform: translateX(-8px);
  animation: arrow-bounce 0.6s ease infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(-8px); }
  50% { transform: translateX(-12px); }
}

/* ===================================
   Photo Album Gallery
=================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-title {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  color: var(--white);
  font-weight: 600;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item-title {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Video Library
=================================== */
.video-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.video-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-800);
  aspect-ratio: 16/9;
}

.video-main img,
.video-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(214, 158, 46, 0.4);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--primary-blue);
  margin-right: -5px;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 450px;
  overflow-y: auto;
  padding-left: 0.5rem;
}

.video-list::-webkit-scrollbar {
  width: 6px;
}

.video-list::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
}

.video-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.video-item:hover {
  background: var(--gray-100);
  transform: translateX(-5px);
}

.video-item-thumb {
  width: 120px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.video-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-item-thumb::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 54, 93, 0.5);
  color: var(--white);
  font-size: 1.25rem;
}

.video-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.video-item-info span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ===================================
   About Municipality
=================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-gold);
  border-radius: 20px;
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* ===================================
   Partners Section
=================================== */
.partners-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
}

.partner-item {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  background: var(--white);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.partner-item:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-blue);
  transition: all var(--transition-fast);
  z-index: 10;
}

.slider-nav:hover {
  background: var(--accent-gold);
  color: var(--white);
}

.slider-nav.prev {
  right: 0;
}

.slider-nav.next {
  left: 0;
}

/* ===================================
   Contact Section
=================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  margin: 0;
  font-size: 0.95rem;
}

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

.social-link {
  width: 45px;
  height: 45px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-800);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--gray-100);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(214, 158, 46, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ===================================
   Footer
=================================== */
.footer {
  background: var(--gradient-primary);
  color: var(--white);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.footer-brand p {
  color: var(--sky-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--sky-light);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '←';
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-right: 0.5rem;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-item span {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.footer-contact-item p {
  color: var(--sky-light);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--sky-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ===================================
   Page Header (Inner Pages)
=================================== */
.page-header {
  background: var(--gradient-primary);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::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.05'%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");
  opacity: 0.3;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 5;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--sky-light);
  position: relative;
  z-index: 10;
}

.breadcrumb a {
  color: var(--sky-light);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.breadcrumb a:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
}

.breadcrumb span {
  color: var(--accent-gold);
}

.breadcrumb i {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ===================================
   Cards Grid (for listing pages)
=================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* ===================================
   Pagination
=================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.pagination a {
  background: var(--white);
  color: var(--gray-800);
  box-shadow: var(--shadow-sm);
}

.pagination a:hover,
.pagination a.active {
  background: var(--gradient-gold);
  color: var(--primary-blue);
}

/* ===================================
   Complaints Section
=================================== */
.section-complaints {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.section-complaints::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;
}

.complaints-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.complaints-cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.complaints-cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a365d;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(214, 158, 46, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.complaints-cta-text h2 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.complaints-cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

.complaints-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-complaints-submit {
  background: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%);
  color: #1a365d;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.btn-complaints-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 158, 46, 0.5);
  color: #1a365d;
}

.btn-complaints-track {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-complaints-track:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: white;
}

/* Navigation Link Highlight (Complaints) */
.nav-link-highlight {
  background: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%) !important;
  color: #1a365d !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  margin-right: 0.5rem;
}

.nav-link-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.nav-link-highlight i {
  margin-left: 0.25rem;
}

@media (max-width: 768px) {
  .complaints-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .complaints-cta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .complaints-cta-actions {
    width: 100%;
    justify-content: center;
  }
  
  .btn-complaints-submit,
  .btn-complaints-track {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================
   Services Page Specific
=================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ===================================
   Animations
=================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===================================
   Responsive Design
=================================== */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item:first-child {
    grid-column: span 3;
    grid-row: span 1;
  }
}

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--primary-blue);
    flex-direction: column;
    padding: 2rem;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-xl);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .about-grid,
  .contact-grid,
  .video-section {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .video-list {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
  }
  
  .video-item {
    flex-shrink: 0;
    width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .gallery-item:first-child {
    grid-column: span 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h4::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .quick-link-card {
    padding: 1.25rem 1rem;
  }
  
  .quick-link-card h3 {
    font-size: 0.95rem;
  }
  
  .quick-link-card p {
    display: none;
  }
  
  .quick-link-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
  }
  
  .quick-link-icon i {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .logo-text {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .quick-link-card {
    padding: 1rem 0.75rem;
    border-radius: 15px;
  }
  
  .quick-link-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  
  .quick-link-card .read-more {
    display: none;
  }
  
  .quick-link-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 0.5rem;
  }
  
  .quick-link-icon i {
    font-size: 1.1rem;
  }
  
  .gallery-item:first-child {
    grid-column: span 1;
  }
}

/* ===================================
   Utility Classes
=================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===================================
   Full Width Featured Slider
=================================== */
.fullwidth-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--primary-blue);
  margin-top: -80px;
}

.fullwidth-slider-main {
  position: relative;
  width: 100%;
  height: 100%;
}

.fullwidth-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fullwidth-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.fullwidth-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fullwidth-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s ease;
}

.fullwidth-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(26, 54, 93, 0.95) 0%,
    rgba(26, 54, 93, 0.85) 35%,
    rgba(26, 54, 93, 0.5) 65%,
    rgba(26, 54, 93, 0.2) 100%
  );
  opacity: var(--overlay-opacity, 1);
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Media indicators on slider */
.slider-media-indicators {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.slider-media-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.slider-media-badge:hover {
  transform: scale(1.1);
}

.slider-media-badge i {
  font-size: 1.2rem;
}

.slider-media-badge.video-badge {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  animation: pulse-video 2s infinite;
}

.slider-media-badge.album-badge {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  animation: pulse-album 2s infinite;
}

.slider-media-badge.gallery-badge {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

@media (max-width: 768px) {
  .slider-media-indicators {
    bottom: 1rem;
    left: 1rem;
    gap: 0.5rem;
  }
  
  .slider-media-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .slider-media-badge i {
    font-size: 1rem;
  }
}

/* Albums Showcase Section */
.section-albums {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
  position: relative;
}

.albums-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
  margin-top: 2rem;
}

.album-showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.album-showcase-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.album-showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.album-showcase-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.album-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-showcase-item:hover .album-showcase-image img {
  transform: scale(1.1);
}

.album-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.album-showcase-item:hover .album-showcase-overlay {
  opacity: 1;
}

.album-showcase-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.album-showcase-badge i {
  font-size: 1rem;
}

.album-showcase-view {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.album-showcase-item:hover .album-showcase-view {
  opacity: 1;
  transform: translateY(0);
}

.album-showcase-view:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

.album-showcase-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  color: white;
}

.album-showcase-info h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.album-showcase-item.featured .album-showcase-info h3 {
  font-size: 1.4rem;
}

.album-showcase-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.album-showcase-date i {
  color: var(--accent-gold);
}

@media (max-width: 992px) {
  .albums-showcase {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  
  .album-showcase-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .albums-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .album-showcase-item,
  .album-showcase-item.featured {
    grid-column: span 1;
    grid-row: span 1;
    height: 200px;
  }
}

/* Video Library Section */
.section-video-library {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 4rem 0;
  position: relative;
}

.section-video-library .section-header h2 {
  color: white;
}

.section-video-library .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

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

a.video-showcase-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-showcase-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.video-showcase-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.video-showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.video-showcase-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.video-showcase-item.featured .video-showcase-thumbnail {
  min-height: 380px;
}

.video-showcase-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-showcase-item:hover .video-showcase-thumbnail img {
  transform: scale(1.1);
}

.video-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder i {
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}

.video-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.video-showcase-item:hover .video-showcase-overlay {
  opacity: 1;
}

.video-showcase-overlay .play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.video-showcase-item.featured .video-showcase-overlay .play-button {
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

.video-showcase-item:hover .video-showcase-overlay .play-button {
  transform: scale(1.15);
  background: #FF0000;
}

.video-showcase-overlay .source-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-showcase-overlay .duration-badge {
  position: absolute;
  bottom: 4rem;
  left: 1rem;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.video-showcase-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
  color: white;
}

.video-showcase-info h3 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.video-showcase-item.featured .video-showcase-info h3 {
  font-size: 1.2rem;
}

.video-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
  .videos-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .video-showcase-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .video-showcase-item.featured .video-showcase-thumbnail {
    min-height: 250px;
  }
}

@media (max-width: 576px) {
  .videos-showcase {
    grid-template-columns: 1fr;
  }
  
  .video-showcase-item,
  .video-showcase-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .video-showcase-thumbnail,
  .video-showcase-item.featured .video-showcase-thumbnail {
    min-height: 200px;
  }
}

[x-cloak] {
  display: none !important;
}

.fullwidth-slide-content {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  z-index: 10;
}

.fullwidth-slide-inner {
  max-width: 650px;
  color: var(--white);
  padding-bottom: 40px;
  text-align: center;
}

.fullwidth-slide-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: var(--primary-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(214, 158, 46, 0.4);
  animation: fadeInUp 0.6s ease 0.1s both;
}

/* Announcement badge style in slider */
.fullwidth-slide-category.announcement-badge {
  background: linear-gradient(135deg, #805ad5 0%, #9f7aea 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(128, 90, 213, 0.4);
}

/* Video badge in slider */
.fullwidth-slide-category.video-badge-cat {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.4);
}

/* Album badge in slider */
.fullwidth-slide-category.album-badge-cat {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* Announcement dot indicator */
.fullwidth-dot.announcement-dot {
  background: rgba(128, 90, 213, 0.4);
}

.fullwidth-dot.announcement-dot.active {
  background: #805ad5;
}

.fullwidth-slide-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.6s ease 0.2s both;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.fullwidth-slide-excerpt {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #ffffff;
  opacity: 1;
  margin-bottom: 1.5rem;
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  animation: fadeInUp 0.6s ease 0.3s both;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.fullwidth-slide-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1rem;
  color: #ffffff;
  opacity: 1;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.4s both;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.fullwidth-slide-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fullwidth-slide-meta i {
  color: var(--accent-gold);
}

.fullwidth-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent-gold);
  color: var(--primary-blue);
  padding: 1rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  box-shadow: 0 6px 25px rgba(214, 158, 46, 0.4);
  animation: fadeInUp 0.6s ease 0.5s both;
}

.fullwidth-slide-link:hover .fullwidth-slide-btn {
  background: var(--white);
  transform: translateX(-8px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.fullwidth-slide-btn i {
  transition: transform var(--transition-normal);
}

.fullwidth-slide-link:hover .fullwidth-slide-btn i {
  transform: translateX(-8px);
}

/* Full Width Navigation Arrows */
.fullwidth-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullwidth-nav:hover {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  color: var(--primary-blue);
  transform: translateY(-50%) scale(1.1);
}

.fullwidth-nav-prev {
  right: 2rem;
}

.fullwidth-nav-next {
  left: 2rem;
}

/* Dots Indicator */
.fullwidth-dots {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.fullwidth-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.fullwidth-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

.fullwidth-dot.active {
  width: 55px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--accent-gold);
}

.dot-progress {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: var(--accent-gold);
  border-radius: inherit;
  animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Slide Counter */
.fullwidth-counter {
  position: absolute;
  bottom: 30px;
  right: 8%;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--white);
  z-index: 20;
}

.fullwidth-counter .current {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.fullwidth-counter .separator {
  font-size: 1.5rem;
  opacity: 0.5;
  margin: 0 2px;
}

.fullwidth-counter .total {
  font-size: 1.5rem;
  opacity: 0.6;
}

/* Responsive Full Width Slider */
@media (max-width: 1400px) {
  .fullwidth-slide-content {
    padding: 0 5%;
  }
  
  .fullwidth-counter {
    right: 6%;
  }
}

@media (max-width: 1200px) {
  .fullwidth-slider {
    height: 100vh;
    min-height: 500px;
  }
  
  .fullwidth-slide-inner {
    max-width: 580px;
  }
  
  .fullwidth-slide-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
}

@media (max-width: 992px) {
  .fullwidth-slider {
    height: 100vh;
    min-height: 500px;
    margin-top: -80px;
  }
  
  .fullwidth-slide-content {
    top: 80px;
    padding: 0 5%;
  }
  
  .fullwidth-slide-inner {
    max-width: 450px;
    padding-bottom: 60px;
  }
  
  .fullwidth-slide-title {
    font-size: 1.75rem;
  }
  
  .fullwidth-slide-excerpt {
    font-size: 1.05rem;
    -webkit-line-clamp: 2;
  }
  
  .fullwidth-nav {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
  
  .fullwidth-nav-prev {
    right: 1.25rem;
  }
  
  .fullwidth-nav-next {
    left: 1.25rem;
  }
  
  .fullwidth-counter {
    right: 5%;
  }
  
  .fullwidth-counter .current {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .fullwidth-slider {
    height: 100vh;
    min-height: 400px;
    margin-top: -80px;
  }
  
  .fullwidth-slide-overlay {
    background: linear-gradient(
      to top,
      rgba(26, 54, 93, 0.95) 0%,
      rgba(26, 54, 93, 0.7) 50%,
      rgba(26, 54, 93, 0.3) 100%
    );
  }
  
  .fullwidth-slide-content {
    top: 70px;
    align-items: center;
    justify-content: center;
    padding: 0 4%;
  }
  
  .fullwidth-slide-inner {
    max-width: 100%;
    text-align: center;
    padding-bottom: 60px;
  }
  
  .fullwidth-slide-category {
    margin-bottom: 1rem;
  }
  
  .fullwidth-slide-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .fullwidth-slide-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
  }
  
  .fullwidth-nav {
    display: none;
  }
  
  .fullwidth-dots {
    bottom: 20px;
  }
  
  .fullwidth-counter {
    display: none;
  }
}

@media (max-width: 480px) {
  .fullwidth-slider {
    height: 100vh;
    min-height: 350px;
    margin-top: -80px;
  }
  
  .fullwidth-slide-content {
    top: 60px;
    padding: 0 3%;
  }
  
  .fullwidth-slide-inner {
    padding-bottom: 50px;
  }
  
  .fullwidth-slide-category {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .fullwidth-slide-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }
  
  .fullwidth-slide-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .fullwidth-dots {
    bottom: 15px;
    gap: 8px;
  }
  
  .fullwidth-dot {
    width: 10px;
    height: 10px;
  }
  
  .fullwidth-dot.active {
    width: 40px;
  }
}

/* ===================================
   Partners Section
=================================== */
.section-partners {
  background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 50%, #1a365d 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.section-partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 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;
}

.section-partners .section-header h2 {
  color: white;
}

.section-partners .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.partner-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.partner-logo {
  width: 100%;
  height: 120px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.partner-info {
  padding: 1rem 1.25rem;
  text-align: center;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-info h4 {
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-type {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.partner-type.type-partner {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.partner-type.type-sponsor {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  color: white;
}

.partner-type.type-supporter {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .partner-logo {
    height: 100px;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .partner-logo {
    height: 80px;
    padding: 0.75rem;
  }
  
  .partner-info {
    padding: 0.75rem;
  }
  
  .partner-info h4 {
    font-size: 0.85rem;
  }
  
  .partner-type {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}

/* =============================================
   Header Announcement Bar
============================================= */
.header-announcement {
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--gold-light) 100%);
  color: var(--primary-blue);
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.header-announcement p {
  margin: 0;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.header-announcement i {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Header Social Icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 2rem;
}

.header-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.header-social a:hover {
  background: var(--accent-gold);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .header-social {
    display: none;
  }
}

/* =============================================
   Footer Newsletter
============================================= */
.footer-newsletter {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: 'Cairo', sans-serif;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  border-color: var(--accent-gold);
}

.newsletter-form button {
  padding: 12px 25px;
  background: var(--gradient-gold);
  color: var(--primary-blue);
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(214, 158, 46, 0.4);
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   Header Search Bar
============================================= */
.header-search-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  z-index: 100;
}

.search-bar-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.search-bar-toggle:hover,
.search-bar-toggle.active {
  background: var(--accent-gold);
  color: var(--primary-blue);
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.search-bar-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
  padding: 8px;
  min-width: 350px;
  z-index: 1000;
}

.search-bar-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  margin-left: -8px;
  width: 16px;
  height: 16px;
  background: white;
  transform: rotate(45deg);
  box-shadow: -3px -3px 5px rgba(0,0,0,0.05);
}

.search-bar-dropdown form {
  display: flex;
  gap: 8px;
}

.search-bar-dropdown input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Cairo', sans-serif;
  outline: none;
  background: var(--gray-100);
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.search-bar-dropdown input:focus {
  border-color: var(--primary-blue);
  background: white;
}

.search-bar-dropdown input::placeholder {
  color: var(--gray-600);
}

.search-bar-dropdown button {
  padding: 14px 24px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.search-bar-dropdown button:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
}

@media (max-width: 992px) {
  .header-search-bar {
    position: static;
    display: inline-flex;
    margin: 0;
  }
  
  .search-bar-toggle {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    box-shadow: none;
  }
  
  .search-bar-dropdown {
    position: fixed;
    top: 120px;
    left: 15px;
    right: 15px;
    min-width: auto;
    transform: none;
  }
  
  /* تعديل موضع البحث عند وجود شريط الإعلانات */
  body.has-announcement .search-bar-dropdown {
    top: 165px;
  }
  
  .search-bar-dropdown::before {
    display: none;
  }
  
  .search-bar-dropdown form {
    flex-direction: column;
  }
  
  .search-bar-dropdown button {
    justify-content: center;
  }
}

[x-cloak] { display: none !important; }

