﻿body {
      margin: 0;
      font-family: Arial, sans-serif;
      line-height: 1.6;
      color: #333;
      background: #f9f9f9;
    }
    header {
      background: #0077b6;
      color: #fff;
      padding: 15px 0;
      text-align: center;
    }
    nav {
      background: #023e8a;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
    nav a {
      color: #fff;
      padding: 14px 20px;
      text-decoration: none;
    }
    nav a:hover {
      background: #0096c7;
    }
    .hero {
      background: url('../images/ourStories/img1.jpg') no-repeat center center/cover;
      color: white;
      height: 50vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 20px;
    }
    .hero h1 {
      font-size: 3rem;
      background: rgba(0, 0, 0, 0.6);
      padding: 20px;
      border-radius: 10px;
    }
    section {
      padding: 50px 20px;
      max-width: 1100px;
      margin: auto;
    }
    section h2 {
      text-align: center;
      margin-bottom: 40px;
      color: #0077b6;
    }
    .impact-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }
    .card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s;
    }
    .card:hover {
      transform: translateY(-5px);
    }
    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .card-content {
      padding: 20px;
    }
    .card-content h3 {
      color: #0077b6;
      margin-bottom: 10px;
    }
    .read-more-btn {
      background: #5856d6;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
      font-size: 0.95rem;
      width: 100%;
      transition: background 0.3s;
    }
    .read-more-btn:hover {
      background: #4742a8;
    }

    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      animation: fadeIn 0.3s ease;
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .modal-content {
      background-color: #fefefe;
      margin: 10% auto;
      padding: 30px;
      border: 1px solid #888;
      border-radius: 12px;
      width: 80%;
      max-width: 600px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      animation: slideIn 0.3s ease;
    }
    @keyframes slideIn {
      from { transform: translateY(-50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      transition: color 0.3s;
    }
    .close:hover,
    .close:focus {
      color: #000;
    }
    .modal-content h2 {
      color: #0077b6;
      margin-top: 0;
    }
    .modal-content p {
      color: #555;
      line-height: 1.8;
      font-size: 1rem;
    }
    .numbers {
      display: flex;
      justify-content: space-around;
      margin-top: 40px;
      text-align: center;
    }
    .numbers div {
      background: #0077b6;
      color: white;
      padding: 20px;
      border-radius: 12px;
      flex: 1;
      margin: 10px;
    }
    footer {
      background: #023e8a;
      color: #fff;
      text-align: center;
      padding: 20px;
      margin-top: 20px;
    }

    .impact-hero.hero {
      width: min(100% - 48px, 1240px);
      min-height: 340px;
      margin: 28px auto 0;
      padding: 46px;
      justify-content: flex-start;
      text-align: left;
      border-radius: 18px;
      background:
        linear-gradient(90deg, rgba(2, 62, 138, 0.9) 0%, rgba(2, 62, 138, 0.66) 46%, rgba(2, 62, 138, 0.08) 100%),
        url('../images/ourStories/img2.jpg') center 38%/cover;
      box-shadow: 0 18px 45px rgba(2, 62, 138, 0.18);
    }
    .impact-hero.hero h1 {
      max-width: 680px;
      margin: 0;
      padding: 0;
      background: transparent;
      border-radius: 0;
      font-size: clamp(2.1rem, 4.7vw, 4.2rem);
      line-height: 1.04;
      text-shadow: 0 4px 18px rgba(0, 0, 0, 0.36);
    }
    @media (max-width: 760px) {
      .impact-hero.hero {
        width: min(100% - 28px, 1240px);
        min-height: 260px;
        padding: 32px 24px;
      }
    }


