@media(max-width:991px)
{
	
	.transforming_text {
    background: linear-gradient(to right, white, #ffffff00);
    padding: 10px 40px;
    width: 100%;
    margin-left: 0%;
    font-size: 17px;
}
button.slick-prev.slick-arrow {
    top: 103%;
}
	button.slick-next.slick-arrow {
    left: 8.8vw;
    top: 103% !important;
}
.services-scroll-list {
    gap: 0px;
}
	div#mobileSidebar {
    display: block;
}
.start_of_month {
    float: initial;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 250px;
    margin-bottom: 20px;
}
.services-scroll-list {
    animation: scroll-horizontal 90s linear infinite;
}
.text-box {
   left: 0;
        bottom: -55px;
        padding: 13px;
}
.moble_flex h4 {
    font-size: 16px;
}
p.first-text {
    letter-spacing: 5px;
}
section.about_lubna .education_box {
    padding: 0px 15px;
    width: 100%;
}
section.services_sections {
    padding-bottom: 50px !important;
}
.about_lubna {
    padding-top: 40px;
    padding-bottom: 40px;
}
.moble_flex {
    display: flex;
    align-items: center;
    gap: 12px;
}
.scholar_section {
    background: #fefddf;
    padding-top: 0;
}
.border_8:before {
    content: "";
    position: absolute;
    background: #fdee9d;
    width: 100%;
    height: 50%;
    bottom: -20px;
    margin-left: 0;
}
.fixed-top {
    position: relative !important;
}
.awards_achievements .owl-nav {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 13px;
}
.mobile_bmi {
    margin: 0px;
}
.menu-btn {
    top: 0;
    padding: 2px 10px;
    font-size: 12px;
}
.news_update .owl-nav {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 13px;
}
.bmi-range-list {
    flex-wrap: wrap;
}
.bmi-calculate-btn {
    
    width: 50%;
}
.font33 {
    font-size: 24px;
}
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100% !important;
    transition: right 0.3s ease;
}

.sidebar.active {
    right: 0;
}

.bmi-calculator-sidebar {
    padding: 50px 15px;
    color: #333;
}

.news_update button.owl-next {
    position: relative;
    top: auto;
    right: 0;
}
.news_update button.owl-prev {
    position: relative;
    top: auto;
    left: 0;
}
.mobile_nones
{
    display: none !important;
}
header {
    border-bottom: 0px solid #fccf00;
}
.border_8 {
    margin-top: 35px;
}
.locatio_box {
    width: 100%;
            margin-top: 30px;
}
.padding100 {
    padding-top: 0;
}
section#results th, section#results td {
    font-size: 14px;
}
#results td {
    font-size: 12px !important;
}
.row.admition_f_r {
    margin-left: 5px;
    margin-right: 5px;
}
.addmision_text {
    padding-top: 44px;
    text-align: left !important;
    padding-left: 3px;
    width: 100%;
    margin-left: 15px;
    font-weight: 500;
    margin-bottom: 0;
}
.paddlft60 {
    padding-left: 15px !important;
}
html {
    overflow-x: hidden;
}
#counter {
    background: #fefddf;
    padding: 25px 0px !important;
}
.locatio_box ul li {
    font-size: 14px;
    transform: skew(0deg);
    width: 104%;
        padding: 10px 13px 10px;
}
.locatio_box li p {
    margin-bottom: 0;
    transform: skew(0deg);
}
.news_box {
    margin-bottom: 20px;
}
.footer_bottom_img img {
    width: 150px;
}
.quickimg img {
    width: 100%;
    border: 1px solid #f6d876;
    padding: 45px;
    margin: 0 auto;
    height: auto;
            height: 150px;
}
.locatio_box ul li i {
    margin-right: 4px;
}
.admission_form {
    border: 2px solid #f6d876;
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    position: relative !important;
    background: #fff;
    margin-top: 0;
    margin-right: 0;
    width: 100%;
    right: 0;
    margin-top: 90px;
}
.locatio_box:after {
    content: '';
    position: absolute;
    background: #ffffff00;
    height: 87%;
    width: 76%;
    top: 0;
    border: 1px solid #f6d876;
    z-index: -1;
    border-radius: 30px;
    left: 36px;
    margin-top: 54px;
}
.footer-privacy ul li {
    list-style: none;
    float: left;
    padding-left: 0;
    padding-right: 15px;
}
.classroom_box {
    padding: 0px 0px;
            margin-bottom: 0px;
}
.border_2:before {
    width: 100%;
    bottom: 23px;
}

.classroom_box p {
    margin-bottom: 40px;
}
.counter-value {
    font-size: 34px;
    color: #333;
}
.margintop-23 {
    margin-top: 0px !important;
}
.margintop-18 {
    margin-top: 0px !important;
}
.stastic p {
    text-decoration: underline;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}
.skew-box p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 25px;
    transform: skew(0deg);
    padding-top: 7px;
}
    .skew-box {
        position: relative;
        top: 0;
        background-color: #f6d876;
        color: #000;
        padding: 3px 45px 10px 15px;
        font-size: 14px;
        font-family: Arial, sans-serif;
        transform: skew(0deg);
        display: block;
        margin-left: 0px;
    }
body .admission_img {
 width: 110px !important;
        position: relative;
        left: 20px;
        margin-top: 0;
        top: 34px;
}

body .inner_adminssion_text {
padding-top: 13px;
        width: 100%;
        margin-left: 0;
        font-weight: 500;
        text-align: left !important;
        padding-left: 0px;
}

.calculate_buttons
{
	display:none;
}
.header_text {
    color: #333;
    font-weight: 600;
    font-size: 18px;
    padding-left: 0;
    padding-top: 10px;
    text-align: left;
    padding-top: 0px;
   margin-top: 0px;
}
h4.transforming_text {
    display: none;
}
body .admiistion_test {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-top: 0px;
    text-align: center !important;
    line-height: 20px;
}
    .w-150 {
               width: 74px;
        position: relative;
        top: 0;
        margin-left: inherit;
        margin-right: 0 !important;
        display: block;
        padding-right: 0;
        --bs-gutter-x: 0.5rem !important;
    }
    
   .logo_width a.navbar-brand {
    display: block;
}
.mobile_bmi {
    float: right;
}
.header_section_top p {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
    padding-top: 0px;
    text-align: left;
    padding-left:30px;
}

.classroom_box iframe {
    width: 100%;
    height: auto;
    margin-left: 0;
    position: relative;
}
.banner_slider img {
    height: auto;
}
.banner_slider {
    height: auto;
    object-fit: cover;
}
header {
    background-image: url(img/header-back.html);
}
.top_position {
    position: relative;
    width: 100%;
    background: #fff;
}
.startimg::after {
   display:none;
}
#counter .col-md-3.col-6.text-center {
    width: 50% !important;
}
.logo_width {
    position: relative;
    top: 0px;
    z-index: 9;
    padding: 0px;
}
.scholar_section img {
    width: 85% !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 180px;
    object-fit: cover;
    object-position: left;
}

.padd190 {
    padding: 0px 0px;
}

   .scholar_section .border_8:before {
        content: "";
        position: absolute;
        background: #fdee9d;
        width: 100%;
        height: 50%;
        bottom: 22px;
        margin-left: 0;
    }
    section.service-categories {
    margin-top: 50px;
}
    section.about_section .container {
    background: linear-gradient(180deg, #fefddf 0%, #fefddf 25%, #fefddf 80%, #ffffff 100%);
    border-top: 0px solid #fccf00;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}
.paddlft50 {
    padding-left: 30px !important;
    padding-right: 15px !important;
}
.paddngrgt80 {
    padding-right: 15px !important;
    padding-left: 30px !important;
}
.education_box {
 background: #fff;
        padding: 20px 15px;
        width: 92%;
		border-radius:15px;
        margin-left: auto;
        margin-right: auto;
}
.border_5:before {
    margin-left: 0px;
    margin-top: -14px;
    content: "";
    position: absolute;
    background: #fdee9d;
    width: 39%;
    height: 105%;
    bottom: -14px;
    left: 15px;
}
.pt55 {
    position: relative;
    padding-top: 6%;
}
.paddlr30
{
    padding-left: 30px;
    padding-right: 15px;
}
.border_6:before {
    content: "";
    position: absolute;
    background: #fdee9d;
    width: 40%;
    height: 106%;
    bottom: -14px;
    right: 15px;
}
.paddlr35
{
    padding-left: 15px;
    padding-right: 30px;
}
.paddlr40
{
       padding-left: 30px;
    padding-right: 30px;
    margin-top: 11px;
}
.border_7:before {
    content: "";
    position: absolute;
    background: #fdee9d;
    width: 92%;
    height: 40%;
    bottom: -16px;
    margin-left: 14px;
}
.skew-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0px;
    bottom: 0;
    width: 20px;
    transform: skew(0deg);
    background: linear-gradient(to left, #e12025 50%, #ed7c1c 50%);
}
.skew-box p span {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}
h3.header_text {
    margin-left: -25px;
}
.header_section_top .container {
    padding-left: 25px;
    padding-right: 25px;
}
header .container {
    padding-left: 25px;
    padding-right: 25px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
    button.navbar-toggler {
        float: right;
        padding: 0;
               padding-top: 0px;
    }
    .navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none !important;
}

.yellow_clrs{
        background: #fccf00;
}
.pt-70 {
    padding-top: 40px !important;
}
.embedcode iframe {
    width: 100%;
    height: 240px;
    margin-bottom: -10px;
}
.inner_adminssion .admission_img {
    position: relative;
    width: 100px !important;
    right: 0;
    top: 0;
    left: 5px !important;
}
.inner-skew {
    width: 100%;
}
.border_11:before {
    bottom: -15px;
}
.inneraboutimg img {
    width: 89% !important;
    margin: 0 auto;
    display: block;
    height: 150px;
    object-fit: cover;
    object-position: center;
}
.internal_banner img {
    height: 150px;
    object-fit: cover;
}
.footer_bottom_img {
    margin-right: 65px;
    margin-top: 0;
}

.vission_box::before {
display:none;
}
.vission_box {
        border: 1px solid #fdee9d;
        padding: 30px 15px 25px 15px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        z-index: 99;
        background: #fff;
        height: 100%;
    }
    
    section.vission_mission {
    padding-top: 40px !important;
}

.about_tabs ul#pills-tab {
    margin-top: 0;
    margin-left: 0;
}

.about_tabs ul#pills-tab li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.about_tabs div#pills-tabContent {
    padding-top: 15px;
    padding-left: 0;
    padding-right: 0;
}

.founder_img img {
    width: 100% !important;
    height: auto;
    object-fit: cover;
}
.founder_img::before {
    content: "";
    position: absolute;
    background: #fdee9d;
    width: 100%;
    height: 30%;
    bottom: 5px;
    margin-left: 0;
    z-index: 0;
}
.founder_box {
    padding-left: 10px;
    padding-right: 10px;
}

.about_tabs  .col-md-12.col-6.pb-3:nth-child(1) {
    padding-right: 0;
}

.about_tabs  .col-md-12.col-6.pb-3:nth-child(2) {
    padding-left: 0;
}

.pl30 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
div#content_1 {
    padding: 30px 20px;
    width: 94% !important;
}

.roadmap_section img
{
    height: auto !important;
    width: 100% !important;
}
.leader_mamber_img {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.tabss-nav {
   overflow: scroll;
}

.about_tabs div#pills-tabContent .tab-pane:nth-child(2), .about_tabs div#pills-tabContent .tab-pane:nth-child(3), .about_tabs div#pills-tabContent .tab-pane:nth-child(4) {
  
    width: 94% !important;
    margin-left: auto;
    margin-right: auto;
}
.carricullam_padd {
    padding: 0px !important;
    margin-top: 0 !important;
}

section.cariculam-section .tab-panel {
    padding-top: 90px;
}
p.qr_text {
    text-align: left;
}
#circulars {
    padding: 10px 0px 20px 0px !important;
}

.event_name p {
    color: #222;
    background-color: #ddd;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    line-height: 17px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 0 !important;
}
.ev_img_col {
    padding: 30px 16px 16px 16px !important; 
}

.submenu {
    width: 100% !important;
}
.event_main_box {
    margin-top: 6px !important;
}
.titlt_col {
    padding: 25px 0px 25px 15px !important;
}
.camp_section h1 {
    font-size: 22px;
}
#yearFilterButtons button {
    border: transparent;
    padding: 7px 25px 9px 25px !important;
    transition: 0.3s;
    border-radius: 0;
    cursor: pointer;
    height: auto !important;
    background: #fdee9d;
    color: #333;
}
.submit_bittons {
    font-size: 14px !important;
}

/* Home Page Mobile Styles - Banner/Carousel Section */
.custom-carousel {
    margin-top: 0 !important;
}

.custom-carousel .banner-img {
    height: auto !important;
    object-fit: cover;
    width: 100%;
}

.custom-prev, .custom-next {
    display: none !important;
}

/* Home Page Mobile Styles - Services Section */
.services_sections {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
}

.services_sections .font60 {
    font-size: 24px !important;
    line-height: 1.3;
    padding-top: 10px !important;
}

.services_sections .slick-slider {
    padding: 0 10px;
}

.services_sections .item {
    padding: 0 10px;
}

.services_sections .service-card {
    height: auto !important;
    min-height: 300px !important;
    padding: 20px 15px !important;
}

.services_sections .service-card .text-box h2 {
    font-size: 20px !important;
    line-height: 1.3;
    margin-bottom: 10px;
}

.services_sections .service-card .text-box h2 span {
    font-size: 18px !important;
}

.services_sections .service-card .text-box .first-text {
    font-size: 12px !important;
    margin-bottom: 8px;
}

.services_sections .service-card .text-box .desc {
    font-size: 13px !important;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Slick Slider Mobile Styles */
.services_sections .slick-prev,
.services_sections .slick-next {
    width: 35px !important;
    height: 35px !important;
    z-index: 10;
}

.services_sections .slick-prev:before,
.services_sections .slick-next:before {
    font-size: 20px !important;
    color: #fff;
}

.services_sections .slick-prev {
    left: 10px !important;
}

.services_sections .slick-next {
    right: 10px !important;
}

/* Home Page Mobile Styles - About Us Section */
.aboutus_sections {
    padding-top: 40px !important;
    padding-bottom: 50px !important;
}

.aboutus_sections .col-lg-3,
.aboutus_sections .col-md-4 {
    margin-bottom: 20px;
}

.aboutus_sections .about_imgs {
    text-align: center;
}


.aboutus_sections .education_box .font60 {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 15px;
}
.flex_contents {
    display: block;
    gap: 60px;
}
section.inner_pading.testiminials .col-md-4 {
    padding-left: 0;
    padding-right: 0;
}
.education_box p {
    font-size: 13px !important;
    line-height: 1.6;
}
.aboutus_sections .education_box p {
    font-size: 13px !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

.aboutus_sections .ps-md-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Home Page Mobile Styles - Client Section */
.client-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    margin-top: 30px !important;
}

.client-section .col-md-6 {
    margin-bottom: 30px;
}

.client-section .pe-md-5,
.client-section .ps-md-5 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.footer_logo img {
    width: 120px !important;
    position: relative;
    top: 0px;
    margin-left: auto;
        margin-right: auto;
        display: block;
}
    .internal_banner img {
        display: none !important;
    }
.internal_banner {
    border-top: 1px dotted #ccc;
}
.client-section .text-muted {
    font-size: 14px;
}
.footer_scial {
    text-align: center;
}
.client-section .earth_image {
    margin: 0 auto;
    max-width: 100%;
}

.client-section .earth_image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.client-section .client-carousel {
    padding: 0 10px;
}

.client-section .client-box1 img,
.client-section .client-box2 img {
    width: 100%;
    height: auto;
}

.client-section .client-name h3 {
    font-size: 16px !important;
    line-height: 1.4;
    margin-bottom: 10px;
}

.client-section .client-para p {
    font-size: 13px !important;
    line-height: 1.6;
}

.client-section .owl-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}


/* General Mobile Font Adjustments */
.font60 {
    font-size: 24px !important;
}

/* Padding Adjustments for Mobile */
.padding70px {
    padding: 30px 0px !important;
}

/* Container Padding on Mobile */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Service Cards Mobile Optimization */
.service-card {
    margin-bottom: 20px;
}

/* Transform Text Mobile */
.transforming_text {
    font-size: 14px !important;
    padding: 10px 15px !important;
    text-align: center;
}

/* Service Card Hover Effects on Mobile - Disable or Adjust */
.service-card:hover .text-box {
    transform: translateY(0) !important;
}

.service-card:hover .desc {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.service-card::after {
    opacity: 0.3 !important;
}

/* Additional Mobile Optimizations */
main {
    overflow-x: hidden;
}

.shadow-effect {
    margin: 0 5px;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}


/* Mobile Sidebar Menu Styles */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.medical-history-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px !important;
}
body .fitness_gallery .col-md-4 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-header {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-sidebar-logo {
    max-width: 80px;
    height: auto;
}

.mobile-sidebar-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #4b201a;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.mobile-sidebar-close:hover {
    transform: rotate(90deg);
}

.mobile-sidebar-nav {
    flex: 1;
    padding: 0px 0;
}

.mobile-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-link i:first-child {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #4b201a;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: #f8f8f8;
    color: #4b201a;
    padding-left: 25px;
}

.mobile-menu-dropdown .mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.mobile-menu-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f8f8;
}

.mobile-menu-dropdown.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li {
    border-bottom: 1px solid #e8e8e8;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 50px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-submenu a:hover {
    background: #fff;
    color: #4b201a;
    padding-left: 55px;
}

.mobile-sidebar-footer {
    padding: 20px 15px;
    border-top: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.mobile-contact-info {
    margin: 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-contact-info i {
    color: #4b201a;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    border: none;
    background: transparent;
    padding: 5px;
    cursor: pointer;
    z-index: 10000;
}

.mobile-menu-toggle .navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle .navbar-toggler-icon {
    position: relative;
}


.mobile-menu-toggle .navbar-toggler-icon .close-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu-toggle.active .navbar-toggler-icon .menu-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.mobile-menu-toggle.active .navbar-toggler-icon .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    display: block !important;
}

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Smooth scroll for mobile sidebar */
.mobile-sidebar {
    -webkit-overflow-scrolling: touch;
}

/* Touch-friendly tap targets */
.mobile-menu-link,
.mobile-submenu a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Active state for mobile menu items */
.mobile-menu-link.active {
    background: #4b201a;
    color: #fff !important;
}

.mobile-menu-link.active i:first-child {
    color: #fff;
}

/* Animation for submenu items */
.mobile-submenu a {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.mobile-menu-dropdown.active .mobile-submenu a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-dropdown.active .mobile-submenu a:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu-dropdown.active .mobile-submenu a:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-menu-dropdown.active .mobile-submenu a:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu-dropdown.active .mobile-submenu a:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-menu-dropdown.active .mobile-submenu a:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-menu-dropdown.active .mobile-submenu a:nth-child(6) {
    transition-delay: 0.3s;
}
    .header_section_top {
        padding: 3px 0 5px 0px;
    }
    .header_section_top {
    background: #4b201a;
}
    .header_section_top p {
        font-size: 12px !important;
        padding-left: 0px !important;
    }


/* About Us Page Mobile Styles */
.internal_banner {
    margin-top: 0;
}

.internal_banner img {
    height: 200px !important;
    object-fit: cover;
    width: 100%;
}

.inner_pading {
    padding: 30px 0px !important;
}

.inner_pading .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Remove padding on mobile for columns */
.inner_pading .pe-md-5,
.inner_pading .ps-md-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* About Us Section Headings */
.inner_pading .robot_slab.text_color {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* About Us Section Paragraphs */
.inner_pading p {
    font-size: 14px !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* About Us Section Images */
.inner_pading img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Case Study Sections */
.inner_pading .row {
    margin-left: 0;
    margin-right: 0;
}
.footer a {
    font-weight: 700;
}


/* Text alignment on mobile */
.inner_pading .text-start {
    text-align: left !important;
}.d-md-flex.browser_link {
    margin-top: 22px;
    text-align: center;
}
.footer p, .footer a {
    text-align: center;
}
.d-md-flex.browser_link li.nav-item {
    width: 50% !important;
    float: left;
    display: contents;
}
/* Background light sections */
.inner_pading.bg-light {
    background-color: #f8f9fa !important;
}

/* Better spacing for alternating sections */
.inner_pading:not(:last-child) {
    margin-bottom: 0;
}

/* Image spacing adjustments */
.inner_pading .mb-4 {
    margin-bottom: 0px !important;
}

/* Fitness Gallery Page Mobile Styles */
.fitness_gallery h2 {
    font-size: 28px !important;
    margin-bottom: 30px !important;
    padding: 0 15px;
}

/* Remove g-8 padding on mobile */
.g-8 .col-md-4,
.g-8 .col-sm-6,
.g-8 .col-12 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 30px !important;
}

/* Album Card Mobile Styles */
.fitness_gallery .album-card {
    margin-bottom: 0px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.fitness_gallery .album-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Album Overlay Mobile Styles - Always visible on mobile */
.fitness_gallery .album-card .album-overlay {
    padding: 12px 12px 14px !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%) !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.fitness_gallery .album-card .album-overlay h5 {
    font-size: 18px !important;
    margin-bottom: 5px;
    color: #fff;
}

.fitness_gallery .album-card .album-desc {
    opacity: 1 !important;
    max-height: 100px !important;
    transform: translateY(0) !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-top: 5px;
}

/* Disable hover effects on mobile */
.fitness_gallery .album-card:hover img {
    transform: scale(1) !important;
}

.fitness_gallery .album-card:hover .album-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%) !important;
}

/* Gallery row spacing */
.fitness_gallery .row {
    margin-left: -15px;
    margin-right: -15px;
}

.fitness_gallery .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}
 .fancybox__toolbar {
        padding: 10px !important;
    }
    
    .fancybox__button {
        width: 40px !important;
        height: 40px !important;
    }

/* Our Services Page Mobile Styles */
.pt-5.mt-4 {
    padding-top: 30px !important;
    margin-top: 20px !important;
}


/* Service Section Headings */
.inner_pading h3.robot_slab.text_color {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
}

/* Service Section Paragraphs */
.inner_pading p {
    font-size: 14px !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Service Section Lists */
.inner_pading ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.inner_pading ul li {
    font-size: 14px !important;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #333;
}

/* Service Section Images */
.inner_pading img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Remove padding on mobile for service columns */
.inner_pading .pe-md-5,
.inner_pading .ps-md-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Better spacing for service sections */
.inner_pading .row {
    margin-left: 0;
    margin-right: 0;
}

/* Text decoration underline on mobile */
.inner_pading .text-decoration-underline {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Background light sections */
.inner_pading.bg-light {
    background-color: #f8f9fa !important;
}


/* Contact Information Section */
section.py-5 .col-lg-6 {
    margin-bottom: 30px;
}

/* Contact Info Items */
.border_bottoms {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.icon_hovers {
    transition: all 0.3s ease;
}

.icon-circle {
    min-width: 50px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    background-color: #4b201a !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle i {
    font-size: 20px !important;
    color: white !important;
}

.icon_hovers h5 {
    font-size: 16px !important;
    margin-bottom: 8px;
    color: #333;
}

.icon_hovers p {
    font-size: 14px !important;
    line-height: 1.5;
    color: #666;
}

.icon_hovers p strong {
    color: #333;
}

/* Google Maps Container */
.map-container {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form Mobile Styles */
.bg-light.p-4.p-md-5 {
    padding: 20px !important;
}

/* Form Labels */
.form-label {
    font-size: 14px !important;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

/* Form Controls */
.form-control {
    font-size: 14px !important;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 0;
}

.bmi-sidebar-title {
    font-size: 24px;
}
.form-check .form-check-input {
    float: left;
    margin-left: -1.1em !important;
}
.form-control:focus {
    border-color: #4b201a;
    box-shadow: 0 0 0 0.2rem rgba(75, 32, 26, 0.25);
}
.footer ul li a {
    font-size: 13px;
}
section.aboutus_sections {
    padding-top: 0 !important;
}
footer p, footer a {
    font-size: 13px;
}
/* Form Rows */
.row.g-3 {
    margin-left: 0;
    margin-right: 0;
}

.row.g-3 > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-primary {
    background-color: #4b201a;
    border-color: #4b201a;
    font-size: 16px !important;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a1814;
    border-color: #3a1814;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

}


@media (min-width: 768px) and (max-width: 991px) {
        section.aboutus_sections {
        padding-top: 50px !important;
    }
    .d-md-flex.browser_link {
        margin-top: 40px;
        text-align: center;
    }
        .services_sections .item {
        padding: 0 0px;
    }
        p.first-text {
        letter-spacing: 3px;
    }
    .services_sections .service-card .text-box .first-text {
        font-size: 12px !important;
        margin-bottom: 6px;
    }
    .text-box h2 span {
    line-height: 31px;
}
    .inner_pading .pe-md-5, .inner_pading .ps-md-5 {
        padding-left: 20px !important;
        padding-right: 0 !important;
    }
    .album-card {
    height: auto;
}
body .fitness_gallery .col-md-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .row.g-3 > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    .mt-md-4 {
        margin-top: 0.5rem !important;
    }
    .flex_contents {
        display: flex;
        gap: 60px;
    }
    .border_bottoms {
        border-bottom: 0px solid #e0e0e0;
        padding-bottom: 0;
    }
        .start_of_month {
        margin-top: 20px;
    }
}