@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --navy: #062b63;
  --green: #6b8e23;
  --gold: #d59b18;
  --light-bg: #f7f7f5;
  --text: #1c1c1c;
}

/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background-color: white;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  /* padding: 1rem 5%; */

  padding-left: 8rem;
  
  background-color: white;
  border-bottom: 3px solid var(--green);

  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;

  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
}

.logo img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo a span {
    font-size: 2rem; /* adjust as needed */
    font-weight: bold;
    line-height: 1;
}

.navbar nav {
  display: flex;
  gap: 2rem;
}

.navbar a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: 0.3s;
}

.navbar a:hover {
  color: var(--green);
}

/* HERO */
.hero {
  min-height: 92vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 5rem 2rem;

  background:
    linear-gradient(
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.92)
    ),
    url("hp.png");

  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 850px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--navy);

  letter-spacing: 3px;
  text-transform: uppercase;

  margin-bottom: 0.5rem;
}

.hero-content p:first-of-type {
  font-size: 1.2rem;
  font-weight: 700;

  color: var(--green);

  text-transform: uppercase;
  letter-spacing: 2px;

  margin-bottom: 2.5rem;
}

/* SLOGAN */
.hero-content p:nth-of-type(2) {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;

  color: var(--navy);

  line-height: 1.2;
  letter-spacing: 2px;

  margin-bottom: 3rem;
}

.hero-content p:nth-of-type(2)::after {
  content: "";
  display: block;

  width: 140px;
  height: 5px;

  background-color: var(--green);

  margin: 2rem auto 0;
}

/* BUTTON */
.btn {
  display: inline-block;

  padding: 1rem 2.2rem;

  background-color: var(--green);
  color: white;

  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;

  border-radius: 999px;

  transition: 0.3s;
}

.btn:hover {
  background-color: var(--navy);
  transform: translateY(-3px);
}

/* SECTIONS */
.section {
  padding: 6rem 8%;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3rem);

  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;

  color: var(--navy);

  margin-bottom: 2rem;

  text-align: center;
}

/* ABOUT */
#about {
  background-color: white;
}

#about p {
  max-width: 900px;

  margin: auto;

  font-size: 1.15rem;
  font-weight: 500;

  line-height: 2;

  text-align: center;
}
#about p:last-of-type {
  margin-top: 2rem;

  color: var(--green);

  font-size: 1.3rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1px;

  text-align: center;
}

/* ISSUES */
.light {
  background-color: var(--light-bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 2rem;

  margin-top: 4rem;
}

.card {
  background-color: white;

  padding: 2.5rem;

  border-top: 8px solid;

  border-radius: 18px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.08);

  transition: 0.3s;
}
/* EVERY BLOCK */
.card:nth-child(1) {
  border-color: var(--navy);
}

/* EVERY BUSINESS */
.card:nth-child(2) {
  border-color: var(--green);
}

/* EVERY FAMILY */
.card:nth-child(3) {
  border-color: var(--gold);
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: var(--navy);

  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;

  margin-bottom: 1.5rem;

  text-transform: uppercase;
}

.card p {
  line-height: 2;
  font-weight: 500;
  text-align: center;
}

/* TOGETHER TEXT */
.light > p:last-child {
  text-align: center;

  margin-top: 4rem;

  font-size: 1.3rem;
  font-weight: 800;

  color: var(--navy);

  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CONTACT */
#contact {
  text-align: center;
}

#contact p {
  font-size: 1.15rem;
  line-height: 2.2;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background-color: var(--navy);

  color: white;

  text-align: center;

  padding: 2rem;

  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* MOBILE */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content p:nth-of-type(2) {
    font-size: 2.2rem;
  }

  .section {
    padding: 4rem 6%;
  }

}
.slogan span:nth-child(1) {
  color: var(--navy);
}

.slogan span:nth-child(3) {
  color: var(--green);
}

.slogan span:nth-child(5) {
  color: var(--gold);
}

.slogan span {
  display: inline-block;
  white-space: nowrap;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;

  margin-top: 2rem;
}

.socials a {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background-color: var(--navy);
  color: white;

  font-size: 1.4rem;

  text-decoration: none;

  transition: 0.3s;
}

.socials a:hover {
  background-color: var(--green);

  transform: translateY(-4px);
}
/* VOTE BADGE */
.vote-badge {
  position: absolute;

  top: 18px;
  left: 20px;

  width: 95px;
  height: 95px;

  background: var(--gold);

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  transform: rotate(22.5deg);

  z-index: 2000;

  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Creates the 8-point burst */
.vote-badge::before {
  content: "";

  position: absolute;
  inset: 0;

  background: var(--gold);

  transform: rotate(45deg);

  z-index: -1;
}

.vote-badge span {
  transform: rotate(-22.5deg);

  color: white;

  font-size: 0.9rem;
  font-weight: 900;

  line-height: 1.2;

  text-transform: uppercase;
  letter-spacing: 1px;
}
