/* =========================================================
   BIT ITI BALLARPUR
   FACILITIES PAGE
   DARK PROFESSIONAL DESIGN
========================================================= */


/* =========================================================
   HERO
========================================================= */

.facilities-hero {

    position: relative;

    min-height: 5px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        linear-gradient(
            110deg,
            rgba(2, 9, 24, 0.94),
            rgba(4, 35, 70, 0.82)
        ),

        url("images/college-entrance.jpg")
        center center / cover no-repeat;
}


.facilities-overlay {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(24, 158, 255, 0.18),
            transparent 35%
        );
}


.facilities-hero-content {

    position: relative;

    z-index: 2;

    padding: 10px 0;

    color: #ffffff;
}


.hero-small-title {

    display: inline-block;

    margin-bottom: 10px;

    color: #6fc8ff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.facilities-hero h1 {

    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(40px, 6vw, 62px);

    line-height: 1.1;

    font-weight: 800;
}


.facilities-hero p {

    max-width: 680px;

    margin: 0 0 20px;

    color: rgba(255,255,255,0.78);

    font-size: 15px;

    line-height: 1.8;
}


.facility-breadcrumb {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 12px;
}


.facility-breadcrumb a {

    color: #ffffff;

    text-decoration: none;
}


.facility-breadcrumb span {

    color: #72caff;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.facilities-intro {

    position: relative;

    padding: 10px 0;

    color: #ffffff;

    background:

        radial-gradient(
            circle at 10% 10%,
            rgba(10, 105, 180, 0.13),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(0, 170, 255, 0.08),
            transparent 30%
        ),

        #020914;
}


/* =========================================================
   HEADING
========================================================= */

.facility-heading {

    max-width: 780px;

    margin: 0 auto;

    text-align: center;
}


.facility-heading > span {

    display: inline-block;

    color: #45baff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.facility-heading h2 {

    margin: 9px 0 15px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 43px);

    line-height: 1.25;

    font-weight: 800;
}


.facility-heading h2 strong {

    display: inline;

    color: #48baff;

    font-weight: 800;
}


.facility-heading p {

    margin: 0;

    color: #8493a7;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   LARGE FACILITY CARDS
========================================================= */

.facility-card {

    height: 100%;

    overflow: hidden;

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.025)
        );

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

    box-shadow:
        0 15px 40px rgba(0,0,0,0.25);

    backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.facility-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(70,190,255,0.35);

    box-shadow:
        0 22px 55px rgba(0,0,0,0.38);
}


/* =========================================================
   FACILITY IMAGE
========================================================= */

.facility-image {

    position: relative;

    height: 245px;

    overflow: hidden;
}


.facility-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2,9,20,0.45),
            transparent 50%
        );
}


.facility-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.facility-card:hover
.facility-image img {

    transform: scale(1.07);
}


/* =========================================================
   ICON
========================================================= */

.facility-icon {

    position: absolute;

    z-index: 3;

    left: 22px;

    bottom: 20px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    color: #ffffff;

    background:

        linear-gradient(
            135deg,
            #0878ca,
            #19a9ff
        );

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

    box-shadow:
        0 8px 25px rgba(0,0,0,0.35);

    font-size: 23px;
}


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

.facility-content {

    position: relative;

    padding: 25px 25px 27px;
}


.facility-number {

    display: block;

    margin-bottom: 5px;

    color: #3faee9;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.facility-content h3 {

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 750;
}


.facility-content p {

    margin: 0;

    color: #8796a9;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   TAGS
========================================================= */

.facility-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 18px;
}


.facility-tags span {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 6px 9px;

    border-radius: 20px;

    color: #91d7ff;

    background:
        rgba(50,170,240,0.08);

    border: 1px solid
        rgba(50,170,240,0.12);

    font-size: 9px;

    font-weight: 700;
}


.facility-tags i {

    font-size: 10px;
}


/* =========================================================
   SMALL FACILITY CARDS
========================================================= */

.small-facility-card {

    height: 100%;

    overflow: hidden;

    border-radius: 17px;

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

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

    transition:
        transform 0.35s ease,
        border-color 0.35s ease;
}


.small-facility-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(70,190,255,0.3);
}


.small-facility-image {

    height: 180px;

    overflow: hidden;
}


.small-facility-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease;
}


.small-facility-card:hover
.small-facility-image img {

    transform: scale(1.08);
}


.small-facility-content {

    position: relative;

    padding: 22px;
}


.small-facility-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

    border-radius: 12px;

    color: #5fc4ff;

    background:
        rgba(38,166,235,0.1);

    font-size: 19px;
}


.small-facility-content h3 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 19px;

    font-weight: 750;
}


.small-facility-content p {

    margin: 0;

    color: #8190a3;

    font-size: 12px;

    line-height: 1.75;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.facility-highlight {

    padding: 70px 0;

    background: #010711;
}


.highlight-box {

    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 35px;

    overflow: hidden;

    border-radius: 20px;

    background:

        linear-gradient(
            120deg,
            #06365e,
            #075e91
        );

    border: 1px solid
        rgba(100,210,255,0.15);

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


.highlight-box::after {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -120px;
    top: -120px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.06);
}


.highlight-icon {

    position: relative;

    z-index: 2;

    width: 65px;
    height: 65px;

    min-width: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    color: #ffffff;

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

    font-size: 27px;
}


.highlight-content {

    position: relative;

    z-index: 2;

    flex: 1;
}


.highlight-content span {

    color: #8fdcff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.highlight-content h2 {

    margin: 5px 0 7px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 800;
}


.highlight-content p {

    max-width: 750px;

    margin: 0;

    color: rgba(255,255,255,0.78);

    font-size: 12px;

    line-height: 1.7;
}


.highlight-button {

    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 12px 20px;

    border-radius: 30px;

    color: #07588b;

    background: #ffffff;

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;

    transition: all 0.3s ease;
}


.highlight-button:hover {

    color: #ffffff;

    background: #032e4e;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .facilities-hero-content {

        padding: 60px 0;
    }


    .facilities-intro {

        padding: 70px 0;
    }


    .highlight-box {

        align-items: flex-start;

        flex-wrap: wrap;
    }


    .highlight-button {

        margin-left: 90px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .facilities-hero {

        min-height: 290px;
    }


    .facilities-hero-content {

        padding: 50px 15px;
    }


    .facilities-hero h1 {

        font-size: 40px;
    }


    .facilities-hero p {

        font-size: 13px;
    }


    .facilities-intro {

        padding: 55px 0;
    }


    .facility-heading {

        padding: 0 10px;
    }


    .facility-heading h2 {

        font-size: 30px;
    }


    .facility-card {

        border-radius: 15px;
    }


    .facility-image {

        height: 210px;
    }


    .facility-content {

        padding: 22px;
    }


    .facility-content h3 {

        font-size: 19px;
    }


    .small-facility-image {

        height: 190px;
    }


    .facility-highlight {

        padding: 50px 0;
    }


    .highlight-box {

        padding: 25px;

        flex-direction: column;

        align-items: flex-start;
    }


    .highlight-button {

        margin-left: 0;

        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .facilities-hero h1 {

        font-size: 35px;
    }


    .hero-small-title {

        font-size: 9px;

        letter-spacing: 1.5px;
    }


    .facility-image {

        height: 195px;
    }


    .facility-icon {

        width: 50px;
        height: 50px;

        left: 17px;
        bottom: 17px;

        font-size: 20px;
    }


    .facility-tags span {

        font-size: 8px;
    }


    .highlight-content h2 {

        font-size: 21px;
    }

}