* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    
}

.header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30%; /* Adjust this value to control the fade height */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.header {
    width: 100%;
    
    background-image: url(images/header_bg.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1rem;
}







.footer-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    
}

.wave {
    display: block;
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
}

.footer {
    color: whitesmoke;
    background-color: rgb(0, 0, 103);
    padding: 2%;
    flex-direction: row;
    display: inline-flex;
    height: auto;
    width: 100%;
    position: relative;
}

.footer-content {
    padding-left: 2%;
}

.footer h4, .footer h5, .footer a {
    margin-bottom: 10px;
}









nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
}

nav .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

nav .logo img {
    width: 70px;
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 5px;
    position: relative;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: -5px;
    position: relative;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 107);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.overlay-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.overlay-content a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: white;
    display: block;
    transition: 0.3s;
}

.overlay-content a:hover, .overlay-content a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
    color: white;
}

.main-content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding: 0 9%;
}

.content {
    color: white;
    max-width: 500px;
    opacity: 0;
    transform: scale(0.5);
    animation: pop-in 0.5s forwards;
}



@keyframes pop-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
}

.content p {
    line-height: 1.6;
}




.serviceLearnBtn {
    margin-top: 30px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid rgb(0, 0, 0);
    padding: 10px 35px;
    border-radius: 30px;
    margin-right: 15px;
    background-color: rgb(178, 97, 255);
}

.serviceLearnBtn:hover {
    background-color: rgba(192, 124, 255, 0.816);
}



.learnMore {
    width: 50%;
    height: 100px;
    border-radius: 20px;
    background-color: rgb(107, 19, 107);
    border-width: 1px;
    transition: 0.4s;
    color: white;
    padding-left: 3%;
    padding-right: 3%;
    font-size: medium;
}

.learnMoreLabel {
    margin-left: 3%;
    margin-right: 3%;
}

.learnMore:hover {
    cursor: pointer;
    background-color: rgb(144, 27, 144);
}



.links {
    margin-top: 30px;
}

.links a {
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.links a:hover {
    background-color: rgba(141, 238, 255, 0.61);
}

.btn {
    border: 2px solid white;
    padding: 10px 35px;
    border-radius: 30px;
    margin-right: 15px;
}

.slide-left, .slide-right {
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

.slide-left {
    transform: translateX(-90px);
}

.slide-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    transform: translateX(90px);
}

.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}
.second-img {
    transition-delay: 1s;
}





@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .main-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }

    .content {
        margin-right: 20px;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 30px;
    }

    .feature-img {
        width: 30%;
        height: auto;
        position: static;
        margin-left: 10px;
    }
    .second-img {
        width: 50%;

    }
    .footer-content-directory {
        margin-top: 20px;
        margin-left: -30%;
    }
    .footer {
        flex-direction: column;
    }

}

@media (min-width: 769px) {
    .feature-img {
        width: 300px;
        position: absolute;
        bottom: 40px;
        right: 5%;
    }
    .second-img {
        width: 40%;

        
    }
}
div {
    border-width: 0;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 5%;
}

.container img {
    flex-shrink: 0;
    max-width: 400px;
    height: auto;
}

.content2 {
    color: black;
    text-align: left;
    width: 50%;
}


section {
    padding: 20px;
    box-sizing: border-box;
}


.container3 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 5%;
    float: right;
    position: relative;
}

.container3 img {
    flex-shrink: 0;
    max-width: 400px;
    height: auto;
}

.content3 {
    color: black;
    text-align: left;
    width: 50%;
}



.container5 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-left: 5%;
    float: right;
    position: relative;
    padding-top: auto;
}

.container5 img {
    flex-shrink: 0;
    max-width: 400px;
    height: auto;
}

.content5 {
    color: black;
    text-align: left;
    width: 50%;
}




.services {
    padding: 2%;
    flex-direction: row;
    display: inline-flex;
    height: auto;
}

.services-content {
    width: 30%;
    height: 100%;
    border-radius: 10px;
    margin: 2%;
    box-shadow: 0px 0px 10px 5px grey;
}

.services-content-header {
    background: linear-gradient(rgb(0, 109, 125), rgb(0, 163, 188));
}


.services-content img {
    width: 50%;
}

html {
    overflow-x: hidden;
}

.container {
    overflow-x: hidden;
}
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    html {
        overflow-x: hidden;
    }



    .services-content {
        width: 90%;
        height: 100%;
    }
    .services {
        flex-direction: column;
    }

    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .container img {
        max-width: 100%;
        float: left;
    }

    .content2 {
        width: 100%;
        text-align: left;
    }



    .container3 {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        
    }

    .container3 img {
        margin-bottom: 20px;
        max-width: 50%;
        
    }

    .content3 {
        width: 100%;
        text-align: left;
    }



    .container5 {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        margin-top: auto;
        
    }

    .container5 img {
        margin-bottom: 20px;
        max-width: 50%;
        
    }

    .content5 {
        width: 100%;
        text-align: left;
    }
    
}