/* ===== Home Page (index.php) Styles ===== */

/* Foundation Name */
.home-foundation-name {
    background: linear-gradient(135deg, #f26522, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    font-weight: 800;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: inline-block;
}

/* Tagline */
.home-tagline {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.home-tagline span {
    color: #1a1b2e;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0 14px;
}

.home-tagline span:first-child {
    padding-left: 0;
}

.home-tagline span:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #f26522;
    border-radius: 50%;
}

/* Commitment Title */
.home-commitment-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 800;
    color: #1a1b2e;
    margin-bottom: 22px;
    line-height: 1.15;
    position: relative;
    padding-bottom: 15px;
    white-space: nowrap;
}

.home-commitment-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f26522, #ff8c42);
    border-radius: 2px;
}

.home-commitment-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: rgba(242, 101, 34, 0.12);
    border-radius: 2px;
}

.home-commitment-title span {
    background: linear-gradient(135deg, #f26522, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Overlay on Image */
.home-stats-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.home-stats-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.home-stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 15px;
}

.home-stat-item:not(.home-stat-last)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 35px;
    background: linear-gradient(180deg, transparent, rgba(242, 101, 34, 0.2), transparent);
}

.home-stat-item h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #f26522, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.home-stat-item small {
    color: #555;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: block;
}

/* About Description */
.home-about-desc {
    color: #555;
    line-height: 1.85;
    font-size: 0.95rem;
}

.home-about-desc strong {
    color: #1a1b2e;
}

/* Quote Box */
.home-quote-box {
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.08), rgba(242, 101, 34, 0.03));
    border-left: 4px solid #f26522;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin-bottom: 25px;
}

.home-quote-box p {
    color: #1a1b2e;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

/* Learn More Button */
.home-learn-more-btn {
    display: inline-block;
    background: #f26522;
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(242, 101, 34, 0.3);
    transition: all 0.3s ease;
}

.home-learn-more-btn:hover {
    box-shadow: 0 8px 30px rgba(242, 101, 34, 0.45);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .home-commitment-title {
        white-space: normal;
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .home-stats-bar {
        padding: 14px 10px;
    }

    .home-stat-item h4 {
        font-size: 1.2rem;
    }

    .home-stat-item small {
        font-size: 0.6rem;
    }

    .home-tagline span {
        font-size: 0.6rem;
        padding: 0 8px;
    }
}

/* Sanskrit Section */
.sanskrit-section {
    position: relative;
    padding: 100px 0;
    color: #fff;
}

.sanskrit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 27, 46, 0.85);
}

.sanskrit-text {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sanskrit-translation {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Gallery Section */
.gallery-section .gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-section .gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(242, 101, 34, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay a {
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-overlay a:hover {
    background: #fff;
    color: #f26522;
}

/* Activities Section */
.activities-section .activity-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.activities-section .activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(242, 101, 34, 0.2);
}

.activities-section .activity-card .icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(242, 101, 34, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #f26522;
    transition: all 0.4s;
}

.activities-section .activity-card:hover .icon-wrap {
    background: #f26522;
    color: #fff;
}

.section-title span {
    color: #f26522;
}

/* Causes Card (Home Page) */
.causes-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    background: #fff;
    height: 100%;
}

.causes-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.causes-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.causes-card .causes-body {
    padding: 25px;
}

.causes-card .causes-body h5 {
    color: #1a1b2e;
    font-weight: 700;
    margin-bottom: 15px;
}

.causes-card .causes-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Event Card */
.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.event-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.event-card .event-date {
    background: #f26522;
    color: #fff;
    padding: 15px;
    text-align: center;
    min-width: 100px;
}

.event-card .event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-card .event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-card .event-info {
    padding: 20px;
}

.event-card .event-info h5 {
    font-weight: 700;
    color: #1a1b2e;
    margin-bottom: 10px;
}

.event-card .event-info p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Tabs Section */
.tab-content-section .nav-tabs .nav-link {
    color: #4a4c70;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 25px;
}

.tab-content-section .nav-tabs .nav-link.active {
    color: #f26522;
    border-bottom-color: #f26522;
    background: transparent;
}
