* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
  background-color: #f0e4e4;
  color: #eee9e9;
  position: relative;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  font-size: 20px;
  font-weight: bold;
  color: #0d0d0d;
}

.navbar {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.navbar a:hover {
  color: #f1c40f;
}

.donate-btn {
  padding: 8px 16px;
  background-color: #f1c40f;
  border: none;
  border-radius: 4px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.donate-btn:hover {
  background-color: #fff100;
}

.close-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Toggle menu icon visibility */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
}
.navbar {
  display: flex;
  gap: 15px;
  align-items: center;
}

.menu-icon,
.close-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}
/* Default hidden nav and toggle buttons */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
}

#menu-icon,
#close-icon {
  color: black;
}

/* Responsive styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar.active {
    display: flex;
  }

  .navbar a, .donate-btn {
    padding: 10px 0;
  }
}


@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .navbar.active {
    display: flex;
  }

  .hamburger {
    display: inline;
  }

  .close-icon {
    display: none;
  }

  .menu-toggle.open .hamburger {
    display: none;
  }

  .menu-toggle.open .close-icon {
    display: inline;
  }
}

/* Header Layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f6eaea;
  flex-wrap: wrap;
  position: relative;
  z-index: 1000;
}

/* Left Side: Logo and Text */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text .main-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.logo-text .tagline {
  font-size: 12px;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.donate-btn {
  padding: 8px 12px;
  background-color: #f1c40f;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.donate-btn:hover {
  background-color: #ffdb4d;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    background-color: #f6eaea;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 15px 0;
  }

  .navbar.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .navbar a, .donate-btn {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
  }
}


.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 5%;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 15px;
  transition: background 0.3s;
}

.hero-buttons .outline {
  background-color: white;
  color: #1640d6;
  border: 2px solid #1640d6;
}

.hero-buttons .outline:hover {
  background-color: #1640d6;
  color: white;
}

.hero-buttons button:first-child {
  background-color: #1640d6;
  color: white;
}

.hero-buttons button:first-child:hover {
  background-color: #102da0;
}

.hero-image {
  flex: 1 1 300px;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-section {
  padding: 60px 5%;
  text-align: center;
  background-color: #ffffff;
}

.about-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.about-subtitle {
  font-size: 18px;
  color: #6a6a6a;
  margin-bottom: 40px;
}

.about-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background-color: #f9fafb;
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 300px;
  flex: 1 1 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.icon {
  font-size: 40px;
  color: #1837d6;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.card p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.work-section {
  padding: 60px 5%;
  text-align: center;
  background-color: #fdfdfd;
}

.work-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: #222;
}

.work-subtitle {
  font-size: 18px;
  color: #666;
  margin: 10px 0 40px;
}

.work-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.work-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 500px;
  flex: 1 1 350px;
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.work-content {
  padding: 20px;
  text-align: left;
}

.work-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.work-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
}

.work-content ul {
  list-style: none;
  padding: 0;
}

.work-content ul li {
  margin-bottom: 6px;
  font-size: 15px;
  color: #008000;
}

.team-section {
  padding: 60px 5%;
  background-color: #f6f9fc;
  text-align: center;
}

.team-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
}

.team-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.team-member {
  background-color: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1837d6;
  margin-bottom: 5px;
}

.team-member .role {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  font-style: italic;
}

.team-member .bio {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* contact_us */
.contact-section {
  padding: 60px 5%;
  background-color: #ffffff;
  text-align: center;
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
}

.contact-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
  padding-left: 150px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.icon {
  font-size: 24px;
  color: #1837d6;
  flex-shrink: 0;
  background-color: #eaf0fd;
  padding: 10px;
  border-radius: 50%;
}

.info-block h4 {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
}

.info-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
}

.contact-form {
  flex: 1 1 400px;
  background-color: #f7f9fc;
  padding: 1px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #1837d6;
  color: white;
  font-weight: 600;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.contact-form button:hover {
  background-color: #1026a0;
}

.ijm-footer {
  background-color: #020b2c;
  color: white;
  padding: 30px 5%;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 250px;
}

.footer-logo {
  width: 60px;
  height: auto;
}

.brand-text {
  font-size: 18px;
  font-weight: bold;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
  flex: 1 1 250px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #a5c8ff;
}

hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #2f3957;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
}

.policy-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.policy-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.policy-links a:hover {
  color: #a5c8ff;
}

/* Responsive footer tweaks for small screens */
@media (max-width: 768px) {
  .footer-top,
  .footer-bottom {
    /*flex-direction: column;*/
    align-items: flex-start;
    text-align: left;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-nav a {
    margin-left: 0;
  }

  .policy-links {
    justify-content: flex-start;
  }
}


/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    padding: 40px 5%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .about-cards, .work-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info, .contact-form {
    flex: 1 1 100%;
    max-width: 400px;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .about-section h2, .work-section h2, .team-section h2, .contact-section h2 {
    font-size: 28px;
  }

  .about-subtitle, .work-subtitle, .team-subtitle, .contact-subtitle {
    font-size: 16px;
  }

  .card, .work-card, .team-member {
    max-width: 100%;
    padding: 20px;
  }

  .hero-buttons button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .contact-form button {
    font-size: 14px;
  }
}
