/* ========================================
   CSS Variables — Brand Colors
   ======================================== */
:root {
  --color-primary: #0b5ba1;
  --color-secondary: #007b30;
  --color-accent: #FDF6EC;
  --color-text-dark: #1A1A2E;
  --color-text-body: #4A4A68;
  --color-bg: #FFFFFF;
  --color-primary-dark: #094a85;
  --color-secondary-dark: #006328;
}

/* ========================================
   Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  line-height: 1.7;
}

h1, h2, h3 {
  color: var(--color-text-dark);
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Section Padding & Headers
   ======================================== */
.section-padding {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtext {
  color: var(--color-text-body);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(11, 91, 161, 0.3);
}

.btn-outline-light {
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  border-width: 2px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  padding: 12px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  padding: 6px 0;
}

.navbar.scrolled .navbar-logo {
  height: 48px;
}

.navbar-logo {
  height: 64px;
  transition: height 0.3s ease;
  width: auto;
}

.nav-link {
  font-weight: 600;
  color: var(--color-text-dark) !important;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary) !important;
}

.nav-cta {
  font-size: 0.9rem;
  padding: 10px 24px !important;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/hero.webp') center/cover no-repeat;
  text-align: center;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-section h1 {
  color: #fff;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subheading {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Services Section
   ======================================== */
.service-card {
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: 12px;
}

.service-card-body p {
  flex: 1;
  margin-bottom: 16px;
}

.service-link {
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--color-primary-dark);
}

.services-note {
  color: var(--color-text-body);
  font-size: 0.9rem;
  opacity: 0.7;
}

.services-note-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.services-note-link:hover {
  color: var(--color-primary-dark);
}

/* ========================================
   How It Works Section
   ======================================== */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step-content h3 {
  margin-bottom: 8px;
}

.how-it-works-img {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Why UnWinders Section
   ======================================== */
.feature-tile {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 36px 32px;
  height: 100%;
  transition: transform 0.3s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
}

.feature-tile h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
}

/* ========================================
   Early Access Section
   ======================================== */
.early-access-section {
  background: var(--color-primary);
  color: #fff;
}

.early-access-section .section-header h2 {
  color: #fff;
}

.early-access-section .section-subtext {
  color: rgba(255, 255, 255, 0.9);
}

.early-access-form {
  max-width: 560px;
}

.early-access-row {
  display: flex;
  gap: 12px;
}

.early-access-form .form-control {
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 1rem;
  border: none;
  flex: 1;
}

.early-access-btn {
  border-radius: 8px !important;
  font-weight: 600;
  padding: 14px 32px;
  color: var(--color-primary);
  white-space: nowrap;
}

.early-access-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.recaptcha-wrapper {
  display: flex;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .early-access-row {
    flex-direction: column;
  }
}

.form-message {
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  color: #d4edda;
}

.form-message.error {
  color: #f8d7da;
}

/* Contact form message colors */
#contact .form-message.success {
  color: var(--color-secondary);
}

#contact .form-message.error {
  color: #dc3545;
}

/* ========================================
   Contact Section
   ======================================== */
#contact .form-label {
  font-weight: 600;
  color: var(--color-text-dark);
}

.required {
  color: #dc3545;
  margin-left: 2px;
  font-size: 0.85em;
}

#contact .form-control,
#contact .form-select {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact .form-control:focus,
#contact .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(11, 91, 161, 0.15);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--color-text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 8px;
}

.footer-tagline {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

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

.footer-bottom a:hover {
  color: #fff;
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 767.98px) {
  h2 {
    font-size: 1.75rem;
  }

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

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

  .section-padding {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav-cta {
    margin-top: 12px;
    display: inline-block;
  }
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

