/*
 * Mernda Reformed Church
 * Core Design System & Styling
 * Exact Green Color Scheme:
 *   --primary: #40463f (Dark Slate Charcoal)
 *   --accent: #bdcf60 (Lime Green Accent)
 *   --secondary: #828756 (Sage Green)
 *   --dark-olive: #424c3e (Deep Moss)
 *   --olive: #81864f (Olive Green)
 *   --white: #ffffff
 *   --light-gray: #f7f8f6
 *   --border-color: #e2e4e0
 */

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

:root {
  --primary: #40463f;
  --primary-rgb: 64, 70, 63;
  --accent: #bdcf60;
  --accent-hover: #a8bc4f;
  --accent-rgb: 189, 207, 96;
  --secondary: #828756;
  --dark-olive: #424c3e;
  --olive: #81864f;
  --white: #ffffff;
  --light-gray: #f8f9f7;
  --border-color: #e5e8e3;
  --text-dark: #2c312b;
  --text-muted: #5e665c;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

/* Core Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-alt {
  background-color: var(--light-gray);
}

.text-center {
  text-align: center;
}

.max-w-md {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header.sticky {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height var(--transition-normal);
}

.header.sticky .nav-container {
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-normal);
}

.header.sticky .logo-img {
  height: 44px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-item a {
    font-size: 0.85rem;
  }
}

.nav-item a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-normal);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast) !important;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--dark-olive);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(189, 207, 96, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(189, 207, 96, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--dark-olive);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--light-gray);
  z-index: 1;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  width: 85%;
  height: 80%;
  background: radial-gradient(circle, rgba(189,207,96,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  position: relative;
  animation: pulse 8s ease-in-out infinite;
}

.hero-graphic::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  right: 15%;
  bottom: 15%;
  border: 1px dashed var(--secondary);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(189, 207, 96, 0.15);
  color: var(--dark-olive);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
}

.hero h1 span {
  color: var(--secondary);
  background: linear-gradient(120deg, var(--secondary) 0%, var(--olive) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(189, 207, 96, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary);
  font-size: 1.25rem;
  border: 1px solid rgba(189, 207, 96, 0.25);
}

.info-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.info-details p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
}

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--light-gray);
  transition: all var(--transition-normal);
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover .card-icon {
  border-color: var(--accent);
  transform: scale(1.05);
}

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

.card p {
  margin: 0;
}

/* Relationship Section */
.relationship-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.relationship-image {
  background-color: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.relationship-logo-wrapper {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.parent-logo-img {
  max-width: 180px;
  height: auto;
  opacity: 0.95;
}

.badge-parent {
  position: absolute;
  top: -15px;
  left: 40px;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Schedule Widget styling */
.schedule-widget {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
}

.schedule-header {
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
}

.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--light-gray);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.schedule-date:hover {
  background-color: rgba(189, 207, 96, 0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.schedule-date.highlight {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.schedule-date.highlight .date-month {
  color: var(--accent);
}

.schedule-date.highlight .date-day {
  color: var(--white);
}

.date-month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.date-day {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
}

.date-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.schedule-date.highlight .date-note {
  color: rgba(255, 255, 255, 0.7);
}

.schedule-footer {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-olive) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(189, 207, 96, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* Accordion for Creeds & Confessions */
.accordion {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
  background-color: var(--white);
  user-select: none;
}

.accordion-header:hover {
  background-color: var(--light-gray);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--secondary);
  transition: all var(--transition-normal);
}

.accordion-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.accordion-item.active .accordion-header {
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(189, 207, 96, 0.05);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--accent);
  color: var(--primary);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal) ease-in-out;
}

.accordion-item.active .accordion-content {
  padding: 2.5rem 2rem;
  max-height: 2000px;
}

.accordion-body {
  color: var(--text-muted);
}

.accordion-body h4 {
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.accordion-body h4:first-child {
  margin-top: 0;
}

.accordion-body blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--primary);
}

/* Document download buttons */
.doc-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.doc-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--light-gray);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.doc-btn:hover {
  background-color: var(--white);
  border-color: var(--accent);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.doc-icon {
  color: var(--secondary);
  font-size: 1.25rem;
}

/* Team Grid and details */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
}

.team-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.team-header-decor {
  height: 12px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.team-avatar-wrapper {
  margin: 2.5rem auto 1.5rem auto;
  position: relative;
  display: flex;
  justify-content: center;
}

.team-avatar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: var(--light-gray);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 3rem;
  overflow: hidden;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(130, 135, 86, 0.1);
  color: var(--secondary);
  font-weight: 700;
  font-family: var(--font-heading);
}

.team-info {
  padding: 0 2.5rem 2.5rem 2.5rem;
  text-align: center;
  flex-grow: 1;
}

.team-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.team-bio {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Giving Elements */
.giving-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.giving-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.giving-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.giving-card h3 {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.giving-instruction {
  background-color: var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--secondary);
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.bank-detail-row:last-child {
  margin-bottom: 0;
}

.bank-label {
  font-weight: 600;
  color: var(--primary);
}

.bank-value {
  font-family: monospace;
  font-size: 1.05rem;
  background-color: rgba(0,0,0,0.03);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.notice-box {
  background-color: rgba(189, 207, 96, 0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 3rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.notice-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

/* Contact Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(189, 207, 96, 0.15) 0%, rgba(130, 135, 86, 0.1) 100%);
  border: 1px solid rgba(189, 207, 96, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-item-details p {
  margin: 0;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(189, 207, 96, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-wrapper {
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 3rem;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  padding: 8px;
  border-radius: var(--radius-sm);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.1;
}

.footer-logo-text span {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-info-item {
  display: flex;
  gap: 1rem;
}

.footer-info-icon {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 24px;
  display: flex;
  justify-content: center;
}

.footer-info-details p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Utility Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-bg {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
  }
  
  .hero-graphic {
    width: 60%;
    height: 60%;
  }
  
  .hero {
    min-height: auto;
    padding-bottom: 6rem;
  }
  
  .relationship-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  
  .header.sticky .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .cta-block {
    padding: 4rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid > * {
    grid-column: span 1 !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
