:root {
    --primary-color: #0a1118;
    --primary-color-highlight: #233D54;
    --bs-body-bg: #e7ebef;
    --bs-body-font-family: 'Montserrat', sans-serif;
}

/* CSS for smooth scrolling animation */
@keyframes scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-200vh);
    }
}

body {
    background-color: var(--bs-body-bg) !important;
}

.text-left {
    text-align: left;
    padding-left: 20px;
}

.navbar {
    padding: 10px;
    border-radius: 10px;

}

.nav_spacer {
    margin-right: 620px;
}

.nav-link {
    font-size: 20px;
}

.section_title {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 10px;

}

.section_spacer {
    margin-top: 50px;
}

@media (max-width: 720px) {
    .section_spacer {
        margin-top: 80px;
    }

}

.logo {
    width: 250px !important;
    height: 70px !important;
    max-width: 400px !important;
}

@media (max-width: 720px) {
    .logo {
        width: 150px !important;
    }
}


.logo_link {
    background-color: none;
}

.logo_link:hover {
    background-color: #e7ebef;
}

nav a {
    transition: color 2s ease;
    transition-delay: 2s ease;
}

nav a:hover {
    background-color: white;
    border-radius: 1rem;
    text-decoration: underline;
}

footer a:hover {
    color: #9b2626 !important;
}

/*
* Hero Section
*/

.hero {
    position: relative;
    height: 100vh;
    background-color: var(--primary-color);
    overflow: hidden;
}

@media (min-width: 1400px) {
    .hero__heading {
        font-size: 2rem;
    }

    .hero__heading1 {
        font-size: 2rem;
    }
}

.hero__image {
    position: absolute;
    top: 50%;
    left: 100%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateY(-50%);
    animation: swipeIn 1.5s ease-in-out forwards;
    /* Animation to swipe the image in */
}

@keyframes swipeIn {
    0% {
        left: calc(100% - 50px);
        /* Initially positioned outside the viewport */
    }

    100% {
        left: 0;
        /* Positioned at the center of the viewport */
    }
}


.hero__overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    opacity: 0.5;
    z-index: 1;
}

.hero__content {
    display: flex;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.hero__content-width {
    max-width: 540px;
    justify-content: center;
}

/* Add fade-in and pop-up effect for hero content */
@keyframes fadeInAndPopUp {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.hero__content_animator {
    margin-top: 90%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeInAndPopUp 2s ease forwards;
}

/* Apply fade-in animation to hero content */
.hero__content {
    animation: fadeIn 3s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 790px) {
    .hero {
        height: 60vh;
    }

    .fs-5 {
        font-size: 1.2rem !important;
    }

    .hero__image {
        max-width: 180% !important;
    }
}


/* Add animation to the button */
.hero__scroll-btn {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--bs-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    animation: buttonAnimation 2s ease-in-out infinite;
}

@keyframes buttonAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Adjust hover effect */
.hero__scroll-btn:hover {
    color: var(--bs-light);
    opacity: 0.8;
    transform: scale(1.1);
}

.hero a {
    color: white !important;
    background-color: transparent;
    transition: transform 1s ease;
    margin-bottom: 5px;
}

.hero a:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    background-color: transparent;
}


@keyframes bounce {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-10px);
    }
}


/** Services section **/

.services {
    padding-left: 100px;
    padding-right: 100px;
}

.col_width {
    width: 30%;
}

.read-more {
    display: inline;
    /* Hide initially */
}

.card-text.expanded {
    -webkit-line-clamp: initial;
    /* Show all lines when expanded */
}

.card-text.expanded+.read-more {
    display: inline;
    /* Show "Read More" link when expanded */
}

.card_gap {
    gap: 1.5rem;
}

.services img {
    display: flex;
    justify-content: center;
    width: 200% !important;
    border-radius: 10px !important;
}

img {
    max-width: 100%;
}

@media (max-width: 720px) {
    .row {
        flex-direction: column;
        justify-content: space-between;
    }

    .services {
        padding: 20px;
    }
}

/**new services section additional css **/

.services .img-fluid {
    max-width: 200%;
    height: 260px !important;
}

@media (max-width: 720px) {
    .services .row {
        flex-direction: row !important;
        justify-content: space-between;
    }

    .services .img-fluid {
        max-width: 200%;
        height: 190px !important;
        width: 203% !important;
    }

}

/*** About Section ***/
#about {
    padding-left: 100px;
    padding-right: 100px;
}

.img-fluid {
    max-width: 107%;
    height: 500px;
}

.hover_efct {
    transition: transform 1s ease;
}

.hover_efct:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 720px) {
    #about {
        padding: 20px;
    }

    .img-fluid {
        max-width: 100%;
        height: 200px;
    }
}

/*** Map ***/
.map_section {
    padding-left: 100px;
    padding-right: 100px;
}

.map iframe {
    border-radius: 5px;
    height: 500px;
}

@media (max-width: 720px) {
    .map_section {
        padding: 20px;
    }

    .map iframe {
        height: 400px;
    }
}

/*** contact section **/
.contact {
    background-color: #e7ebef;
}

.contact_form {
    background: #e7ebef;
    display: flex;
    justify-content: center;
    align-items: center;
}


.contact_form form input,
.contact_form form textarea {
    width: 100%;
    padding: 10px 20px;
    border: 0;
    min-height: 55px;
    background-color: #f8f8f8;
    font-weight: 500;
    border-radius: 0.25rem;
    border: 1px solid #b6b6b7;
}

.contact_form button {
    padding: 8px;
    width: 130px;
    background-color: #181818;
}

.contact_form button:hover {
    background-color: #9b2626;
}

.single-cta i {
    color: #c00113;
    font-size: 42px;
    float: left;
    margin-top: 8px;
    margin-right: 5px;
}

.cta-text h4 {
    color: #c00113;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2px;
}

.cta-text span {
    color: #757575;
    font-size: 15px;
}


.form-container-box {
    background: #e7ebef;
    padding: 40px;
}

@media (max-width: 720px) {
    .contact_form {
        padding: 5px;
    }

    .contact_info {
        flex-wrap: wrap;
    }

    .form-container-box {
        padding: 10px;
    }
}

/** Footer section**/
footer {
    background-color: #757575;
}