/* =========================================================
   GLOBAL BASE
========================================================= */
body {
    padding-top: 72px;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
}

/* =========================================================
   ADMIN LOGIN / SECURITY
========================================================= */
.password-strength-meter {
    margin-top: 5px;
    height: 5px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-meter .strength {
    height: 100%;
    transition: width 0.3s ease;
}

.security-icon {
    font-size: 1.2em;
    vertical-align: middle;
}

/* =========================================================
   MODALS
========================================================= */
.modal.fade .modal-dialog {
    transform: translateY(-50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* =========================================================
   BUTTONS
========================================================= */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-lg {
    border-radius: 30px;
    padding: 0.65rem 1.8rem;
}

/* =========================================================
   FORMS
========================================================= */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.65);
}

/* Gradient overlay */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 2;
}

/* Text overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffc107;
    margin-top: 6px;
}

.hero-text {
    font-size: 1rem;
    max-width: 520px;
    opacity: 0.9;
    margin-top: 12px;
}

/* Hero animation */
.hero-content {
    opacity: 0;
}

.hero-content.animate {
    animation: heroSlideIn 1.1s ease forwards;
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================================
   CAROUSEL
========================================================= */
.carousel-item {
    width: 100%;
    height: 100vh;
    background-color: #000;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 20;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.7));
}

@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* =========================================================
   STORY CTA
========================================================= */
.story-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: #ffc107;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.story-pill i {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.story-pill:hover {
    background: rgba(255, 193, 7, 0.25);
}

.story-pill:hover i {
    transform: translateX(4px);
}

/* =========================================================
   SOCIAL BUTTONS
========================================================= */
.social-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 15px;
}

.social-btn {
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.social-btn i {
    font-size: 22px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.social-btn span {
    display: block;
    font-size: 13px;
}

.social-btn.whatsapp i {
    background-color: #25D366;
}

.social-btn.youtube i {
    background-color: #FF0000;
}

.social-btn:hover i {
    transform: scale(1.05);
}

/* =========================================================
   IMAGES
========================================================= */
.mountain-img {
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .mountain-img {
        height: 280px;
    }
}

/* =========================================================
   MOBILE HERO
========================================================= */
@media (max-width: 768px) {

    .hero-overlay {
        align-items: flex-start;
        padding-top: 25vh;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-text {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 10px 18px;
        font-size: 15px;
    }
}
/* =========================
   ABOUT IMPACT CARDS
========================= */
.about-impact-section {
    background-color: #f9fafb;
}

.impact-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    height: 100%;

    border: 1px solid rgba(255, 193, 7, 0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);

    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* Icon circle */
.impact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 28px;
}

/* Numbers */
.impact-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 8px;
}

/* Label */
.impact-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: #444;
}

/* Mobile */
@media (max-width: 768px) {
    .impact-card {
        padding: 32px 18px;
    }

    .impact-number {
        font-size: 2.2rem;
    }
}


/* =========================
   PROJECTS PAGE
========================= */
.projects-page {
    background: #f3f6f4;
}

/* Card */
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

/* Image */
.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Body */
.project-body {
    padding: 20px;
}

.project-body h5 {
    font-weight: 600;
    margin: 0;
}

/* Status badge */
.status {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status.active {
    background: #e7f8ee;
    color: #198754;
}

.status.planning {
    background: #fff3cd;
    color: #856404;
}

/* Meta */
.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 12px;
}

.project-meta i {
    margin-right: 6px;
    color: #0d6efd;
}

.tag {
    border: 1px solid #198754;
    color: #198754;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.tag.blue {
    border-color: #0d6efd;
    color: #0d6efd;
}

/* Date */
.project-date {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}


/* =========================
   PROJECTS PAGE
========================= */
.projects-wrapper {
    padding: 40px 30px 60px;
    background: #f6f8f6;
}

/* Header */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.projects-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f4d1f;
    margin-bottom: 4px;
}

.projects-subtitle {
    color: #7a93b8;
    font-size: 16px;
}

/* Language Button */
.lang-btn {
    border: 1px solid #6c8cff;
    background: #fff;
    color: #1f4d1f;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

/* =========================
   UPCOMING PROJECTS BOX
========================= */
.upcoming-projects-box {
    border: 2px solid #e6b800;
    border-radius: 16px;
    padding: 24px;
    background: linear-gradient(
        180deg,
        #f7f6ec 0%,
        #eef3f1 100%
    );
}

/* Title */
.upcoming-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f4d1f;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Project Card */
.upcoming-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    max-width: 420px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Project Content */
.project-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f4d1f;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 15px;
    color: #2f3a4a;
    line-height: 1.6;
    margin-bottom: 14px;
}

.project-location {
    font-size: 14px;
    color: #4a77c9;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile */
@media (max-width: 768px) {
    .projects-header {
        flex-direction: column;
        gap: 12px;
    }

    .upcoming-card {
        max-width: 100%;
    }
}


/* =========================
   ALL PROJECTS SECTION
========================= */
.all-projects-section {
    padding: 40px 30px 80px;
    background: #f4f6f4;
}

/* Tabs */
.projects-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #e6edf1;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 35px;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 0;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    color: #555;
}

.tab-btn.active {
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    color: #000;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

/* Project Card */
.project-card-lg {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #c7dcf5;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card-lg:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

/* Image */
.project-card-lg img{
  width:100%;
  height:auto;
  max-height:350px;
  object-fit:contain;
  display:block;
  margin:auto;
}

/* Content */
.project-content {
    padding: 22px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.project-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f4d1f;
}

/* Status */
.status-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: #e7f8ee;
    color: #198754;
}

.status-badge.planning {
    background: #fff3cd;
    color: #856404;
}

/* Meta */
.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 14px;
}

.location {
    color: #4a77c9;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Category */
.category {
    border: 1px solid #198754;
    color: #198754;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.category.blue {
    border-color: #0d6efd;
    color: #0d6efd;
}

/* Date */
.project-date {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/* Mobile */
@media (max-width: 768px) {
    .projects-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}
     

/* =========================
   FIX PROJECT CARD STRETCH
========================= */

/* Grid alignment */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 360px));
    gap: 28px;
    justify-content: flex-start; /* IMPORTANT */
}

/* Ensure card never stretches */
.project-card-lg {
    width: 100%;
    max-width: 360px;
}
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-lg {
        max-width: 100%;
    }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f6f8f5;
  color: #1f2937;
}

/* CATEGORY BAR */
.category-bar {
  display: flex;
  gap: 10px;
  padding: 16px;
  background: #e9f0f3;
  border-radius: 12px;
  margin: 20px;
}

.category-bar button {
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
}

.category-bar .active {
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #ffffff, #f6f8f5);
}

.hero-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6c26e, #9fb3c8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hero h1 {
  font-size: 48px;
  color: #2f5e1b;
}

.hero p {
  font-size: 20px;
  color: #7aa0c4;
  margin: 10px 0 25px;
}

.language-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #7aa0c4;
  background: white;
  cursor: pointer;
}

/* FEATURED */
.featured {
  padding: 40px 20px;
}

.featured h2 {
  font-size: 28px;
  color: #2f5e1b;
  margin-bottom: 30px;
}

/* STORY CARD */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.story-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-content {
  padding: 20px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  background: #ffe5e5;
  color: #d60000;
  font-size: 13px;
  margin-bottom: 10px;
}

.story-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #2f5e1b;
}

.story-content p {
  color: #4b5563;
  margin-bottom: 20px;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Projects Preview */
.projects-preview-section {
    background: #f8f9fa;
}

.project-preview-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-preview-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.project-preview-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.project-preview-card p {
    font-size: 0.95rem;
    color: #555;
}

.project-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optional stagger effect */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }


/* ===== Impact (numbers) animation ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Project cards animation ===== */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
    transition: all 0.9s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: all 0.9s ease;
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }


@media (max-width: 768px) {

    .hero-section {
        height: 70vh;
    }

    .hero-img {
        height: 70vh;
    }

    .carousel-item {
        height: 70vh;
    }
}
.awareness-item ul li {
    padding: 6px 0;
}

.awareness-item h6 {
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

/* SECTION */
.contact-section{
background:linear-gradient(180deg,#f7f6f1,#eef5f1);
}

/* TITLE */
.contact-section .section-title{
font-weight:700;
font-size:34px;
color:#1f3d2b;
}

.section-subtitle{
color:#6c757d;
font-size:16px;
}

/* CARD */
.contact-card{
background:#fff;
border-radius:18px;
padding:35px 30px;
text-align:center;
height:100%;

box-shadow:0 12px 30px rgba(0,0,0,0.08);

transition:all .35s ease;
position:relative;
overflow:hidden;
}

.contact-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,0.18);
}

/* ICON */
.contact-icon{
width:80px;
height:80px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
margin:0 auto 18px;
color:#fff;
}

/* ICON COLORS */
.admin-icon{
background:linear-gradient(135deg,#2ecc71,#1e8449);
}

.cloud-icon{
background:linear-gradient(135deg,#4c84ff,#2c60d6);
}

.help-icon{
background:linear-gradient(135deg,#ffb347,#ff8c00);
}

/* HEADINGS */
.contact-card h4{
font-weight:700;
margin-bottom:6px;
}

/* EMAIL */
.contact-email{
display:inline-block;
font-weight:600;
color:#1f3d2b;
text-decoration:none;
font-size:15px;
transition:.25s;
}

.contact-email:hover{
color:#0d6efd;
}

/* DIVIDER */
.contact-divider{
width:50px;
height:3px;
background:#e9ecef;
margin:18px auto;
border-radius:4px;
}

/* LIST */
.contact-card ul{
list-style:none;
padding:0;
margin:0;
color:#555;
font-size:14px;
}

.contact-card li{
padding:6px 0;
}

/* MOBILE */
@media (max-width:768px){

.contact-card{
padding:28px 20px;
}

.contact-section .section-title{
font-size:28px;
}

}