:root {
    --navbar-height: 4rem;
    --title-line-width: 50px;
    --title-line-margin: 10px;
}

/* ---- RESET ---- */

body {
    overflow-x: hidden;
}

a {
    color: inherit !important;
}

/* Utilities */

.screen-height {
    height: 100vh;
}

.position-relative {
    position: relative;
}

.section-inner {
    position: absolute;
    top: var(--navbar-height);
    width: 100vw;
}

 /*Todo: Adjust this later*/
.section-full-height-column {
    height: calc(100vh - var(--navbar-height) - 24px);
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cu-mb-5 {
    margin-bottom: 6rem;
}

.text-justify {
    text-align: justify;
}

/* ---- Override Default Styles ---- */

/* Header */
header {
    position: relative;
    /* z-index: -1; */
}

/* Image Slider */
.image-slider,
.image-slider::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    /* z-index: -1; */
}

/* Slider Image */
.image-slider::after {
    content: '';
    background-color: black;
    opacity: 0.3;
    height: 100vh;
    z-index: 100;
}

/* Image Slider Buttons */
.carousel-prev,
.carousel-next {
    z-index: 200;
}

/* Header Title */
.header-title {
    position: absolute;
    text-transform: uppercase;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 200;
    letter-spacing: 2px;
}

.header-title span {
    display: block;
}

/* Navbar */
#main-nav {
    height: var(--navbar-height);
    z-index: 300;
}

#main-nav .nav-link:after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 10px;
    transform-origin: left;
    transform: scaleX(0);
    background-color: rgba(var(--bs-light-rgb), var(--bs-text-opacity));
    transition: all 250ms ease-in;
}

#main-nav .nav-link:hover:after,
#main-nav .nav-link.active:after {
    transform: scaleX(1);
}

/* Image Slider */
.slider-img {
    height: 100vh;
}

/* About Us Section */
.about-us-text::before {
    content: '';
    display: inline-block;
    width: var(--title-line-width);
    height: 2px;
    border-radius: 10px;
    background-color: black;
    margin: 0 var(--title-line-margin);
}

.about-us-description-title, .about-us-description {
    margin-left: calc(var(--title-line-width) + 2 * var(--title-line-margin));
    text-align: justify;
}

.about-us-img {
    top: 40%;
    width: 60%;
}

.doctor-video {
    top: 25%;
    width: 75%;
    min-height: 300px;
}

.doctor-img {
    width: 60%;
}

.logo-img {
    width: 3.5rem; 
    vertical-align: middle;
}

.logo-title {
    vertical-align: middle;
}

/* Footer */
.copyright-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Services */

.card-image {
    height: 200px;
    object-fit: cover;
}

.header-with-slider {
    height: 200px;
}

.our-services-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url('../img/services-img.jpg');
    background-size: cover;
    background-position: center;
}

.our-services-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slider-img {
    object-fit: cover;
}

@media(max-width:48rem) {
    .location-icon {
        padding: 0 !important;
    }
}

@media(max-width:29rem) {
    .location-icon {
        padding-bottom: 1.5rem !important;
    }
}
