:root {
  --primary: #6b2d5c; /* Deep studio purple */
  --accent: #d4a373;  /* Warm gold */
  --dark: #2b2d42;
  --light: #f8f9fa;
  --white: #ffffff;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  color: var(--dark); 
  background: var(--light); 
  line-height: 1.6; 
}

/* Top Announcement Banner */
.banner { 
  background: var(--accent); 
  color: var(--dark); 
  text-align: center; 
  padding: 10px 20px; 
  font-weight: bold; 
}

/* Centered Navigation Header */
header { 
  background: var(--white); 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  padding: 20px 5%; 
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Centered Header Logo & Branding */
.logo-link { 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none; 
}

.logo-img {
  max-height: 130px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem; 
  font-weight: bold; 
  color: var(--primary); 
  text-align: center;
}

/* Centered Nav Links */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

nav a { 
  text-decoration: none; 
  color: var(--dark); 
  font-weight: 600; 
  font-size: 1.05rem;
  transition: color 0.2s;
}

nav a:hover, nav a.active { 
  color: var(--primary); 
}

/* Hero Section - Grid Stacking */
.hero { 
  display: grid;
  grid-template-areas: "hero-layer";
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  grid-area: hero-layer;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(107, 45, 92, 0.65), rgba(43, 45, 66, 0.8));
}

.hero-content {
  grid-area: hero-layer;
  z-index: 2;
  text-align: center;
  color: var(--white); 
  padding: 80px 20px;
  max-width: 850px;
}

.hero h1 { 
  font-size: 3.2rem; 
  margin-bottom: 15px; 
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero p { 
  font-size: 1.3rem; 
  max-width: 650px; 
  margin: 0 auto 25px; 
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* Buttons */
.btn { 
  display: inline-block; 
  background: var(--accent); 
  color: var(--dark); 
  padding: 12px 26px; 
  border-radius: 25px; 
  text-decoration: none; 
  font-weight: bold; 
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

/* Content Containers */
.container { 
  max-width: 1100px; 
  margin: 60px auto; 
  padding: 0 20px; 
}

.section-title { 
  text-align: center; 
  color: var(--primary); 
  margin-bottom: 40px; 
  font-size: 2rem; 
}

/* Alternating Feature Cards Layout */
.feature-cards-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-card-image {
  flex: 1;
  min-width: 40%;
  max-width: 50%;
  height: 320px;
  background: #eee;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card-content {
  flex: 1;
  padding: 40px;
}

.feature-card-content h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.feature-card-content div {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.7;
}

.card-btn {
  margin-top: 20px;
  font-size: 0.95rem;
  padding: 10px 22px;
}

/* Forms List Page Styling */
.forms-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 850px;
  margin: 0 auto;
}

.form-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-left: 6px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.form-card-info {
  flex: 1;
}

.form-card-info h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-card-info p {
  color: var(--dark);
  font-size: 1.05rem;
}

.form-card-action {
  flex-shrink: 0;
}

/* Location Cards Grid */
.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 25px; 
}

.location-card { 
  background: var(--white); 
  padding: 30px;
  border-radius: 12px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
  text-align: center; 
  border-top: 4px solid var(--primary); 
}

.location-card h3 { 
  color: var(--primary); 
  margin-bottom: 10px; 
}

/* Quote Box */
.quote-box { 
  background: #f0e6ed; 
  padding: 30px; 
  border-left: 5px solid var(--primary); 
  margin: 40px 0; 
  border-radius: 4px; 
  font-style: italic; 
  text-align: center; 
  font-size: 1.1rem; 
}

/* Footer */
footer { 
  background: var(--dark); 
  color: var(--white); 
  text-align: center; 
  padding: 40px 20px; 
  margin-top: 60px; 
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Ultra-compact sticky header on phones */
  header {
    padding: 8px 12px;
    gap: 6px;
  }

  .logo-link {
    gap: 4px;
  }

  .logo-img {
    max-height: 45px; /* Reduced from 90px so it doesn't block the screen */
  }

  .logo-text {
    font-size: 1.1rem;
  }

  nav {
    gap: 8px 12px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .banner {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  /* Page content mobile tweaks */
  .hero {
    min-height: 380px;
    padding: 50px 15px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .feature-card, 
  .feature-card:nth-child(even) {
    flex-direction: column;
  }

  .feature-card-image {
    width: 100%;
    max-width: 100%;
    height: 220px;
  }

  .feature-card-content {
    padding: 20px;
  }

  .form-card {
    flex-direction: column;
    align-items: flex-start;
  }
}