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

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

body {
  font-family: 'Inter', sans-serif;
  background: #FEF4DF;
  color: #111;
  overscroll-behavior-y: none;
}

/* NAVBAR */
.navbar {
  background: #000;
  color: #fff;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  position: relative;       /* enables absolute centering */
}

/* Left section */
.nav-left {
  flex: 1;
}

/* Center is *absolutely centered* */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 24px;
  align-items: center;
}

/* Right section */
.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.logo {
  font-size: 15px;
  font-weight: 600;
}

.nav-center {
  display: flex;
  gap: 24px;
}

.nav-center a,
.nav-center .dropdown {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.9;
}

/* BUTTONS */
.btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: #FFB300;
  color: #000;
  padding: 7px 15px;   /* instead of 10px 22px → ~30% smaller */
  font-size: 0.85rem;  /* slightly smaller text */
  border-radius: 999px;
}

.btn-secondary {
  background: #E5E5E5;
  color: #333;
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px 40px;
}

.hero-today h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtext {
  font-size: 1.55rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 24px;
}

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

.hero-image {
  width: 100vw;              /* full browser width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;       /* pull it outside the centered layout */
  overflow: hidden;          /* hide cropped parts */
}

.hero-image img {
  width: 100%;
  height: 550px;             /* adjust: 350–600px works well */
  object-fit: cover;         /* crop top+bottom automatically */
  object-position: center;   /* center the crop (you can change this) */
  display: block;
}


@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .nav-center { display: none; }
  .hero { padding: 60px 20px; }
  .hero-today h1 { font-size: 2.1rem; }
}


.compare {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 0 20px;          /* no inner box look */
  background: transparent;  /* no white background */
  box-shadow: none;         /* remove card shadow */
  text-align: center;
}


.compare h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #505050;
}

.compare-text {
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05rem;
}


.compare-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.compare-form label {
  font-size: 0.9rem;
  font-weight: 500;
}

.compare-form input[type="date"] {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #d4d4d4;
  font-size: 1rem;
}


.compare-result {
  font-size: 1.25rem;         /* bigger */
  font-weight: 600;           /* semi-bold */
  color: #111;                
  margin-top: 16px;
  line-height: 1.5;
}

/* Emphasize the actual difference (number + word) */
#compare-diff,
#compare-word {
  font-weight: 700;           /* bold */
  color: #d86222;             /* your primary yellow */
}


@media (max-width: 768px) {
  .compare {
    margin: 24px 16px 32px;
    padding: 24px 20px;
  }

  .compare-form {
    align-items: flex-start;
  }
}

.donate {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
}

.donate h2 {
  margin-bottom: 0.75rem;
}

.donate p {
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.donate-btn {
  text-decoration: none;
}

