/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #004080;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  letter-spacing: 1.2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #0066cc;
}

.btn-donate {
  background-color: #ff4b2b;
  color: white !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-donate:hover {
  background-color: #e43e1a;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Hero section */
.hero {
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 64, 128, 0.65);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #ff4b2b;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
}

.btn-primary:hover {
  background-color: #e43e1a;
  box-shadow: 0 6px 15px rgba(228, 62, 26, 0.6);
}

/* Sections */
section {
  padding: 60px 0;
  background: white;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgb(0 0 0 / 0.05);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #004080;
  text-align: center;
}

.about-srdo p,
.program-card p,
.news-item p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  display: block;
  width: max-content;
  margin: 0 auto;
  background-color: #004080;
  color: white;
  padding: 12px 26px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #003366;
}

/* Programs grid */
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.program-card {
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.program-card:hover {
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
  transform: translateY(-5px);
}

.program-card h3 {
  color: #004080;
  margin-bottom: 12px;
}

/* News section */
.news-item {
  max-width: 900px;
  margin: 0 auto 25px;
}

.news-item h3 a {
  color: #004080;
  text-decoration: none;
  font-weight: 700;
}

.news-item h3 a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  padding: 40px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-about,
.footer-contact,
.footer-social {
  flex: 1 1 250px;
}

.footer-about p,
.footer-contact p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-contact a {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: #ffd633;
}

.footer-social ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin-top: 12px;
}

.footer-social ul li a {
  color: #ffcc00;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social ul li a:hover {
  text-decoration: underline;
  color: #ffd633;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255 255 255 / 0.3);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 65px;
    right: 0;
    background-color: #004080;
    flex-direction: column;
    width: 220px;
    display: none;
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    margin: 12px 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-content {
    flex-direction: column;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .btn-donate {
    padding: 10px 14px;
  }
}

/* Small devices */
@media (max-width: 480px) {
  .hero {
    padding: 80px 15px 60px;
    min-height: 300px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav ul {
    width: 100%;
    top: 55px;
    right: 0;
    border-radius: 0;
  }
}

/* Causes Page Styles */
.main-content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 2.8rem;
  color: #004080;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-header p {
  font-size: 1.15rem;
  color: #555;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.causes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cause-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cause-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cause-card h2 {
  font-size: 1.5rem;
  color: #003366;
margin: 20px 15px 10px;
flex-grow: 0;
font-weight: 700;
}

.cause-card p {
font-size: 1rem;
color: #444;
padding: 0 15px 20px;
flex-grow: 1;
line-height: 1.5;
}

/* Footer adjustments */
.footer-contact a {
color: #0077cc;
text-decoration: none;
transition: color 0.2s ease;
}

.footer-contact a:hover {
color: #004080;
}

/* Responsive tweaks */
@media (max-width: 600px) {
.page-header h1 {
font-size: 2rem;
}

.cause-card img {
height: 140px;
}
}

.intro-video-section {
  text-align: center;
  margin: 60px auto;
  padding: 0 20px;
}

.intro-video-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #004080;
}

.intro-video {
  width: 100%;
  max-width: 800px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-block {
  margin-bottom: 50px;
}

.cause-entry {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.cause-entry img {
  width: 120px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.cause-entry div {
  max-width: 800px;
}
