html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #333;
    /* Dark grey background */
    color: #fff;
    /* Grey pearl font color */
}

/* Resetting default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

textarea {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


/* Header styles */
header {
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black background */
    padding: 5px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    /* Ensure header is on top of other content */
}

header a {
    color: #fff;
    text-decoration: none;
}

.logo {
    font-size: 1.5em;
    margin-right: 100px;
}

.logo img {
    margin-right: 5px;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    font-size: 1.5em;
    cursor: pointer;
    display: none;
}

.links {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;

}

.menu ul li {
    margin-right: 20px;
    text-align: center;
}

/* Hero section styles */
#hero {
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;

}

.hero-content {
    margin-left: 20px;
    text-align: left;
    z-index: 22;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.typewriter h1 {
    overflow: hidden;
    /* Ensures the content is not revealed until the animation */
    border-right: .15em transparent orange;
    /* The typewriter cursor */
    white-space: nowrap;
    /* Keeps the content on a single line */
    margin: 10 auto;
    /* Gives that scrolling effect as the typing happens */
    letter-spacing: .0em;

    /* Adjust as needed */
    animation:
        typing 4.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* The typewriter cursor effect */
@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: orange;
    }
}

.btn {
    background-color: #008cba;
    /* Your button color */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 1px solid #016b8e;
}

.btn:hover {
    background-color: #005f77;
    /* Your button color on hover */
}

/* Services section styles */
#services {
    padding: 50px 20px;
    text-align: center;
}

#services h2 {
    font-size: 2.0em;
    margin-bottom: 20px;
}

.service {
    background-color: #fff;
    /* Dark grey background for service boxes */
    color: #333;
    /* Grey pearl font color */
    border-radius: 4px;
    padding: 0px;
    margin: 0 10px 10px 10px;
    /* Adjust margin to create space between boxes */
    display: inline-block;
    /* Display boxes inline */
    width: calc(25% - 20px);
    /* Adjust width to fit three boxes in one row */
    vertical-align: top;
    /* Align boxes to top */
}

.service-content {
    padding: 20px;
}

.service h3 {
    font-size: 1.3em;
    margin-bottom: 10px;

}


.service p {
    font-size: 0.9em;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 10px;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: #333 1px solid;
}

/* Footer styles */
footer {
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black background */
    padding: 20px;
    text-align: center;
    bottom: 0;
    width: 100%;
    font-size: 0.8rem;
    ;
}


.dropdown-menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.7);
    ;
    border-radius: 10px;
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-menu.open {
    height: 180px;
}

.dropdown-menu li {
    display: flex;
    padding: 0.7rem;
    align-items: center;
    justify-content: left;
}

/* Services section styles */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form {
    width: 100%;
    max-width: 820px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
}

.contact-form {
    background-color: gray;
    position: relative;
}

.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, rgba(255, 149, 0, 0.184));
    position: absolute;
}

.circle.one {
    width: 130px;
    height: 130px;
    top: 130px;
    right: -40px;
}

.circle.two {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 30px;
}

.contact-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: rgb(255, 149, 0);
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
    opacity: 0.5;
}

form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
}

.title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.input-container {
    position: relative;
    margin: 1rem 0;
}

.input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    ;
}

textarea.input {
    min-height: 150px;
    border-radius: 4px;
    resize: none;
    overflow-y: auto;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
}

.input-container.textarea label {
    top: 1rem;
    transform: translateY(0);
}

.input-container span {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
}

.input-container span:before,
.input-container span:after {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: rgba(255, 149, 0, 0.184);
    top: 50%;
    transform: translateY(-50%);
}

.input-container span:before {
    left: 50%;
}

.input-container span:after {
    right: 50%;
}

.input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
    width: 50%;
    opacity: 1;
}

.contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
}

.contact-info .title {
    color: #000;
}

.info .title {
    color: #000;
    font-size: 1.2rem;
}

.text {
    color: #333;
    margin: 0.5rem 0rem 2rem 0;
}

.information {
    display: flex;
    color: #555;
    margin: 0.7rem 1rem;
    align-items: center;
    font-size: 0.85rem;
}

.icon {
    width: 25px;
    margin-right: 0.7rem;
}

.social-media {
    padding: 2rem 0 0 0;
}

.social-media p {
    color: #333;
}

.social-icons {
    display: flex;
    margin-top: 0.5rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: linear-gradient(45deg, #d38b1f, #d38b1f);
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.05);
}

.contact-info:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid #d38b1f;
    border-radius: 50%;
    bottom: -77px;
    right: 50px;
    opacity: 0.3;
}

.big-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #d38b1f, #d38b1f);
    bottom: 50%;
    right: 50%;
    transform: translate(-40%, 38%);
    opacity: 0.3;
}

.big-circle:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background-color: #333;
    border-radius: 50%;
    top: calc(50% - 180px);
    left: calc(50% - 180px);
}

.square {
    position: absolute;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(181%, 11%);
    opacity: 0.2;
}

.validation-message {
    color: rgb(255, 151, 86);
    font-size: 0.6rem;
    margin-top: 0rem;
    line-height: 0ex;
}



#about .container,
#our-services .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 90px 20px 2px 20px;
    display: block;

}

#about section,
#our-services section {
    margin-bottom: 50px;
    text-align: justify;
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 4px;

}

#about section img {
    width: 400px;
    margin: 20px 20px 20px 20px;
}

#about p,
#our-services p {
    line-height: 1.5;
    font-size: 0.9em;
    margin-top: 10px;
    ;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

#service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#service-list div {
    display: flex;
    align-items: left;
    justify-content: left;
    width: 300px;
}

#service-list img {
    width: 50px !important;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

#service-list div a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.our-service-block {
    display: flex;
    flex-direction: column;

}

.service-name {
    text-align: center;
}

.service-row {
    display: flex;
    justify-content: space-between;

}

.column {
    margin: 0 50px 0 50px;
    min-width: 200px;
}

.column img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
}

#our-services h2 {
    font-size: 2.0em;
    margin-bottom: 20px;
}

#our-services h3 {

    margin-top: 10px;
}



@media (max-width: 850px) {
    .form {
        grid-template-columns: 1fr;
    }

    .contact-info:before {
        bottom: initial;
        top: -75px;
        right: 65px;
        transform: scale(0.95);
    }

    .contact-form:before {
        top: -13px;
        left: initial;
        right: 70px;
    }

    .square {
        transform: translate(140%, 43%);
        height: 350px;
    }

    .big-circle {
        bottom: 75%;
        transform: scale(0.9) translate(-40%, 30%);
        right: 50%;
    }

    .text {
        margin: 1rem 0 1.5rem 0;
    }

    .social-media {
        padding: 1.5rem 0 0 0;
    }


    .hero-content h1 {
        font-size: 1.3em;
    }

    .hero-content p {
        font-size: 0.8em;
    }

    .service {
        width: calc(100% - 20px);
        /* Adjust width to fit two boxes in one row on smaller screens */

    }

    .menu ul {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .menu ul li:first-child {
        margin-top: 20px;
    }

    .dropdown-menu {
        display: block;
    }

    form,
    .company-info,
    .social-icons {
        padding: 10px;
    }

    input[type="submit"] {
        padding: 10px;
    }

    .service-row {
        flex-wrap: wrap;

    }

    .column {
        margin: 0 10px;
        text-align: center;
        width: 100%;
    }

    .column img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .contact-info:before {
        display: none;
    }

    .square,
    .big-circle {
        display: none;
    }

    form,
    .contact-info {
        padding: 1.7rem 1.6rem;
    }

    .text,
    .information,
    .social-media p {
        font-size: 0.8rem;
    }

    .title {
        font-size: 1.15rem;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .icon {
        width: 23px;
    }

    .input {
        padding: 0.45rem 1.2rem;
    }

    .btn {
        padding: 0.45rem 1.2rem;
    }

    #about section img {
        width: 100%;
        margin: 20px 0px 20px 0px;
    }

    .service-row {
        flex-wrap: wrap;

    }

    .column {
        margin: 0 10px;

    }
}