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

:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
    
}
.btn:hover {
    border: 1px solid white;
    background: linear-gradient(60deg, rgb(205, 224, 236) 5%, rgba(9, 104, 121, 1) 36%, rgb(83, 212, 238) 82%);
    color: white; /* optional, for better contrast */
}
.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    /* padding: 25px 0; */
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bolder;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    transition: all 0.4s ease-in-out;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

.dropdown-item:hover {
    background-color: #06BBCC;
    color: white;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img_regards_panel/clerkoffice.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* top-navbar */
.custom-hover {
    background-color: #F0FBFC;
    transition: background-color 0.3s ease;
}

.custom-hover:hover {
    background-color: #09697B;
    /* Choose any color you prefer */
}


/* home page newspaper and article section */
.update .updatessecs {
    border: 2px solid rgb(233, 233, 233);
    height: 500px;
    /* background-color: #F3F3F3; */
    box-shadow: 8px 8px 12px gray;
    overflow:scroll;
}
.update .updatessec {
    border: 2px solid rgb(233, 233, 233);
    height: 500px;
    /* background-color: #F3F3F3; */
    box-shadow: 8px 8px 12px gray;
    /* overflow: scroll; */
}

.updatessec .articletext p {
    color: aqua;
    text-align: justify;
}

.headingsec a {
    display: flex;
    justify-content: space-between;
}

.headingsec a i {
    padding-top: 8px;
    padding-right: 10px;
    font-size: large;
    font-weight: bold;
}

.aboutsec {
    text-align: justify;
}

/* AB-INTRO PAGE */
/* Line upper section */
.why-choose-us {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 50px;
}

.why-choose-us h2 {
    color: #06BBCC;
    font-size: 24px;
    font-weight: bold;
    margin: 0 20px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 0.5s;
}

.why-choose-us h2:hover {
    color: rgb(11, 11, 62);
}

.line {
    width: 0%;
    height: 2px;
    background-color: #06BBCC;
    animation: expandLine 1s ease-in-out forwards;
}

.line.left {
    animation-delay: 0.8s;
}

.line.right {
    animation-delay: 0.8s;
}

/* Animation for lines expanding */
@keyframes expandLine {
    from {
        width: 0%;
    }

    to {
        width: 350px;
        /* Adjust length */
    }
}

/* Animation for text fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media (max-width: 575px) {
    .why-choose-us {
        flex-direction: column;
        align-items: center;
    }
    .line {
        display: none;
    }
    .why-choose-us h2 {
        margin: 8px 0;
        font-size: 18px; /* even smaller on extra small screens */
    }
}
/* Small devices (phones, <768px) */
@media (max-width: 767px) {
    /* Example: stack layout vertically, hide extra decorations */
    .why-choose-us {
        flex-direction: column;
        align-items: center;
    }
    .line {
        .line {
            display: block;
            max-width: 250px;
        }
    }
    .why-choose-us h2 {
        margin: 10px 0;
        font-size: 20px; /* slightly smaller on small screens */
    }
}

/* Medium devices (tablets, ≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Example: show horizontal layout, limit line width */
    .why-choose-us {
        flex-direction: row;
    }
    .line {
        display: block;
        max-width: 250px;
    }
    .why-choose-us h2 {
        font-size: 22px;
    }
}

/* Large devices (desktops, ≥992px and <1200px) */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Example: keep full layout, larger lines */
    .line {
        max-width: 350px;
    }
    .why-choose-us h2 {
        font-size: 24px;
    }
}

/* Extra large devices (≥1200px and <1400px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    /* Example: slightly larger line */
    .line {
        max-width: 400px;
    }
    .why-choose-us h2 {
        font-size: 26px;
    }
}

/* XXL devices (≥1400px) */
@media (min-width: 1400px) {
    /* Example: maximum size on very large screens */
    .line {
        max-width: 450px;
    }
    .why-choose-us h2 {
        font-size: 28px;
    }
}


/* Prinicipal message page */
.prtc {
    color: #09697B;
}

.primg img {
    border-radius: 22px;
}

/* Staff Page */
.staffsec {
    color: #09697B;
}

/* Facilities Page */
.hostel img {
    border-radius: 140px 140px 0 0;
}

.hostel_text p {
    text-align: justify;
    /* padding-top: 70px; */
}

/* Gallary Page */
portfolio-item lightbox {
    max-width: 500px;
}

/* PROGRAM_BS_IT */
.program_text {
    text-align: justify;
}

/* .text_pro{
    box-shadow:10px 10px 22px #666d93;
   
  } */

.affliation_heading {
    color: #09697B;
}

.affliation_heading:hover {
    /* text-decoration: underline; */
    color: black;
}

.aff_sec p {
    text-align: justify;
}

.aff_list a {
    text-decoration: none;
    color: black;
}

.aff_list a:hover {
    color: #0894c3;
}

/* .aff_img{
    align-items: center;
}
   */

/* Update Page */
.link-hover {
    transition: 0.5s;
}

.link-hover:hover {
    color: var(--bs-primary) !important;
}

.icon a i {
    color: #F3F3F3;
}

.newstext span {
    font-size: 32px;
    font-weight: bold;
}
.newstext p {
    font-size: 20px;
    font-weight: bold;
}

/* For devices with a max-width of 768px (tablets and smaller screens) */
@media (max-width: 768px) {
    .newstext span {
        font-size: 26px;
        font-weight: bold;
    }
    .newstext p {
        font-size: 16px;
        font-weight: bold;
    }
}

/* For devices with a max-width of 480px (phones and smaller screens) */
@media (max-width: 480px) {
    .newstext span {
        font-size: 20px;
        font-weight: bolder;
    }
    .newstext p {
        font-size: 14px;
        font-weight: bold;
    }
}

/* #note {
    position: relative;
    animation: noteAnimate 10s infinite;
    animation-timing-function: ease-in-out;
    display: flex;
    align-items: center;
}

@keyframes noteAnimate {
    from {
        left: -1000px;
    }

    to {
        left: 1000px;
    }
} */

/* Extra small devices (phones, less than 576px) */
/* @media (min-width: 336px) and (max-width: 400px) {
    .top-link span{
        font-size: 8px;
    }
    .top-link p{
     font-size: 8px;
    }
     .top-link i{
         font-size: 10px;
     }
 } */

@media (max-width: 575.98px) {
    .top-link span{
        font-size: 10px;
    }
   .top-link p{
    font-size: 10px;
   }
    .top-link i{
        font-size: 10px;
    }
}


.features {
    width: 100%;
    background: linear-gradient(rgba(26, 125, 255, 0.5), rgba(255, 255, 255, 0.3)), url(../img/features-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Features End ***/


/*** Top News Start ***/
.news-2 h3 {
    position: relative;
}

.news-2 h3::after {
    content: "";
    line-height: 1.3rem;
    background: var(--bs-secondary);
    position: absolute;
    width: 68%;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    right: 0;
    opacity: 0.2;
}

/*** Top News End ***/


/*** Latest News Start ***/
.latest-news .latest-news-carousel.owl-carousel {
    position: relative;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -65px;
    right: 70px;
    font-size: 20px;
    padding: 2px 20px;
    transition: 0.5s;
    margin-right: 10px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    right: 0;
    font-size: 20px;
    margin-left: 10px;
    padding: 2px 20px;
    transition: 0.5s;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-prev:hover,
.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 10px;
}

/*** Latest News End ***/


/*** Whats New Start ***/
.populer-news .whats-carousel.owl-carousel {
    position: relative;
}

.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -80px;
    right: 70px;
    font-size: 20px;
    padding: 2px 20px;
    transition: 0.5s;
    margin-right: 10px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -80px;
    right: 0;
    font-size: 20px;
    margin-left: 10px;
    padding: 2px 20px;
    transition: 0.5s;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev:hover,
.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 10px;
}

.populer-news .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.lifestyle .lifestyle-item {
    position: relative;
    overflow: hidden;
}

.lifestyle .lifestyle-item img {
    transition: 0.5s;
}

.lifestyle .lifestyle-item:hover img {
    transform: scale(1.2);
}

.lifestyle .lifestyle-item .lifestyle-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/*** Whats New End ***/


/*** Banner Section start ***/
.banner-2 {
    position: relative;
}

.banner-content-2 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(rgba(26, 125, 255, 0.7), rgba(255, 255, 255, 0.7));
    z-index: 2;
}

/* Update page End */

/* Contact Us Page */
.con_sec {
    background-image: url(../img/cat-1.jpg);
    background-size: cover;
    padding: 40px;
}

.cover {
    background: rgba(123, 120, 120, 0.6);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}


.image-container img {
    width: 100%;
    height: auto;
    max-height: 530px;
    object-fit: cover;
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 4vw;
    /* responsive font size */
}

@media (max-width: 768px) {
    .centered-text {
        font-size: 6vw;
        /* slightly bigger on smaller screens */
    }
}

@media (max-width: 480px) {
    .centered-text {
        font-size: 8vw;
        /* even bigger for very small screens */
    }
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.table-bordered thead td,
.table-bordered thead th {
    border-bottom-width: 2px;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
}


.bg-sky.box-shadow {
    box-shadow: 0px 5px 0px 0px #00a2a7
}

.bg-orange.box-shadow {
    box-shadow: 0px 5px 0px 0px #af4305
}

.bg-green.box-shadow {
    box-shadow: 0px 5px 0px 0px #4ca520
}

.bg-yellow.box-shadow {
    box-shadow: 0px 5px 0px 0px #dcbf02
}

.bg-pink.box-shadow {
    box-shadow: 0px 5px 0px 0px #e82d8b
}

.bg-purple.box-shadow {
    box-shadow: 0px 5px 0px 0px #8343e8
}

.bg-lightred.box-shadow {
    box-shadow: 0px 5px 0px 0px #d84213
}


.bg-sky {
    background-color: #02c2c7
}

.bg-orange {
    background-color: #e95601
}

.bg-green {
    background-color: #5bbd2a
}

.bg-yellow {
    background-color: #f0d001
}

.bg-pink {
    background-color: #ff48a4
}

.bg-purple {
    background-color: #9d60ff
}

.bg-lightred {
    background-color: #ff5722
}

.padding-15px-lr {
    padding-left: 15px;
    padding-right: 15px;
}

.padding-5px-tb {
    padding-top: 5px;
    padding-bottom: 5px;
}

.margin-10px-bottom {
    margin-bottom: 10px;
}

.border-radius-5 {
    border-radius: 5px;
}

.margin-10px-top {
    margin-top: 10px;
}

.font-size14 {
    font-size: 14px;
}

.text-light-gray {
    color: #d6d5d5;
}

.font-size13 {
    font-size: 13px;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
}

.table td,
.table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}


/* City Information */
.cityinfo {
    text-align: justify;
}


/* Program */
/* From Uiverse.io by Praashoo7 */
.Program_card {
    /* width: 17em; */
    width: 100%;
    height: 23.5em;
    background: #0a8ca0;
    transition: 1s ease-in-out;
    clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column;
}

.Program_card h3 {
    font-weight: bold;
    color: white;
    text-align: center;
    display: block;
    /* font-size: 1em; */
}

.Program_card .info {
    font-weight: 400;
    color: white;
    display: block;
    text-align: center;
    font-size: 0.72em;
    padding-top: 8px;
}

.Program_card .img {
    width: 8em;
    height: 8em;
    background: white;
    border-radius: 15px;
    margin: auto;
}

.Program_card .img img {
    width: 8em;
    height: 8em;
    border-radius: 15px;
}


@media (min-width: 576px) {
    scholarshipcol img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) {
    .scholarshipcol img {
        min-height: 390px;
    }
}

@media (min-width: 992px) {
    .scholarshipcol img {
        min-height: 600px;
    }
}

@media (min-width: 1200px) {
    .scholarshipcol img {
        min-height: 450px;
    }
}

@media (min-width: 1400px) {
    .scholarshipcol img {
        min-height: 390px;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


.college_title {
    font-weight: bold;
    color: white;
    font-size: 1rem; /* base size for extra small screens */
  }
  
  @media (min-width: 576px) {
    .college_title {
      font-size: 1.2rem;
    }
  }
  
  @media (min-width: 768px) {
    .college_title {
      font-size: 1.4rem;
    }
  }
  
  @media (min-width: 992px) {
    .college_title {
      font-size: 1.6rem;
    }
  }
  
  @media (min-width: 1200px) {
    .college_title {
      font-size: 1.7rem;
    }
  }

  .contact_text {
    font-weight: bold;
    color: #0d6efd; /* Bootstrap primary color */
    font-size: 0.5rem; /* base size */
    text-decoration: none;
  }
  
  @media (min-width: 576px) {
    .contact_text {
      font-size: 0.5rem;
    }
  }
  
  @media (min-width: 768px) {
    .contact_text {
      font-size: 0.9rem;
    }
  }
  
  @media (min-width: 992px) {
    .contact_text {
      font-size: 1rem;
    }
  }

  .newscardimg img {
    width: 100%;
    height: auto;  /* Scales the image on small screens */
    border-radius: 0.5rem;
    object-fit: cover; /* Prevents stretching and ensures the image covers the area */
  }
  
  /* For large screens, set a fixed height */
  @media (min-width: 992px) {
    .newscardimg img {
      height: 300px !important;  /* Fixed height */
    }
  }
  