/* =========================
FILE: style.css
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'BlackChancery';
  src: url('fonts/BLKCHCRY.TTF');
}

.hero-content h1 {
  font-size: 90px;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #fff;
  font-family: 'BlackChancery';
  white-space: nowrap;
  font-weight: normal;
}

:root {
  --primary: #0d6efd;
  --secondary: #198754;
  --dark: #0f172a;
  --light: #ffffff;
  --gray: #f5f7fa;
  --text: #555;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-title span {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title h2 {
  font-size: 40px;
  margin-top: 10px;
}

.center {
  text-align: center;
}

img {
  width: 100%;
  display: block;
}

/* =========================
FINAL NAVBAR
========================= */

.header {
  padding-top: 200px;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 40px;
}

.navbar {
  background: #fff;
  border-radius: 30px;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  border-top: 4px solid #d4a017;
}

/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 50%;
}

/* NGO NAME */

.logo-text h2 {
  font-family: 'BlackChancery' !important;
  font-size: 42px;
  font-weight: normal;
  color: #c61869 !important;
  line-height: 1.1;
  margin-bottom: 8px;
}

.logo-text p {
  color: #777;
  font-size: 15px;
  margin-top: 8px;
}

/* NAV LINKS */

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  transition: 0.3s;
}

.nav-links a:hover {
  background: #f3f6fa;
}

body {
  background: #f8f0c8;
}

.navbar {
  background: #f8f0c8;
}

/* ACTIVE */

.nav-links a.active {
  background: #118229;
  color: #fff;
}

/* DONATE */

.donate-btn {
  background: #d4a017 !important;
  color: #fff !important;
  border-radius: 14px !important;
}

/* MOBILE */

@media(max-width:1200px) {

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

}

@media(max-width:768px) {

  .header {
    padding: 0 10px;
  }

  .navbar {
    padding: 20px;
    border-radius: 20px;
  }

  .logo {
    flex-direction: column;
    text-align: center;
  }

  .logo-text h2 {
    font-size: 22px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 10px 14px;
  }

}

/* =========================
LOGO AREA
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text h2 {
  font-size: 30px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.logo-text p {
  color: #777;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-text p::before,
.logo-text p::after {
  content: '';
  width: 42px;
  height: 2px;
  background: #d4a017;
  display: block;
}

/* =========================
NAV LINKS
========================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #0f172a;
  font-size: 19px;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 14px;
  transition: 0.3s;
  white-space: nowrap;
}

/* HOVER */

.nav-links a:hover {
  background: #f4f7fb;
}

/* ACTIVE */

.nav-links a.active {
  background: linear-gradient(to bottom, #11a531, #0f7a28);
  color: #fff;
  box-shadow: 0 10px 25px rgba(17, 165, 49, 0.25);
}

/* DONATE BUTTON */

.donate-btn {
  background: linear-gradient(to bottom, #e0ae18, #d4a017) !important;
  color: #fff !important;
  padding: 14px 26px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px rgba(212, 160, 23, 0.28);
}

/* =========================
MOBILE
========================= */

.menu-btn {
  display: none;
}

@media(max-width:1400px) {

  .navbar {
    flex-direction: column;
    gap: 25px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

}

@media(max-width:768px) {

  .header {
    padding: 0 10px;
  }

  .navbar {
    padding: 20px;
    border-radius: 25px;
  }

  .logo {
    flex-direction: column;
    text-align: center;
  }

  .logo img {
    width: 75px;
    height: 75px;
  }

  .logo-text h2 {
    font-size: 24px;
  }

  .logo-text p {
    justify-content: center;
    font-size: 14px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 10px 14px;
  }

}

/* =========================
HERO
========================= */

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 65px;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-content p {
  font-size: 20px;
  max-width: 700px;
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.primary-btn {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
}

.secondary-btn {
  border: 2px solid #fff;
  color: #fff;
}

.btn:hover {
  transform: translateY(-3px);
}

/* ABOUT LAYOUT */

/* ABOUT TITLE STYLE */

.about-tag {

  display: block;

  font-size: 14px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2px;

  color: #118229;

  margin-bottom: 12px;

}

.about-container {

  display: grid;

  grid-template-columns: 250px 1fr;

  gap: 60px;

  align-items: start;

  margin-top: 60px;

}

.about-image {

  display: flex;
  justify-content: center;

}

.about-image img {

  width: 180px;

  padding: 15px;

  background: #fff;

  border-radius: 25px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

/* LEFT LOGO */

.about-container {

  display: grid;

  grid-template-columns: 250px 1fr;

  gap: 60px;

  align-items: start;

}

.about-image {

  display: flex;

  justify-content: center;

  align-items: flex-start;

}

.about-image img {

  width: 180px;

  padding: 15px;

  background: #fff;

  border-radius: 25px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.about-image img {

  width: 220px;
  height: auto;

  padding: 20px;

  background: white;

  border-radius: 25px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

  transition: .4s;

}

.about-image img:hover {

  transform: scale(1.05);

}

@media(max-width:900px) {

  .about-container {

    grid-template-columns: 1fr;
    text-align: center;

  }

  .about-image {

    margin-bottom: 25px;

  }

}

/* =========================
PROGRAMS
========================= */

.gradient-bg {
  background: linear-gradient(135deg, #f1f9ff, #eefdf3);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.program-card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: 0.4s;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-card i {
  font-size: 45px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.program-card p {
  color: var(--text);
  line-height: 1.8;
}

.main-project {
  margin-top: 50px;
  text-align: center;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* =========================
COUNTERS
========================= */

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.counter-box {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.counter-box h2 {
  font-size: 50px;
  color: var(--primary);
}

/* =========================
GALLERY
========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.gallery-item img {
  height: 300px;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* =========================
PARTNERS
========================= */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.partner-card {
  background: #fff;
  padding: 45px;
  text-align: center;
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-weight: 600;
}

/* =========================
TESTIMONIALS
========================= */

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: auto;
}

.testimonial-card {
  display: none;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-card.active {
  display: block;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text);
}

/* =========================
DONATION
========================= */

.donation {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
}

.donation-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.donation-box h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

/* =========================
DONATION NEW DESIGN
========================= */

.donation-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.donation-left h2 {
  font-size: 45px;
  margin: 15px 0;
  color: #fff;
}

.donation-left p {
  line-height: 1.9;
  margin-bottom: 25px;
  color: #f1f1f1;
}

.donation-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  display: inline-block;
  color: #fff;
}

.donation-card {
  background: #fff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.donation-card h3 {
  margin-bottom: 25px;
  color: var(--primary);
}

.donation-info p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #333;
}

.copy-btn {
  margin-top: 15px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.copy-btn:hover {
  transform: translateY(-2px);
}

@media(max-width:768px) {

  .donation-wrapper {
    grid-template-columns: 1fr;
  }

  .donation-left h2 {
    font-size: 32px;
  }
}

/* =========================
CONTACT SECTION RESTORE
========================= */

.contact-container {

  display: grid;
  grid-template-columns: 45% 55%;

  gap: 60px;

  align-items: start;

}

/* LEFT SIDE INFO */

.contact-item {

  display: flex;

  align-items: flex-start;

  gap: 20px;

  margin-bottom: 35px;

}

.contact-item i {

  width: 70px;
  height: 70px;

  min-width: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #1f6fff;
  color: #fff;

  font-size: 24px;

  flex-shrink: 0;

}

/* RIGHT SIDE FORM */

.contact-form {

  background: #fff;

  padding: 35px;

  border-radius: 25px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

}

.contact-form input,
.contact-form textarea {

  width: 100%;

  padding: 18px;

  margin-bottom: 18px;

  border: none;
  outline: none;

  background: #f3f4f6;

  border-radius: 15px;

  font-size: 16px;

}

.contact-form textarea {

  height: 160px;

  resize: none;

}

.contact-form button {

  width: 100%;
}

/* MAP */

.map {
  width: 100%;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 20px;
}

.map iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* MOBILE */

@media(max-width:900px) {

  .contact-container {

    grid-template-columns: 1fr;

  }

}

/* =========================
PREMIUM FOOTER
========================= */

.footer {
  background: #08111f;
  color: #fff;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-box h3,
.footer-box h4 {
  margin-bottom: 20px;
}

.footer-box p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 12px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #fff;
}

.footer-logo {
  width: 90px;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #132238;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #118229;
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding: 25px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #94a3b8;
}

/* =========================
SCROLL TOP
========================= */

#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px) {

  .about-grid,
  .contact-grid,
  .donation-box {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 50px;
  }
}

@media(max-width:768px) {

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 25px;
    transition: 0.4s;
  }

  .nav-links.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }
}

/* =========================
REGISTRATION BAR
========================= */

.reg-bar {
  background: #ffffff;
  padding: 25px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 5;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  min-width: 0;
}

.reg-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f8fbff;
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.reg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.reg-item i {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.reg-item h4 {
  margin-bottom: 6px;
  font-size: 16px;
}

.reg-item p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}

@media(max-width:1200px) {

  .reg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width:768px) {

  .reg-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
TEAM SECTION
========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: 0.4s;

  display: flex;
  flex-direction: column;

  height: 500px;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-content {
  padding: 20px;
  flex-grow: 1;
}

.team-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0b1736;
}

.designation {
  font-weight: 600;
  color: #666;
  margin-bottom: 15px;
}

.team-content p {
  line-height: 1.6;
  color: #555;
}

/* Tablet */

@media(max-width:992px) {

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Mobile */

@media(max-width:768px) {

  .team-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================
AWARD SECTION UPGRADE
========================= */

.award {
  padding: 100px 0;
  background: linear-gradient(to right, #fff8dc, #fffdf5);
}

.award-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* IMAGE */

.award-image {
  position: relative;
}

.award-image img {
  width: 100%;
  border-radius: 25px;
  border: 5px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: .5s;
}

.award-image img:hover {
  transform: scale(1.03);
}

/* FLOATING BADGE */

.award-image::after {

  content: "🏆 Award 2007";

  position: absolute;

  bottom: -20px;
  right: -20px;

  background: #d4a017;
  color: white;

  padding: 15px 25px;

  border-radius: 50px;

  font-weight: bold;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);

}

/* TAG */

.award-tag {

  display: inline-block;

  background: #118229;

  color: white;

  padding: 12px 24px;

  border-radius: 50px;

  margin-bottom: 25px;
}

/* HEADING */

.award-content h2 {

  font-size: 54px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #0f172a;
}

/* PARAGRAPH */

.award-content p {

  line-height: 2;
  font-size: 18px;
  color: #555;
}

/* CARD */

.award-highlight {

  margin-top: 35px;

  display: flex;
  align-items: center;
  gap: 18px;

  background: white;

  padding: 25px;

  border-radius: 20px;

  box-shadow: 0 15px 30px rgba(0, 0, 0, .08);

  border-left: 6px solid #d4a017;
}

/* MOBILE */

@media(max-width:900px) {

  .award-container {

    grid-template-columns: 1fr;

  }

  .award-content h2 {

    font-size: 38px;

  }
}

/* =========================
MINISTRY SECTION
========================= */

.ministries {
  background: #f8fbff;
  padding: 100px 0;
}

.ministry-grid {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;

}

.ministry-card {

  background: #fff;

  padding: 25px;

  border-radius: 18px;

  text-align: center;

  font-weight: 600;

  color: #0f172a;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  transition: .4s;
}

.ministry-card:hover {

  transform: translateY(-8px);

  border-bottom: 4px solid #118229;
}

/* =========================
CSR SECTION
========================= */

.csr {
  padding: 100px 0;
  background: #fffdf5;
}

.csr-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 25px;

  margin-top: 40px;
}

.csr-card {

  background: white;

  padding: 30px;

  border-radius: 20px;

  text-align: center;

  font-size: 22px;

  font-weight: 700;

  color: #0f172a;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

  transition: .4s;
}

.csr-card:hover {

  transform: translateY(-10px);

  border-bottom: 4px solid #d4a017;
}

/* =========================
AUTO GALLERY
========================= */

.slider {

  overflow: hidden;

  position: relative;

  margin-top: 50px;

}

.slide-track {

  display: flex;

  width: calc(250px * 25);

  animation: scroll 40s linear infinite;

  gap: 20px;

}

.slide-track img {

  width: 250px;
  height: 180px;

  object-fit: cover;

  border-radius: 20px;

  box-shadow: 0 10px 20px rgba(0, 0, 0, .1);

  transition: .4s;

}

.slide-track img:hover {

  transform: scale(1.08);

}

@keyframes scroll {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 10));
  }

}