html,
body {
    color: #4A4A4A;
}

.text-white {
    color: #fff !important;
}

.soical-profile2 {
    padding-top: 5px;
}

.soical-profile2>ul>li {
    float: right;
    padding-left: 10px;
    padding-bottom: 5px;
}

.all-slide .single-slide {
    height: auto;
}

.info {
    box-shadow: 0px 0px 0px 1px #efe3e3;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .5s;
    margin-bottom: 25px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='1' y2='0' gradientTransform='rotate(32,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%23281DFF'/%3E%3Cstop offset='1' stop-color='%23C673FF'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%230DFF00'/%3E%3Cstop offset='1' stop-color='%23B7FFF6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23FFF' fill-opacity='0' stroke-miterlimit='10'%3E%3Cg stroke='url(%23a)' stroke-width='3.3'%3E%3Cpath transform='translate(-64.05 4) rotate(-0.34999999999999964 1409 581) scale(0.9703469999999998)' d='M1409 581 1450.35 511 1490 581z'/%3E%3Ccircle stroke-width='1.1' transform='translate(-76.5 48) rotate(4.8999999999999995 800 450) scale(1.0058649999999998)' cx='500' cy='100' r='40'/%3E%3Cpath transform='translate(12.8 -58.5) rotate(39.5 401 736) scale(1.0058649999999998)' d='M400.86 735.5h-83.73c0-23.12 18.74-41.87 41.87-41.87S400.86 712.38 400.86 735.5z'/%3E%3C/g%3E%3Cg stroke='url(%23b)' stroke-width='1'%3E%3Cpath transform='translate(288 -0.1999999999999993) rotate(0.04999999999999982 150 345) scale(0.9894489999999999)' d='M149.8 345.2 118.4 389.8 149.8 434.4 181.2 389.8z'/%3E%3Crect stroke-width='2.2' transform='translate(-87.5 -129.5) rotate(36 1089 759)' x='1039' y='709' width='100' height='100'/%3E%3Cpath transform='translate(-181.6 50.4) rotate(5.999999999999998 1400 132) scale(0.905)' d='M1426.8 132.4 1405.7 168.8 1363.7 168.8 1342.7 132.4 1363.7 96 1405.7 96z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* background-repeat: repeat; */
    /* background-attachment: fixed; */
    background-size: cover;
}

.info:hover {
    transform: scale(1.1, 1.1);
    box-shadow: 0px 1px 3px 0px #3039472b;
}

.info-image-container i {
    font-size: 50px;
    padding: 5px;
    background: -moz-linear-gradient(top, var(--contentcolor) 40%, #a742c6 100%);
    background: -webkit-linear-gradient(top, var(--contentcolor) 40%, #f87ee6 100%);
    background: linear-gradient(to bottom, var(--contentcolor) 40%, #f87ee6 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.boucher-title {
    margin-top: 15px;
    text-transform: capitalize;
    letter-spacing: 1.2px;
}

.btn.aboutbtn {
    background: var(--buttoncolor);
    color: #fff;
    font-weight: 300;
    text-transform: capitalize;
}

.btn.aboutbtn:focus {
    outline: none;
}

.about-desc a.about-btn {
    background: var(--buttoncolor);
    color: #fff;
    padding: 8px 18px;
}

.about-desc a.about-btn::before {
    color: #fff;
}

.course-sec {
    margin-top: -261px;
}

.notice-sec {
    margin-top: 50px;
    margin-bottom: 40px;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open>.dropdown-toggle.btn-primary.focus,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
    color: #fff;
    background-color: var(--buttoncolor);
    border-color: var(--buttoncolor);
}

.sec-title h1,
.about-desc h1,
.massage-desc h1 {
    font-size: 28px;
}

.sec-title h1::before {
    content: "";
    position: absolute;
    bottom: 40px;
    width: 80px;
    height: 2px;
    background: #f1c40f;
}

.why-choose-inner {
    background: #fff;
    border: 1px solid #ddd;
}

.why-choose-thumb {
    padding-top: 20px;
}

.why-choose-icon {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    line-height: 80px;
    text-align: center;
    margin: 0px auto;
    left: 0;
    right: 0;
    bottom: 0px;
    background: #fff;
    border-bottom: 3px solid #011e40;
    z-index: 99;
    transition: all 0.4s ease 0s;
}

.why-choose-text {
    padding: 40px 15px 20px 15px;
    background: #fff;
    border: 0px solid #ddd;
    border-top: 0px;
}

.course2-sec {
    background: #011e40 none repeat scroll 0 0;
    padding: 76px 0;
    background-image: url(../img/course-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.course2-sec-overlay {
    background-color: rgba(34, 37, 58, 0.95);
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.pt-50 {
    padding-top: 50px
}

.pt-30 {
    padding-top: 30px
}

.pb-30 {
    padding-bottom: 30px
}

.page ul {
    list-style-type: circle;
    padding-left: 20px;
}

.massage-desc .details {
    text-align: center;
}

.massage-desc .details img {
    border: 1px solid #ddd;
    width: 215px;
    height: 215px;
}

.massage-desc h1 {
    font-weight: bold;
    text-transform: capitalize;
    position: relative;
    margin-bottom: 30px;
}

.massage-desc h1::before {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 80px;
    height: 2px;
}

.massage-desc a.massage-btn {
    padding: 6px 18px;
    display: inline-block;
    font-weight: 600;
    text-transform: capitalize;
    position: relative;
}

.massage-desc.subonro_joyonti .details img {
    border: 0px solid #ddd;
    width: auto;
    height: auto;
}

.required {
    color: #DC3545;
}

.soical-profile2 .btn,
.soical-profile2 .btn-primary.active,
.soical-profile2 .btn-primary:active,
.soical-profile2 .open>.dropdown-toggle.btn-primary {
    font-size: 16px;
    font-weight: 600;

    background: transparent;
    color: #fff;
    border-color: #fff;
}

.header-left li {
    color: #fff;
    font-size: 24px;
}

/*--color-*/
.header-top {
    background: var(--headercolor);
}

.btn.aboutbtn,
.btn-primary,
.why-choose-all .owl-controls .owl-prev i,
.why-choose-all .owl-controls .owl-next i,
.all-testimonial .owl-controls .owl-prev i,
.all-testimonial .owl-controls .owl-next i,
#scrollUp,
.massage-desc a.massage-btn {
    background: var(--buttoncolor);
    color: #fff;
    border-color: var(--buttoncolor);
}

.footer-sec h2::before,
.sec-title h1::before,
.about-desc h1::before,
.massage-desc h1::before {
    background: var(--headercolor);
}

.footer-wedget-four .icon i,
.copy-right span,
.copy-right span a {
    color: var(--footercolor);
}

.count-up-inner h2 {
    color: var(--contentcolor);
}

.all-slide .owl-controls .owl-next i:hover {
    background: var(--buttoncolor);
    color: #fff;
    border-color: var(--buttoncolor);
}

.all-slide .owl-controls .owl-prev i:hover {
    background: var(--buttoncolor);
    color: #fff;
    border-color: var(--buttoncolor);
}

.ui-datepicker {
    z-index: 9 !important;
}

.logo img {
    height: 90px;
}

.logo {
    padding: 10px 0 10px;
}

.main-menu {
    margin-right: 0px;
}

.mt-25 {
    margin-top: 25px;
}

.mb-0 {
    margin-bottom: 0px;
}


.all_content .all_content_head {
    background: var(--headercolor);
    padding: 10px 15px;
}

.all_content .all_content_head h2 {
    margin: 0px;
    color: #fff;
}

.all_content .all_content_body {
    background: #fff;
    padding: 15px 15px;
    border: 1px solid #ddd;
    border-top-width: 0px;
}

footer.footer {
    background: #22253a none repeat scroll 0 0;
    margin-top: 0px;
}

.mean-container .mean-bar {
    top: 15px;
}

.trancarousel_area {
    background: #ffffff;
    width: 100%;
    float: left;
}

.trancarousel_area p.trand {
    float: left;
    margin-right: 10px;
    margin-bottom: 0px;
    padding: 12px 20px;
    background: var(--headercolor);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 17px;
}

.healline_area {
    float: left;
    width: 90%;
    line-height: 18px;
}

.healline_area marquee {
    padding-top: 7px;
    line-height: 30px;
}

.youtube_middle {
    position: absolute;
    left: 40%;
    top: 35%;
    font-size: 50px;
}

.youtube_middle .fa {
    background: #fff;
    line-height: 26px;
    border-radius: 50px;
}

a:hover .youtube_middle .fa {
    color: var(--headercolor);
}

ul.important_links {
    list-style: square;
    margin-left: 20px;
    color: var(--footercolor);
}

ul.important_links li {
    padding-bottom: 5px;
}

ul.important_links li a {
    color: #fff;
    font-weight: 600;
}

.social_media_links .btn-facebook {
    background: #1877F2;
    color: #fff;
}

.social_media_links .btn-youtube {
    background: #FF0000;
    color: #fff;
}

.social_media_links .btn-twitter {
    background: #1DA1F2;
    color: #fff;
}

.social_media_links .btn-dribbble {
    background: #ea4c89;
    color: #fff;
}

.social_media_links .btn-linkedin {
    background: #0077b5;
    color: #fff;
}

.switchLanguageButton {
    position: fixed;
    right: 0px;
    top: 10px;
    background: var(--headercolor);
    padding: 5px 10px;
    border-top-left-radius: 5px;
    color: #fff !important;
    border-bottom-left-radius: 5px;
    z-index: 9999;
}

.why-choose-all .owl-controls .owl-nav {
    top: -55px;
}

.why-choose-inner {
    margin-bottom: 0px;
}

/*-- head 2 --*/
.head2 .logo_org_section {
    background: #ffffff;
}

.head2 .logo_org_section .logo {
    text-align: right;
}

.head2 .logo_org_section .gov_name {
    text-align: center;
}

.head2 .logo_org_section .gov_logo {
    text-align: left;
}

.head2 .logo_org_section .gov_name h1 {
    margin: 15px 0 15px;
}

.head2 .logo_org_section .gov_name h4 {
    margin: 0px 0 15px;
}

.gov_logo {
    padding: 10px 0 10px;
}

.head2 .logo_org_section .gov_logo img {
    height: 90px;
}

.head2 .main_menu_section {
    background: var(--headercolor);
}

.head2 .main_menu_section .main-menu ul li a {
    padding: 16px 12px;
}

.head2 .main_menu_section .main-menu ul li:hover ul {
    top: 58px;
}

.head2 .main_menu_section .main-menu ul li a {
    color: #fff;
}

.head2 .main_menu_section .main-menu ul ul li:hover ul {
    top: -1px;
}

/*-- end head 2 --*/

.our_vision_mission .about-desc p:last-child {
    margin: 0px;
}

.pt-70 {
    padding-top: 70px;
}

.bg-white {
    background: #fff;
}

.home2 .gallery-sec .about-desc img {
    margin-bottom: 0px;
}

.type_title {
    border-bottom: 1px solid var(--headercolor);
    padding-bottom: 10px;
    padding-top: 15px;
}

.page_container h2.type_title:first-child {
    padding-top: 0px;
}

.main-menu ul li.my_account ul,
.main-menu ul li.admission ul {
    left: auto;
    right: 0px;
}

.box {
    background: #fff;
    padding: 25px 25px 15px;
    border-radius: 5px;
}

.testimonial .inner:first-child {
    top: 0px;
    padding-left: 20px;
}


.home3 .menu {
    display: block;
}

.home3 .slider {
    background: #4e1100;
}

.home3 .course-page-sec {
    background: #E1DBFF;
    z-index: 1;
    padding: 60px 0;
}

.home3 .course-page-sec::before {
    background-image: url(../img/courseBefore.jpg);
    left: 0;
    top: 0;
    width: 1000px;
    height: 480px;
}

.home3 .course-page-sec::after {
    background-image: url(../img/courseafter.jpg);
    right: 0;
    bottom: 0;
    width: 1000px;
    height: 480px;
}

.head1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
}

.course-inner2 {
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
}

.course-thumb img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.course-desc ul {
    list-style: disc;
    margin-left: 20px;
}

.course-desc ul li::marker {
    font-size: 23px !important;
}

.course-desc {
    border-bottom: 0px solid #f4f4f4;
}

.vedio-inner img {
    border-radius: 10px;
}

.details-button {
    text-align: center;
    padding-bottom: 25px;
    padding-top: 10px;
}

.details-button a {
    background: var(--buttoncolor);
    padding: 8px 15px;
    border-radius: 5px;
    color: #fff;
    line-height: 30px;
}

.course-details {
    padding-bottom: 170px;
    padding-top: 80px;
}

.course-details {
    background: linear-gradient(to bottom, #008377, #1FA396);
}

.course-details .content h1 {
    color: #FFFF84;
    font-size: 42px;
    margin-bottom: 15px;
    border-left: 5px solid;
    padding-left: 15px;
}

.course-details .content p {
    color: #fff;
    font-size: 20px;
    padding-left: 20px;
    margin-bottom: 30px;
    text-align: justify;
}

.accordion_section {
    margin-top: -115px;
    padding-bottom: 50px;
}

.accordion_section .panel-group {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.accordion_section .panel-heading a {
    display: block;
    position: relative;
    font-weight: bold;

    &::after {
        content: "";
        border: solid black;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 5px;
        position: absolute;
        right: 0;
        top: 0;
        transform: rotate(45deg);
    }

    &[aria-expanded="true"]::after {
        transform: rotate(-135deg);
        top: 5px;
    }
}

.accordion_section .panel-default>.panel-heading {
    color: #3B3849;
    background-color: #E4E4E4;
    border-color: #E4E4E4;
}

.accordion_section .panel-title {
    font-size: 24px;
}

.accordion_section .panel-body p {
    font-size: 18px;
}

.accordion_section .panel-body p:last-child {
    margin-bottom: 0px;
}

.bg-gray {
    background: #FAEFFF;
}

li.my_account a span {
    background: #FF0000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
}

.block-section h2.purecounter {
    margin: 10px;
}

@media only screen and (max-width: 768px) {
    .switchLanguage {
        float: left;
    }

    .mb-25-m {
        margin-bottom: 25px;
    }

    .sec-title h1::before {
        bottom: -10px;
    }

    .logo {
        text-align: left;
        padding: 0;
    }

    .mobile-mb-15 {
        margin-bottom: 15px;
    }

    .mt-30 {
        margin-top: 15px;
    }

    .hd-sec {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header-left li {
        font-size: 20px;
    }

    .healline_area {
        width: 70%;
        line-height: 18px;
    }

    .pagehding-sec {
        padding: 20px 0 0px;
    }

    .page-heading h1 {
        font-size: 20px;
        text-align: center;
    }

    .why-choose-all .owl-controls .owl-nav {
        top: -120px;
    }

    .youtube_middle {
        position: absolute;
        left: 15%;
        top: 1%;
        font-size: 30px;
    }

    /*-- head 2 --*/
    .head2 .logo_org_section .logo {
        text-align: center;
        padding: 10px 0 0px;
    }

    .head2 .logo_org_section .gov_name h1 {
        margin: 5px 0 10px;
    }

    .head2 .mean-container a.meanmenu-reveal {
        margin-top: -140px;
    }

    .head2 .main_menu_section {
        background: transparent;
    }

    /* Hide desktop main menu on mobile to prevent layout issues */
    .hd-sec .menu, 
    .main_menu_section .menu,
    .head2 .main_menu_section .menu,
    .head2 .main_menu_section .main-menu,
    .main-menu {
        display: none !important;
    }

    /*-- end head 2 --*/
}

/* Make Website Layout Full Width (Fluid) */
.container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Redesigned Proud Students Section */
.proud-students-sec {
    background-color: #fcfdfe;
    padding: 50px 0;
}

.proud-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.proud-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2473f1;
    border-radius: 2px;
}

.proud-grid-row {
    display: flex;
    flex-wrap: wrap;
}

.proud-student-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid transparent;
}

.proud-student-card:hover {
    transform: translateY(-8px);
}

/* Color Themes matching Screenshot */
.proud-student-card.blue-card {
    border-color: #add8e6 !important;
    box-shadow: 0 10px 30px rgba(173, 216, 230, 0.4) !important;
}

.proud-student-card.red-card {
    border-color: #ffcccb !important;
    box-shadow: 0 10px 30px rgba(255, 204, 203, 0.4) !important;
}

.proud-avatar-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.proud-avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.proud-student-card.blue-card .proud-avatar-img {
    border-color: #2473f1 !important;
}

.proud-student-card.red-card .proud-avatar-img {
    border-color: #ff3366 !important;
}

.proud-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #f1c40f;
    font-size: 14px;
}

.proud-student-info {
    width: 100%;
}

.proud-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.proud-session {
    font-size: 13px;
    font-weight: 600;
    color: #777;
    margin-bottom: 5px;
}

.proud-merit {
    font-size: 14px;
    font-weight: 700;
    color: #2473f1;
    margin-bottom: 12px;
}

.proud-student-card.red-card .proud-merit {
    color: #ff3366 !important;
}

.proud-divider {
    width: 50px;
    height: 2px;
    background: #eee;
    margin: 15px auto;
}

.proud-quote {
    font-size: 13px;
    line-height: 22px;
    color: #555;
    text-align: justify;
    margin: 0;
    font-style: italic;
}

/* Sticky Social Media Sidebar Styles */
.sticky-social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: visible;
}

.sticky-social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff !important;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 6px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
}

.sticky-social-sidebar a:hover {
    padding-right: 10px;
    width: 58px;
    margin-left: -10px;
}

.sticky-facebook {
    background-color: #3b5998;
}

.sticky-youtube {
    background-color: #ff0000;
}

.sticky-whatsapp {
    background-color: #25d366;
}

.sticky-linkedin {
    background-color: #0077b5;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 0px;
    z-index: 99999;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 2px 2px 2px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp-btn .whatsapp-text {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-right: 12px;
}

.floating-whatsapp-btn .whatsapp-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background-color: #25d366;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Center Navigation Menu for Theme 2 */
.head2 .main_menu_section {
    text-align: center !important;
}

.head2 .main_menu_section .menu-left {
    float: none !important;
    display: inline-block !important;
    text-align: center !important;
    width: auto !important;
}

.head2 .main_menu_section .menu {
    float: none !important;
    display: inline-block !important;
}

.head2 .main_menu_section .main-menu {
    float: none !important;
    display: inline-block !important;
    text-align: left !important;
    margin-right: 0 !important;
}

/* Sticky Footer layout to avoid white space below footer on short pages */
body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    margin: 0 !important;
}

footer {
    margin-top: auto !important;
}

/* Modern Gallery Cards Styling */
.modern-gallery-card {
    display: block;
    background: #fff;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.modern-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.modern-gallery-card .img-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    height: 0;
    background: #f8f9fa;
}

.modern-gallery-card .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-gallery-card:hover .img-wrapper img {
    transform: scale(1.08);
}

.modern-gallery-card .card-caption {
    padding: 12px 15px;
    background: #fff;
    border-top: 1px solid #f5f5f5;
    text-align: center;
}

.modern-gallery-card .card-caption small {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-gallery-card .play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-gallery-card .play-btn-overlay i {
    font-size: 45px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0.85;
}

.modern-gallery-card:hover .play-btn-overlay i {
    transform: scale(1.2);
    opacity: 1;
    color: #ff0000;
}

/* Centered Gallery Titles */
.gallery-title-center {
    text-align: center !important;
}
.gallery-title-center::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
}