/* RESET */
body {
  margin: 0;
  font-family: Arial;
}

/* COMMON */
.container {
  width: 1170px;
  margin: 0 auto;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PRIMARY BUTTON (MAIN COLOR) */
.btn-primary {
  background: #D97A2B;
  color: #fff;
  display: inline-block;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

/* HOVER */
.btn-primary:hover {
  background: #e65c00;
}

/* TOPBAR */
.topbar {
  background: #2C2C2C;
  padding: 10px 0;
  font-size: 14px;
}

.top-left span {
  margin-right: 25px;
  color: #fff;
}

.top-left i {
  margin-right: 6px;
}

.top-right a {
  margin-left: 12px;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.top-right a:hover {
  color: #333;
}

/* HEADER */
.header.active {
    position: fixed;
    top: 0;
    left: 0;
    background: #3E5F3C;   /* Your color */
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.header {
    width: 100%;
    position: absolute;
    top: 30;
    left: 0;
    padding: 15px 20px;
    z-index: 999;
    background: transparent;
    transition: all 0.3s ease;
}

.logo img {
  width: 45px;
  vertical-align: middle;
  margin-right: 8px;
}
.nav {
  list-style: none;
}

.nav li {
  display: inline-block;
  margin: 0 12px;
}

.nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  transition: 0.3s;
}

.nav a:hover {
  color: #D97A2B;
}

/* HERO */
.hero {
  height: 800px;
  background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 150px; /* important */
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
}
.overlay{
  background: #66666600;
}
.hero-sub {
  font-size: 14px;
}

.hero-title {
  font-size: 60px;
  margin: 20px 0;
}

.hero-text {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  margin: 5px;
}
/* //////////////////////////feature/////////////// */
/* SECTION */
/* SECTION BACKGROUND */
.feature-section {
  background: #E8D8B7;
  padding-top: 0;
  padding-bottom: 80px;
  position: relative;
}

/* WRAPPER (MAIN BOX) */
.feature-wrapper {
  display: flex;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);

  /* 🔥 THIS IS THE MAGIC */
  position: relative;
  top: -120px;
  z-index: 10;
}

/* BOX */
.feature-box {
  width: 33.33%;
  padding: 40px 30px;
  border-right: 1px solid #E8D8B7;
  transition: 0.3s;
}

/* REMOVE BORDER */
.feature-box:last-child {
  border-right: none;
}

/* ICON */
.feature-icon {
  font-size: 45px;
  color: #f4b25a;
  margin-bottom: 20px;
}

/* TITLE */
.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
}

/* TEXT */
.feature-text {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

/* LINK */
.feature-link {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* HOVER */
.feature-box:hover {
  background: #D97A2B;
  color: #fff;
}

.feature-box:hover .feature-text,
.feature-box:hover .feature-link,
.feature-box:hover .feature-icon {
  color: #fff;
}
/* ===== ABOUT SECTION STYLE ===== */

/* ===== ABOUT MODERN ===== */
.about-modern {
  background: #E8D8B7;
}

/* WRAPPER */
.about-modern-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* LEFT */
.about-left {
  flex: 1;
}
.about-title {
  font-size: 38px;
  margin-bottom: 20px;
}

.about-desc {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* RIGHT */
.about-right {
  flex: 1;
  position: relative;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 20px;
}

/* FLOATING CARDS */
.floating-card {
  position: absolute;
  width: 140px;
  padding: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.floating-card i {
  font-size: 22px;
  color: #ff6b00;
  margin-bottom: 8px;
}

.floating-card h3 {
  font-size: 18px;
}

.floating-card p {
  font-size: 12px;
  color: #666;
}

/* POSITIONS */
.card-1 { top: 20px; left: -30px; }
.card-2 { top: 150px; right: -30px; }
.card-3 { bottom: 100px; left: -20px; }
.card-4 { bottom: 0; right: 20px; }

/* HOVER */
.floating-card:hover {
  transform: translateY(-8px) scale(1.05);
}
@media (max-width: 992px) {
  .about-modern-wrapper {
    flex-direction: column;
  }

  .about-right {
    margin-top: 40px;
  }

  .floating-card {
    position: static;
    margin: 10px auto;
  }
}
/* ////////////our causes/////////////////// */

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 34px;
  color: #2C2C2C;
  margin-bottom: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #D97A2B;
  margin: 8px auto 0;
}

.section-subtitle {
  font-size: 14px;
  color: #555;
}
/* BANNER */
.page-banner {
  height: 300px;
  background: url('https://images.unsplash.com/photo-1509099836639-18ba1795216d') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-content {
  position: relative;
  color: #fff;
}

.page-banner h1 {
  font-size: 42px;
}

.page-banner p {
  font-size: 16px;
}

/* OVERLAY */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;

}

/* DONATE BUTTON */
.donate-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #D97A2B;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  transition: 0.3s;
}

/* ICON */
.donate-tag i {
  font-size: 10px;
}

/* HOVER */
.cause-card:hover .donate-tag {
  background: #fff;
  color: #D97A2B;
}


/* PAGE */
.causes-page {
  background: #E8D8B7;
  padding: 80px 0;
  color: #2C2C2C;
}

/* GRID */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.cause-card {
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  text-decoration: none;
  color: #2C2C2C;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
   box-shadow: 0 8px 25px #2c2c2c16;

}

/* Content above overlay */
.cause-card i,
.cause-card h3,
.cause-card p {
  position: relative;
  z-index: 2;
  transition: 0.3s;
}

.cause-card p {
  font-size: 14px;
  color: #555;
}

/* HOVER */
.cause-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  background: #D97A2B;
  top: 0;
  left: 0;
  transition: 0.4s;
  z-index: 1;
}

.cause-card:hover::before {
  height: 100%;
}

/* Text color change */
.cause-card:hover i,
.cause-card:hover h3,
.cause-card:hover p {
  color: #fff;
}

/* CTA */
.causes-cta {
  text-align: center;
  margin-top: 60px;
}

.causes-cta h2 {
  margin-bottom: 20px;
}

/* BUTTON */
.btn-primary {
  background: #D97A2B;
  color: #fff;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 5px;
}

.btn-primary:hover {
  background: #b86520;
}

.view-more {
  text-align: center;
  margin-top: 50px;
}

.view-more .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* PAGE */
.involve-page {
  background: #E8D8B7;
  padding: 80px 0;
  color: #2C2C2C;
}

/* GRID */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.involve-card {
  background: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ICON */
.involve-card i {
  font-size: 32px;
  color: #D97A2B;
  margin-bottom: 15px;
}

/* TITLE */
.involve-card h3 {
  margin-bottom: 10px;
}

/* TEXT */
.involve-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* HOVER */
.involve-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* BUTTON */
.btn-primary {
  background: #D97A2B;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #b86520;
}

/* VALUES */
.values-box {
  margin-top: 70px;
  text-align: center;
}

.values-box h2 {
  margin-bottom: 20px;
}

/* TAGS */
.values-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.values-list span {
  background: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
/* ////feature campagin/////////// */

/* SECTION */
.campaign {
  padding: 80px 0;
  background: #E8D8B7;
}

/* HEADING */
.section-head {
  text-align: left;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.section-head p {
  color: #666;
}



/* GRID */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.campaign-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.campaign-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* IMAGE */
.campaign-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* CONTENT */
.campaign-content {
  padding: 20px;
}

.campaign-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

/* PROGRESS BAR */
.progress-bar {
  height: 6px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: #ff6b00;
  border-radius: 10px;
}

/* PROGRESS TEXT */
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 15px;
  color: #444;
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  background: #ff6b00;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary i {
  margin-right: 6px;
}

.btn-primary:hover {
  background: #e65c00;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .campaign-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}
/* /////////////////////////////.testimonial///////////// */
.testimonials {
  background: #E8D8B7;
  padding: 80px 0;
}

.section-head.center {
  text-align: center;
  margin-bottom: 50px;
}
.section-head.center h2::after{
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #D97A2B;
    margin: 8px auto 0;
}
.testimonial-wrapper {
  max-width: 700px;
  margin: auto;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.testimonial.active {
  display: block;
  animation: fade 0.5s ease;
}

.testimonial p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.user img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.user h4 {
  margin: 5px 0;
}

.user span {
  font-size: 13px;
  color: #888;
}

.testimonial-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  background: #ccc;
  display: inline-block;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #ff6b00;
}

@keyframes fade {
  from {opacity: 0;}
  to {opacity: 1;}
}
/* /////////////footer//////////// */
.footer {
  background: #3E5F3C;
  color: #ccc;
  padding-top: 60px;
}

/* GRID */
.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* COLUMN */
.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ff6b00;
  padding-left: 5px;
}

/* ICONS */
.footer-col i {
  margin-right: 8px;
  color: #ff6b00;
}

/* SOCIAL */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background: #333;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #ff6b00;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background: #111;
  margin-top: 40px;
  font-size: 14px;
}