/* HERO BACKGROUND */
.hero {
  position: relative;
  min-height: 75dvh;
  background-image: url("/images/header.png"); /* YOUR IMAGE */
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  color: rgb(255, 255, 255);
  overflow: hidden;
}

/* CSS Variables for nav components */
:root {
  --nav-h: 100px;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  --surface: #f8fafc;
  --muted: #6b7280;
  --primary-soft: #e3f2fd;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.525),
    rgba(35, 4, 39, 0.49)
  );
  z-index: 1;
}

.header {
  position: sticky;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

/* Left cluster */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Middle cluster */
.header-center {
  width: clamp(320px, auto, 1100px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  font-size: 20px;
  height: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, transform 0.05s ease;
}

.menu-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  background: #73a2d0be;
}

.menu-btn:active {
  transform: scale(0.97);
}

.menu-btn:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.5);
  outline-offset: 2px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 5px; }
.menu-icon span:nth-child(3) { top: 10px; }

.logo {
  margin-top: 8px;
  height: 36px;
}

.site-title {
  font-size: 1.9rem;
  font-weight: 750;
  color: rgb(152, 231, 255);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: auto;
  padding: 60px 40px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color:#ffffff;
  margin-bottom: 26px;
  padding: 2px 60px;
}

.hero-content p {
  opacity: 0.85;
  margin-bottom: 30px;
  margin-top: 12px;
  padding: 2px 60px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  padding: 2px 60px;
}

/* =========================
   Buttons
   ========================= */
.btn {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--c9b7ff);
  background: #ffffff;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: #f9fafb;
}

.btn:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  padding: 10px 20px;
  border-radius: 18px;
  border: 1px solid var(--c9b7ff);
  background: #1c7546;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
  background: #1976d2;
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn-secondary {
  padding: 12px 24px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #1976d2;
}

.btn-secondary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* =========================
   Top Navigation Bar
   ========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* =========================
   Drawer Overlay
   ========================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

/* =========================
   Drawer (Left Menu)
   ========================= */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: #ffffff;
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-103%);
  transition: transform 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Drawer Header */
.drawer-header {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}

.drawer-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1f2937;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
}

.drawer-close:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

/* Drawer Body */
.drawer-body {
  padding: 14px;
  overflow-y: auto;
}

/* Navigation Links */
.drawer-nav {
  display: grid;
  gap: 8px;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #1f2937;
  font-weight: 650;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drawer-link:hover {
  background: #f4f9ff;
  border-color: rgba(30, 136, 229, 0.4);
  color: #1f2937;
}

.drawer-link:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

.drawer-link.active {
  background: var(--primary-soft);
  border-color: rgba(30, 136, 229, 0.6);
}

/* Drawer CTA */
.drawer-cta {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.drawer-cta p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* =========================
   Open State
   ========================= */
body.drawer-open {
  overflow: hidden;
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .drawer {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .header {
    padding: 20px 10px;
  }
  .site-title {
    font-size: 1.0rem; /* doubled from 1.15rem */
  }

  .logo {
    width: auto; /* doubled from 120px */
    height: 20px;
    margin-top: 4px;
  }
  .topbar-actions .btn {
    min-height: 20px;
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    border-radius: 10px;    
    max-width: 80px; 
    max-height: 50px; 
  }
  .btn-primary {
  padding: 8px 16px;
  border-radius: 12px;
  border: none;
  background: #1c7546;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  }
}