/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #222;
}

/* GLOBAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  width: 100%;
  height: 70px; /* fixed height on mobile */
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0;
}

/* LOGO - MOBILE FIRST */
.logo img {
  height: 50px;      /* safe fixed size for mobile */
  width: auto;
  display: block;
  margin-left: 10px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 20px;
}
/* NAVBAR LINK HOVER COLOR */
.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #00abf7; /* light blue */
}

/* BRAND LINK INTERACTIONS */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus,
a:active {
  color: #00abf7; /* brand light blue */

}
/* BRAND BUTTON INTERACTIONS */
button,
.cta-btn {
  transition: 
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* Hover */
button:hover,
.cta-btn:hover {
  border-color: #ff6e00;
  box-shadow: 0 0 0 2px rgba(255, 110, 0, 0.35);
}

/* Active / Pressed */
button:active,
.cta-btn:active {
  border-color: #ff6e00;
  box-shadow: 0 0 0 3px rgba(255, 110, 0, 0.5);
  transform: translateY(1px); /* subtle press effect */
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

/* HAMBURGER MENU */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;        /* above nav-links */
  color: #333;  
  margin-right: 10px;
}


/* =====================
   RESPONSIVE STYLES
===================== */

/* Tablet / Medium screens */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .logo img {
    height: 60px; /* slightly bigger on tablets */
  }
}

/* Desktop / Large screens */
@media (min-width: 1024px) {
  .navbar {
    height: 75px; /* taller navbar */
  }

  .logo img {
    height: 67.5px; /* 90% of navbar height */
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}

/* MOBILE NAVIGATION */
@media (max-width: 767px) {
  .nav-links {
    position: absolute;
    top: 70px; /* just below navbar */
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }

  .nav-links.show {
    display: flex;
  }
}


/* HERO */
.hero {
  padding: 80px 0;
  background: #f8f9fa;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #555;
}

.cta-btn {
  padding: 12px 28px;
  background: #194bab;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
}

/* FEATURES */
.features {
  padding: 60px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
/* HOW IT WORKS */
.how-it-works {
  padding: 70px 0;
  background: #ffffff;
  text-align: center;
}

.steps {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.step {
  flex: 1;
  padding: 25px;
  border-radius: 12px;
  background: #f8f9fa;
}

.step span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #194bab;
  color: white;
  border-radius: 50%;
  line-height: 40px;
  margin-bottom: 10px;
}

/* PROGRAMS */
.programs {
  padding: 70px 0;
  background: #f8f9fa;
  text-align: center;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.program-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden; /* prevent image from overflowing */
}

.program-card {
  width: 100%;
  max-width: 260px; /* controls card width */
}


.program-card img {
  width: 100%;       /* makes the image fit the card width */
  height: auto;      /* maintains aspect ratio */
  max-height: 180px; /* optional: prevent very tall images */
  border-radius: 8px; /* optional: rounded corners */
  object-fit: cover;  /* crops if needed to fill box without distortion */
}

.program-card span {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* WHY US */
.why-us {
  padding: 70px 0;
}

.why-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.why-text ul {
  list-style: none;
  margin-top: 20px;
}

.why-text li {
  margin-bottom: 10px;
}

.why-image img {
  width: 100%;      /* makes it fit the container width */
  height: auto;     /* keeps proportions */
  max-width: 400px; /* optional: prevent it from getting too large on desktop */
  display: block;   /* remove inline spacing issues */
  margin: 0 auto;   /* center if needed */
}

.why-text, .why-image {
  flex: 1 1 300px;  /* min width 300px, grows to fill space */
}

@media (max-width: 768px) {
  .why-image img {
    max-width: 100%;  /* fills the screen width on mobile */
  }
}

/* Floating animation base state */
.float-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When visible */
.float-item.show {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered delays */
.float-item:nth-child(1) { transition-delay: 0.1s; }
.float-item:nth-child(2) { transition-delay: 0.2s; }
.float-item:nth-child(3) { transition-delay: 0.3s; }
.float-item:nth-child(4) { transition-delay: 0.4s; }

/* TESTIMONIALS */
.testimonials {
  padding: 70px 0;
  background: #f8f9fa;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: #194bab;
  color: white;
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 50px 0 20px;
  background: #111;
  color: #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer a:hover {
  color: white;
}

.footer p {
  font-size: 0.9rem;
}

.footer .copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8rem;
}

/* RESPONSIVE CONTINUATION */
@media (max-width: 900px) {
  .steps,
  .testimonial-grid,
  .why-content {
    flex-direction: column;
  }

  .program-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* =====================
   CONTACT PAGE SPECIFIC STYLES
===================== */

/* Page header */
.page-header {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
}

/* Get in touch section */
.get-in-touch {
  padding: 60px 0;
}

.get-in-touch .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.cta-section p {
  margin-bottom: 30px;
}
.cta-btn:hover {
  transform: translateY(-2px);
}
.cta-btn {
  transition: all 0.3s ease;
}
/* Base button style */
button,
.cta-btn {
  background: #232893;  /* dark blue background */
  color: #ffffff;       /* white text */
  border: 2px solid #ffffff; /* white outline */
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease; /* smooth hover/active */
}

.cta-btn:hover,
.cta-btn:focus {
  background: #00abf7;  /* light blue on hover */
  border-color: #ff6e00; /* orange outline when hovering */
}

.cta-btn:active {
  background: #00abf7;  /* light blue when clicked */
  border-color: #ff6e00; /* orange border on click */
  transform: translateY(1px);
}


/* Contact form */
.contact-form h2 {
    padding-top:10px;
  margin-bottom: 40px;
  color: #222;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  color: #222;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #194bab; /* matches site CTA color */
}

.contact-form button {
  padding: 12px;
  background: #194bab;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* Google Map */
.map-section {
  padding: 50px 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
}

/* Responsive adjustments for contact page */
@media (max-width: 900px) {
  .get-in-touch .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-section iframe {
    height: 300px;
  }
}
/* Floating animation base state for contact page */
.float-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Contact page header background */
.page-header {
  padding: 100px 0;
  text-align: center;
  color: white; /* ensures text is readable */
  background: url('images/header-bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;              /* re-use background image */
  filter: blur(8px);
  transform: scale(1.05);            /* prevents blur edges */
  z-index: 0;
}

/* Optional: dark overlay for readability */
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(0,0,0,0.4); /* adjust darkness as needed */
  z-index: 1;
}

/* Ensure content is above the overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}

/* Ensure contact page header text is white */
.page-header h1,
.page-header p {
  color: #ffffff;
}

.info-card h3 i {
  color: #194bab;       /* your brand blue */
  margin-right: 8px;
  font-size: 1.1rem;
}
/* Contact info cards */
.contact-info {
  display: grid;
  gap: 20px;
}

/* Card layout */
.info-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
}

/* Icons */
.info-icon {
  font-size: 2.2rem;
  color: #194bab;       /* brand color */
  margin-bottom: 12px;
}

/* Headings */
.info-card h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #222;
}

/* Text */
.info-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Clickable phone/email */
.info-card a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.info-card a:hover {
  color: #194bab;
}
/* Floating / fade-in animation for feature cards */
.float-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.float-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for multiple items */
.float-item:nth-child(1) { transition-delay: 0.1s; }
.float-item:nth-child(2) { transition-delay: 0.2s; }
.float-item:nth-child(3) { transition-delay: 0.3s; }
.float-item:nth-child(4) { transition-delay: 0.4s; }
/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.how-it-works-section .section-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #222;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Feature Icons */
.feature-icon {
  font-size: 2.5rem;
  color: #194bab; /* your brand blue */
  margin-bottom: 15px;
}

/* Feature Titles */
.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

/* Feature Description */
.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* What Sets Us Apart Section */
.what-sets-us-apart {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.what-sets-us-apart .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
}

.what-sets-us-apart .section-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.feature-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #194bab; /* brand blue */
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Call to Action */
.cta-wrapper {
  margin-top: 60px;
}

.cta-wrapper p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: #232893;       /* dark blue button */
  color: #ffffff;            /* white text */
  border: 2px solid #ffffff; /* white outline */
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover,
.cta-btn:focus {
  background: #00abf7;       /* light blue on hover */
  border-color: #ff6e00;     /* orange outline on hover */
}

.cta-btn:active {
  transform: translateY(1px);
  background: #00abf7;
  border-color: #ff6e00;
}
