
:root {
  --navy: #102d50;
  --blue: #1769aa;
  --orange: #f28c28;
  --light: #f4f7fb;
  --text: #263449;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: white;
}

.header {
  min-height: 75px;
  padding: 15px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
}

.brand {
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.brand span {
  color: var(--orange);
}

nav, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

nav a, .footer-links a {
  color: var(--navy);
  text-decoration: none;
}

.hero {
  background: linear-gradient(120deg, #102d50, #1769aa);
  color: white;
  padding: 100px 8%;
}

.hero-content {
  max-width: 750px;
}

.eyebrow {
  color: var(--orange);
  font-weight: bold;
  letter-spacing: 1.5px;
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.15;
  margin: 20px 0;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.primary-btn, .secondary-btn {
  display: inline-block;
  padding: 13px 22px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

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

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

.calculator-section {
  background: var(--light);
  padding: 70px 20px;
}

.calculator-card {
  max-width: 650px;
  margin: auto;
  padding: 38px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 35px #102d5015;
}

.calculator-card h2 {
  color: var(--navy);
  font-size: 30px;
  margin: 10px 0;
}

.calculator-card label {
  display: block;
  margin-top: 20px;
  margin-bottom: 7px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccd5e0;
  border-radius: 7px;
  font-size: 16px;
  background: white;
}

.calculator-card > .primary-btn {
  width: 100%;
  margin-top: 25px;
}

.result {
  margin-top: 28px;
  padding: 24px;
  background: #edf5fc;
  border-radius: 10px;
}

.date-display {
  color: var(--blue);
  font-size: 30px;
  font-weight: bold;
  margin: 12px 0;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.disclaimer {
  margin-top: 25px;
  font-size: 13px;
  color: #697789;
}

.info-section {
  padding: 70px 8%;
}

.info-section h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 35px;
  font-size: 30px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-grid article {
  padding: 25px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.info-grid h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 35px 15px;
}

footer a {
  color: white !important;
}

.footer-links {
  justify-content: center;
  margin: 18px 0;
}

@media(max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 12px;
  }

  nav {
    justify-content: center;
    gap: 15px;
  }

  .hero {
    padding: 70px 7%;
  }

  .calculator-card {
    padding: 24px;
  }

  .date-display {
    font-size: 24px;
  }
}


/* HERO IMPROVEMENTS */

.hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, #102d50 0%, #1769aa 100%);
}

.hero-content {
  max-width: 850px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: #ffffff;
  font-size: 14px;
}

.hero-features span {
  display: inline-block;
}

/* FOOTER IMPROVEMENTS */

.site-footer {
  background: #102d50;
  color: #ffffff;
  padding: 55px 8% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 45px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  color: white;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-brand p {
  max-width: 340px;
  color: #d4dfed;
}

.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-navigation h3 {
  margin-bottom: 10px;
  color: #f28c28;
}

.footer-navigation a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer-navigation a:hover {
  color: #f28c28;
}

.footer-bottom {
  border-top: 1px solid #45617e;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: #d4dfed;
  font-size: 13px;
}

@media (max-width: 700px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    min-height: 380px;
    padding: 65px 7%;
  }

  .hero-features {
    flex-direction: column;
    gap: 8px;
  }
}
