@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* ============ VARIABLES ============ */
:root {
  --bg: #0f172a;
  --bg2: #0c1222;
  --card: #1e293b;
  --border: #334155;
  --text: #e2e8f0;
  --text2: #94a3b8;
  --primary: #1e40af;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(30,64,175,0.15);
  --accent: #f59e0b;
  --accent-light: rgba(245,158,11,0.15);
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-hover); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text2); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--card); border-color: var(--text2); color: var(--text); }
.btn-accent { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-accent:hover:not(:disabled) { background: #d97706; border-color: #d97706; color: #000; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: #dc2626; color: #fff; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover:not(:disabled) { background: #16a34a; color: #fff; }
.btn-warning { background: var(--warning); color: #000; border-color: var(--warning); }
.btn-warning:hover:not(:disabled) { background: #d97706; color: #000; }
.btn-ghost { background: transparent; color: var(--text2); border-color: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--card); color: var(--text); }
.btn-outline-primary { background: transparent; color: var(--primary-hover); border-color: var(--primary-hover); }
.btn-outline-primary:hover:not(:disabled) { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-icon { padding: 8px; width: 36px; height: 36px; }
.btn-block { width: 100%; }

/* ============ CARDS ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-header h2, .card-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.card-body { padding: 20px; }
.card-footer { padding: 16px 20px; border-top: 1px solid var(--border); }

/* ============ TABLES ============ */
.table-wrapper { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid rgba(51,65,85,0.5); vertical-align: middle; }
.table tbody tr:hover { background: rgba(255,255,255,0.02); }
.table tbody tr:last-child td { border-bottom: none; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-control::placeholder { color: var(--text2); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-hint { font-size: 11px; color: var(--text2); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 4px; }

/* ============ BADGES ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-primary { background: var(--primary-light); color: #60a5fa; }
.badge-success { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-info { background: rgba(59,130,246,0.15); color: var(--info); }
.badge-neutral { background: rgba(148,163,184,0.15); color: var(--text2); }

/* ============ MODAL ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1000px; }

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  min-width: 280px;
  max-width: 400px;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.toast.fade-out { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut {
  to { opacity: 0; transform: translateX(20px); }
}
.toast-icon { font-size: 16px; flex-shrink: 0; }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-warning { border-left: 3px solid var(--warning); }
.toast-info { border-left: 3px solid var(--info); }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand span { color: var(--accent); }
.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px;
  color: var(--text2) !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text) !important; background: rgba(30,64,175,0.15); }
.navbar-cta { display: flex; align-items: center; gap: 12px; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ============ HERO ============ */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, #0c1a3a 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,64,175,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 18px; color: var(--text2); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ============ SECTION ============ */
.section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-subtitle { color: var(--text2); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============ AREA CARD ============ */
.area-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}
.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(30,64,175,0.2);
}
.area-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  color: #60a5fa;
}
.area-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.area-card p { color: var(--text2); font-size: 13px; line-height: 1.7; }

/* ============ TEAM CARD ============ */
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.team-card-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg2);
}
.team-card-info { padding: 20px; }
.team-card-info h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.team-card-info .team-title { color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.team-card-info .team-bio { color: var(--text2); font-size: 13px; line-height: 1.6; }

/* ============ TESTIMONIAL ============ */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text { font-size: 14px; color: var(--text2); line-height: 1.8; margin-bottom: 16px; padding-top: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #60a5fa;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { color: var(--text2); font-size: 12px; }

/* ============ BLOG CARD ============ */
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg2);
}
.blog-card-body { padding: 20px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text2); margin-bottom: 12px; }
.blog-card-body h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-excerpt { color: var(--text2); font-size: 13px; line-height: 1.7; }

/* ============ CONTACT FORM ============ */
.contact-section {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--text2); line-height: 1.8; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--text2); font-size: 14px; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
  margin-top: 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand span { color: var(--accent); }
.footer-desc { color: var(--text2); font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text2); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text2); font-size: 13px; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text2);
}

/* ============ GRID ============ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ PAGINATION ============ */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text2);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--primary); color: #60a5fa; background: var(--primary-light); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============ SPINNER ============ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { display: flex; align-items: center; justify-content: center; padding: 60px; }

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text2); }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }

/* ============ ARTICLE PAGE ============ */
.article-header { text-align: center; padding: 60px 24px 20px; max-width: 800px; margin: 0 auto; }
.article-header h1 { font-family: var(--font-heading); font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--text2); font-size: 13px; }
.article-cover { max-width: 800px; margin: 24px auto; border-radius: var(--radius-lg); overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-content { max-width: 700px; margin: 0 auto; padding: 40px 24px; font-size: 16px; line-height: 1.9; color: var(--text2); }
.article-content h2 { font-family: var(--font-heading); font-size: 24px; color: var(--text); margin: 32px 0 12px; }
.article-content h3 { font-family: var(--font-heading); font-size: 20px; color: var(--text); margin: 24px 0 8px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin-bottom: 16px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* ============ MAP ============ */
.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { width: 100%; height: 400px; border: none; display: block; }

/* ============ ABOUT ============ */
.about-hero {
  padding: 80px 24px 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, #0c1a3a 50%, var(--bg) 100%);
}
.about-content { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.9; color: var(--text2); }

/* ============ UTILITIES ============ */
.text-primary { color: #60a5fa; }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text2); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 12px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.p-0 { padding: 0; }
.px-0 { padding-left: 0; padding-right: 0; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.cursor-pointer { cursor: pointer; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 13px; }
  .navbar { padding: 0 16px; height: 60px; }
  .navbar-brand { font-size: 18px; }
  .navbar-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .navbar-nav.open { display: flex; }
  .nav-link { padding: 10px 16px; font-size: 14px; }
  .mobile-toggle { display: block; }
  .navbar-cta .btn { display: none; }

  .section { padding: 40px 16px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 14px; }

  .grid { gap: 12px; }
  .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 60px 16px 40px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 40px 16px 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }

  .modal { max-width: 100%; border-radius: var(--radius) var(--radius) 0 0; margin-top: auto; }
  .modal-body { padding: 16px; }
  .modal-header { padding: 16px; }
  .modal-footer { padding: 12px 16px; }

  .btn { padding: 8px 14px; font-size: 13px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  .btn-sm { padding: 5px 10px; font-size: 11px; }

  .card-header { padding: 12px 16px; }
  .card-body { padding: 16px; }

  .table { font-size: 12px; }
  .table th { padding: 8px 10px; font-size: 10px; }
  .table td { padding: 10px; }

  .toast-container { bottom: 12px; right: 12px; left: 12px; }
  .toast { min-width: auto; width: 100%; font-size: 13px; }

  .pagination { gap: 4px; margin-top: 20px; }
  .page-btn { width: 32px; height: 32px; font-size: 12px; }

  .article-header h1 { font-size: 24px; }
  .article-content { font-size: 14px; padding: 24px 16px; }
  .map-container iframe { height: 250px; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 24px; }
  .section-title { font-size: 24px; }
  .team-card-photo { aspect-ratio: 4/3; }
  .form-control { padding: 8px 12px; font-size: 13px; }
  .form-group label { font-size: 12px; }
}

@media (max-width: 360px) {
  .navbar-brand { font-size: 16px; }
  .btn { padding: 6px 10px; font-size: 12px; }
}
