/* Global Styles */
:root {
    --primary-orange: #ff5e13;
    --primary-green: #0e5a32;
    --text-dark: #333333;
    --text-grey: #666666;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header Consolidation */
.site-header {
    position: relative;
    width: 100%;
    z-index: 1050;
    background: #fff;
}

body {
    padding-top: 0; /* Reset padding since header is not fixed */
}

@media (max-width: 991px) {
    .site-header {
        position: relative; /* Allow it to scroll with content */
    }
    
    body {
        padding-top: 0; /* Remove gap */
    }
}

.top-bar {
    background-color: var(--primary-orange);
    color: white;
    padding: 0;
    font-size: 13px;
    position: relative;
}

.contact-info {
    font-weight: 200;
}

.btn-donate-top {
    background-color: #222;
    color: white;
    padding: 8px 15px;
    border-radius: 0px;
    font-weight: 600;
    margin-right: 15px;
    display: inline-block;
}

.btn-donate-top:hover {
    background-color: #000;
    color: white;
}

.social-icon-top {
    color: white;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
}

/* Main Navigation */
.main-nav {
    padding: 10px 0;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 94, 19, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.brand-logo {
    max-height: 70px;
}

@media (max-width: 991px) {
    .brand-logo {
        max-height: 30px;
    }
}

.nav-link {
    color: var(--text-dark) !important;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 15px !important;
    position: relative;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-orange) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--primary-orange);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-grey);
}

.hero-main-img {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Hero Banner V2 */
.hero-banner {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.hero-welcome-title {
    font-size: 30px;
    letter-spacing: -0.5px;
    margin-top: -64px;
}

.hero-title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
    margin-bottom: 30px;
}

.hero-welcome-desc {
    font-size: 10px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-collage-img {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.hero-grid-item.large {
    grid-column: span 2;
}

.hero-grid-item img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    width: 100%;
    object-fit: cover;
}

.video-placeholder {
    background-color: #eee;
    height: 100%;
    min-height: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

.video-placeholder:hover {
    background-color: #e0e0e0;
}

/* Welcome Section */
.welcome-badge {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 8px 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-underline {
    width: 40px;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 5px auto 0;
}

.action-card {
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.bg-orange {
    background-color: var(--primary-orange);
}

.orange-text {
    color: var(--primary-orange);
}

.green-text {
    color: #25d366; /* WhatsApp green */
}

/* Causes Section */
.section-title {
    font-size: 2.5rem;
}

.title-underline-sm {
    width: 50px;
    height: 3px;
    background-color: var(--primary-orange);
}

.cause-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.cause-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.cause-card img, 
.cause-card .ratio {
    height: 250px;
    object-fit: cover;
}


.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 5;
}

.card-media-wrapper:hover .card-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.card-hover-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
}

.card-media-wrapper:hover .card-hover-overlay .btn {
    transform: translateY(0);
}

.cause-title a:hover {
    color: var(--primary-orange);
}

/* Progress Bar Customization */
.progress {
    height: 8px;
    background-color: #eee;
    overflow: visible;
    position: relative;
    border-radius: 10px;
}

.progress-bar {
    background-color: var(--primary-orange);
    position: relative;
    border-radius: 10px;
}

.progress-bubble {
    position: absolute;
    right: -18px; /* Centered on the end of the bar */
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-orange);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.cause-stats {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-grey);
}

/* Action Cards V2 */
.action-section {
    background: #f1f4f5;
}

.action-card {
    padding: 60px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.action-card h3 {
    font-size: 1.4rem;
    font-weight: 500 !important;
}

.action-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.9;
}

.bg-light-gray {
    background-color: #ffffff;
}

.action-card.bg-light-gray h3 {
    color: #2b2b2b;
}

.action-card.bg-light-gray p {
    color: #6c757d;
}

.action-card .card-icon {
    font-size: 1.4rem;
    font-weight: 300;
}

/* Stats V2 Section */
.bg-stats-gray {
    background-color: #eef2f3;
}

.stats-v2-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.stats-v2-title {
    font-size: 28px;
    line-height: 1.5;
    color: #2b2b2b !important;
}

.stats-v2-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary-orange);
    margin-top: 25px;
    margin-bottom: 35px !important;
}

.stats-v2-desc {
    font-size: 10px;
    line-height: 2;
    color: #6c757d !important;
}

.stat-item-inner {
    padding: 20px 0;
}

.stat-v2-icon {
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 25px !important;
}

.stat-v2-number {
    font-size: 3.2rem;
    color: #1a1a1a !important;
    letter-spacing: -0.5px;
}

.small-k {
    font-size: 1.8rem;
    font-weight: 400;
}

.stat-v2-label {
    font-size: 0.9rem;
    color: #6c757d !important;
}

/* Hover effect for 2nd and 3rd cards */
.action-card.bg-light-gray:hover {
    background-color: var(--primary-orange);
}

.action-card.bg-light-gray:hover h3,
.action-card.bg-light-gray:hover p,
.action-card.bg-light-gray:hover .card-icon i {
    color: white !important;
}

/* Stats Section */
.stats-section {
    background-color: #fff;
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-grey);
    letter-spacing: 1px;
}

/* Footer Styles */
.ft-sec {
    background: url('../img/foot-bg.jpg') no-repeat center center / cover;
    padding: 100px 0 0;
    color: #fff;
    position: relative;
}

.ft-top {
    padding-bottom: 70px;
}

.ft-lg {
    max-width: 100%;
    height: auto;
}

.ft-tx {
    font-size: 15px;
    line-height: 1.8;
    color: #fff;
    font-weight: 500;
    margin-bottom: 30px;
}

.ft-soc a {
    color: #fff;
    margin-right: 25px;
    font-size: 14px;
    transition: 0.3s;
}

.ft-soc a:hover {
    color: #ff5e13;
}

.ft-lnk li {
    margin-bottom: 15px;
}

.ft-lnk a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.ft-lnk a:hover {
    color: #ff5e13;
    padding-left: 5px;
}

.ft-tit {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 35px;
    color: #fff;
}

.ft-cnt li {
    margin-bottom: 25px;
    font-size: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.ft-cnt li i {
    font-size: 18px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.ft-news {
    margin-top: 40px;
}

.ft-frm {
    display: flex;
    max-width: 380px;
}

.ft-inp {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    font-style: italic;
    color: #333;
    outline: none;
}

.ft-btn {
    background: #ff5e13;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.ft-btn:hover {
    background: #e65511;
}

.ft-bot {
    background: #111111;
    padding: 30px 0;
}

.ft-cp {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.ft-cp i {
    color: #ff5e13;
}

@media (max-width: 991px) {
    .ft-sec {
        padding: 60px 0 0;
    }
    .ft-top {
        padding-bottom: 40px;
    }
}

/* Testimonials & News */
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-orange);
    position: absolute;
    left: -10px;
    top: -10px;
    opacity: 0.3;
}

.text-orange {
    color: var(--primary-orange);
}

.news-date {
    background-color: var(--primary-orange);
    color: white;
    padding: 10px;
    min-width: 65px;
    border-radius: 4px;
}

.date-num {
    font-size: 1.5rem;
    line-height: 1;
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.hover-orange:hover {
    color: var(--primary-orange) !important;
}

/* Utilities */
.py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 94, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* About Section Enhancements */
.about-img-wrapper {
    padding-right: 30px;
    padding-bottom: 30px;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-orange);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 94, 19, 0.4);
}

.exp-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.custom-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Contact Section Enhancements */
.contact-section {
    background: #fdfdfd;
}

.contact-card-info i {
    width: 30px;
}

.social-icon-white {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon-white:hover {
    background: white;
    color: var(--primary-orange);
}

.contact-section .form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: none;
}

/* Responsive Scaling */
@media (max-width: 991px) {
    .main-nav {
        position: relative !important;
        width: 100%;
        box-shadow: none;
    }
    
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-text-col {
        margin-bottom: 40px;
    }
    
    .title-underline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-banner {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        text-align: center;
    }
    
    .hero-welcome-title {
        font-size: 28px !important;
        margin-top: 20px !important;
    }
    
    .hero-welcome-desc {
        font-size: 14px !important;
    }
    
    .hero-title-underline {
        margin-left: auto;
        margin-right: auto;
    }
}
