@font-face {
  font-family: 'Bebas Kai';
  src: url('fonts/bebas-kai.woff2') format('woff2'),
    url('fonts/bebas-kai.woff') format('woff'),
    url('fonts/bebas-kai.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('CormorantGaramond-Italic.eot');
  src: url('CormorantGaramond-Italic.eot?#iefix') format('embedded-opentype'),
    url('CormorantGaramond-Italic.woff2') format('woff2'),
    url('CormorantGaramond-Italic.woff') format('woff'),
    url('CormorantGaramond-Italic.ttf') format('truetype'),
    url('CormorantGaramond-Italic.svg#CormorantGaramond-Italic') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

* {

  --primary-font-family: "Bebas-kai", sans-serif;
  --primary-color: #145A44;
  --secondary-color: #2A7A60;


}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 35px;
}

h2 {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 28px;

}

h5 {
  font-family: var(--primary-font-family);
  font-size: 25px;
}

/* Header and Nav styles moved to common.css */


/* ── HERO ── */
.page-hero {
  text-align: center;
  padding: 60px 0px 20px;
}

.page-hero h1 {
  font-family: var(--primary-font-family);
  font-size: 35px;
  font-weight: 400;

}

/* ── CONTACT CARDS ── */
.section-contact {
  padding: 50px 40px;
}

.contact-card {
  border: 1px solid #E3E6D9;
  border-radius: 10px;
  min-height: 330px;
  height: auto;
  padding: 30px;
  max-width: 550px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-card.availability-card {
  background: #F5F7EF;
  border: 1px solid #E3E6D9;
  border-top: 20px solid var(--primary-color);
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d0d5d1;
}

.card-title-row h5 {
  font-family: var(--primary-font-family);
  color: var(--primary-color);
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

.contact-item {
  padding: 12px 0;
  border-bottom: 1px solid #e5e8e6;
  font-size: 0.95rem;
}

.contact-item:last-child {
  border-bottom: none;
}


.avail-subtitle {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.avail-note {
  font-size: 16px;

}


/* ── FUNDING ── */
.section-funding {
  padding: 90px 0px;
}

.section-heading {
  font-family: var(--primary-font-family);
  font-size: 35px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 60px;
}

.funding-card {
  background: #F5F7EF;
  border-radius: 10px;
  border: 1px solid #dde2dd;
  padding: 36px 24px 120px;
  height: 290px;
  text-align: center;
  /* width: 410px;
      height: 290px; */
  position: relative;
  overflow: hidden;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.funding-card::after {
  content: '';
  display: block;
  height: 20px;
  background: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 10px 10px;
}

.funding-logo {

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.funding-logo img {
  display: flex;
  display: column;
  margin-top: 30px;
  object-fit: contain;
}




.funding-card h6 {
  font-size: 25px;
  font-family: var(--primary-font-family);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.funding-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}


/* ── ANIMATIONS ONLY ── */

.page-hero h1 {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.7s ease forwards 0.1s;
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  opacity: 0;
  transform: translateY(40px);
}

.contact-card.in-view {
  animation: fadeUp 0.65s ease forwards;
  animation-delay: var(--delay, 0s);
}

.funding-card {
  opacity: 0;
  transform: translateY(40px);
}

.funding-card.in-view {
  animation: fadeUp 0.65s ease forwards;
  animation-delay: var(--delay, 0s);
}

.funding-logo img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.funding-card:hover .funding-logo img {
  transform: scale(1.1) translateY(-4px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Footer styles are in common.css */

/* ══════════════════════════════
   CONTACT PAGE RESPONSIVE
══════════════════════════════ */

/* ── Tablets (max 991px) ── */
@media (max-width: 991px) {
  .section-contact {
    padding: 40px 20px;
  }

  .contact-card {
    max-width: 100%;
    min-height: auto;
    padding: 24px;
  }

  .section-funding {
    padding: 50px 15px;
  }

  .section-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .funding-card {
    height: auto;
    min-height: 260px;
    padding: 28px 20px 80px;
  }
}

/* ── Mobile (max 767px) ── */
@media (max-width: 767px) {
  .page-hero {
    padding: 40px 15px 15px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .section-contact {
    padding: 30px 15px;
  }

  .contact-card {
    max-width: 100%;
    min-height: auto;
    padding: 20px;
  }

  .card-title-row h5 {
    font-size: 20px;
  }

  .contact-item {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .section-funding {
    padding: 40px 15px;
  }

  .section-heading {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .funding-card {
    height: auto;
    min-height: 240px;
    padding: 24px 18px 70px;
  }

  .funding-card h6 {
    font-size: 20px;
  }
}

/* ── Very small (max 380px) ── */
@media (max-width: 380px) {
  .section-contact {
    padding: 20px 10px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-item {
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .avail-note {
    font-size: 13px;
  }
}