/* =========================
   HEADER
========================= */
#main-header {
    width: 100%;
    padding: 2px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

#main-header.scrolled {
    padding: 1px 8%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}




/* =========================
   GLOBAL RESET + BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f8fafc;
}

img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* =========================
   LAYOUT
========================= */
.section {
    padding: 80px 20px;
}

.center {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}


.card.center {
    max-width: 100%;
    margin: auto;
    text-align: center;
    width: 300px;
    border: 1px solid #e91e63;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

/* =========================
   COLORS
========================= */
:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --secondary: #6c63ff;
    --light: #f8fafc;
    --dark: #111;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.home-h2{
    color: #ffffff!important;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: #555;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    min-height: 80vh;
}

.hero-content p {
    font-size: 1.1rem;
}

.hero-btns {
    margin-top: 20px;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* MOBILE HERO */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }
}

/* =========================
   TRUST STRIP
========================= */
.trust-strip {
    background: #e91e63;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 2.1rem;
}

.trust-strip p{
    color:#ffffff;
}

/* =========================
   CARDS (PACT STYLE)
========================= */
.card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

#whatwedo .card{
    text-align:center;
}

.card.fade-in img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.vimis{
    background:#e91e63;
}


/* Masonry layout */
.masonry {
    column-count: 3; /* number of columns */
    column-gap: 35px;
}

.masonry .card {
    display: inline-block; /* needed for masonry */
    width: 100%;
    margin-bottom: 20px;
    background: #012749;
    color: #ffffff;
    text-align: center;
}

.masonry .card p{
    color: #ffffff;
}


/* =========================
   ALT BACKGROUND
========================= */
.alt-bg {
    background: aliceblue;
}

/* =========================
   BUTTONS (PREMIUM)
========================= */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #eee;
    color: #333;
}

.btn-secondary:hover {
    background: #ddd;
}

.btn-outline{
    border: 1px solid #ffffff;
    color:#ffffff;
}

/* =========================
   CTA SECTION
========================= */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #e91e63, #6c63ff);
    color: #fff;
    border-radius: 20px;
    margin: 40px 20px;
    padding: 60px 20px;
}

.cta p {
    color: #fff;
}

.cta .btn-primary {
    background: #fff;
    color: #e91e63;
}

.cta .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* =========================
   COUNTER
========================= */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* =========================
   FADE ANIMATION
========================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   NAV BUTTON SPECIAL
========================= */
.nav-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

/* FEATURE GRID (4 COLUMN) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* INDIVIDUAL ITEM */
.feature-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.feature-item li{
    list-style:none;
}

.feature-item:hover {
    transform: translateY(-8px);
}

/* ICON STYLE */
.feature-icon {
    font-size: 2.5rem;
    background: #fde4ec;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* TEXT */
.feature-item p {
    font-weight: 500;
    color: #333;
}

.feature-item svg {
    width: 50px;
    height: 50px;
    stroke: #e91e63;
    stroke-width: 1;
    margin-bottom: 15px;
}

.feature-item:hover svg {
    transform: scale(1.2);
    transition: 0.3s ease
    stroke: #000;
}


/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* FOUNDER SECTION */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* IMAGE */
.founder-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* CONTENT */
.founder-content h2 {
    margin-bottom: 20px;
}

.founder-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-content {
        margin-top: 20px;
    }
}

.founder-image img {
    transition: transform 0.4s ease;
}

.founder-image:hover img {
    transform: scale(1.05);
}

/* ===== FOUNDER STORY PREMIUM STYLE ===== */

.founder-story {
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
}

/* LEFT TIMELINE LINE */
.founder-story::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #f8c6d8;
}

/* HEADINGS */
.founder-story h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.founder-story h3 {
    margin-top: 40px;
    margin-bottom: 10px;
    color: #e91e63;
    position: relative;
}

/* DOT ON TIMELINE */
.founder-story h3::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #e91e63;
    border-radius: 50%;
}

/* PARAGRAPHS */
.founder-story p {
    margin-bottom: 15px;
}

/* LISTS */
.founder-story ul {
    margin: 15px 0 20px 20px;
}

.founder-story li {
    margin-bottom: 8px;
}

/* QUOTE */
.founder-story blockquote {
    background: #fde4ec;
    border-left: 5px solid #e91e63;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 8px;
}

/* STRONG STATEMENT */
.founder-story strong {
    color: #e91e63;
    font-size: 1.1rem;
}

/* SECTION HIGHLIGHT (KEY MOMENTS) */
.founder-story h3 + p {
    background: #fff7fa;
    padding: 12px 15px;
    border-radius: 8px;
}

/* ANIMATION */
.founder-story > * {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.founder-story.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
    .founder-story {
        padding-left: 20px;
    }

    .founder-story::before {
        left: 5px;
    }

    .founder-story h3::before {
        left: -15px;
    }
}

/* What We Do Chart */
#model {
    background: aliceblue;
    color:#000000;
}

#model p{
    color: #000000;
}
.flowchart-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.flowchart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.step {
    background: linear-gradient(135deg, #e91e63, #e91e63);
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 4px 8px #ffffff;
    position: relative; /* <-- added */
}

/* Add arrow after each step except the last one  */
.step:not(:last-child)::after {
    content: '→'; /* arrow symbol */
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ffffff;
}

#progra{
    background:#012749;
    color:#e91e63;
}

/* Make it responsive */
@media (max-width: 768px) {
    .flowchart {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/* Services */

.tabs-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

/* LEFT TABS */
.tabs {
    display: flex;
    flex-direction: column;
    border-right: 2px solid #e0e0e0;
}

.tab {
    padding: 15px 20px;
    border-bottom: 1px solid #e91e63;
    background: none;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    border-left: 4px solid transparent;
    text-transform: uppercase;
    line-height: 1.6em;
    border-right: none;
    border-top: none;
}

.tab:hover {
    background: #f1f8e9;
}

.tab.active {
    background: #e8f5e9;
    border-left: 4px solid #e91e63;
    color: #e91e63;
}

/* RIGHT CONTENT */
.tab-content {
    position: relative;
    min-height: 250px;
    display: flex;
    justify-content: space-evenly;
    align-items: center; /* <-- this centers vertically */
    text-align:center;
    background: aliceblue;
}

.content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content.active {
    display: block;
}

/* ICON */
.content i {
    width: 40px;
    height: 40px;
    color: #2e7d32;
    margin-bottom: 10px;
}

/* TEXT */
.content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 10px;
}

.content ul {
    padding-left: 20px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media(max-width: 768px){
    .tabs-wrapper {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 2px solid #ddd;
    }

    .tab {
        flex: 1;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .tab.active {
        border-bottom: 3px solid #2e7d32;
    }
}


/* SECTION BACKGROUND */
.involvement-section {
    background: linear-gradient(135deg, #fff, #fff);
    padding: 80px 20px;
}

.center {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom:60px;
}

.center h2 {
    font-size: 2.2rem;
    color: #1a2b49;
    margin-bottom: 10px;
}

.subtitle {
    color: #6c7a92;
    font-size: 1rem;
}

/* GRID */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* FLIP CARD */
.flip-card {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

/* FRONT & BACK */
.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 30px 20px;
    backface-visibility: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* FRONT */
.flip-front {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.flip-front h3 {
    font-size: 1.2rem;
    color: #1a2b49;
    text-align:center;
}

/* BACK */
.flip-back {
    background: #e91e63;
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.flip-back p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color:#ffffff;
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #ffffff;
    color: #1a73e8;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    background: #e6efff;
}

/* MOBILE OPTIMIZATION */
@media(max-width: 768px) {
    .flip-inner {
        height: 240px;
    }
}


/* SECTION BACKGROUND */
.why-matters {
    background: linear-gradient(135deg, #f4f8ff, #ffffff);
    padding: 80px 20px;
}

/* CONTAINER */
.why-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    align-items: center;
}

/* LEFT SIDE */
.why-card {
    background: #e91e63;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.why-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.accent-line {
    width: 50px;
    height: 4px;
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
}

.highlight {
    font-size: 1rem;
    opacity: 0.9;
    color:#fff;
}

/* RIGHT SIDE */
.why-content {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.why-content p {
    color: #4a5a75;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.emphasis {
    font-weight: 600;
    color: #1a2b49;
}

/* BUTTON */
.cta-btn, .home-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #e91e63;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #1558b0;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .why-container {
        grid-template-columns: 1fr;
    }

    .why-card, .why-content {
        text-align: center;
    }

    .accent-line {
        margin: 0 auto 20px;
    }
}

/* SECTION BASE */
.resource-section {
    padding: 70px 20px;
}

.alt-bg {
    background: #f7faff;
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* TITLE */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: #1a2b49;
}

/* GRID ITEMS */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.resource-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    color: #4a5a75;
    text-align: center;
    transition: 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

/* IMPACT BOX */
.impact-box {
    background: linear-gradient(135deg, #fff, #fff);
    color: #1a2b49;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.impact-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.impact-box p {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* GRID */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
}

/* CARD */
.donation-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
}

.featured {
    border: 2px solid #1a73e8;
}

/* TEXT */
.donation-card h3 {
    margin-bottom: 10px;
    color: #1a2b49;
}

.subtitle {
    color: #6c7a92;
}

/* PROGRESS */
.progress-box {
    margin: 20px 0;
    text-align: left;
}

.progress-bar {
    background: #eee;
    height: 8px;
    border-radius: 10px;
    margin: 8px 0;
}

.progress {
    height: 100%;
    background: #1a73e8;
    border-radius: 10px;
}

/* BUTTON */
.donate-btn {
    padding: 12px 20px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    margin: 8px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #1a73e8;
    border-radius: 10px;
    transition: width 0.5s ease;
}


.modal {
    display: none; 
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    overflow: auto;
}

/* MODAL BOX */
.modal-content {
    background: #ffffff;
    margin: 6% auto;
    padding: 30px 25px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeInUp 0.3s ease;
}

/* CLOSE BUTTON */
.modal-content .close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-content .close:hover {
    color: #1a73e8;
}

/* TITLE */
.modal-content h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #1a2b49;
    font-size: 1.4rem;
}

/* FORM */
#donationForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* INPUTS */
#donationForm input,
#donationForm select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s ease;
}

#donationForm input:focus,
#donationForm select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

/* BUTTON */
#donationForm button {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
}

#donationForm button:hover {
    background: #1558b0;
}

/* ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 500px) {
    .modal-content {
        margin: 20% 15px;
        padding: 25px 20px;
    }
}