
/* ==========================================
   GURUDEV SEVA MAIN PAGE
   Shree Ram Sarvajanik Hospital
========================================== */

.guru-container {
    width: min(1160px, 92%);
    margin: auto;
}

/* HERO */

.guru-hero {
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 65px 20px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(8,22,42,.92), rgba(31,60,136,.78)),
        url('../images/gurudev-banner.jpg') center/cover no-repeat;
}

.guru-hero-overlay {
    position: absolute;
    inset: 0;
}

.guru-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.guru-eyebrow {
    display: inline-block;
    background: #e31e24;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.guru-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin: 22px 0 10px;
    line-height: 1.2;
}

.guru-hero h2 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 15px;
}

.guru-hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 27px;
}

.guru-primary-btn,
.guru-read-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    background: #e31e24;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.guru-primary-btn:hover,
.guru-read-btn:hover {
    background: #1f3c88;
    color: #fff;
}

/* ABOUT */

.guru-about {
    padding: 80px 0;
    background: #fff;
}

.guru-about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
    align-items: center;
}

.guru-about-image {
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: #f4f7fb;
    box-shadow: 0 10px 35px rgba(0,0,0,.10);
}

.guru-about-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.guru-image-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #1f3c88;
}

.guru-image-placeholder span {
    font-size: 75px;
}

.guru-section-label {
    color: #e31e24;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.guru-about-content h2 {
    color: #1f3c88;
    font-size: 32px;
    line-height: 1.4;
    margin: 15px 0 20px;
}

.guru-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
}

.guru-read-btn {
    margin-top: 12px;
}

/* COMMON HEADINGS */

.guru-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.guru-heading span {
    color: #e31e24;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.guru-heading h2 {
    color: #1f3c88;
    font-size: 33px;
    margin: 12px 0;
}

.guru-heading p {
    color: #666;
    line-height: 1.8;
}

/* QUOTES */

.guru-quotes {
    padding: 75px 0;
    background: #f4f7fb;
}

.guru-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.guru-quote-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border-left: 5px solid #e31e24;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.guru-quote-mark {
    color: #e31e24;
    font-size: 55px;
    line-height: 1;
}

.guru-quote-card p {
    color: #333;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 600;
}

.guru-quote-card h4 {
    color: #1f3c88;
    margin-top: 18px;
    font-size: 14px;
}

/* INSTITUTIONS */

.guru-institutions {
    padding: 80px 0;
    background: #fff;
}

.guru-institution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.guru-institution-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 7px 25px rgba(0,0,0,.08);
    border: 1px solid #edf0f5;
    transition: .3s;
}

.guru-institution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,.13);
}

.guru-institution-image {
    height: 210px;
    position: relative;
    background: #edf1f8;
    overflow: hidden;
}

.guru-institution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.guru-institution-card:hover .guru-institution-image img {
    transform: scale(1.06);
}

.guru-institution-placeholder {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 65px;
}

.guru-institution-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e31e24;
    color: #fff;
    padding: 7px 13px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.guru-institution-content {
    padding: 23px;
}

.guru-institution-content h3 {
    color: #1f3c88;
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.guru-location {
    color: #e31e24;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 13px;
}

.guru-institution-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    min-height: 50px;
}

.guru-details-btn {
    display: inline-block;
    margin-top: 12px;
    color: #1f3c88;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.guru-details-btn:hover {
    color: #e31e24;
}

/* DAILY UPDATES */

.guru-updates {
    padding: 80px 0;
    background: #f4f7fb;
}

.guru-update-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.guru-update-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.guru-update-card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.guru-update-placeholder {
    height: 210px;
    background: #e9eef8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

.guru-update-content {
    padding: 22px;
}

.guru-update-category {
    color: #e31e24;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guru-update-content h3 {
    color: #1f3c88;
    font-size: 19px;
    line-height: 1.5;
    margin: 12px 0;
}

.guru-update-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.guru-update-content small {
    display: block;
    color: #1f3c88;
    margin-top: 12px;
}

.guru-update-date {
    color: #888;
    font-size: 12px;
    margin-top: 12px;
}

.guru-all-updates {
    text-align: center;
    margin-top: 38px;
}

.guru-all-updates a {
    display: inline-block;
    background: #1f3c88;
    color: #fff;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.guru-all-updates a:hover {
    background: #e31e24;
}

/* EMPTY MESSAGE */

.guru-empty {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    color: #666;
}

/* CLOSING */

.guru-closing {
    padding: 65px 20px;
    background: #1f3c88;
    text-align: center;
    color: #fff;
}

.guru-closing span {
    font-size: 42px;
}

.guru-closing h2 {
    font-size: 30px;
    margin: 15px 0;
}

.guru-closing p {
    line-height: 1.8;
    font-size: 15px;
}

/* RESPONSIVE */

@media(max-width: 900px) {

    .guru-institution-grid,
    .guru-update-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guru-about-grid {
        gap: 30px;
    }
}

@media(max-width: 600px) {

    .guru-hero {
        min-height: 350px;
    }

    .guru-hero h1 {
        font-size: 31px;
    }

    .guru-hero h2 {
        font-size: 19px;
    }

    .guru-about,
    .guru-institutions,
    .guru-updates,
    .guru-quotes {
        padding: 55px 0;
    }

    .guru-about-grid,
    .guru-quote-grid,
    .guru-institution-grid,
    .guru-update-grid {
        grid-template-columns: 1fr;
    }

    .guru-about-image,
    .guru-about-image img {
        min-height: 320px;
    }

    .guru-about-content h2,
    .guru-heading h2 {
        font-size: 26px;
    }

    .guru-quote-card {
        padding: 23px;
    }

    .guru-closing h2 {
        font-size: 24px;
    }
}
