/* 
   NEWFIT (New Foundations In Technology) - Main Stylesheet
   Color Palette: Deep Navy (#0A2540), Regal Gold (#D4AF37), Pure White (#FFFFFF), Slate Dark (#1E293B)
*/

:root {
  --navy-primary: #0A2540;
  --navy-light: #1E3A8A;
  --navy-dark: #061729;
  --gold-primary: #D4AF37;
  --gold-hover: #B59325;
  --gold-light: #FFF8E7;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(10,37,64,0.08);
  --shadow-lg: 0 10px 25px rgba(10,37,64,0.12);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background-color: var(--navy-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-info i {
  color: var(--gold-primary);
}

.divider {
  opacity: 0.4;
}

.top-motto strong {
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

/* HEADER NAV */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-badge {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: 1.5px;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.nav-menu ul {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-primary);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold-primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-primary);
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-donate {
  background-color: var(--gold-primary);
  color: var(--navy-dark);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.3);
}

.btn-donate:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--navy-primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--navy-light);
}

.btn-gold {
  background-color: var(--gold-primary);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
}

.btn-gold-lg {
  background-color: var(--gold-primary);
  color: var(--navy-dark);
  padding: 14px 36px;
  font-size: 1.1rem;
}

.btn-gold-lg:hover {
  background-color: var(--gold-hover);
  transform: scale(1.03);
}

.btn-navy {
  background-color: var(--navy-primary);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-light);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* HERO SLIDER */
.hero-section {
  position: relative;
  background-color: var(--navy-dark);
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 520px;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.65) 60%, rgba(10,37,64,0.3) 100%);
  display: flex;
  align-items: center;
}

.slide-content {
  color: var(--white);
  max-width: 650px;
}

.badge-gold {
  background-color: var(--gold-primary);
  color: var(--navy-dark);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}

.badge-white {
  background-color: var(--white);
  color: var(--navy-primary);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 25px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* SLIDER CONTROLS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 37, 64, 0.6);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.slider-btn:hover {
  background: var(--gold-primary);
  color: var(--navy-dark);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background: var(--gold-primary);
  width: 30px;
  border-radius: 6px;
}

/* MISSION SECTION */
.mission-section {
  padding: 80px 0;
  background-color: var(--white);
}

.section-tag {
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.mission-text-box h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--navy-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.mission-quote {
  font-size: 1.15rem;
  color: var(--text-dark);
  background-color: var(--gold-light);
  border-left: 5px solid var(--gold-primary);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 25px;
  font-style: italic;
  font-weight: 500;
}

.mission-motto-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--navy-primary);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
}

.mission-motto-box i {
  font-size: 2.2rem;
  color: var(--gold-primary);
}

.mission-motto-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.mission-motto-box p {
  font-size: 1.3rem;
  font-weight: 800;
}

.mission-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-pillar {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--navy-primary);
  transition: var(--transition);
}

.feature-pillar:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold-primary);
}

.pillar-icon {
  background: var(--navy-primary);
  color: var(--gold-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-pillar h3 {
  font-size: 1.15rem;
  color: var(--navy-primary);
  margin-bottom: 4px;
}

.feature-pillar p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* STATS BAR */
.stats-bar {
  background: var(--navy-primary);
  color: var(--white);
  padding: 40px 0;
  border-top: 3px solid var(--gold-primary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* PROGRAMS SECTION */
.programs-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--navy-primary);
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-wide {
  grid-column: span 2;
}

.program-header {
  padding: 25px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 15px;
}

.color-blue { background: linear-gradient(135deg, var(--navy-primary), var(--navy-light)); }
.color-gold { background: linear-gradient(135deg, #B59325, var(--gold-primary)); color: var(--navy-dark); }
.color-dark { background: linear-gradient(135deg, #1E293B, var(--navy-dark)); }

.program-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.program-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.program-body {
  padding: 25px;
  flex-grow: 1;
}

.program-body p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.65;
}

.program-footer {
  padding: 15px 25px;
  background-color: #F1F5F9;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-primary);
  text-transform: uppercase;
}

.program-tagline {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-primary);
  font-style: italic;
}

.card-btn {
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-btn:hover {
  color: var(--gold-primary);
}

/* DONATION BANNER */
.donation-cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary));
  color: var(--white);
  padding: 70px 0;
  border-top: 4px solid var(--gold-primary);
  border-bottom: 4px solid var(--gold-primary);
}

.donation-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.donation-cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 30px auto;
}

/* CONTACT SECTION */
.contact-section {
  padding: 90px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-box h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--navy-primary);
  margin-bottom: 15px;
}

.contact-info-box p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.c-icon {
  background: var(--gold-light);
  color: var(--gold-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--gold-primary);
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--navy-primary);
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--navy-light);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--gold-primary);
}

.contact-form-box {
  background: var(--bg-light);
  padding: 35px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-form-box h3 {
  font-family: var(--font-heading);
  color: var(--navy-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

/* FOOTER */
.main-footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-logo-main {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.f-logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-brand p {
  opacity: 0.75;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-primary);
}

.footer-contact p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  background-color: #030D18;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hosting-credit a {
  color: var(--gold-primary);
  font-weight: 700;
  text-decoration: underline;
}

.hosting-credit a:hover {
  color: var(--white);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .mission-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .program-card-wide {
    grid-column: span 1;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    display: none;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-toggle {
    display: block;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .slider-container {
    height: 440px;
  }
}
