
/* ASHRAM PAGE */

.ashram-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(11,28,45,.90), rgba(31,60,136,.78)),
        url('../images/ashram-banner.jpg') center/cover no-repeat;
}

.ashram-hero-content {
    max-width: 850px;
}

.ashram-tag {
    display: inline-block;
    color: #fff;
    background: #e31e24;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.ashram-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    margin: 22px 0 12px;
    font-weight: 700;
}

.ashram-hero p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.ashram-btn {
    display: inline-block;
    background: #e31e24;
    color: #fff;
    padding: 13px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.ashram-btn:hover {
    background: #fff;
    color: #e31e24;
}

.ashram-section {
    padding: 75px 20px;
    background: #f4f7fb;
}

.ashram-heading {
    text-align: center;
    margin-bottom: 45px;
}

.ashram-heading span {
    color: #e31e24;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ashram-heading h2 {
    color: #1f3c88;
    font-size: 34px;
    margin: 12px 0;
}

.ashram-heading p {
    color: #666;
    font-size: 15px;
}

.ashram-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ashram-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.07);
    transition: .3s;
}

.ashram-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,.13);
}

.ashram-card-image {
    height: 245px;
    position: relative;
    overflow: hidden;
}

.ashram-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.ashram-card:hover .ashram-card-image img {
    transform: scale(1.06);
}

.ashram-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e31e24;
    color: white;
    padding: 9px 15px;
    border-radius: 5px;
    font-weight: 700;
}

.ashram-card-content {
    padding: 28px;
}

.ashram-category {
    color: #e31e24;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ashram-card-content h3 {
    color: #1f3c88;
    font-size: 23px;
    margin: 12px 0 20px;
    line-height: 1.4;
}

.ashram-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f4f7fb;
    padding: 15px;
    border-radius: 8px;
}

.ashram-icon {
    font-size: 20px;
}

.ashram-info p {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}

.ashram-description {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    margin: 20px 0;
}

.ashram-map-btn {
    display: inline-block;
    background: #1f3c88;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.ashram-map-btn:hover {
    background: #e31e24;
    color: #fff;
}

.ashram-message {
    padding: 65px 20px;
    background: #fff;
    text-align: center;
}

.ashram-message-inner {
    max-width: 800px;
    margin: auto;
}

.ashram-message-inner span {
    font-size: 40px;
}

.ashram-message h2 {
    color: #1f3c88;
    font-size: 29px;
    margin: 15px 0;
}

.ashram-message p {
    color: #666;
    line-height: 1.9;
}

/* RESPONSIVE DESIGN */

@media(max-width: 768px) {

    .ashram-hero {
        min-height: 340px;
    }

    .ashram-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .ashram-heading h2 {
        font-size: 27px;
    }

    .ashram-card-content {
        padding: 22px;
    }

    .ashram-card-content h3 {
        font-size: 20px;
    }

    .ashram-card-image {
        height: 220px;
    }

    .ashram-message h2 {
        font-size: 23px;
    }
}
