* {
    padding: 0;
    margin: 0;
}

html, body {
  overflow-x: hidden; 
  margin: 0;
  padding: 0;
}

@font-face {
    font-family: url_fonts;
    src: url(fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: heading;
    src: url(fonts/Montserrat-Bold.ttf);
}

@font-face {
    font-family: normal_fonts;
    src: url(fonts/Montserrat-Regular.ttf);
}


:root {
    --black: #000;
    --readmore: #f93b3b;
    --buttonbg: #c13434;
    --titlecolor: #C81919;
    --icon-color: #851717;
    --gradient-btn: linear-gradient(90deg, #C81919 0%, #FF7979 50%, #C81919 100%);
}

.page-content {
    min-height: 60vh;
}

body {
    background: #ffffff;
    color: #000000;
    font-family: normal_fonts;
    font-size: 16px;
    line-height: 28px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: heading;
}

input:focus {
    outline: none !important;
    border: none;
    border-bottom: 1px solid var(--readmore);
}

textarea:focus {
    outline: none !important;
    border: none;
    border-bottom: 1px solid var(--readmore);
}

p {
    font-size: 15px;
    margin: 0px;
    line-height: 28px;
}

button {
    cursor: pointer;
}

button:focus {
    outline: none;

}

a:hover {
    text-decoration: none;
}

.default-container {
    padding-left: 80px;
    padding-right: 80px;
}

ul {
    margin: 0px;
}

button {
    border: none;
}

.banner-section {
    background: #ffffff;
    height: 100vh;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 100px;
    background-size: cover !important;
    display: flex;
    align-items: center;
}

.banner-content h2 {
    color: #C81919;
    font-size: 47px;
    margin-bottom: 10px;
    margin-left: 17px;
}

.banner-content p {
    color: #000000;
    /* font-size: 27px; */
    margin-bottom: 40px;
    text-align: justify;
    margin-left: 17px;
}

.btn_nav_link {
    display: flex;
    background: linear-gradient(90deg, #c8191963 0%, #ff5c5cd0 50%, #c8191963 100%);
    width: 200px;
    height: 40px;
    border-radius: 22px;
    border: 1px solid var(--buttonbg);
    color: #c13434;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: Center;
    font-weight: 600;
}

.round_arrow {
    /* background: var(--buttonbg); */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--icon-color); */
    margin-left: 10px;
    border-radius: 50px;
    color: #C81919;
}

.btn_nav_link:hover {
    color: #C81919;
}

.banner_button {
    display: flex;
    justify-content: start;
}

.banner-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.banner-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.section-pt-100 {
    /* padding-top: 100px; */
    padding-top: 40px;

}

.section-pb-100 {
    /* padding-bottom: 100px; */
    padding-bottom: 40px;
}

.articles_section {
    padding-top: 40px;
}

.header-container p {
    line-height: 28px;
}

.header-container label {
    color: var(--titlecolor);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.header-container {
    margin-bottom: 15px;
}

.header-container h2 {
    font-size: 38px;
    text-transform: capitalize;
    font-family: heading;
    margin-bottom: 15px;
}

.header-container h4 {
    font-size: 38px;
    text-transform: capitalize;
    font-family: heading;
    margin-bottom: 15px;
    color: #C81919;
}

/* small black "as" inside certain h2 headings */
.header-container h4 span {
    color: #000;
    font-size: 15px;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.header-container h2 span {
    color: #000;
    font-size: 15px;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.content {
    margin-bottom: 25px;
}

.content p {
    line-height: 32px;
}

.btn_container .btn_transparent {
    display: flex;
    /* background: transparent; */
    background: linear-gradient(90deg, #c8191963 0%, #ff5c5cd0 50%, #c8191963 100%);
    width: 200px;
    height: 40px;
    border-radius: 22px;
    color: #c13434;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: Center;
    border: 1px solid var(--buttonbg);
    font-weight: 600;
    font-style: italic;
}

.btn_transparent .round_arrow {
    /* background: var(--buttonbg); */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--icon-color); */
    margin-left: 15px;
    border-radius: 50px;
}

.btn_transparent:hover {
    color: var(--titlecolor);
}

.btn_container .btn_transparent-act {
    display: flex;
    /* background: transparent; */
    background: linear-gradient(90deg, #c8191963 0%, #ff5c5cd0 50%, #c8191963 100%);
    width: 200px;
    height: 40px;
    border-radius: 22px;
    color: #c13434;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: Center;
    border: 1px solid var(--buttonbg);
    font-weight: 600;
    font-style: italic;
}

.btn_transparent-act .round_arrow {
    /* background: var(--buttonbg); */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--icon-color); */
    margin-left: 15px;
    border-radius: 50px;
}

.btn_transparent-act:hover {
    color: var(--titlecolor);
}

.btn_container .btn_transparent-blog {
    display: flex;
    /* background: transparent; */
    background: linear-gradient(90deg, #c8191963 0%, #ff5c5cd0 50%, #c8191963 100%);
    width: 275px;
    height: 40px;
    border-radius: 22px;
    color: #c13434;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: Center;
    border: 1px solid var(--buttonbg);
    font-weight: 600;
    font-style: italic;
}

.btn_transparent-blog .round_arrow {
    /* background: var(--buttonbg); */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--icon-color); */
    margin-left: 15px;
    border-radius: 50px;
}

.btn_transparent-blog:hover {
    color: var(--titlecolor);
}

.btn_container .btn_transparent-gal {
    display: flex;
    /* background: transparent; */
    /* background: linear-gradient(90deg, #c8191963 0%, #ff5c5cd0 50%, #c8191963 100%); */
    background: #e539352e;
    width: 200px;
    height: 40px;
    border-radius: 22px;
    color: #c13434;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: Center;
    border: 1px solid var(--buttonbg);
    font-weight: 600;
    font-style: italic;
}

.btn_transparent-gal .round_arrow {
    /* background: var(--buttonbg); */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--icon-color); */
    margin-left: 15px;
    border-radius: 50px;
}


.bg-black {
    background: #000;
}

.service_bx {
    background: rgb(255, 255, 255);
    padding: 15px 15px;
    border-radius: 9px;
    margin-bottom: 25px;
    height: 507px;
}

.service_bx-blog {
    background: rgb(255, 255, 255);
    padding: 15px 15px;
    border-radius: 9px;
    margin-bottom: 25px;
    height: 450px;
}

.service_img {
    height: 280px;
    border-radius: 15px;
    background-size: cover !important;
    background-position: center !important;
    margin-bottom: 25px;
}

/* .service_content h2 {
    margin-bottom: 25px;
    font-size: 21px;
    line-height: 36px;
} */

.service_content h4 {
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 36px;
    height: 70px;
}

.testimonial_content {
    padding: 25px 30px;
    background: rgb(0, 0, 0, .5);
    border-radius: 15px;
    margin-bottom: 25px;
}

.user_photo {
    width: 60px;
    height: 60px;
    background-size: cover !important;
    background-position: center !important;
    background: #ccc;
    border-radius: 35px;
}

.user_info {
    padding-left: 25px;
}

.user_info h5 {
    font-size: 18px;
    margin-bottom: 0px;
    font-weight: normal;
}

.icon_div {
    width: 100px;
    height: 100px;
    background: transparent;
    margin-bottom: 20px;
}

.other-bx {
    margin-bottom: 25px;
}

.other-bx h4 {
    margin-bottom: 25px;
}

.blogs_content .blog_titlehref {
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 600;
    font-family: normal_fonts;
    line-height: 32px;
    color: #000000;
    display: block;
}

.blogs_content ul li {
    display: inline-block;
    margin-bottom: 15px;
}

.section_service_after::before {
    width: 500px;
    height: 500px;
    content: '';
    /* background: url(../images/bg_gradient4-2.png) no-repeat; */
    background-size: cover !important;
    background-position: center !important;
    position: absolute;
    left: 0;
}

.section_blgos_after::after {
    width: 500px;
    height: 500px;
    content: '';
    /* background: url(../images/bg_gradient4-2.png) no-repeat; */
    background-size: cover !important;
    background-position: center !important;
    position: absolute;
    right: 0;
}

.subheader-container {
    margin-bottom: 25px;
}

.subheader-container h4 {
    font-family: heading;
    font-size: 22px;
}

.why_choose_us {
    /* background: url(../images/welcome-bg.png) no-repeat; */
    background-size: cover !important;
    background-position: center !important;
}

.why_choose_us::before {
    /* background: rgb(0, 0, 0, .4); */
    content: '';
    width: 100%;
    height: 100%;
    z-index: 1;
    background-position: absolute;
    left: 0;
}

.inner-content {
    height: 450px;
    display: flex;
    padding-top: 100px;
    align-items: center;
}

.inner-banner h2 {
    font-size: 45px;
}

.breadcrumb_container {
    display: flex;
    justify-content: center;
}

.from-container {
    margin-bottom: 25px;
}

.form-container input {
    font-size: 14px;
}

.contact_social_iconslist {
    list-style: none;
}

.contact_social_iconslist li {
    display: inline-block;
}

.contact_social_iconslist li a {
    color: var(--titlecolor);
    font-size: 28px;
    margin-right: 15px;
}

.contact_msg h4 {
    margin-bottom: 25px;
    font-size: 34px;
}

.contact_msg p {
    margin-bottom: 25px;
}

.location_icon_div {
    width: 120px;
    text-align: center;
}

.location_icon_div i {
    font-size: 45px;
    color: var(--titlecolor);
}


.border_center_div {
    border-right: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
    padding-left: 30px;
}

.location_content ul {
    list-style: none;
    padding: 0px;
}

.location_content ul li a {
    color: #fff;
}

.schedule_mainbx {
    background: rgb(55 55 55 / 40%);
    padding: 25px 20px;
    border-radius: 10px;
}


.schedule_nav {
    display: flex;
    justify-content: end;
    margin-bottom: 35px;
}

.schedule_nav ul {
    list-style: none;
}

.schedule_nav ul li {
    display: inline-block;
    margin-left: 20px;
}

.schedule_nav ul li button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 45px;
    color: var(--buttonbg);
    border: 1px solid var(--buttonbg);
    border-radius: 10px;
    background: transparent;
}

.schedule_nav ul li button:hover {
    background: var(--buttonbg);
    color: #fff;
}

.schedule_meeting_container {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 8px 0px,
        rgba(0, 0, 0, 0.08) 0px 0px 1px 0px;
    padding: 20px 25px;
    background: #000;
    border-radius: 10px;
    margin-bottom: 15px;
}

.meeting_img {
    height: 220px;
    background: #fff;
    background-size: cover !important;

}

.schedule_meeting_container h4 {
    font-size: 18px;
    margin-bottom: 10px;
}


.schedule_date_picker {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 8px 0px,
        rgba(0, 0, 0, 0.08) 0px 0px 1px 0px;
    padding: 20px 25px;
    background: #000;
    border-radius: 10px;
    margin-bottom: 15px;
}

.date_container {
    border: 1px dashed #232323;
    background: #232323;
    padding: 15px 20px;
    border-radius: 10px;
}

.date_container label {
    font-size: 13px;
    color: #666;
    margin-bottom: 0px;
}

.date_container .title-block {
    font-weight: bold;
    font-size: 16px
}

.date_container span {
    font-size: 13px;
}

.date_picker_owlsliders .owl-nav {
    position: absolute !important;
    width: 100% !important;
    top: 29px !important;
}

.date_picker_owlsliders .owl-nav button.owl-prev {
    left: -44px !important;
    position: absolute !important;
    width: 35px;
    height: 35px;
    background: #232323;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;

}

.date_picker_owlsliders .owl-nav button.owl-next {
    right: -44px !important;
    position: absolute !important;

    width: 35px;
    height: 35px;
    background: #232323;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}


/*milestone section*/
.milestone-box {
    padding: 20px;
}

.year-box {
    display: inline-block;
    padding: 18px 40px;
    border: 2px solid #e53935;
    border-radius: 14px;
    font-size: 28px;
    font-weight: 700;
    color: #e53935;
    box-shadow: 0 0 12px rgba(229, 57, 53, 0.4);
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffd3d3 0%, #ffdede 50%, #ffd3d3 100%);
}

.milestone-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.milestone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border: 2px solid #e53935;
    border-radius: 25px;
    color: #e53935;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    /* background: linear-gradient(90deg, #c8191963 0%, #ff5c5cd0 50%, #c8191963 100%); */
    background: #e539352e;
    width: 230px;
    height: 40px;
    font-weight: 600;
    font-style: italic;

    margin: 20px auto;
    /* centers the button */
}

.milestone-btn:hover {
    color: #e53935;
}


/* text center */
.text_block_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-top: 165px;
}


/* blog card */

/* Card Container */
.service-block-two {
    position: relative;
    margin-bottom: 30px;
    height: auto;
}

/* Card Box */
.service-block-two .inner-box {
    position: relative;
    overflow: hidden;
    padding: 40px 35px;
    border-radius: 8px;
    background: #c134340e;
    transition: all 0.4s ease;
    height: 389px;
}

/* Hover overlay */
.service-block-two .inner-box:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: #ffffff;
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 8px;
    border: 1px solid #c134345b;
    box-shadow: 0 0 15px rgba(193, 52, 52, 0.4);
}

/* Circle shapes */
.service-block-two .shape-one {
    position: absolute;
    width: 220px;
    height: 220px;
    background: #c13434;
    border-radius: 50%;
    top: -120px;
    right: -120px;
    opacity: 0.4;
    transform: scale(0);
    transition: all 0.5s ease;
}

.service-block-two .shape-two {
    position: absolute;
    width: 320px;
    height: 320px;
    background: #c13434;
    border-radius: 50%;
    top: -180px;
    right: -180px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s ease;
}

/* Icon */
.service-block-two .icon-box {
    position: relative;
    font-size: 55px;
    color: #0060ff;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Title */
.service-block-two h5 {
    position: relative;
    margin-top: 20px;
    font-weight: 600;
    z-index: 2;
}

.service-block-two h5 a {
    color: #b62525;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Text */
.service-block-two .text {
    position: relative;
    margin-top: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    z-index: 2;
    transition: all 0.3s ease;
    text-align: justify;
}

/* Hover Effects */
.service-block-two .inner-box:hover:before {
    height: 100%;
    opacity: 1;
}

.service-block-two .inner-box:hover .shape-one {
    transform: scale(1);
}

.service-block-two .inner-box:hover .shape-two {
    transform: scale(1);
    opacity: 0.4;
}

.service-block-two .inner-box:hover .icon-box,
.service-block-two .inner-box:hover h5 a,
.service-block-two .inner-box:hover .text {
    color: #000000;
}


/* gallery section */

.gallery_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.gallery_container .gallery_photo {
    height: 270px;
    margin: 5px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.gallery_container .gallery_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.gallery_container .gallery_photo:hover img {
    transform: scale(1.08);
}

/* Layout pattern */
.gallery_container .gallery_photo:nth-child(1) {
    width: 24%;
}

.gallery_container .gallery_photo:nth-child(2) {
    width: 24%;
}

.gallery_container .gallery_photo:nth-child(3) {
    width: 49%;
}

.gallery_container .gallery_photo:nth-child(4) {
    width: 49%;
}

.gallery_container .gallery_photo:nth-child(5) {
    width: 24%;
}

.gallery_container .gallery_photo:nth-child(6) {
    width: 24%;
}


/* profile page */
/* PROFILE SECTION */

.profile-section {
    padding: 100px 0;
    background: #fafafa;
}

.profile-container {
    width: 1100px;
    max-width: 95%;
    margin: auto;
}

/* PROFILE HEADING */

.profile-heading {
    margin-bottom: 30px;
}

.profile-heading h2 {
    color: #d33;
    font-size: 26px;
    letter-spacing: 1px;
    font-weight: 600;
}

.profile-heading p {
    color: #d33;
    font-size: 12px;
    letter-spacing: 2px;
}

/* PROFILE CARD */

.profile-card {
    margin-bottom: 90px;
}

/* SLIDER */

.profile-slider {
    position: relative;
    margin-bottom: 25px;
}

.slider-track {
    overflow: hidden;
    border-radius: 40px;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 40px;
}

/* NAVIGATION ARROWS */

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
}

.nav:hover {
    color: #000;
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

/* PROFILE TEXT */

.profile-text {
    font-size: 15px;
    line-height: 1.8;
    color: #000000;
    max-width: 1090px;
    text-align: justify;
    font-weight: 500;
}

/* BREADCRUMB SECTION */

.inner-banner {
    padding: 0px 0;
    background-size: cover !important;
    background-position: center !important;
}

.inner-banner h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.breadcrumb li {
    color: #fff;
    font-size: 14px;
}

.breadcrumb li a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb li::after {
    content: "/";
    margin-left: 10px;
}

.breadcrumb li:last-child::after {
    display: none;
}

.more-text {
    display: none;
}

.read-more-btn {
    color: #d33;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
}


.profile-heading .profile-date {
    font-size: 14px;
    color: rgb(0, 0, 0);
    letter-spacing: 2px;
    margin-top: 5px;
    font-weight: 700;
}


/* gallery-detail page */

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid #e53835cc;
    background: #e539352e;
    color: #c13434;
    font-size: 15px;
    transition: 0.3s;
    font-weight: 500;
}

.filter-btn:hover {
    background: #c13434;
    border-color: #c13434;
    color: #fff;
}

.filter-btn.active {
    background: #c13434;
    border-color: #c13434;
    color: #fff;
}


/* Gallery Grid */

.gallery_container-detail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.gallery_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* -------- Large Desktop -------- */
@media (max-width:1400px) {
    .gallery_container-detail {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* -------- Laptop -------- */
@media (max-width:1200px) {
    .gallery_container-detail {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* -------- Tablet -------- */
@media (max-width:992px) {

    .gallery_container-detail {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-btn {
        padding: 9px 18px;
        font-size: 14px;
    }

}


/* -------- Small Tablet -------- */
@media (max-width:768px) {

    .gallery-filter {
        gap: 12px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

}


/* -------- Mobile -------- */
@media (max-width:576px) {

    .gallery_container-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 8px;
    }

}


/* -------- Small Mobile -------- */
@media (max-width:400px) {

    .filter-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

}

/* articles detail page */
.service_bx {
    background: rgb(255, 255, 255);
    padding: 15px 15px;
    border-radius: 9px;
    margin-bottom: 25px;
    height: 507px;
}

.service_bx-blog-article {
    background: rgb(255, 255, 255);
    padding: 15px 15px;
    border-radius: 9px;
    margin-bottom: 25px;
    height: 380px;
}

.service_img {
    height: 280px;
    border-radius: 15px;
    background-size: cover !important;
    background-position: center !important;
    margin-bottom: 25px;
}

/* .service_content h2 {
    margin-bottom: 25px;
    font-size: 21px;
    line-height: 36px;
} */

.service_content h4 {
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 36px;
    height: 70px;
}

.service_bx-act {
    background: rgb(255, 255, 255);
    padding: 15px 15px;
    border-radius: 9px;
    margin-bottom: 25px;
    height: 415px;
}

/* Achievement section */

.academic_box {
    padding: 20px;
    text-align: center;
}

.academic_title {
    color: #d52b2b;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.academic_img {
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 15px;
}

.academic_img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 25px;
}

.academic_content p {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    max-width: 1090px;
    text-align: justify;
    font-weight: 600;
}

/* Mobile Responsive */

@media(max-width:768px) {

    .academic_img img {
        height: 250px;
    }

    .academic_title {
        font-size: 20px;
    }

}

/* blogs detail page */

.blog-details {
    background: #fafafa;
}

.blog-box {
    border-left: 4px solid #dc3545;
    padding: 20px 20px 20px 30px;
    position: relative;
    transition: 0.3s;
}

.blog-box:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-icon {
    font-size: 22px;
    color: #dc3545;
    margin-top: 5px;
    text-align: justify;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.blog-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}


/* contact */

.contact-info {
    margin-top: 20px;
}

.contact-item {
    margin-bottom: 18px;
    align-items: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e63946;
    border-radius: 6px;
    color: #e63946;
    margin-right: 15px;
}

.contact-text h6 {
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-text p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

/* Social icons */
.social-icons a {
    display: inline-block;
    margin-right: 12px;
    font-size: 20px;
    color: #333;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #c13434;
    /* change to your theme color */
}


.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe{
    width:100%;
    height:400px;
}

.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;   /* places it right below parent */
    left: 0;
    display: none;
    background: #fff;
    z-index: 1000;
    min-width: 200px;
}

.dropdown.open .submenu {
    display: block;
}


/* Articles card */

.custom-card {
    height: 80vh;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    background: #fff;
    margin-bottom: 20px;
}

/* .custom-card-body {
    height: 100%;
    padding: 0;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.custom-card-body img {
    width: 90% !important;
    height: auto;
    display: block;
    margin-left: 25px;
    object-fit: contain; 
} */

.custom-card-body {
    height: 100%;      
    overflow: hidden;   
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.custom-card-body img {
    max-width: 100%;
    max-height: 100%;   
    object-fit: contain; 
    margin-left: 25px;
}

.custom-card-body::-webkit-scrollbar {
    width: 6px;
}

.custom-card-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.full-img-card .custom-card-body {
    overflow: hidden;
    display: flex;
}

.full-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.custom-card-body h4 {
    font-size: 18px;
    font-weight: 600;
    font-family: normal_fonts;
    line-height: 32px;
    color: #000000;
    display: block;
    margin-left: 15px;
}

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
  .custom-card {
    height: 65vh;   /* slightly smaller */
  }

  .custom-card-body img {
    width: 95% !important;
    margin-left: 10px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .custom-card {
    height: auto;   /* VERY IMPORTANT */
  }

  .custom-card-body {
    overflow-y: visible;   /* remove scroll on mobile */
  }

  .custom-card-body img {
    width: 100% !important;
    margin-left: 0;
  }

  /* Fix full image card */
  .full-img-card .custom-card-body {
    display: block;
  }

  .full-img-card img {
    height: auto;
    object-fit: contain;   /* no cropping on small screens */
  }
}

/* Small Mobile (≤ 576px) */
@media (max-width: 576px) {
  .custom-card {
    margin-bottom: 15px;
}

.custom-card-body img {
    border-radius: 8px;
    margin-left: 40px;
  }
}