
body {
    
}

/* Page Title Section - FIXED */
.page-title-section {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #D4A017;
    /* REMOVED the problematic vw calculations */
    width: 100%;
    /* FIX: Replace the problematic margins */
    margin: 0;
    left: 0;
    right: 0;
}

.page-title-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 0;
}

.page-title {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #ffecd1;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

/* Main Container - WIDER */
.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

/* UPDATED Trustees Section - WITH IMAGES */
.trustee-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
    width: 100%;
}

.section-header {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #800000;
    margin-bottom: 10px;
    margin-top: -20px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: #555555;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-style: italic;
    max-width: 900px;
}

.trustee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.trustee-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.trustee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #800000;
}

.trustee-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #ffecd1;
    border-radius: 0 0 0 40px;
    transition: all 0.3s ease;
}

.trustee-card:hover::before {
    width: 60px;
    height: 60px;
}

/* UPDATED: Trustee Image Container - Replacing Icon */
.trustee-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 25px;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #ffecd1;
    position: relative;
}

.trustee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trustee-card:hover .trustee-image img {
    transform: scale(1.1);
}

/* Default image placeholder styling */
.trustee-image.default-img {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
}

.trustee-image.default-img.founder {
    background: linear-gradient(135deg, #D4A017 0%, #E6B400 100%);
    color: #800000;
}

.trustee-info {
    flex: 1;
}

.trustee-name {
    font-weight: 700;
    color: #800000;
    font-size: 1.3rem;
    margin-bottom: -2px;
}

.trustee-role {
    color: #555555;
    font-size: 1rem;
    margin-bottom: 12px;
}

/* Read More Button */
/* Read More Button - ORIGINAL STYLE */
.read-more-btn {
    display: inline-block;
    padding: 5px 20px;
    background-color: #800000;
    color: #ffffff;
    border: 2px solid #800000;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.read-more-btn:hover {
    background-color: transparent;
    color: #800000;
}
/* Rest of the CSS remains the same... */
.mission-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 3.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #800000;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.mission-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.mission-icon {
    background: #800000;
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1.8rem;
    flex-shrink: 0;
}

.mission-title {
    font-size: 2rem;
    color: #800000;
    font-weight: 700;
    margin: 0;
}

.mission-content {
    color: #555555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.mission-content p {
    margin-bottom: 1.5rem;
}

.mission-content p:last-child {
    margin-bottom: 0;
}

/* Activities Section */
.activities-section {
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
}

.activity-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
}

.activity-title {
    font-size: 1.4rem;
    color: #800000;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.activity-description {
    color: #555555;
    line-height: 1.6;
    /* margin-bottom: 1.8rem; */
    font-size: 1.05rem;
}

.activity-link {
    color: #800000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.activity-link:hover {
    color: #660000;
    gap: 1rem;
}

/* Education Timeline - UPDATED */
.education-section {
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #800000 20%, #800000 80%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    width: calc(50% - 50px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Left side items (odd) - fade from left */
.timeline-item:nth-child(odd) {
    left: 0;
    transform: translateX(-100px);
}

/* Right side items (even) - fade from right */
.timeline-item:nth-child(even) {
    left: calc(50% + 50px);
    transform: translateX(100px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays for timeline items */
.timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    transition-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    transition-delay: 0.6s;
}

.timeline-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 25px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 4px solid #800000;
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    left: -60px;
}

.timeline-title {
    font-size: 1.3rem;
    color: #800000;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-description {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .timeline:before {
        left: 40px;
    }

    .timeline-item {
        width: calc(100% - 100px);
        left: 100px !important;
        transform: translateX(-100px);
    }

    .timeline-item.visible {
        transform: translateX(0);
    }

    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -70px;
    }

    .trustee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title-section {
        padding: 3rem 0 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .trustee-section,
    .mission-section {
        padding: 2rem;
    }

    .section-header {
        font-size: 2rem;
    }

    .trustee-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trustee-image {
        width: 80px;
        height: 80px;
        margin-right: 20px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .mission-section,
    .activity-card,
    .timeline-content {
        padding: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 2rem 1rem;
    }

    .page-title-section {
        padding: 2.5rem 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .mission-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .mission-icon {
        margin-right: 0;
    }

    .trustee-section {
        padding: 1.8rem;
    }

    .trustee-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .trustee-image {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.site-footer {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
/* Add this to ensure smooth transitions */
.timeline-item {
    transition: opacity 0.8s ease, transform 0.8s ease !important;
}

.fade-in, .reveal-on-scroll {
    transition: opacity 0.8s ease, transform 0.8s ease !important;
}




/* UNIQUE ASHA BANNER STYLES */
.a-inner-banner{
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
}

.a-banner-content{
    position:absolute;
    bottom:30px;
    left:40px;
    color:#fff;
    z-index:2;
}
.a-banner-title{
    font-size:36px;
    font-weight:700;
    margin:0 0 8px 0;
}
.a-breadcrumb{
    display:flex;
    gap:6px;
    list-style:none;
    padding:0;
    margin:0;
    font-size:14px;
}
.a-breadcrumb li a{
    color:#fff;
    text-decoration:none;
}
.a-breadcrumb li::after{
    content:"/";
    margin-left:6px;
}
.a-breadcrumb li:last-child::after{
    content:"";
}
