/* ========== Global CSS Tokens (Design System) ========== */
:root {
  --primary-maroon: #800000;
  --dark-maroon: #4b0000;
  --accent-gold: #B8860B;
  --gold: #B8860B;
  --neutral-light: #f8f8f8;
  --neutral-dark: #333333;
  --white: #ffffff;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
}

/* ========== Reset & Base Styles ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  line-height: 1.6;
}

/* Video background body - transparent to show videos */
body.has-video-bg {
  background-color: transparent;
}

a {
  color: var(--primary-maroon);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
  outline: none;
}

/* ========== VIDEO WALL BACKGROUND ========== */
.video-wall-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: #1a0000;
}

.video-wall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 0, 0, 0.7);
  z-index: 2;
}

/* Mobile: Single fullscreen video */
.video-wall-single {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.6;
  z-index: 1;
}

/* Desktop: 4x3 Grid */
.video-wall-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  z-index: 1;
}

.video-wall-cell {
  position: relative;
  overflow: hidden;
  background: #1a0000;
}

.video-wall-cell video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.video-wall-cell video:not([src=""]) {
  opacity: 0.6;
}

/* Ensure all page content appears above video wall */
body.has-video-bg header,
body.has-video-bg main,
body.has-video-bg footer,
body.has-video-bg .page-container,
body.has-video-bg .modal-overlay {
  position: relative;
  z-index: 10;
}

body.has-video-bg .page-container {
  background: rgba(248, 248, 248, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.has-video-bg footer {
  background: var(--dark-maroon);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

p {
  margin-bottom: var(--spacing-md);
}

/* ========== Layout ========== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-md);
}

/* Page container - standard content wrapper for interior pages */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 2rem 4rem;
  text-align: center;
}

/* Wider page container for pages needing more width */
.page-container.wide {
  max-width: 1100px;
}

/* Login/Signup containers */
.login-container,
.signup-container {
  max-width: 500px;
  margin: 120px auto 4rem;
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary-maroon);
}

/* Status page container (payment success/cancel) */
.status-page-container {
  max-width: 600px;
  margin: 120px auto 4rem;
  padding: 3rem 2rem;
  text-align: center;
}

/* ========== Header & Navigation ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark-maroon);
  padding: 1rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-container nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
}

.nav-container a {
  color: var(--white);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.nav-container a:hover,
.nav-container a:focus {
  background-color: var(--gold);
  color: var(--dark-maroon);
  outline: none;
  text-decoration: none;
}

.nav-account {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--neutral-light);
  margin: 5px 0;
  transition: 0.4s;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--primary-maroon) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 80px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  color: white;
}

.hero p {
  color: white;
  font-size: 1.25rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  object-fit: cover;
  z-index: 0;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Content cards */
.content-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

/* Legal content pages */
.page-container.legal-content {
  text-align: left;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-container.legal-content h1 {
  text-align: center;
}

.page-container.legal-content .section-intro {
  text-align: center;
  margin-bottom: 2rem;
}

/* ========== Buttons ========== */
.cta-button {
  background: var(--accent-gold);
  color: var(--dark-maroon);
  border: 2px solid var(--accent-gold);
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-button:hover {
  background: #9A7209;
  border-color: #9A7209;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
  text-decoration: none;
}

/* Secondary CTA - outlined style */
.cta-button-outline {
  background: transparent;
  color: var(--primary-maroon);
  border: 2px solid var(--primary-maroon);
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-button-outline:hover {
  background: var(--primary-maroon);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--dark-maroon);
  border: 2px solid var(--accent-gold);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: #9A7209;
  border-color: #9A7209;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-maroon);
  border: 2px solid var(--primary-maroon);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary-maroon);
  color: white;
  transform: translateY(-2px);
}

/* ========== Sections ========== */
.trust-section,
.diploma-preview {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-section h2,
.diploma-preview h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--neutral-dark);
  margin-bottom: 3rem;
}

/* ========== Icons Grid ========== */
.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.icon-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.icon-card img {
  width: 225px;
  height: 225px;
  margin-bottom: 1.5rem;
}

.icon-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.icon-card p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* ========== Icons Fix (Remove white box) ========== */
.icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ========== Profile Picture (PFP) ========== */
.pfp-wrapper {
  display: inline-block;
  box-shadow: 0 0 0 2px var(--gold);
  border-radius: 50%;
  overflow: hidden;
  width: 42px;
  height: 42px;
}

.pfp-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* ========== Diploma Preview ========== */
.diploma-container {
  text-align: center;
}

.video-placeholder {
  background: #e5e5e5;
  padding: 8rem 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  color: var(--neutral-dark);
}

/* ========== Diploma Carousel ========== */
.diploma-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.diploma-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: diplomaFade 24s infinite;
}

.diploma-carousel img:nth-child(1) { animation-delay: 0s; }
.diploma-carousel img:nth-child(2) { animation-delay: 4s; }
.diploma-carousel img:nth-child(3) { animation-delay: 8s; }
.diploma-carousel img:nth-child(4) { animation-delay: 12s; }
.diploma-carousel img:nth-child(5) { animation-delay: 16s; }
.diploma-carousel img:nth-child(6) { animation-delay: 20s; }

@keyframes diplomaFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  16.67% { opacity: 1; }
  20.67% { opacity: 0; }
  100% { opacity: 0; }
}

.diploma-carousel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
  pointer-events: none;
}

/* ========== Footer ========== */
footer {
  background: var(--primary-maroon);
  color: var(--white);
  padding: 3rem 2rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

footer a {
  color: var(--white);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.disclaimer {
  font-size: 0.9rem;
  margin: 2rem 0 1rem 0;
  opacity: 0.9;
}

/* ========== Modal ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--neutral-dark);
  line-height: 1;
}

.close-modal:hover {
  color: var(--primary-maroon);
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.modal-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* ========== Responsive Media Queries ========== */
@media (max-width: 768px) {
  header {
    padding: 0.75rem 1rem;
  }

  .nav-container {
    justify-content: space-between;
  }
  
  .nav-container nav {
    display: none;
  }
  
  .pfp-wrapper {
    order: 1;
    margin-right: var(--spacing-sm);
  }
  
  .hamburger {
    display: block;
    order: 2;
  }

  .hero {
    height: 500px;
    margin-top: 70px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Video wall mobile adjustments */
  .video-wall-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

/* ========== NEW HEADER STYLES ========== */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 220px;
}

/* Nav buttons base - all use Playfair */
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}

/* Primary CTA button - solid gold (Verify a License, Start HERE) */
.nav-btn-gold {
  background: var(--accent-gold);
  color: var(--dark-maroon);
  border: 2px solid var(--accent-gold);
}

.nav-btn-gold:hover {
  background: #9A7209;
  border-color: #9A7209;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
  text-decoration: none;
  color: var(--dark-maroon);
}

/* Secondary button - outlined (Login) */
.nav-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent-gold);
}

.nav-btn-outline:hover {
  background: var(--accent-gold);
  color: var(--dark-maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
  text-decoration: none;
}

/* Plain text nav links - Playfair with elegant underline */
.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link:hover {
  color: var(--accent-gold) !important;
  background: transparent !important;
  text-decoration: none;
}

.nav-link:hover::after {
  width: 80%;
}

/* Account dropdown */
.account-dropdown-container {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.account-trigger:hover {
  background: var(--accent-gold);
  color: var(--dark-maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.account-trigger svg {
  stroke: currentColor;
}

.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.account-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-dropdown .dropdown-item {
  display: block;
  padding: 12px 16px;
  color: var(--neutral-dark) !important;
  font-weight: 500;
  transition: background 0.2s ease;
}

.account-dropdown .dropdown-item:hover {
  background: var(--neutral-light);
  color: var(--primary-maroon) !important;
  text-decoration: none;
}

.account-dropdown .dropdown-item.logout {
  color: var(--primary-maroon) !important;
  border-top: 1px solid #eee;
}

.dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 4px 0;
}

/* ========== NEW FOOTER STYLES ========== */
footer {
  background: var(--dark-maroon);
  color: var(--white);
  padding: 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

/* Centered layout: column - seal - column */
.footer-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-seal-center {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.footer-seal-center img {
  width: 200px;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-seal-center img:hover {
  opacity: 1;
}

/* Legacy 3-column layout (fallback) */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: left;
}

.footer-column h4 {
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

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

.footer-column a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

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

.footer-seal img {
  width: 140px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-seal img:hover {
  opacity: 1;
}

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

.footer-disclaimer p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-seal-center {
    order: -1;
    padding: 0 0 1rem;
  }
  
  .footer-seal-center img {
    width: 160px;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-column h4 {
    text-align: center;
  }
  
  .footer-seal img {
    width: 120px;
  }
  
  .footer-container {
    padding: 3rem 1.5rem 1.5rem;
  }
}

/* ========== HAMBURGER MENU ========== */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
    order: 3;
  }
  
  .nav-container nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-maroon);
    padding: 1rem;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
  
  .nav-container nav.mobile-active {
    display: block;
  }
  
  .nav-container nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .nav-account {
    order: 2;
  }
}
