/* ========================
   RESET & BASE
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1b1b1b;
  scroll-behavior: smooth;
}

/* ========================
   HEADER / NAV
======================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(75, 88, 90);
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 20px;
  letter-spacing: 3px;
  color: #d4a017;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgb(250, 250, 250);
  font-size: 0.95rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #d4a017;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
  z-index: 1001;
}

/* ========================
   HERO
======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px;
  background:
    linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
    url("images/ten.jpg");
  background-size: cover;
  background-position: center;
 
  color: white;
}

.hero-text {
  flex: 1;
  max-width: 700px;
}

.brand-tag {
  font-size: 14px;
  letter-spacing: 3px;
  color: #d4a017;
  margin-bottom: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
}

.hero-text h1 span {
  color: #d4a017;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 32px;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
}

.donate {
  background: #d4a017;
  color: black;
}

.donate:hover {
  background: white;
  color: black;
}

.join {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.join:hover {
  background: white;
  color: black;
}

.quote {
  border-left: 4px solid #d4a017;
  padding-left: 20px;
  font-style: italic;
  color: #ccc;
  line-height: 1.7;
}

/* ========================
   ABOUT
======================== */
.about {
  padding: 100px 8%;
  background: #f8f9fa;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.about-social a {
  width: 44px;
  height: 44px;
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: 0.3s;
}

.about-social a:hover {
  background: #d4a017;
  transform: translateY(-3px);
}

.small-title {
  color: #0d6efd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1b1b1b;
}

.about-text h2 span {
  color: #0d6efd;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1rem;
}

.bio-quote {
  border-left: 3px solid #d4a017;
  padding-left: 16px;
  font-style: italic;
  color: #888 !important;
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.box {
  background: white;
  padding: 22px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.07);
  transition: 0.3s ease;
}

.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.box h3 {
  color: #0d6efd;
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.box h3 i {
  font-size: 0.9rem;
}

.box p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.about-text .btn {
  background: #0d6efd;
  color: white;
  border-radius: 50px;
}

.about-text .btn:hover {
  background: #084298;
  transform: translateY(-3px);
}

/* ========================
   PHILOSOPHY
======================== */
.philosophy {
  background: linear-gradient(135deg, rgb(75, 88, 90) 0%, #2c3e50 100%);
  padding: 90px 8%;
  color: white;
  text-align: center;
}

.philosophy-inner {
  max-width: 820px;
  margin: 0 auto;
}

.small-title-light {
  color: #d4a017;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.philosophy h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: white;
}

.philosophy p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #ccc;
  margin-bottom: 36px;
}

.philosophy blockquote {
  border-left: 4px solid #d4a017;
  padding: 20px 30px;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #ddd;
  line-height: 1.8;
}

.philosophy blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #d4a017;
  font-style: normal;
  font-weight: 600;
}

/* ========================
   PROJECTS
======================== */
.projects {
  padding: 100px 8%;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.6rem;
  color: #1b1b1b;
  margin-bottom: 14px;
}

.section-header h2 span {
  color: #0d6efd;
}

.section-header p {
  color: #666;
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header .small-title {
  margin-bottom: 12px;
}

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

.project-card {
  background: white;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.project-icon {
  width: 56px;
  height: 56px;
  background: #e8f0fe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #0d6efd;
  margin-bottom: 20px;
}

.project-card h3 {
  font-size: 1.1rem;
  color: #1b1b1b;
  margin-bottom: 10px;
}

.project-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.project-link {
  color: #0d6efd;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.project-link:hover {
  color: #d4a017;
  gap: 10px;
}

/* ========================
   SERVICES
======================== */
.services {
  padding: 100px 8%;
  background: linear-gradient(135deg, #1b2838 0%, rgb(75, 88, 90) 100%);
  color: white;
}

.section-header.light h2 {
  color: white;
}

.section-header.light p {
  color: #bbb;
}

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

.service-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px 28px;
  transition: 0.3s ease;
  text-align: center;
}

.service-item:hover {
  background: rgba(212,160,23,0.12);
  border-color: #d4a017;
  transform: translateY(-6px);
}

.service-item i {
  font-size: 2rem;
  color: #d4a017;
  margin-bottom: 18px;
}

.service-item h3 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 12px;
}

.service-item p {
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================
   CONTACT
======================== */
.contact {
  padding: 100px 8%;
  background: #f8f9fa;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.2rem;
  color: #0d6efd;
  width: 42px;
  height: 42px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 5px;
}

.contact-item p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-social a:hover {
  background: #d4a017;
  transform: translateY(-3px);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  transition: border 0.3s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0d6efd;
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
}

/* ========================
   FOOTER
======================== */
footer {
  background: #1a2025;
  color: #ccc;
  padding: 60px 8% 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d4a017;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
  color: #555;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    background: rgba(30, 40, 45, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    transition: 0.4s ease;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.2rem;
  }

  .hero {
    padding: 100px 30px 60px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }

  .buttons {
    justify-content: center;
  }

  .quote {
    border-left: none;
    border-top: 4px solid #d4a017;
    padding: 20px 0 0;
    text-align: left;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 2rem;
  }

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

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

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  header {
    padding: 18px 20px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .about {
    padding: 70px 5%;
  }

  .info-boxes {
    grid-template-columns: 1fr;
  }

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

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

  .projects,
  .services,
  .contact,
  .philosophy {
    padding: 70px 5%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .philosophy h2 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========================
   GALLERY — STATS BAR
======================== */
.gallery-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0d6efd;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: #e0e0e0;
}

/* ========================
   GALLERY — FILTER TABS
======================== */
.gallery-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  transition: 0.25s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: #0d6efd;
  color: #0d6efd;
}

.filter-btn.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

/* ========================
   GALLERY — FEATURED CARD
======================== */
.gallery-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  margin-bottom: 36px;
}

.featured-image {
  position: relative;
  min-height: 380px;
  background: #e8f0fe;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-image .img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #e8f0fe, #c7d9fd);
  font-size: 3.5rem;
  color: #0d6efd;
}

.featured-image .img-fallback span {
  font-size: 1rem;
  font-weight: 700;
  color: #0d6efd;
  letter-spacing: 1px;
}

.featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #d4a017;
  color: black;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.npo-tag    { background: #fff3cd; color: #856404; }
.education-tag { background: #d1e7dd; color: #0a5e3a; }
.research-tag  { background: #cff4fc; color: #055160; }
.media-tag     { background: #f8d7da; color: #842029; }

.featured-content h3 {
  font-size: 2rem;
  color: #1b1b1b;
  margin-bottom: 18px;
}

.featured-content p {
  color: #555;
  line-height: 1.8;
  font-size: 0.97rem;
  margin-bottom: 14px;
}

.featured-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.featured-links .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 0.9rem;
  padding: 12px 22px;
}

/* ========================
   GALLERY GRID CARDS
======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.gallery-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.13);
}

.gallery-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-img img {
  transform: scale(1.05);
}

.gallery-card-img .img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 2.4rem;
  color: white;
}

.gallery-card-img .img-fallback span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 16px;
}

/* Themed backgrounds for cards without images */
.radio-bg      { background: linear-gradient(135deg, #1b2838, #2c3e50); }
.research-bg   { background: linear-gradient(135deg, #0a4275, #0d6efd); }
.consulting-bg { background: linear-gradient(135deg, #2d4a22, #3a7d20); }
.linkedin-bg   { background: linear-gradient(135deg, #004182, #0077b5); }

/* Radio animation */
.radio-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #d4a017;
  font-size: 2.6rem;
}

.radio-waves {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 30px;
}

.radio-waves span {
  display: block;
  width: 5px;
  background: #d4a017;
  border-radius: 3px;
  animation: wave 1.2s ease-in-out infinite;
}

.radio-waves span:nth-child(1) { animation-delay: 0s;    height: 14px; }
.radio-waves span:nth-child(2) { animation-delay: 0.2s;  height: 24px; }
.radio-waves span:nth-child(3) { animation-delay: 0.4s;  height: 18px; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(1.8); }
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-body h3 {
  font-size: 1.05rem;
  color: #1b1b1b;
  margin-bottom: 10px;
}

.gallery-card-body p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-meta span {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-meta i {
  color: #0d6efd;
  font-size: 0.75rem;
}

.radio-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================
   GALLERY CTA BANNER
======================== */
.gallery-cta {
  text-align: center;
  background: linear-gradient(135deg, #0d6efd, #084298);
  border-radius: 16px;
  padding: 44px 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.gallery-cta p {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
}

.gallery-cta .btn {
  border-radius: 8px;
  white-space: nowrap;
}

/* ========================
   GALLERY RESPONSIVE
======================== */
@media (max-width: 900px) {
  .gallery-featured {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 260px;
  }

  .featured-content {
    padding: 32px 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-stats {
    gap: 20px;
    padding: 24px 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0;
    flex: 1 1 40%;
  }

  .gallery-cta {
    flex-direction: column;
    gap: 18px;
    padding: 32px 24px;
  }
}
