* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --background: #121212; /* deep black main background */
  --foreground: #f8f9fa; /* soft white text */
  --primary: #c5a46d; /* muted gold (main accent) */
  --secondary: #ffd700; /* bright gold (hover/highlights) */
  --card-bg: #1c1c1c; /* slightly lighter black for cards */
  --border: #2e2e2e; /* dark border for depth */
  --muted: #181818; /* muted black background */
  --footer-bg: #0d0d0d; /* footer deep black */
  --footer-text: #c5a46d; /* footer text in gold */
}

/* ---------------- FONTS ---------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Stencil", sans-serif;
}

.section-subtitle,
.form-card p,
.form-card label {
  font-family: "Bauer Bodoni", serif;
}

p,
li,
span,
a,
input,
textarea,
select,
button {
  font-family: "Times New Roman", serif;
}

@font-face {
  font-family: "Stencil";
  src: url("fonts/stencil.woff2") format("woff2"),
    url("fonts/stencil.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bauer Bodoni";
  src: url("fonts/bauerbodoni.woff2") format("woff2"),
    url("fonts/bauerbodoni.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
}
body {
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

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

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-desktop button {
  background: none;
  border: none;
  /* Fixed contrast - using proper foreground color for text */
  color: #334155;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.nav-desktop button:hover {
  /* Proper hover state with good contrast */
  color: var(--primary);
  background-color: rgba(8, 145, 178, 0.1);
}

.nav-desktop button.active {
  /* Active state with high contrast - white text on primary background */
  color: #ffffff;
  background-color: var(--primary);
  font-weight: 600;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.75rem;
  color: var(--foreground);
  cursor: pointer;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.mobile-nav button:hover {
  background-color: var(--muted);
}

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

.section-muted {
  background-color: rgba(241, 245, 249, 0.3);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

/* Hero Section */
.hero {
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #0e7490;
}

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

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Card Styles */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.card-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Grid Styles */
.grid {
  display: grid;
  gap: 2rem;
}

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

/* Form Styles */
/* Join Us Section */
.join-us {
  min-height: 100vh; /* full screen height */
  padding: 4rem 1rem;
  background: var(--background);

  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center; /* center vertically */
}

/* Form Card */
.form-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 100%;
  text-align: center;
}

/* Heading */
.form-card h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  position: relative;
}

.form-card h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Description */
.form-card p {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

/* Form Layout */
.form-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Inputs, Textarea, Dropdown */
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

/* Focus State */
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 6px rgba(107, 66, 38, 0.3);
}

/* Dropdown Styling */
.form-card select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml;utf8,<svg fill='%236B4226' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 1rem center;
  background-size: 1.2rem;
  cursor: pointer;
}

/* Button */
.form-card button {
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-card button:hover {
  background: var(--secondary);
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--muted);
  color: var(--muted-foreground);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Accordion Styles */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.accordion-trigger {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger:hover {
  background-color: var(--muted);
}

.accordion-content {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted-foreground);
}

.accordion-content.active {
  display: block;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s;
  z-index: 1000;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a,
.footer button {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer a:hover,
.footer button:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.slide-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stars */
.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.star {
  color: #fbbf24;
  font-size: 1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

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

  .section-title {
    font-size: 3rem;
  }

  .grid-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-md-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .grid-lg-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .section-title {
    font-size: 2rem;
  }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;

  background: linear-gradient(-45deg, 
              #0f0f0f, #0b3d2e, #b87333, #581845, #202020);
  background-size: 600% 600%;
  animation: gradientBG 25s ease infinite;
  overflow: hidden;
}

/* Flag overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, 
              rgba(255,153,51,0.2),   /* saffron */
              rgba(255,255,255,0.15), /* white */
              rgba(19,136,8,0.2),     /* green */
              rgba(0,0,128,0.2));     /* navy blue */
  background-size: 400% 400%;
  animation: flagWave 18s ease-in-out infinite;
  z-index: 1;
}

/* Keep hero content above overlay */
.hero > * {
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes flagWave {
  0% { background-position: 0% 50%; opacity: 0.2; }
  25% { background-position: 50% 50%; opacity: 0.35; }
  50% { background-position: 100% 50%; opacity: 0.25; }
  75% { background-position: 50% 50%; opacity: 0.35; }
  100% { background-position: 0% 50%; opacity: 0.2; }
}
