* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
     padding-top: 90px;
}

/* Navigation Bar */
.navbar {
    background: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    margin: 0 auto;
    padding: 10px 20px 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo - Left Side */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 80px;
    width: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo a:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(2px 2px 8px rgba(255, 215, 0, 0.5));
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;

    /* ⭐ ADDED → Ensures menu stays right */
    margin-left: auto;
}

.nav-item {
    position: relative;
}

/* Dropdown Menu for Home1 */
.home-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    list-style: none;
    padding: 10px 0;
    margin: 5px 0 0 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1001;
}

.home-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: transparent;
    color: #ffd700;
    padding-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    display: block;
    border-radius: 25px;
    background: transparent;
}

.nav-link:hover {
    background: transparent;
    color: #ffd700;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-container {
        height: auto;
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 70px;
        width: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: transparent;
        color: #ffd700;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .home-dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-link {
        padding: 10px 40px;
        font-size: 14px;
    }
}
.nav-logo img {
    width: 140px;        /* bigger size for mobile */
    height: auto;
}

@media (min-width: 768px) {
    .nav-logo img {
        width: 180px;    /* normal size for tablet+ */
    }
}

@media (min-width: 1024px) {
    .nav-logo img {
        width: 200px;    /* normal size for desktop */
    }
}

/*hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: whitesmoke;
  color: #333;
}

/* ========= GLOBAL ========= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 800;
}

.section-heading p {
  color: #0a0000;
  max-width: 600px;
  margin: 10px auto 0;
}

.badge {
  background: #e0f7ff;
  color: #0099cc;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
}

.section-heading.light h2,
.section-heading.light p {
  color: rgb(228, 15, 15);
}

.badge.light {
  background: rgba(255,255,255,0.25);
  color: #684444;
}
/* FIX HERO TEXT VISIBILITY */
.hero-title,
.hero-sub,
.hero-badge {
  color: #ffffff !important;
}

.hero-sub {
  color: rgba(255,255,255,0.95) !important;
}

.section-heading.light h2,
.section-heading.light p {
  color: #ffffff !important;
}

/* Make badge readable on dark bg */
.badge.light {
  background: rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
}


/* ========= REVEAL ANIMATION ========= */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========= HERO ========= */
.hero {
  position: relative;
  padding: 100px 0 140px;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: linear-gradient(135deg,#059669,#22c55e);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: bold;
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  margin: 15px 0;
}
/* HERO VISIBILITY FIX */
.hero-pattern {
  opacity: 0.25 !important;     /* reduce darkness */
}

.hero-inner {
  position: relative;
  z-index: 5 !important;         /* bring text above overlay */
}

.hero {
  background: linear-gradient(135deg,#059669,#22c55e); /* ensures visible bg */
}

.hero-sub {
  color: #f0f0f0;
  max-width: 700px;
  margin: auto;
  font-size: 18px;
}

/* ========= SERVICE CARDS ========= */
.services-section {
  padding: 80px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-card h3 {
  font-size: 20px;
  margin: 10px 0;
  font-weight: 700;
}

.service-card p {
  color: #555;
  margin-bottom: 20px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.emerald { background:#d1fae5; color:#059669; }
.orange  { background:#ffedd5; color:#fb923c; }
.blue    { background:#dbeafe; color:#3b82f6; }
.purple  { background:#ede9fe; color:#8b5cf6; }
.pink    { background:#ffe4e6; color:#ec4899; }
.cyan    { background:#cffafe; color:#06b6d4; }

.service-stats {
  display: flex;
  justify-content: space-between;
}

.service-stats span {
  display: block;
  color: #777;
  font-size: 12px;
}

/* ========= PROCESS ========= */
.process-section {
  background: #f3f4f6;
  padding: 80px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.process-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
}

.process-card .step {
  width: 50px;
  height: 50px;
  background: #059669;
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 22px;
  margin-bottom: 15px;
}

/* ========= FEATURED PROJECT ========= */
.featured-section {
  padding: 80px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px;
  align-items: center;
}

.featured-image {
  position: relative;
}

.featured-image img {
  width: 100%;
  border-radius: 20px;
}

.completion-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #f97316;
  color: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}

.check-list li {
  list-style: none;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  background: #059669;
  color: white;
  border-radius: 30px;
  cursor: pointer;
}

.btn.white {
  background: white;
  color: #059669;
  border: 2px solid #059669;
}

/* ========= VOLUNTEER ========= */
.volunteer-section {
  padding: 80px 0;
  background: linear-gradient(135deg,#059669,#047857);
  color: white;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.vol-card {
  background: white;
  padding: 25px;
  border-radius: 18px;
  color: #333;
}

.vol-card .tags span {
  background: #e5e7eb;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 5px;
}
/* Center apply button */
.center {
  text-align: center;
  margin-top: 40px;
}

/* Beautiful White Button */
.btn.white {
  display: inline-block;
  padding: 14px 34px;
  background: #ffffff;
  color: #059669;
  font-weight: 700;
  border-radius: 50px;
  font-size: 16px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.35s ease;
  box-shadow: 0 4px 12px rgba(255,255,255,0.25);
  text-decoration: none;
}


/* Hover Effect */
.btn.white:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

/* Add a glowing effect when active */
.btn.white:active {
  transform: scale(0.95);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
  .service-grid,
  .process-grid,
  .volunteer-grid,
  .featured-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 600px) {
  .service-grid,
  .process-grid,
  .volunteer-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }
}


/*footer*/

.site-footer {
    background: linear-gradient(135deg, #0a0f24, #111b3b);
    color: #d9e4ff;
    padding: 70px 20px 35px;
    font-family: "Poppins", sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* BRAND SECTION */
.footer-brand {
    flex: 1.6;
    min-width: 280px;
}

.footer-logo {
    width: 170px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b8c7e8;
    margin-bottom: 20px;
}

/* SUBSCRIBE SECTION */
.footer-subscribe {
    margin-top: 25px;
}

.subscribe-label {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid #39466a;
    background: #1a2547;
    color: white;
    outline: none;
    transition: 0.3s;
}

.subscribe-input:focus {
    border-color: #6c92ff;
}

.subscribe-button {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #5e2bff, #3d94ff);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 600;
}

.subscribe-button:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, #3a20ff, #2d7aff);
}

.subscribe-hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #93a3c7;
}

/* LINKS SECTION */
.footer-columns {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 35px;
    min-width: 250px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.15rem;
    position: relative;
}

.footer-column h3::after {
    content: "";
    width: 35px;
    height: 3px;
    background: #3b82ff;
    display: block;
    margin-top: 5px;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #b5c6e4;
    text-decoration: none;
    transition: 0.25s;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 6px;
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 45px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom-left p {
    margin: 0;
    color: #92a3ca;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.footer-legal a {
    color: #b7cbff;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #fff;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1b2647;
    padding: 10px;
    transition: 0.3s;
    filter: grayscale(30%);
}

.social-icon:hover {
    transform: scale(1.15);
    background: #3b82ff;
    filter: grayscale(0%);
    box-shadow: 0px 0px 12px rgba(59, 130, 255, 0.6);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-columns {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-button {
        width: 100%;
    }

    .footer-columns {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}
