
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-primary-outline-0 {
    border: 0;
    color: var(--bs-white) !important;
}

.btn-light-outline-0 {
    border: 0;
    color: var(--bs-primary) !important;
}

.btn-primary-outline-0:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.btn-light-outline-0:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.sticky-top {
    transition: 0.5s;
    background: var(--bs-white);
}

.topbar {
    padding: 10px 0;
    background: var(--bs-secondary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    position: relative;
    min-height: 100vh
    
}

.carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0.5));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent;
}

#carouselId .carousel-indicators {
    padding-bottom: 30px;
}

#carouselId .carousel-indicators li {
    border-top: 10px solid var(--bs-white);
    border-bottom: 10px solid var(--bs-white);
    border-right: 5px solid var(--bs-white);
    border-left: 5px solid var(--bs-white);
    margin-right: 10px;
    border-radius: 10px;
    transition: 0.5s;
}

#carouselId .carousel-indicators li.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    border-right: 15px solid var(--bs-primary);
    border-left: 15px solid var(--bs-primary);
}
/*** Carousel End ***/


.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/appointment-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Services Start ***/
.services .services-item {
    transition: 0.5s;
}

.services .services-item:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-secondary) !important;
}

.services .services-item:hover .services-content p,
.services .services-item:hover .services-content h3 {
    color: var(--bs-white);
    transition: 0.5s;
}

.services .services-item:hover .services-content a.btn {
    background: var(--bs-white);
    color: var(--bs-primary) !important;
}

.services .services-item:hover .services-content a.btn:hover {
    color: var(--bs-white) !important;
}

.services .services-item .services-img {
    overflow: hidden;
}

.services .services-item .services-img img {
    transition: 0.5s;
}

.services .services-item .services-img img:hover {
    transform: scale(1.3);
}
/*** Services End ***/



/*** About Start ***/
/*** Youtube Video start ***/
.video {
    position: relative;
    padding-right: 70px; 
    padding-bottom: 70px;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    margin-left: -35px;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/
/*** About End ***/


/*** Appointment  Start ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/appointment-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.appointment .appointment-form {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, .4));
    object-fit: cover;
    border-radius: 10px;
}

.appointment .appointment-time {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, .2));
    object-fit: cover;
    border-radius: 10px;
}
/*** Appointment End ***/

/*** Counter Start ***/
.counter-section .counter-item .counter-content {
    position: relative;
    margin-bottom: 60px;
    background-image: linear-gradient(rgba(252, 152, 195, 0.3), rgba(255, 255, 255, 0.3), rgba(136, 76, 210, 0.3));
    border-radius: 10px;
    z-index: 9;
}

.counter-section .counter-item {
    text-align: center;
    background: rgba(255, 255, 255, .5) !important;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    object-fit: cover;
    border-radius: 0 25% 0 25%;
}

.counter-section .counter-item .counter-content .svg-img {
    position: absolute;
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    margin-bottom: -50px; 
    margin-left: -45px; 
    transform: rotate(180deg);
}

.counter-section .counter-item .counter-quantity {
    width: 110px;
    height: 110px;
    border-radius: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}
/*** Counter End ***/


/*** Events Start ***/
.gallery .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.gallery .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.gallery .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.gallery .gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .gallery-img img {
    transition: 0.5s;
}

.gallery .gallery-img:hover img {
    transform: scale(1.3);
}

.gallery .gallery-img .gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.gallery .gallery-img .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
    
}

.gallery .gallery-img:hover .gallery-overlay,
.gallery .gallery-img:hover .search-icon {
    opacity: 1;
}
/*** Events End ***/


/*** Pricing Start ***/
.pricing {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/appointment-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pricing .pricing-item {
    color: var(--bs-white);
}

.pricing .pricing-item .pricing-content {
    background: rgba(255, 255, 255, 0.4);
}

.pricing .owl-carousel.pricing-carousel {
    position: relative;
}

.pricing .owl-carousel.pricing-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-white);

}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev,
.pricing .owl-carousel.pricing-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev:hover,
.pricing .owl-carousel.pricing-carousel .owl-nav .owl-next:hover {
    color: var(--bs-primary);
}
/*** Pricing End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.team .team-item .team-text {
    background: var(--bs-primary);
}

.team .team-item .team-social {
    position: absolute;
    top: -180px; 
    left: 20px; 
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-social {
    top: 20px; 
    left: 20px;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    width: 100%;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
}

.team .team-item:hover .team-img::after {
    bottom: 0;
    height: 100%;
}

.team .team-item .team-text {
    transition: 0.5s;
}

.team .team-item:hover .team-text {
    background: var(--bs-secondary);
}
/*** Team End ***/

/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/testimonial-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .testimonial-item {
    background: rgba(0, 0, 0, 0.4);
}

.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-white);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-primary);
}
/*** testimonial end ***/

/*** Contact Start ***/
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/appointment-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact .contact-form {
    background: rgba(255, 255, 255, 0.6);
}
/*** Contact End ***/

/*** footer start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a,
.footer .footer-item p {
    color: var(--bs-white);
    line-height: 40px;
    font-size: 17px;
    transition: 0.5s;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary) !important;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/*** Form Alert Messages Custom Styling ***/
/* Success message styling - Professional look */
.alert-success {
    background-color: #28a745 !important; /* Professional green */
    color: #ffffff !important;
    border-color: #1e7e34 !important;
    border-radius: 8px !important;
    padding: 1rem 1.25rem !important;
    font-weight: 500 !important;
}

.alert-success.text-white {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

/* Danger/Error message styling */
.alert-danger {
    background-color: #dc3545 !important; /* Professional red */
    color: #ffffff !important;
    border-color: #c82333 !important;
    border-radius: 8px !important;
    padding: 1rem 1.25rem !important;
    font-weight: 500 !important;
}

.alert-danger.text-white {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

/*** Appointment Form Dropdown Styling ***/
.appointment-form .form-select {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.appointment-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

.appointment-form .form-select option {
    background-color: #ffffff !important;
    color: #333333 !important;
    padding: 0.5rem !important;
}

.appointment-form .form-select option:checked {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
}

/*** Mobile Responsive Typography Start ***/
@media (max-width: 767.98px) {
    /* Display classes - significantly reduce for mobile - Override Bootstrap calc() */
    .display-1,
    body .display-1,
    .carousel-caption .display-1,
    .container .display-1,
    .container-fluid .display-1 {
        font-size: 30px !important; /* Override Bootstrap calc() - Reduced from 5rem (80px) to 30px for mobile */
        line-height: 1.2 !important;
    }
    
    .display-2 {
        font-size: 1.75rem !important; /* Reduced from 4.5rem to 1.75rem (28px) */
        line-height: 1.2 !important;
    }
    
    .display-3 {
        font-size: 1.5rem !important; /* Reduced from 4rem (64px) to 1.5rem (24px) */
        line-height: 1.2 !important;
    }
    
    .display-4 {
        font-size: 1.375rem !important; /* Reduced from 3.5rem (56px) to 1.375rem (22px) */
        line-height: 1.3 !important;
    }
    
    .display-5 {
        font-size: 1.25rem !important; /* Reduced from 3rem (48px) to 1.25rem (20px) */
        line-height: 1.3 !important;
    }
    
    .display-6 {
        font-size: 1.125rem !important; /* Reduced from 2.5rem to 1.125rem (18px) */
        line-height: 1.3 !important;
    }
    
    /* Regular headings - reduce for mobile */
    h1, .h1 {
        font-size: 1.5rem !important; /* Reduced from default 2.5rem */
        line-height: 1.3 !important;
    }
    
    h2, .h2 {
        font-size: 1.375rem !important; /* Reduced from default 2rem */
        line-height: 1.3 !important;
    }
    
    h3, .h3 {
        font-size: 1.25rem !important; /* Reduced from default 1.75rem */
        line-height: 1.3 !important;
    }
    
    h4, .h4 {
        font-size: 1.125rem !important; /* Reduced from default 1.5rem */
        line-height: 1.4 !important;
    }
    
    h5, .h5 {
        font-size: 1rem !important; /* Reduced from default 1.25rem */
        line-height: 1.4 !important;
    }
    
    h6, .h6 {
        font-size: 0.875rem !important; /* Reduced from default 1rem */
        line-height: 1.4 !important;
    }
    
    /* Font size utilities - reduce for mobile */
    .fs-1 {
        font-size: 1.5rem !important;
    }
    
    .fs-2 {
        font-size: 1.375rem !important;
    }
    
    .fs-3 {
        font-size: 1.25rem !important;
    }
    
    .fs-4 {
        font-size: 1rem !important; /* Reduced from default 1.25rem */
    }
    
    .fs-5 {
        font-size: 0.9375rem !important;
    }
    
    .fs-6 {
        font-size: 0.875rem !important;
    }
    
    /* Carousel adjustments for mobile */
    .carousel-item {
        min-height: 70vh !important; /* Reduced from 100vh for better mobile experience */
    }
    
    .carousel-caption {
        padding: 1rem !important;
    }
    
    .carousel-caption h4 {
        font-size: 0.875rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .carousel-caption .display-1 {
        font-size: 30px !important; /* Override Bootstrap calc() for carousel display-1 */
        line-height: 1.2 !important;
    }
    
    .carousel-caption p {
        font-size: 15px !important; /* Set to 15px for mobile view */
        margin-bottom: 1rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Carousel caption buttons - reduce size for mobile */
    .carousel-caption .btn,
    .carousel-caption a.btn {
        font-size: 0.875rem !important; /* Reduced font size for mobile (14px) */
        padding: 0.5rem 1rem !important; /* Reduced padding from py-3 px-5 to smaller size */
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important; /* Add space between buttons and indicators */
    }
    
    /* Carousel indicators - responsive for mobile */
    #carouselId .carousel-indicators {
        padding-bottom: 15px !important; /* Reduced from 30px for mobile */
        margin-bottom: 10px !important; /* Add space between buttons and indicators */
    }
    
    #carouselId .carousel-indicators li {
        width: 8px !important; /* Reduced width */
        height: 8px !important; /* Reduced height */
        border-top: 4px solid var(--bs-white) !important; /* Reduced border */
        border-bottom: 4px solid var(--bs-white) !important;
        border-right: 3px solid var(--bs-white) !important;
        border-left: 3px solid var(--bs-white) !important;
        margin-right: 6px !important; /* Reduced margin */
        border-radius: 5px !important; /* Reduced border radius */
    }
    
    #carouselId .carousel-indicators li.active {
        border-right: 8px solid var(--bs-primary) !important; /* Reduced active border */
        border-left: 8px solid var(--bs-primary) !important;
    }
    
    /* Video padding adjustments */
    .video {
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Gallery tab-class responsive for mobile */
    .gallery .tab-class .nav-pills {
        flex-wrap: wrap !important; /* Allow wrapping */
        justify-content: center !important;
        gap: 0.5rem !important; /* Better spacing between items */
    }
    
    .gallery .tab-class .nav-item {
        padding: 0 !important;
        margin-bottom: 0.5rem !important; /* Better vertical spacing */
        flex: 0 0 auto !important; /* Don't grow or shrink */
    }
    
    .gallery .tab-class .nav-item a {
        padding: 0.5rem 1rem !important; /* Reduced padding for mobile */
        margin: 0 !important; /* Remove margin */
        width: auto !important; /* Auto width instead of fixed 150px */
        min-width: auto !important;
    }
    
    .gallery .tab-class .nav-item a span {
        width: auto !important; /* Auto width instead of fixed 150px */
        white-space: nowrap !important; /* Prevent text wrapping */
        font-size: 0.875rem !important; /* Smaller font size for mobile */
        padding: 0 0.25rem !important; /* Small padding inside span */
    }
    
    /* Make tabs scrollable horizontally if needed, or keep wrapped */
    .gallery .tab-class .nav-pills {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Hide scrollbar Firefox */
        -ms-overflow-style: none !important; /* Hide scrollbar IE/Edge */
    }
    
    .gallery .tab-class .nav-pills::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar Chrome/Safari */
    }
}

/* Tablet view adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-1 {
        font-size: 3rem !important;
        line-height: 1.2 !important;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .carousel-item {
        min-height: 80vh !important;
    }
}
/*** Mobile Responsive Typography End ***/

/* Desktop view - Override Bootstrap display classes */
@media (min-width: 992px) {
    .display-1,
    body .display-1,
    .carousel-caption .display-1,
    .container .display-1,
    .container-fluid .display-1,
    h1.display-1,
    .carousel-item h1.display-1,
    .carousel-caption h1.display-1,
    .carousel-item .carousel-caption .display-1 {
        font-size: 3rem !important; /* Reduced from 5rem to 3rem for desktop */
        line-height: 1.2 !important;
    }
    
    .display-3,
    body .display-3,
    .container .display-3,
    .container-fluid .display-3 {
        font-size: 2.5rem !important; /* Set to 2.5rem for desktop */
        line-height: 1.2 !important;
    }
    
    .display-4,
    body .display-4,
    .container .display-4,
    .container-fluid .display-4 {
        font-size: 2.5rem !important; /* Set to 2.5rem for desktop */
        line-height: 1.3 !important;
    }
}

/* Additional aggressive override for Bootstrap display-1 calc() - Force override */
@media (max-width: 767.98px) {
    /* Force override Bootstrap's calc() function for display-1 - Highest specificity */
    h1.display-1,
    .carousel-item h1.display-1,
    .carousel-caption h1.display-1,
    .carousel-item .carousel-caption .display-1,
    body .display-1 {
        font-size: 30px !important;
    }
}