* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.services {
    -webkit-box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: row;
}


.experiences {
    -webkit-box-shadow: inset 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    box-shadow: inset 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: row;
}

.custom-bg-hover:hover {
    background-color: #E4A11B;
    color: white;
    transition: .5s;
    -webkit-box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    /* Change this to the desired color on hover */
}

.nav-link:hover {
    background-color: white;
}

.img-shadow {
    -webkit-box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 13px 0px rgba(0, 0, 0, 0.75);
}

.progress {
    background-color: rgb(217, 206, 206);
    justify-content: flex-start;
    vertical-align: middle;
    position: relative;
    display: flex !important;
    height: 1.8rem !important;
    width: 100%;

}

.pro-bar1 {
    animation: load1 3s normal forwards;
    border-radius: 2rem;
    background-color: black;
    height: 1.8rem;
    width: 0;
}

.pro-bar2 {
    animation: load2 3s normal forwards;
    border-radius: 2rem;
    background-color: black;
    height: 1.8rem;
    width: 0;
}

.pro-bar3 {
    animation: load3 3s normal forwards;
    border-radius: 2rem;
    background-color: black;
    height: 1.8rem;
    width: 0;
}

.pro-bar4 {
    animation: load4 3s normal forwards;
    border-radius: 2rem;
    background-color: black;
    height: 1.8rem;
    width: 0;
}

.progress p {
    color: white;
    padding: .2rem;
}

@keyframes load1 {
    0% {
        width: 0;
    }

    100% {
        width: 60%;
    }
}

@keyframes load2 {
    0% {
        width: 0;
    }

    100% {
        width: 90%;
    }
}

@keyframes load3 {
    0% {
        width: 0;
    }

    100% {
        width: 80%;
    }
}

@keyframes load4 {
    0% {
        width: 0;
    }

    100% {
        width: 98%;
    }
}

.btn1 {
    height: 2.5rem;
    width: 9rem;
    outline: none;
    border: none;
    background-color: black;
    color: white;
    border-radius: .25rem;

}

.btn1:hover {
    background-color: transparent;
    color: black;
    border: 1px solid black;
    transition: .5s;
}

.btn2 {
    height: 2.5rem;
    width: 9rem;
    background-color: transparent;
    color: black;
    border-radius: .25rem;

}

.btn2:hover {
    background-color: black;
    color: white;
    border: 1px solid black;
    transition: .5s;
}

.card-text {
    align-content: center;
}

/* Define the default font size */
.card-text {
    font-size: 16px;
    /* Adjust the default font size as needed */
}

/* Media query for smaller screens */
@media screen and (max-width: 767px) {


    /* Adjust the font size for smaller screens */
    .card-text {
        font-size: 14px;
        /* Set the font size smaller for smaller screens */
    }
}

/* Media query for even smaller screens */
@media screen and (max-width: 479px) {

    /* Further reduce the font size for very small screens */
    .card-text {
        font-size: 12px;
        /* Set the font size even smaller for very small screens */
    }
}



.redtext {
    color: red;
}

@media screen and (max-width: 1399px) and (min-width: 768px) {
    .services {

        align-items: center;
        white-space: nowrap;
    }
}

@media screen and (max-width: 1399px) and (min-width: 768px) {
    .experiences {

        align-items: center;
        white-space: nowrap;
    }
}


.hero-text {
    align-items: center;
    left: 0;
    animation: slideDown .5s linear;
}


@keyframes slideDown {
    0% {
        opacity: 0;
        scale: .5;
        translate: 0 -100%;
        z-index: 9999;
    }

    100% {
        opacity: 1;
        scale: 1;
        translate: 0 0;
        z-index: 1;
    }
}



.container {
    position: relative;
}

.first-div {
    padding-top: 20px;

}

.second-div {
    position: static;
    top: 0;
    left: 0;
    width: 100%;

}

.overlay {
    opacity: 1;
}

@media only screen and (max-width: 767px) {
    .second-div {
        padding-top: 8rem;
        position: absolute;
        width: auto;
    }

    .overlay {
        opacity: .4;
    }

    .hero-text {
        left: 0;
        animation: slideDown .8s linear;
    }
}



@media screen and (max-width: 767px) {
    .scroll-down-animation {
        opacity: 0;
        transform: scale(0.2);
        transition: opacity 1s,
            transform 1s;
    }

    /* Add animation when activated */
    .animation-active {
        opacity: 1;
        transform: scale(1);
    }
}


.leftRightAnimation {
    opacity: 0;
    transform: scale(0.2);
    transition: opacity 1s,
        transform 2s;

}

/* Add animation when activated*/
.animation-active {
    opacity: 1;
    transform: scale(1);
}

.navbar-toggler {
    width: 2rem;
    height: 1.75rem;
    position: relative;
    transition: .5s ease-in-out;
    margin-right: 3rem;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #d3531a;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;

}

.middle-bar {
    margin-top: 0px;

}

/*when navigation bar is clicked */
.navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);

}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg);
}

/*State when navigation bar is collapsed */
.navbar-toggler.collapsed .top-bar {
    margin-top: -20px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);

}

.navbar-toggler.collapsed .bottom-bar {

    margin-top: 20px;
    transform: rotate(0deg);
}

/*Colour of three lines */
.navbar-toggler.collapsed .toggler-icon {
    background: linear-gradient(263deg, rgba(252, 74, 74, 1) 0%, rgba(0, 212, 255, 1) 100%);
}

.btn:hover {
    background: #E4A11B !important;
    border-color: transparent !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: black;
    border-radius: 50%;
    color: white;
    /* Add this line to ensure the arrow color is white */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 40px;
    width: 40px;
    background-size: 50%;
    background-repeat: no-repeat;
}

.desktopView {
    display: block;
}

.mobileView {
    display: none;
}

/* Media query to adjust column layout for mobile devices */
@media screen and (max-width: 767px) {
    .desktopView {
        display: none;
    }

    .mobileView {
        display: block;
    }
}
