.container-xl {
    max-width: 1320px;
}

/* Custom Button Styles */
.read-more-btn {
    display: inline-block;
    padding: 14px 28px;
    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;
    width: 100%;
}

.read-more-btn:hover {
    background-color: transparent;
    color: #800000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.2);
}

.tab-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #800000;
    color: #ffffff;
    border: 2px solid #800000;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 4px;
}

.tab-button.active {
    background-color: #ffffff;
    color: #800000;
}

.tab-button:hover {
    background-color: #ffffff;
    color: #800000;
}

.tab-button.active:hover {
    background-color: #ffffff;
    color: #800000;
}

/* Modern Card Styling - Enhanced with warm colors */
.modern-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px -5px rgba(128, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.03) 0%, rgba(128, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.modern-card:hover::before {
    opacity: 1;
}

.modern-card:hover {
    border-color: #800000;
    box-shadow: 0 20px 40px -10px rgba(128, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Tab Container Styling */
.tab-container {
    position: relative;
    background: linear-gradient(90deg, #ffe9d1 0%, #fff4e9 100%);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
}

/* Enhanced Tab Button Styling */
.tab-btn {
    color: #666;
    border-bottom: 3px solid transparent;
    padding: 12px 24px;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #800000 0%, #a00000 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover {
    color: #800000;
    background: rgba(255, 255, 255, 0.7);
}

.tab-btn.active {
    color: #800000;
    font-weight: 700;
    background: white;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.1);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

/* Tab Content Animation */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Input Styling */
.custom-input {
    background: #fff4e9;
    border: 1px solid #e7d4ac;
    transition: all 0.3s ease;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.custom-input:hover {
    border-color: rgba(128, 0, 0, 0.3);
    background: #fff9f0;
}

.custom-input:focus {
    border-color: #800000;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.08);
}

/* Contact Item Hover */
.contact-item {
    transition: all 0.3s ease;
    background: #fff9f0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #ffe9d1;
    margin-bottom: 20px;
}

.contact-item:hover {
    transform: translateX(5px);
    background: white;
    border-color: #800000;
}

.icon-wrapper {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffe9d1 0%, #feedcf 100%);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #800000;
}

.contact-item:hover .icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, #800000 0%, #a00000 100%);
    color: white;
}

/* Product Card */
.product-card {
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #ffe9d1;
    padding: 24px;
    border-radius: 16px;
    height: 100%;
}

.product-card:hover {
    border-color: #800000;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(128, 0, 0, 0.1);
}

.product-card:hover h4 {
    color: #800000;
}

/* Map Container */
.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e7d4ac;
    background: white;
    height: 500px;
}

/* Section Backgrounds */
.form-section {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #ffe9d1;
}

.products-section {
    background: #fff4e9;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e7d4ac;
}

.map-section {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #ffe9d1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

/* Section Headers */
.section-header {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 30px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #800000 0%, rgba(128, 0, 0, 0.5) 100%);
    border-radius: 3px;
}

/* Custom spacing */
.section-spacing {
    margin-bottom: 80px;
}

/* Divider line */
.divider-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(128, 0, 0, 0.1) 50%, transparent 100%);
    flex-grow: 1;
    margin-left: 20px;
}

/* Form textarea */
textarea.custom-input {
    min-height: 150px;
    resize: vertical;
}



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: 600;
    color: #800000;
    font-size: 1.3rem;
    line-height: 130%;
    margin-bottom: 5px;
    height: 55px;
}

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

/* 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: "";
}