﻿.stayupdated-wrapper {
  padding: 15px 0;
}

.stayupdatedcarousel .stayupdatedcarousel-cell {
    width: 100%;
    height: 400px;
    margin: 0 5px;
    position: relative;
    max-width: none;
}

.stayupdatedcarousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stayupdated_carousel_heading_box {
  height: 180px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(10, 28, 68, 0), rgb(10, 28, 68) 85px);
  position: absolute;
  bottom: 0;
  left: 0;
}

.stayupdated-heading_inner_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    padding: 0 10px;
    margin-top: 80px;
}

.stayupdated-heading_date {
    text-decoration: underline;
    color: #fff;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 11px;
}

.stayupdated-read_more_btn {
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    border: solid 1px #fff;
    color: #fff;
    margin-top: 5px;
    padding: 0 5px;
    font-size: 11px;
}

.stayupdatedcarousel h2 {
  color: #bb9e5a;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

@media (min-width: 992px) {
  .stayupdatedcarousel .stayupdatedcarousel-cell {
    width: 25%; /* 4 items on large screen */
  }
}

@media (max-width: 991px) {
  .stayupdatedcarousel .stayupdatedcarousel-cell {
    width: 100%; /* 1 item on mobile */
  }
}

.newseventscarousal-wrapper {
    padding: 15px 0;
}

.newseventscarousal .newseventscarousal-cell {
    width: 100%;
    height: 380px;
    margin: 0 5px;
    max-width: none;
}

.newseventscarousal-cell img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.newsevents_text_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /*gap: 5px;
    padding: 0 2px;
    margin-top: 10px;*/
}

.heading_date {
    text-decoration: underline;
    color: #0a1b46;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
}

.read_more_btn {
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    border: solid 1px #0a1c44;
    color: #0a1c44;
    margin-top: 5px;
    padding: 0 5px;
    font-size: 11px;
}

.newseventscarousal h2 {
    color: #0a1c44;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
/* Responsive behavior using Bootstrap breakpoints */
@media (min-width: 992px) {
    .newseventscarousal .newseventscarousal-cell {
        width: 25%; /* 4 items on large screen */
    }
}

@media (max-width: 991px) {
    .newseventscarousal .newseventscarousal-cell {
        width: 100%; /* 1 item on mobile */
    }
}



.content_container {
    margin-left:30px;
    margin-right:30px;
}
@media (max-width: 992px){
    .content_container{
        margin-left:0px;
        margin-right:0px;
    }
}
.content_container .section_heading_section {
    margin-top: 30px;
    margin-bottom: 20px;
}

    .content_container .section_heading_section h1 {
        color: #0d1a42;
        font-size: 2.5rem;
        line-height: 46px;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .content_container .section_heading_section p {
        margin: 2px 0 0 0;
        padding: 0;
        color: #0a1c44;
        font-size: 20px;
        line-height: 20px;
        text-align: center;
        font-weight: 500;
    }



.content_container .why_bahria_university_page {
    text-align: center;
}

    .content_container .why_bahria_university_page .iconscontainer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
    }

        .content_container .why_bahria_university_page .iconscontainer .iconbox {
            flex: 1 1 150px;
            max-width: 200px;
            min-width: 150px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

            .content_container .why_bahria_university_page .iconscontainer .iconbox img {
                width: 80px;
                height: auto;
                margin-bottom: 10px;
                transition: transform 0.4s ease;
            }

            .content_container .why_bahria_university_page .iconscontainer .iconbox:hover {
                transform: translateY(-8px);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            }

                .content_container .why_bahria_university_page .iconscontainer .iconbox:hover img {
                    transform: scale(1.1);
                }

            .content_container .why_bahria_university_page .iconscontainer .iconbox .icontxtcontainer {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }

                .content_container .why_bahria_university_page .iconscontainer .iconbox .icontxtcontainer p {
                    color: #0a1c44;
                    text-transform: uppercase;
                    text-align: center;
                    font-size: 16px;
                    margin: 0;
                    line-height: 22px;
                }

                    .content_container .why_bahria_university_page .iconscontainer .iconbox .icontxtcontainer p strong {
                        display: block;
                        font-size: 22px;
                        font-weight: 900;
                        text-transform: none;
                        margin-bottom: 6px;
                        color: #0a1c44;
                    }

@media (max-width: 768px) {
    .content_container .why_bahria_university_page .iconscontainer {
        gap: 20px;
    }

        .content_container .why_bahria_university_page .iconscontainer .iconbox {
            max-width: 45%;
        }
}

@media (max-width: 576px) {
    .content_container .why_bahria_university_page .iconscontainer .iconbox {
        max-width: 100%;
    }
}


    .content_container .research_innovation_page .researchboxtxt {
        background-color: #bb9e5a;
        color: #fff;
        height: 150px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .content_container .research_innovation_page .research_heading {
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        line-height: 30px;
        display: block;
        text-transform: uppercase;
        margin-bottom: 8px;
        text-decoration: none;
    }

        .content_container .research_innovation_page .research_heading:hover {
            text-decoration: underline;
        }

    .content_container .research_innovation_page .researchboxtxt p {
        font-size: 14px;
        margin: 0;
        line-height: 20px;
    }

    .content_container .research_innovation_page .researchbox img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }


.facilitiescarouselll {
    width: 100%;
}

.facilitiescarousel-cellll {
    width: 100%;
    height: 468px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

    .facilitiescarousel-cellll img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.facilitiescarouselll_heading_box {
    height: 120px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(10, 28, 68, 0), rgb(10, 28, 68) 55px);
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    transition: text-decoration 0.3s;
}

    .facilitiescarouselll_heading_box:hover {
        text-decoration: underline;
        color: white;
    }
.facilitiescarousel-cellll a {
    text-decoration: none;
}

.facilitiescarouselll_heading_box h2 {
    color: #fff;
    font-weight: 700;
    font-size: 36px;
    text-transform: uppercase;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 140%;
}
/* Responsive behavior using Bootstrap breakpoints */
@media (min-width: 992px) {
    .facilitiescarouselll .facilitiescarousel-cellll {
        width: 33.33%; /* 4 items on large screen */
    }
}

@media (max-width: 991px) {
    .facilitiescarouselll .facilitiescarousel-cellll {
        width: 100%; /* 1 item on mobile */
    }
}



.footer_page {
    margin-top: 30px;
    background-color: #0a1c44;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

    .footer_page h2 {
        color: #bb9e5a;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 18px;
        margin: 0;
    }

        .footer_page h2.small {
            font-size: 14px;
        }

.footer_col1, .footer_col2, .footer_col3, .footer_col4 {
    flex: 1 1 220px;
    min-width: 200px;
}

.links_box_1, .links_box_2 {
    margin-bottom: 20px;
}

.links_list {
    list-style: none;
    padding: 0;
}

    .links_list li {
        margin: 3px 0;
    }

        .links_list li a {
            color: #fff;
            text-decoration: none;
            font-size: 12px;
        }

            .links_list li a:hover {
                text-decoration: underline;
            }

.footer_col2 img {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
}

.footer_col3 iframe {
    width: 100%;
    height: 180px;
    border: none;
}

.social_icons_box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.social_icon {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .social_icon i {
        color: #fff;
        font-size: 14px;
    }

.address_item {
    border-bottom: 1px dashed #bb9e5a;
    padding: 5px 0;
}

    .address_item:last-child {
        border-bottom: none;
    }

.address_title {
    font-size: 10px;
    color: #bb9e5a;
    margin: 0;
}

.address_detail {
    font-size: 10px;
    color: #fff;
    margin: 0;
}

.footer_last {
    background-color: #bb9e5a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 50px;
    flex-wrap: wrap;
}

.footer_last_col1, .footer_last_col2 {
    font-size: 11px;
    color: #fff;
    text-transform: uppercase;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .footer_page {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .footer_col1, .footer_col2, .footer_col3, .footer_col4 {
        width: 100%;
        text-align: center;
    }

    .social_icons_box {
        flex-direction: row;
        justify-content: center;
    }

    .footer_last {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .footer_last_col1, .footer_last_col2 {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .footer_col3 iframe {
        height: 150px;
    }

    .social_icon {
        width: 40px;
        height: 40px;
    }

        .social_icon i {
            font-size: 16px;
        }
}


/*.contentpage .pageTemplate1Container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}
.contentpage .pageTemplate1Container .pageTemplateContainerin {
  width: 1300px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
.contentpage .pageTemplate1Container .pageTemplateContainerin .contentcolumn1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.contentpage .pageTemplate1Container .pageTemplateContainerin .contentcolumn1 h1 {
  color: #0a1c44;
  font-weight: 700;
  font-size: 38px;
}
.contentpage .pageTemplate1Container .pageTemplateContainerin .contentcolumn1 p {
  color: #0a1c44;
}
.contentpage .pageTemplate1Container .pageTemplateContainerin .contentcolumn2 {
  width: 600px;
}
.contentpage .pageTemplate2Container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}
.contentpage .pageTemplate2Container .pageTemplateContainerin {
  width: 1300px;
}
.contentpage .pageTemplate2Container .pageTemplateContainerin .contentSection1 {
  border-bottom: dashed 1px #0a1c44;
}
.contentpage .pageTemplate2Container .pageTemplateContainerin .contentSection1 h1 {
  color: #0a1c44;
  font-weight: 700;
  font-size: 38px;
}
.contentpage .pageTemplate2Container .pageTemplateContainerin .contentSection1 p {
  color: #0a1c44;
}
.contentpage .pageTemplate2Container .pageTemplateContainerin .contentSection2 h2 {
  color: #0a1c44;
  font-weight: 700;
  font-size: 28px;
}
.contentpage .pageTemplate2Container .pageTemplateContainerin .contentSection2 p {
  color: #0a1c44;
}
*/