/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.main-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  font-family: 'Segoe UI', sans-serif;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cursive', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #00796b;
}

.dropdown {
  position: relative;
}

.header-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Buttons */
.btn-outline {
  padding: 0.5rem 1.2rem;
  border: 2px solid #2E7D32;
  background: transparent;
  color: #2E7D32;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #2E7D32;
  color: #fff;
}

.btn-filled {
  padding: 0.5rem 1.2rem;
  background: #00796b;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-filled:hover {
  background: #004d40;
}

/* General purpose buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #2E7D32;
  color: #fff;
}

.btn-primary:hover {
  background: #1b5122;
}

.btn-secondary {
  background: #F4A261;
  color: #fff;
  border-radius: 4px;
  padding: 0.65rem 1.4rem;
}

.btn-secondary:hover {
  background: #E76F51;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-family: 'Merriweather', serif;
  color: #1A1A1A;
}

a,
a:visited,
a:hover,
a:focus,
a:active,
button {
  text-decoration: none !important;
}

/* Hero Section */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 5rem 5%;
  background: linear-gradient(to right, #f1f7f4, #ffffff);
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  color: #1A3D2F;
}

.hero-text h1 {
  font-size: 2.75rem;
  margin-bottom: 1.2rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  display: flex;
  gap: 4rem;
  margin: 6rem auto;
  flex-wrap: wrap;
  align-items: flex-start;
}

.features-intro {
  flex: 1;
}

.features-intro small {
  display: block;
  font-weight: 600;
  color: #2E7D32;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.features-intro h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.features-intro p {
  font-size: 1rem;
  color: #555;
  max-width: 450px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.features-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.feature i {
  font-size: 1.75rem;
  color: #2E7D32;
}

.feature h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1D3557;
}

.feature p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Programs Section */
.programs {
  text-align: center;
  margin: 5rem auto;
  padding: 0 5%;
}

.programs h2 {
  font-size: 2.25rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.5;
}

.programs-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.program-card {
  flex: 1 1 300px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.program-card i {
  font-size: 2rem;
  color: #2E7D32;
}

.program-card h4 {
  font-size: 1.125rem;
  color: #1D3557;
  text-align: center;
}

.program-card p {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

.program-card a {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #2E7D32;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.program-card a:hover {
  background-color: #1b5122;
}

/* Join Section */
.join {
  width: 100%;
  padding: 0;
  margin: 0;
}

.join .overlay {
  background: url('images/happy-black-male-doctor-using-tablet-computer-technology-medicine-concept.jpg') center center no-repeat;
  background-size: cover;
  padding: 80px 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.join .container {
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.join h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: ghostwhite;
}

.join p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.join-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #ccc;
  padding: 60px 80px 30px;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-col {
  flex: 1;
  min-width: 160px;
  margin-left: -20px;
  max-width: 200px;
}

.logo-col {
  max-width: 100px;
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-left: -30px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.subscribe-col p {
  font-size: 13px;
  margin-bottom: 10px;
  max-width: 280px;
}

.subscribe-col form {
  display: flex;
  margin-bottom: 8px;
  max-width: 280px;
}

.subscribe-col input[type="email"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 2px 0 0 2px;
  font-size: 13px;
}

.subscribe-col button {
  padding: 8px 16px;
  background: #000;
  color: #fff;
  font-size: 13px;
  border: none;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
}

.subscribe-col button:hover {
  background: #333;
}

.subscribe-col small {
  font-size: 11px;
  color: #444;
  display: block;
  max-width: 280px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 16px;
  font-size: 16px;
}

.footer-social i {
  color: #000;
  cursor: pointer;
}
/* Fixed Header */
.main-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  font-family: 'Segoe UI', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Prevent content hiding behind header */
body {
  padding-top: 90px;
}

/* Menu Icon */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-header span {
  font-weight: 600;
  font-size: 1.1rem;
}

.close-sidebar {
  font-size: 20px;
  cursor: pointer;
}

/* Sidebar Links */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 15px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Sidebar Buttons */
.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.sidebar-buttons .btn-outline,
.sidebar-buttons .btn-filled {
  font-size: 0.95rem;
  padding: 10px 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1020px) {
  .nav-menu,
  .header-buttons {
    display: none !important;
  }

  .menu-icon {
    display: block;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-secondary,.btn-primary {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
}

@media (min-width: 1021px) {
  .sidebar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .features {
    flex-direction: column;
  }

  .features-intro,
  .features-grid {
    width: 100%;
  }

  
}
