/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #DC2626;
  --dark-red: #991B1B;
  --light-red: #FEE2E2;
  --white: #FFFFFF;
  --black: #0F172A;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Additional colors for consistency */
  --primary: #1a3a6c;
  --primary-dark: #0f2647;
  --secondary: #e63946;
  --accent: #fca311;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* === CONTAINER === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  margin-top: 80px;
  background: #1E293B; /* Fallback color */
  color: var(--white);
  padding: 120px 0 80px;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.3) 0%, 
    rgba(30, 41, 59, 0.7) 50%, 
    rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-300);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* === STATS SECTION === */
.stats {
  background: var(--white);
  padding: 60px 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.stat-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* === SECTION STYLES === */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: var(--light-red);
  color: var(--primary-red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.about-card {
  background: var(--white);
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.about-card:hover::before {
  transform: scaleY(1);
}

.about-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--light-red), #FECACA);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.about-card-text {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* === CABOR GRID === */
.cabor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.cabor-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cabor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-red);
}

.cabor-card-image {
  height: 180px;
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.cabor-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), transparent);
}

.cabor-card-content {
  padding: 24px;
}

.cabor-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.cabor-card-org {
  display: inline-block;
  background: var(--light-red);
  color: var(--primary-red);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.cabor-card-info {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.cabor-card-info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* === NEWS GRID === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.news-card-image {
  height: 220px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
}

.news-card-content {
  padding: 28px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-card-badge {
  background: var(--primary-red);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-card-date {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.news-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-excerpt {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-card-link {
  color: var(--primary-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.news-card-link:hover {
  gap: 12px;
}

/* === PENGUMUMAN GRID === */
.pengumuman-grid {
  display: grid;
  gap: 24px;
}

.pengumuman-card {
  background: var(--white);
  border-left: 5px solid var(--primary-red);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pengumuman-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pengumuman-card:hover::before {
  transform: scaleX(1);
}

.pengumuman-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pengumuman-date {
  background: var(--light-red);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  min-width: 100px;
  flex-shrink: 0;
}

.pengumuman-icon {
  font-size: 3rem;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.pengumuman-type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  margin-top: 8px;
}

.pengumuman-content {
  flex: 1;
}

.pengumuman-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pengumuman-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pengumuman-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.pengumuman-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pengumuman-link {
  color: var(--primary-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.pengumuman-card:hover .pengumuman-link {
  gap: 12px;
}

/* === EVENT GRID === */
.event-grid {
  display: grid;
  gap: 24px;
}

.event-card {
  background: var(--white);
  border-left: 5px solid var(--primary-red);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.event-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.event-date {
  background: var(--light-red);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  min-width: 100px;
}

.event-day {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  display: block;
  line-height: 1;
}

.event-month {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  margin-top: 4px;
}

.event-content {
  flex: 1;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.event-info {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.event-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* === GALLERY GRID === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: all 0.3s ease;
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.3);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* === CONTACT SECTION === */
.contact-section {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-info-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.contact-info-text {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
}

.contact-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--light-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.contact-card-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === CONTACT FORM === */
.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-button {
  width: 100%;
  padding: 16px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-button:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* === MAP SECTION === */
.map-section {
  padding: 0;
  margin-bottom: 0;
}

.map-container {
  width: 100%;
  height: 500px;
  background: var(--gray-100);
  border-radius: 0;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--gray-50);
  padding: 24px 0;
  margin-top: 80px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.breadcrumb-link {
  color: var(--primary-red);
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--dark-red);
}

.breadcrumb-current {
  color: var(--gray-900);
  font-weight: 600;
}

/* === CATEGORY FILTER === */
.category-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.category-filter-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
}

.category-filter-btn.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 32px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
  border-radius: 20px 20px 0 0;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-body {
  padding: 32px;
}

/* PDF Files Section in Modal */
.pdf-section {
  background: linear-gradient(135deg, var(--light-red), #FECACA);
  padding: 24px;
  border-radius: 12px;
  margin: 24px 0;
}

.pdf-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-grid {
  display: grid;
  gap: 12px;
}

.pdf-item {
  background: var(--white);
  padding: 16px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.pdf-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.pdf-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.pdf-icon {
  width: 44px;
  height: 44px;
  background: var(--light-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pdf-details {
  flex: 1;
  min-width: 0;
}

.pdf-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-size {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.pdf-download {
  background: var(--primary-red);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pdf-download:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

/* === FOOTER === */
.footer {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: var(--white);
  padding: 80px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-text {
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.footer-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--gray-300);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom-text {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* === SUCCESS MESSAGE === */
.success-message {
  position: fixed;
  top: 100px;
  right: 24px;
  background: #10B981;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  animation: slideIn 0.3s ease;
}

.success-message.show {
  display: flex;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* === UTILITY CLASSES === */
.hidden {
  display: none !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    position: static;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 32px 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    padding: 16px;
    display: block;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card {
    padding: 32px;
  }

  .cabor-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card,
  .pengumuman-card {
    flex-direction: column;
    gap: 20px;
  }

  .pengumuman-date {
    min-width: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .pengumuman-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modal-content {
    margin: 0 16px;
  }

  .modal-header,
  .modal-body {
    padding: 24px;
  }

  .category-filter-container {
    gap: 8px;
  }

  .category-filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stat-card {
    padding: 24px 20px;
  }

  .contact-card {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pengumuman-title {
    font-size: 1.25rem;
  }

  .pengumuman-meta {
    flex-direction: column;
    gap: 8px;
  }

  .pdf-item {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .pdf-info {
    flex-direction: column;
    text-align: center;
  }
}
/* Loading and Empty States */
.loading-message,
.no-data-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.no-data-message p {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

/* Category Filter Active State */
.category-filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
/* === EXTREME RESPONSIVE DESIGN === */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Standard Desktop (1200px - 1439px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

/* Small Desktop (1024px - 1199px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .navbar {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .about-grid {
    gap: 24px;
  }
  
  .about-card {
    padding: 32px;
  }
  
  .cabor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) {
  .hero {
    padding: 100px 0 60px;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .stats {
    padding: 40px 0;
    margin-top: -30px;
  }
  
  .nav-menu {
    gap: 24px;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  
  .navbar {
    padding: 12px 16px;
  }
  
  .hero {
    margin-top: 70px;
    padding: 80px 0 40px;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  
  .stat-card {
    padding: 24px 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  
  .about-card {
    padding: 24px;
  }
  
  .about-card-title {
    font-size: 1.5rem;
  }
  
  .cabor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-card-image {
    height: 180px;
    font-size: 3.5rem;
  }
  
  .news-card-content {
    padding: 20px;
  }
  
  .event-card,
  .pengumuman-card {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  
  .event-date,
  .pengumuman-date {
    min-width: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }
  
  .event-day {
    font-size: 2rem;
  }
  
  .pengumuman-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .gallery-item {
    height: 200px;
    font-size: 3rem;
  }
  
  .contact-form {
    padding: 24px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .footer {
    padding: 60px 0 24px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  
  .map-container {
    height: 400px;
  }
}

/* Mobile Large (425px - 599px) */
@media (max-width: 599px) {
  .hero-title {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
    margin-bottom: 16px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-header {
    margin-bottom: 48px;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .stat-icon {
    font-size: 2rem;
  }
  
  .about-card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
  
  .cabor-card-image {
    height: 150px;
    font-size: 3rem;
  }
  
  .cabor-card-content {
    padding: 20px;
  }
  
  .event-title,
  .pengumuman-title {
    font-size: 1.25rem;
  }
  
  .event-info,
  .pengumuman-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .contact-card {
    padding: 20px;
    gap: 16px;
  }
  
  .contact-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .breadcrumb {
    padding: 20px 0;
  }
  
  .category-filter-container {
    gap: 8px;
    margin-bottom: 32px;
  }
  
  .category-filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* Mobile Medium (375px - 424px) */
@media (max-width: 424px) {
  .container {
    padding: 0 12px;
  }
  
  .navbar {
    padding: 10px 12px;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 60px 0 30px;
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
  }
  
  .stat-card {
    padding: 20px 16px;
  }
  
  .about-card {
    padding: 20px;
  }
  
  .news-card-image {
    height: 150px;
    font-size: 3rem;
  }
  
  .modal-content {
    margin: 0 12px;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .pdf-item {
    padding: 12px 16px;
  }
  
  .pdf-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .about-card-title {
    font-size: 1.25rem;
  }
  
  .about-card-text {
    font-size: 0.95rem;
  }
  
  .cabor-card-title {
    font-size: 1.1rem;
  }
  
  .news-card-title {
    font-size: 1.15rem;
  }
  
  .event-title,
  .pengumuman-title {
    font-size: 1.1rem;
  }
  
  .contact-info-title {
    font-size: 1.5rem;
  }
  
  .contact-info-text {
    font-size: 0.95rem;
  }
  
  .footer {
    padding: 50px 0 20px;
  }
  
  .footer-logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .footer-logo-text {
    font-size: 1.1rem;
  }
}

/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {
  .nav-link:hover::after,
  .nav-link.active::after {
    display: none;
  }
  
  .btn:hover,
  .card:hover,
  .gallery-item:hover,
  .stat-card:hover {
    transform: none;
  }
  
  .cabor-card:hover,
  .news-card:hover,
  .pengumuman-card:hover,
  .event-card:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }
  
  .menu-toggle span {
    transition: none;
  }
}

/* === HIGH DPI DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-icon,
  .footer-logo-icon {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* === PRINT STYLES === */
@media print {
  .header,
  .footer,
  .hero-buttons,
  .menu-toggle {
    display: none !important;
  }
  
  .hero {
    background: white !important;
    color: black !important;
    margin-top: 0;
    padding: 20px 0;
  }
  
  .video-background,
  .video-overlay {
    display: none;
  }
  
  .hero-content {
    position: static;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .btn {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
  }
}

/* === ACCESSIBILITY IMPROVEMENTS === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-red: #990000;
    --dark-red: #660000;
    --gray-900: #000000;
    --gray-700: #333333;
  }
}

/* === ORIENTATION SPECIFIC === */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 300px;
    padding: 80px 0 30px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .nav-menu {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* === FOLDABLE DEVICES === */
@media (max-width: 359px) {
  .container {
    padding: 0 8px;
  }
  
  .hero-title {
    font-size: 1.35rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .stat-number {
    font-size: 1.35rem;
  }
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {
  /* Base dark mode styles can be added here */
  /* This is just a placeholder for future dark mode implementation */
}

/* === RESPONSIVE UTILITY CLASSES === */
.visible-mobile {
  display: none !important;
}

.visible-tablet {
  display: none !important;
}

.hidden-mobile {
  display: block !important;
}

.hidden-tablet {
  display: block !important;
}

@media (max-width: 767px) {
  .visible-mobile {
    display: block !important;
  }
  
  .hidden-mobile {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .visible-tablet {
    display: block !important;
  }
  
  .hidden-tablet {
    display: none !important;
  }
}

/* === RESPONSIVE TEXT SCALING === */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 424px) {
  html {
    font-size: 13px;
  }
}

/* === SAFE AREA INSETS FOR NOTCHED DEVICES === */
@supports(padding: max(0px)) {
  .container,
  .navbar {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  
  .hero {
    padding-top: max(120px, env(safe-area-inset-top));
  }
  
  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
}


/* === COMPACT NAVBAR MOBILE === */
@media (max-width: 768px) {
  .header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    height: 56px;
    border-bottom: 1px solid var(--gray-200);
  }

  .navbar {
    padding: 8px 16px;
    height: 56px;
  }

  .logo {
    font-size: 0.95rem;
    gap: 8px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .nav-menu {
    position: fixed;
    top: 56px;
    left: -100%;
    width: 280px; /* Lebar menu tidak full screen */
    height: calc(100vh - 56px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 16px 0;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    border-right: 1px solid var(--gray-200);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    margin: 0 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--light-red);
    color: var(--primary-red);
    transform: translateX(4px);
  }

  .nav-link.active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 1000;
    padding: 6px;
    gap: 3px;
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--gray-900);
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* Overlay untuk background ketika menu terbuka */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    backdrop-filter: blur(2px);
  }

  .nav-overlay.active {
    display: block;
  }

  /* Adjust hero margin */
  .hero {
    margin-top: 56px;
  }

  .breadcrumb {
    margin-top: 56px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .navbar {
    padding: 6px 12px;
    height: 52px;
  }

  .header {
    height: 52px;
  }

  .logo {
    font-size: 0.9rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .nav-menu {
    top: 52px;
    height: calc(100vh - 52px);
    width: 260px;
    padding: 12px 0;
  }

  .nav-link {
    padding: 10px 16px;
    font-size: 0.85rem;
    margin: 0 10px;
  }

  .nav-overlay {
    top: 52px;
    height: calc(100vh - 52px);
  }

  .hero {
    margin-top: 52px;
  }

  .breadcrumb {
    margin-top: 52px;
  }
}

/* Mobile Extra Small */
@media (max-width: 374px) {
  .navbar {
    padding: 5px 10px;
    height: 48px;
  }

  .header {
    height: 48px;
  }

  .logo {
    font-size: 0.85rem;
    gap: 6px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .nav-menu {
    top: 48px;
    height: calc(100vh - 48px);
    width: 240px;
    padding: 10px 0;
  }

  .nav-link {
    padding: 8px 14px;
    font-size: 0.8rem;
    margin: 0 8px;
  }

  .nav-overlay {
    top: 48px;
    height: calc(100vh - 48px);
  }

  .hero {
    margin-top: 48px;
  }

  .breadcrumb {
    margin-top: 48px;
  }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
  .nav-link {
    padding: 14px 20px;
    min-height: 44px;
  }
  
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}

/* WhatsApp Popup Styles */
.whatsapp-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

/* Floating Button */
.whatsapp-float {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    z-index: 10000;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-icon {
    font-size: 1.5rem;
}

.whatsapp-float-text {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Popup Content */
.whatsapp-popup-content {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.whatsapp-popup-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.whatsapp-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.whatsapp-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.whatsapp-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.whatsapp-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.whatsapp-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Options */
.whatsapp-options {
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.whatsapp-option:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
    transform: translateX(4px);
}

.whatsapp-option:last-child {
    margin-bottom: 0;
}

.option-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-info {
    flex: 1;
}

.option-info h5 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}

.option-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.option-arrow {
    color: var(--gray-400);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.whatsapp-option:hover .option-arrow {
    transform: translateX(4px);
    color: #25D366;
}

/* Footer */
.whatsapp-footer {
    padding: 12px 16px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.whatsapp-footer p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-popup {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-popup-content {
        width: 300px;
        bottom: 70px;
    }
    
    .whatsapp-float {
        padding: 14px 20px;
    }
    
    .whatsapp-float-text {
        display: none;
    }
    
    .whatsapp-float:hover .whatsapp-float-text {
        display: block;
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        margin-right: 8px;
        white-space: nowrap;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-popup {
        bottom: 12px;
        right: 12px;
    }
    
    .whatsapp-popup-content {
        width: 280px;
        bottom: 65px;
    }
    
    .whatsapp-header {
        padding: 16px;
    }
    
    .whatsapp-options {
        padding: 12px;
    }
}

/* Animation for new message */
@keyframes ping {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.whatsapp-float.ping {
    animation: ping 1s ease-in-out 3;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whatsapp-popup-content {
        background: var(--gray-800);
        border-color: var(--gray-700);
    }
    
    .whatsapp-option:hover {
        background: var(--gray-700);
        border-color: var(--gray-600);
    }
    
    .option-info h5 {
        color: var(--gray-100);
    }
    
    .option-info p {
        color: var(--gray-400);
    }
    
    .option-icon {
        background: var(--gray-700);
    }
    
    .whatsapp-footer {
        background: var(--gray-700);
        border-color: var(--gray-600);
    }
}
