:root {
    --primary-color: #000;
    --secondary-color: #2f3192;
    /* --secondary-color: red; */
    --accent-color: #BD9E56;
    --light-color: #f8f9fa;
    --dark-color: #17508a;
    /* --dark-color: var(--accent-color); */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (width <=1120) {
    .semi-circle-container {
        transform: scale(0.8);
    }
}

body {
    /* width: 100lvw; */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color)
}


.navbar-custom {
    background-color: var(--accent-color);
}

strong {
    font-weight: 510;
}

.hedrTop {
    background-color: var(--accent-color);
    font-size: 14px;
    overflow: hidden;
}

.hedrTop .row {
    position: relative;
    /*right: 1rem;*/
}

.hedrTop-text {
    font-size: 14px;
}

#eapps-instagram-feed-popup-1 {
    width: 99dvw;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: white;
}

.navbar-custom .nav-link:hover {
    color: var(--dark-color);
}

.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-section {
    background-color: var(--light-color);
    padding: 2rem 0;
}

#facilities .card:hover {
    background-color: var(--secondary-color);
    color: white;
    transition: 0.3s;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: solid 1px var(--secondary-color);
}

#facilities .card:hover .card-title {
    color: white;
}

#facilities .card:hover .btn {
    background-color: var(--accent-color);
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer a:hover {
    text-shadow: 0px 0px rgba(255, 255, 255, 0.055);
}

.card {
    transition: transform 0.3s;
    margin-bottom: 0.5rem;
    border: none;
    background-color: rgba(112, 114, 206, 0.048);
}

#management .card,
#faculty .card,
#accreditations .card {
    background-color: rgb(255, 255, 255);
}

#news-events .card {
    background-color: rgb(255, 255, 255);
}

.logo {
    height: 10rem;
    width: 10rem;
    position: absolute;
    bottom: 3rem;
}

.logo img {
    object-fit: contain;
    height: 100%;
}

/* .card span{
    color: var(--accent-color);
} */
/* .gdgroup .card-text {
    color: #2f3192;
} */


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

.testimonial-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: solid 1px #ccc;
    border-left: 4px solid var(--accent-color);
    color: black;
    background: #FFFFFF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10) !important;
    transition: 0.3s;
}

.testimonial-card:hover {
    transition: 0.3s;
    color: #fff;
    background-color: #BD9E56;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover h6,
.testimonial-card:hover p,
.testimonial-card:hover .fas,
.testimonial-card:hover small {
    color: #fff !important;
}


.news_events .card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: solid 1px #ccc;
    border-left: 4px solid var(--secondary-color);
    color: black;
    background: #FFFFFF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10) !important;
    transition: 0.3s;
}

.news_events .card:hover {
    transition: 0.3s;
}

.life_gdgps .card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    color: black;
    background: #FFFFFF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10) !important;
    transition: 0.3s;
}

.life_gdgps .card:hover {
    transition: 0.3s;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0;
    position: relative;
}

.quick-links a {
    display: block;
    color: white;
    text-decoration: none;
    /* margin-bottom: 0.5rem; */
}

/* .quick-links a:hover {
    color: var(--primary-color);
} */



.carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 5px;
    position: absolute;
    bottom: 0px;
}

.achievement-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.facility-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.zoom-custom {
    transition: all 0.3s ease;
}

.zoom-parent {
    aspect-ratio: 1;
}

.contact-info i {
    margin-right: 0.5rem;
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-light-section {
    background-color: #f8f9fa !important;
}

.btn-primary {
    background-color: var(--dark-color);
}

.bg-dark-section {
    background-color: var(--secondary-color);
    color: white;
}

.activites-text {
    color: var(--dark-color);
    text-decoration: none;
}

.semi-circle-container {
    position: relative;
    top: 0;
    min-width: 700px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.semi-cir-hide {
    transition: all 0.2s ease-in-out;
}

.semi-circle-container {
    bottom: 4rem;
}

.icon-wrapper {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, z-index 0s;
    z-index: 1;
    cursor: pointer;
    transition: 0.3s;
    -o-transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);

}

.icon-wrapper:hover {
    transform: scale(1.2);
    z-index: 5;
    /* Higher z-index on hover to stay above others */
    transition: 0.3s;
    color: #fff !important;
    background: var(--accent-color);
    transition: 0.3s;
    -o-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

.icon-wrapper:hover i {
    color: #fff !important;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: #007bff;
}

.hover-card {
    position: absolute;
    bottom: 4.5rem;
    min-width: 20rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    text-align: center;
    z-index: 10;
}

.icon-wrapper i:hover+.hover-card {
    display: block;
}

.icon-wrapper-small {
    /* background-color: #2f3192;
    display: none;
    transition: all 0.15s ease-in-out; */
    background-color: white;
    color: var(--accent-color);
    padding: 1.25rem;
    aspect-ratio: 1;
    border-radius: 50%;
}

/* .icon-wrapper-small:hover{
    transform: scale(1.01) translateY(2px);
    background-color: var(--accent-color);
}

.icon-wrapper-small h2{
    color: #BD9E56;
}
.icon-wrapper-small:hover h2{
    color: #2f3192;
}

.icon-wrapper-small .view-toggle-btn{
    background-color: var(--accent-color);
}
.icon-wrapper-small:hover .view-toggle-btn{
    background-color: #2f3192;
} */
.show-sm {
    display: none;
}

.semi-cir-hide:hover {
    scale: 1.05;
}

/* Media query for small screens */
@media (max-width: 900px) {
    .why-us-logo {
        opacity: 0;
    }

    .semi-circle-container {
        min-width: 7dvh;
        align-items: center;
        flex-direction: column;
        /* align-items: center; */
        position: relative;
    }

    .show-sm {
        display: block;
    }

    .logo {
        display: none;
    }

    .icon-wrapper {
        display: none;
    }

    .icon-wrapper-small {
        display: flex;
    }

    .semi-cir-hide {
        display: flex;
    }
}

.card-title {
    color: var(--secondary-color);
}

.highlights-section {
    background-color: #f8f9fa;
}

.principal-message {
    border-left: 4px solid #BD9E56;
    padding-left: 1.5rem;
}

.carousel-item img {
    object-fit: cover;
    height: 600px;
}


.facility-card-img {
    max-height: 200px;
    /* Reduced height */
    object-fit: cover;
    /* Ensures image scales properly */
    width: 100%;
    /* Maintains full width */
}

.activity-card-img {
    max-height: 200px;
    /* Reduced height */
    object-fit: cover;
    /* Ensures image scales properly */
    width: 100%;
    /* Maintains full width */
}

.profile-img {
    object-fit: cover;
}

/* Assuming this is added to your existing <style> section */
/* .section-title { 
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
    color: #000000;
    
    font-weight: 600;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF0000;
    Red
} */


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



.card-title {
    color: #000000;
    /* Black */
}

/* .btn-primary {
    background-color: #FF0000;
 
    border-color: #FF0000;
    color: #FFFFFF;
 
}

.btn-primary:hover {
    background-color: #CC0000;
 
    border-color: #CC0000;
    color: #FFFFFF;
} */

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* <img class="cbse-img" src="./cbse-logo.png" width="172px" alt=""> */

.cbse-img {
    width: clamp(96px, 8vw, 172px);
}


/* Custom background color */
.custom-bg {
    background-color: #F0F4F8;
    /* Very light dark bluish background */
}

#achievements .card,
#student-achievements-home .card {
    background-color: white;
}

#achievements .card-img-top {
    min-height: 20rem;
}

#student-achievements-home img {
    width: 6rem;
    aspect-ratio: 1;
}

#student-achievements-home span {
    color: white;
}

/* #achievements img{
    width: 6rem;
    aspect-ratio: 1;
} */

#achievements span {
    color: white;
}

#methodology li {
    list-style: none;
}

#methodology li::before {
    content: "-  ";
    ;
}


#programs a {
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-shadow: 0 2px 2px rgba(255, 255, 255, 0.699);
}

.custom-carousel-height {
    height: 90dvh;
}

.nav-sep {
    height: 1px;
    background-color: gray;
    width: 95%;
    position: relative;
    left: 2.5%;
}

.dropdown-menu {
    border-radius: 0.75rem;
}

.custom-carousel-height .carousel-inner,
.custom-carousel-height .carousel-item,
.custom-carousel-height .carousel-item img {
    height: 100%;
    object-fit: cover;
}



.carousel button {
    color: white;
    width: 40px;
}

@media screen and (width <=900) {
    .custom-carousel-height {
        height: 40dvh;
    }

    .carousel-caption {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 1rem;
        border-radius: 5px;
        position: absolute;
        bottom: 0px;
    }
}

#event .card-img-top {
    height: 20rem;
}


.event-card {
    background-color: #FFFFFF;
    /* White */
    border-left: 4px solid #BD9E56;
    /* Red */
}

.event-card img {
    height: 12rem;
}

@media screen and (width <=768px) {
    .custom-carousel-height {
        height: 40dvh;
    }

    .custom-carousel-height .carousel-inner,
    .custom-carousel-height .carousel-item,
    .custom-carousel-height .carousel-item img {
        height: 100%;
        object-fit: cover;
        /* Ensures the image covers the area without distortion */
    }

    .hedrTop {
        display: none;
    }

    .event-card img {
        height: 10rem;
    }
}

.map {
    aspect-ratio: 16/9;

}

* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.popup-card {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1000;
    display: block;
    /* Show on load */
}

.popup-card h3 {
    margin-top: 0;
}

.popup-card button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
}

.popup-card.hidden {
    display: none;
}

.bg {
    /* background-color: var(--secondary-color);
    color: white; */
}

#events .card-img-top {
    height: 20rem;
    object-fit: cover;
}

/*6 Apr 2025*/
.theme_btn {
    background: var(--secondary-color);
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    color: #fff;
    border-radius: 4px;
    border: solid 1px var(--secondary-color)
}

.theme_btn:hover {
    color: #fff;
    background: var(--accent-color);
}

.theme_btn_outline {
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    color: var(--secondary-color);
    border: solid 1px var(--secondary-color);
}

.theme_btn_outline:hover {
    color: #fff;
    background: var(--secondary-color)
}

.theme_btn_outline_white {
    border: solid 1px var(--secondary-color);
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    color: #fff;
    border: solid 1px #fff;
}

.theme_btn_outline_white:hover {
    color: #fff;
    background: var(--secondary-color)
}

.red_text {
    color: var(--accent-color);
}

.red_bg {
    background: var(--accent-color);
}

.gdgroup {
    background: #e9ebff;
}

.gdgroup img {
    max-width: 100%;
    max-height: 75px;
}

.light_blue_bg {
    background: #e9ebff;
    color: #000;
}

.white_box {
    background: #FFFFFF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10) !important;
    transition: 0.3s;
}

.white_box:hover {
    transition: 0.3s;
    color: #fff;
    background: var(--secondary-color);
}

.gdgroup .white_box:hover img {
    filter: brightness(0) invert(1);
}

#blog .card {
    border-left: 4px solid red;
}

#blog .card:hover {
    transform: scale(1.01) translateY(8px);
}

.zoom-custom:hover {
    -o-object-fit: cover;
    object-fit: cover;
    -o-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.infra_gdgps .card p {
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; */
    margin-bottom: 0;
}

/*
Student Achievements
*/
.student_achievements .white_box {
    background: #FFFFFF;
    width: 100%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10) !important;
    transition: 0.3s;
}

.student_achievements .white_box {
    transition: 0.3s;
    color: #fff;
    background: var(--secondary-color);
    /* height: auto !important; */
}

.student_achievements .white_box img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: solid 1px #fff;
    padding: 5px;
}

/*Why Us*/
.why_us {
    /* background: url(../imgs/why_us.jpg) 0 0/cover; */
    background: transparent;
    backdrop-filter: blur(1px);
    background-color: #17508a88;
}

.why-us-logo {
    background-color: aliceblue;
    padding: 1rem;
    border-radius: 2rem;
    /* top: 1rem; */
    bottom: 2rem;
    position: absolute;
}

/*Media*/
@media (min-width:1640px) {
    .infra_gdgps .card .card-header {
        max-height: 200px;
    }

    .infra_gdgps .card img {
        height: 200px;
    }
}

@media (max-width:575px) {
    .infra_gdgps .card .card-header {
        max-height: 300px;
    }

    .infra_gdgps .card img {
        height: 300px;
    }
}

.design-bg {
    width: 100%;
    height: 100%;
    /* Add your background pattern here */
    background-image: repeating-radial-gradient(#f8f1f1ee 87%, #3fa7b4 90%);
    background-size: 50px 50px;
}

.design-bg img {
    margin: 1rem auto;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 2rem;
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    /* Responsive base font size */
    font-weight: bold;
    padding: 1rem;
    /* Add padding for smaller screens */
    text-align: left;
    /* Center text for better mobile display */
}

.overlay h2 {
    max-width: 50%;
    /* text-overflow: clip; */
    font-size: clamp(1.5rem, 6vw, 3rem);
    /* Scales between 1.5rem and 3rem */
    font-weight: 800;
    margin-left: 20%;
    /* position: relative;
    left: -4rem; */
    color: #BD9E56;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    /* Responsive margin */
    line-height: 1.2;
    /* Improves readability */
}

.overlay p {
    /* position: relative; */
    /* left: clamp(4rem, 18vw, 15rem); */
    margin-left: 20%;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    /* Scales between 0.9rem and 1.2rem */
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    max-width: 50%;
    /* Prevents text from touching edges on mobile */
}

.overlay .d-flex {
    margin-left: 20%;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    /* Scales between 0.9rem and 1.2rem */
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    /* max-width: 50%; */
    /* Prevents text from touching edges on mobile */
}

.overlay a {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease-in-out;
}

/* Media Queries for additional control */
@media screen and (max-width: 768px) {
    .overlay {
        width: 100%;
        padding: 1.5rem;
        font-size: 0.75rem;
        gap: 1rem;
        font-weight: 400;
    }

    .overlay h2 {
        margin: auto;
        line-height: 1.1;
        max-width: 90%;
        text-align: center;
    }

    .overlay p {
        margin: auto;
        max-width: 95%;
    }

    .overlay .d-flex {
        justify-content: space-between;
        margin: auto;
        /* margin-bottom: 15%; */
        padding: 0;
    }

    .overlay a {
        padding: 0.25rem 0.15rem;
        transition: all 0.3s ease-in-out;
    }
}

@media screen and (max-width: 480px) {
    .overlay {
        padding: 1rem;
    }
}

/* #academics img{
    max-height: 40dvh;
    min-width: 30dvw;
} */


#senior-secondary-infra .col-md-6 .overflow-hidden {
    margin: auto;
}

/* custom card achievemt */
.special-card {
    color: white;
    width: 100%;
    margin: auto;
    max-height: 70dvh;
    min-height: 450px;
    background: var(--secondary-color);
    transition: all 0.4s;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
    font-size: 30px;
    font-weight: 900;
}

.special-card:hover {
    border-radius: 15px;
    cursor: pointer;
    transform: scale(1.05) translateY(4px);
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
    background: #BD9E56;
}

.special-card .first-content {
    height: 100%;
    width: 100%;
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    border-radius: 15px;
}

.special-card:hover .first-content {
    height: 0px;
    opacity: 0;
}

.special-card .second-content {
    height: 0%;
    width: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: all 0.5s;
    font-size: 0px;
    transform: rotate(90deg) scale(-1);
}

.special-card:hover .second-content {
    opacity: 1;
    height: 100%;
    font-size: 1rem;
    font-weight: 500;
    transform: rotate(0deg);
}

#carouselExampleInterval .btn:hover {
    transform: scale(1.1);
}

.btn-outline-danger {
    font-weight: 600;
}

#brochure {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem;
    border-radius: 1rem;
}

#brochure .section-title {
    color: white;
}

#brochure .card-title {
    color: white;
}

#brochure .card-body {
    background-color: var(--secondary-color);
    color: white;
}

#brochure .btn {
    background-color: var(--accent-color);
    color: white;
    transition: all 0.1s ease-in-out;
}

#brochure .btn:hover {
    transform: scale(1.05);
}

#pta .card {
    background-color: var(--secondary-color);
    padding: 2rem;
    color: white;
}

#pta .card .card-title {
    font-size: 1.5rem;
    color: white;
}

#newsEventsInitial .card:hover

/* #newsEventsInitial .card:hover .card-title */
    {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.05) translateY(8px);
}

#newsEventsInitial .card:hover .card-title {
    color: white;
}

#newsEventsInitial .card:hover {
    border-left: 4px solid var(--secondary-color);
}

.modal {
    max-width: 99.5dvw;
}


@media screen and (width <=900px) {
    /* 
    .special-card{
        margin: 1rem auto;
        transform: scale(0.8);
    }
    .special-card:hover{
        margin: 1rem auto;
        transform: scale(0.805);
    } */
}

@media screen and (width <=700px) {
    /* .special-card{
        margin: 1rem auto;
        transform: scale(0.6);
    }
    .special-card{
        transform: scale(0.605); */
    /* } */
}

#faculty .card:hover {
    transform: scale(1.05) translateY(8px);
}

#phone-email .card {
    padding: 2rem;
    background-color: var(--secondary-color);
    color: white;
}

#phone-email .card-title {
    color: white;
}

#phone-email a {
    color: white;
}

#phone-email .card {
    padding: 2rem;
    background-color: var(--secondary-color);
    color: white;
}

#phone-email .card:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.custom-bg-2 {
    padding: 3rem auto;
    width: 100%;
    height: 100%;
    /* Add your background pattern here */
    background-image: repeating-radial-gradient(#f8f1f1ee 87%, #3fa7b4 90%);
    background-size: 50px 50px;
}

.custom-bg-2 img {
    margin: 1rem auto;
}


.infra_gdgps .card {
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
    border: solid 1px #f1f1f1;
}

.infra_gdgps .card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    transition: 0.3s;
}

.overflow-hidden {
    border-radius: 0.5rem;
}

.infra_gdgps .card {
    position: relative;
}

/* iphone does not cause problem */
.infra_gdgps .card .card-header {
    max-height: 250px;
    overflow: hidden;
}

.infra_gdgps .card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    -o-object-fit: cover;
    object-fit: cover;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

.infra_gdgps .card:hover img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}


.icon-wrapper-small i {
    color: #BD9E56;
}

.icon-wrapper-small:hover {
    background-color: var(--accent-color);
}

.icon-wrapper-small:hover i {
    color: white;
}

.semi-cir-hide:hover i {
    color: white;
}

.semi-cir-hide:hover .icon-wrapper-small {
    background-color: var(--accent-color);
}

.btn-border-set {
    background-color: transparent;
    color: #BD9E56;
    border: 1px solid #BD9E56;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px;
}

.btn-border-set:hover {
    background-color: #BD9E56;
    color: #fff;
    border: 1px solid #BD9E56;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px;
}

.btn-color-set {
    background-color: #BD9E56;
    color: #fff;
    border: 1px solid #BD9E56;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px;
}

.btn-color-set:hover {
    background-color: transparent;
    color: #BD9E56;
    border: 1px solid #BD9E56;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {

    .btn-color-set {
        background-color: #BD9E56;
        color: #fff;
        border: 1px solid #BD9E56;
        font-size: 13px;
        padding: 8px 14px !important;
        font-weight: 400;
        border-radius: 5px;
    }

    .btn-border-set {
        background-color: transparent;
        color: #BD9E56;
        border: 1px solid #BD9E56;
        font-size: 13px;
        padding: 8px 14px !important;
        font-weight: 400;
        border-radius: 5px;
    }
}

.para_bottom_zero>div>p {
    margin: 0px !important;
}

.first {
    margin: 0px;
}