<style>
/* =========================
   CAMPUS LIFE
========================= */

.campus-s {
    position: relative;

    padding: 120px 0;

    overflow: hidden;
}


/* =========================
   TOP
========================= */

.campus-top {
    text-align: center;

    max-width: 760px;

    margin: auto;
    margin-bottom: 70px;
}

.campus-heading {
    font-family: 'Cormorant Garamond', serif;

    font-size: 64px;
    line-height: 1;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 24px;
}

.campus-description {
    font-size: 17px;
    line-height: 1.9;

    color: #5b5b5b;
}


/* =========================
   GRID
========================= */

/* =========================
   CAMPUS GRID
========================= */

.campus-grid {
    display: grid;

    grid-template-columns: repeat(12, 1fr);

    gap: 24px;
}


/* =========================
   CARD
========================= */

.campus-card {
    position: relative;

    overflow: hidden;

    border-radius: 32px;

    min-height: 320px;

    background: #ddd;

    isolation: isolate;

    transition: 0.45s ease;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);
}

.campus-card:hover {
    transform: translateY(-8px);
}

.campus-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.7s ease;
}

.campus-card:hover img {
    transform: scale(1.06);
}


/* =========================
   OVERLAY
========================= */

.campus-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.08));

    z-index: 1;
}


/* =========================
   CONTENT
========================= */

.campus-content {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 28px;

    z-index: 2;
}

.campus-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 16px;

    border-radius: 100px;

    background:
        rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(10px);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    color: white;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 16px;
}

.campus-content h3 {
    font-size: 30px;
    line-height: 1.15;

    font-weight: 700;

    color: white;
}


/* =========================
   GRID LAYOUT
========================= */

/* 1 */

.large-card {
    grid-column: span 7;

    min-height: 420px;
}

/* 2 */

.medium-card {
    grid-column: span 5;

    min-height: 420px;
}

/* 3 */

.small-card {
    grid-column: span 8;

    min-height: 400px;
}

/* 4 */

.wide-card {
    grid-column: span 4;

    min-height: 320px;
}

/* 5 */

.vertical-card {
    grid-column: span 4;

    min-height: 420px;
}

/* 6 */

.full-card {
    grid-column: span 8;

    min-height: 340px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .large-card,
    .medium-card,
    .small-card,
    .wide-card,
    .vertical-card,
    .full-card {
        grid-column: span 12;
    }

}

@media (max-width: 768px) {

    .campus-grid {
        gap: 18px;
    }

    .campus-card {
        min-height: 280px !important;

        border-radius: 24px;
    }

    .campus-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .campus-content h3 {
        font-size: 24px;
    }

}
</style>


<section class="campus-s">

    <div class=" container">

        <!-- TOP -->

        <div class="campus-top">

            <div class="section-tag">
                Campus Life
            </div>

            <h2 class="campus-heading">
                Experience Student Life
                Beyond The Classroom
            </h2>

            <p class="campus-description">
                Explore a vibrant campus environment designed to support
                academic growth, practical learning, wellness, and a
                memorable student experience.
            </p>

        </div>

        <!-- GRID -->

        <div class="campus-grid">

            <!-- 1 -->

            <div class="campus-card large-card">

                <img src="images/campus/1.jpg" alt="">

                <div class="campus-overlay"></div>

                <div class="campus-content">

                    <div class="campus-badge">
                        Campus Infrastructure
                    </div>

                    <h3>
                        Modern Academic
                        Environment
                    </h3>

                </div>

            </div>

            <!-- 2 -->

            <div class="campus-card medium-card">

                <img src="images/campus/2.jpg" alt="">

                <div class="campus-overlay"></div>

                <div class="campus-content">

                    <div class="campus-badge">
                        Clinical Training
                    </div>

                    <h3>
                        Practical Learning
                        Exposure
                    </h3>

                </div>

            </div>

            <!-- 3 -->

            <div class="campus-card small-card">

                <img src="images/campus/3.jpg" alt="">

                <div class="campus-overlay"></div>

                <div class="campus-content">

                    <div class="campus-badge">
                        Student Life
                    </div>

                    <h3>
                        Campus Community
                    </h3>

                </div>

            </div>

            <!-- 4 -->

            <div class="campus-card wide-card">

                <img src="images/campus/4.jpg" alt="">

                <div class="campus-overlay"></div>

                <div class="campus-content">

                    <div class="campus-badge">
                        Ayurveda Education
                    </div>

                    <h3>
                        Holistic Learning
                        Experience
                    </h3>

                </div>

            </div>

            <!-- 5 -->

            <div class="campus-card vertical-card">

                <img src="images/campus/5.jpg" alt="">

                <div class="campus-overlay"></div>

                <div class="campus-content">

                    <div class="campus-badge">
                        Herbal Learning
                    </div>

                    <h3>
                        Ayurveda
                        Exposure
                    </h3>

                </div>

            </div>

            <!-- 6 -->

            <div class="campus-card full-card">

                <img src="images/campus/6.jpg" alt="">

                <div class="campus-overlay"></div>

                <div class="campus-content">

                    <div class="campus-badge">
                        Student Facilities
                    </div>

                    <h3>
                        Hostel, Library &
                        Student Support
                    </h3>

                </div>

            </div>

        </div>

    </div>

</section>