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

:root {
  --primary: #0B5D4E;
  --primary-dark: #063D33;
  --primary-light: #12826E;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --bg-slate: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #FFF;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background-color: rgba(11, 93, 78, 0.05);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #063D33 0%, #0B5D4E 50%, #12826E 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(217,119,6,0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.15);
  color: #E6F4F1;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h2 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.btn-gold {
  background-color: var(--accent);
  color: #FFF;
}
.btn-gold:hover {
  background-color: #B45309;
}

/* Page Header for Legal / Inner pages */
.page-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #CBD5E1;
  font-size: 0.98rem;
}

/* Main Container */
.content-wrapper {
  max-width: 900px;
  margin: -2rem auto 4rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* Feature Grid */
.features-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Legal Documents Style */
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #E6F4F1;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 1.25rem 0 0.5rem;
}

.legal-content p, .legal-content li {
  font-size: 0.98rem;
  color: #334155;
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-box {
  background-color: #F0FDF4;
  border-left: 4px solid #16A34A;
  padding: 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.legal-box.alert {
  background-color: #FFFBEB;
  border-left-color: #D97706;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: #FFF;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 93, 78, 0.15);
}

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

.status-message {
  display: none;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.status-message.success {
  display: block;
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.status-message.error {
  display: block;
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Footer */
footer {
  background-color: #04241E;
  color: #94A3B8;
  padding: 3.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.75rem;
}

/* Nav Toggle (Mobile Hamburger) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.navbar.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-download-item {
  display: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }
  .desktop-download {
    display: none !important;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.25rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
  }
  .navbar.menu-open .nav-links {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
  }
  .mobile-download-item {
    display: block !important;
    padding-top: 1.25rem !important;
    border-bottom: none !important;
  }
  .mobile-download-item .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    font-size: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  
  .page-header {
    padding: 2.5rem 1.25rem 3.5rem;
  }
  .page-header h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .page-header p {
    font-size: 0.92rem;
  }
  
  .content-wrapper {
    margin-top: -1.75rem;
    padding: 0 1rem;
  }
  .card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand-text h1 {
    font-size: 1.05rem;
  }
  .brand-text span {
    display: none;
  }
  .page-header h1 {
    font-size: 1.55rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .card {
    padding: 1.25rem 1rem;
  }
  .form-control {
    font-size: 16px !important;
  }
}
