/* ==========================================================================
   Samarpan Jan Kalyan Foundation - Main Stylesheet
   Modern, Responsive, Indian Social Development NGO Portal
   Target: Visual Studio 2012 / ASP.NET Web Forms / Bootstrap 3
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #E65100;
    --primary-light: #FF833A;
    --primary-dark: #AC1900;
    --secondary: #1B5E20;
    --secondary-light: #4C8C4A;
    --accent: #F57F17;
    --accent-light: #FFB04C;
    --dark: #1E293B;
    --dark-muted: #475569;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --card-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    --card-hover-shadow: 0 14px 35px rgba(230, 81, 0, 0.15);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #FAFAFA;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}
a:hover, a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ---------------- TOP BAR ---------------- */
.top-header-bar {
    background: #0F172A;
    color: #CBD5E1;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 2px solid var(--primary);
}
.top-header-bar a {
    color: #E2E8F0;
}
.top-header-bar a:hover {
    color: #FFB04C;
}
.top-header-bar .badge-80g {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: #FFF;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}
.top-social-links a {
    display: inline-block;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 5px;
}
.top-social-links a:hover {
    background: var(--primary);
    color: #FFF;
}

/* ---------------- MAIN NAVIGATION ---------------- */
.navbar-custom {
    background: #FFFFFF;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: var(--transition);
}
.navbar-brand-ngo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #E65100, #F57F17);
    color: #FFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 12px;
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
}
.logo-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
}
.logo-text span {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    text-transform: uppercase;
}

.navbar-custom .navbar-nav > li > a {
    color: #1E293B;
    font-weight: 600;
    font-size: 14px;
    padding: 18px 12px;
    border-radius: 6px;
    transition: var(--transition);
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus,
.navbar-custom .navbar-nav > .active > a {
    color: var(--primary);
    background: rgba(230, 81, 0, 0.05);
}

.navbar-custom .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid #F1F5F9;
    padding: 8px 0;
}
.navbar-custom .dropdown-menu > li > a {
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    transition: var(--transition);
}
.navbar-custom .dropdown-menu > li > a:hover {
    background: #FFF7ED;
    color: var(--primary);
    padding-left: 24px;
}

.btn-donate-nav {
    background: linear-gradient(135deg, #E65100, #F57F17);
    color: #FFF !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    margin-top: 8px;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.35);
    display: inline-block;
}
.btn-donate-nav:hover {
    background: linear-gradient(135deg, #BF360C, #E65100) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.45);
}

/* ---------------- HERO SLIDER ---------------- */
.hero-slider-wrap {
    position: relative;
    background: #0F172A;
    color: #FFF;
    overflow: hidden;
}
.carousel-inner > .item {
    height: 520px;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 650px;
    padding: 30px 0;
}
.hero-badge {
    background: rgba(230, 81, 0, 0.2);
    border: 1px solid var(--primary-light);
    color: #FFB04C;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.hero-content h1 {
    color: #FFF;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 17px;
    color: #CBD5E1;
    margin-bottom: 25px;
    line-height: 1.6;
}
.hero-btns .btn {
    margin-right: 12px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
}

/* ---------------- IMPACT COUNTER STRIP ---------------- */
.impact-strip {
    background: linear-gradient(135deg, #1B5E20, #0F172A);
    color: #FFF;
    padding: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border-radius: 12px;
}
.counter-box {
    text-align: center;
    padding: 10px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.counter-box:last-child {
    border-right: none;
}
.counter-box .icon {
    font-size: 32px;
    color: #FFA000;
    margin-bottom: 10px;
}
.counter-box .number {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #FFF;
    margin-bottom: 4px;
}
.counter-box .label {
    font-size: 13px;
    color: #A7F3D0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------------- SECTION COMMON ---------------- */
.section-padding {
    padding: 70px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header .sub-title {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 8px;
    background: #FFF7ED;
    padding: 4px 14px;
    border-radius: 20px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
}
.section-header p {
    color: #64748B;
    max-width: 680px;
    margin: 0 auto;
    font-size: 15px;
}

/* ---------------- FOCUS AREA CARDS ---------------- */
.focus-card {
    background: #FFF;
    border-radius: 12px;
    padding: 30px 24px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid #F1F5F9;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.focus-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.focus-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: #FED7AA;
}
.focus-card:hover::before {
    opacity: 1;
}
.focus-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #FFF7ED;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.focus-card:hover .icon-box {
    background: var(--primary);
    color: #FFF;
}
.focus-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.focus-card p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ---------------- PROGRAMME CARDS ---------------- */
.programme-card {
    background: #FFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    border: 1px solid #F1F5F9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}
.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.programme-card .card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #CBD5E1;
}
.programme-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.programme-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.card-badge-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-ongoing {
    background: #2E7D32;
    color: #FFF;
}
.badge-completed {
    background: #475569;
    color: #FFF;
}
.card-badge-cat {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.programme-card .card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.programme-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}
.programme-card h3 a {
    color: #0F172A;
}
.programme-card h3 a:hover {
    color: var(--primary);
}
.programme-card p {
    color: #64748B;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}
.programme-meta {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 15px;
    border-top: 1px solid #F1F5F9;
    padding-top: 12px;
}
.programme-meta i {
    color: var(--primary);
    margin-right: 5px;
}
.card-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---------------- PROGRESS BAR ---------------- */
.progress-ngo {
    height: 8px;
    border-radius: 4px;
    background-color: #E2E8F0;
    margin-bottom: 8px;
    overflow: hidden;
}
.progress-ngo .progress-bar {
    background: linear-gradient(90deg, #E65100, #F57F17);
    box-shadow: none;
}

/* ---------------- SUCCESS STORIES SPOTLIGHT ---------------- */
.story-card {
    background: #FFF;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}
.story-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FED7AA;
    margin-bottom: 15px;
}
.story-quote {
    font-style: italic;
    color: #475569;
    font-size: 14.5px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}
.story-quote::before {
    content: '\201C';
    font-size: 40px;
    color: var(--primary-light);
    position: absolute;
    left: 0;
    top: -15px;
    font-family: serif;
}

/* ---------------- DONATION CALL TO ACTION STRIP ---------------- */
.cta-donate-strip {
    background: linear-gradient(135deg, #E65100, #BF360C);
    color: #FFF;
    border-radius: 16px;
    padding: 50px 40px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(230, 81, 0, 0.3);
}
.cta-donate-strip h2 {
    color: #FFF;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-donate-strip p {
    color: #FFE0B2;
    font-size: 16px;
    margin-bottom: 25px;
}
.quick-amount-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFF;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    margin-right: 8px;
    margin-bottom: 10px;
    display: inline-block;
    transition: var(--transition);
}
.quick-amount-btn:hover, .quick-amount-btn.active {
    background: #FFF;
    color: var(--primary-dark);
}

/* ---------------- TEAM CARDS ---------------- */
.team-card {
    background: #FFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #F1F5F9;
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
}
.team-img-wrap {
    height: 240px;
    overflow: hidden;
    background: #E2E8F0;
}
.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-info {
    padding: 22px 18px;
}
.team-info h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.team-info .designation {
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 12px;
}
.team-info p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 15px;
}
.team-social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: #F1F5F9;
    color: #475569;
    border-radius: 50%;
    margin: 0 4px;
    font-size: 13px;
}
.team-social a:hover {
    background: var(--primary);
    color: #FFF;
}

/* ---------------- GALLERY GRID & LIGHTBOX ---------------- */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    height: 220px;
    background: #CBD5E1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    transition: var(--transition);
    color: #FFF;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h5 {
    color: #FFF;
    font-size: 14px;
    margin: 0 0 4px 0;
}
.gallery-overlay span {
    font-size: 11px;
    color: #CBD5E1;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
    background: #0B1120;
    color: #94A3B8;
    padding-top: 60px;
    padding-bottom: 30px;
    font-size: 14px;
    border-top: 4px solid var(--primary);
}
.site-footer h4 {
    color: #FFF;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.site-footer ul {
    list-style: none;
    padding-left: 0;
}
.site-footer ul li {
    margin-bottom: 10px;
}
.site-footer ul li a {
    color: #94A3B8;
}
.site-footer ul li a:hover {
    color: #FFB04C;
    padding-left: 6px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 25px;
    font-size: 13px;
    color: #64748B;
}

/* ---------------- BREADCRUMBS & INNER BANNER ---------------- */
.page-banner {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #FFF;
    padding: 50px 0 40px 0;
    border-bottom: 3px solid var(--primary);
}
.page-banner h1 {
    color: #FFF;
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}
.breadcrumb-custom > li > a {
    color: #FFB04C;
}
.breadcrumb-custom > .active {
    color: #94A3B8;
}

/* ---------------- FORMS & CONTROLS ---------------- */
.form-control-ngo {
    height: 46px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    box-shadow: none;
    font-size: 14px;
    transition: var(--transition);
}
.form-control-ngo:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}
textarea.form-control-ngo {
    height: auto;
}
.btn-primary-ngo {
    background: linear-gradient(135deg, #E65100, #F57F17);
    border: none;
    color: #FFF;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
    transition: var(--transition);
}
.btn-primary-ngo:hover {
    background: linear-gradient(135deg, #BF360C, #E65100);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

.btn-secondary-ngo {
    background: #FFF;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 14px;
    transition: var(--transition);
}
.btn-secondary-ngo:hover {
    background: var(--primary);
    color: #FFF;
}

/* ---------------- NOTIFICATIONS / ALERTS ---------------- */
.alert-ngo-success {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
}
.alert-ngo-danger {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: var(--primary);
    color: #FFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    display: none;
    z-index: 999;
    transition: var(--transition);
}
#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}
