@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    /* Dark Blue */
    --secondary-color: #66aaee;
    /* Dark Gray */
    --logo-color: #ff5722;
    --bg-color: #ecf0f1;
    --urbanist-main: "urbanist", sans-serif;
    --font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--urbanist-main);
    background-color: var(--bg-color);
    background-image: url("bg-pic.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

nav {
    width: 100%;
    margin: auto;
    height: 80px;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(5px);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: transform 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    /* border-radius: 20px; */
}


/* .menu-icon {
    display: none;
}

#menu-toggle {
    display: none;
} */

nav ul li a {
    transition: 0.5s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav .logo {
    height: 70px;
    width: 290px;
    position: relative;
    top: 5px;
    cursor: pointer;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation {
    width: 60%;
}

.navigation ul {
    display: flex;
    justify-content: space-evenly;
}

.navigation ul li {
    list-style: none;
    position: relative;
}

.navigation ul li a {
    text-decoration: none;
    color: var(--primary-color);
}

.fas {
    font-size: 0.5rem;
    float: right;
    margin-left: 5px;
    margin-top: 8px;
}

.dropdown-services {
    display: none;
}


/* Hide mobile menu elements on desktop */

#menu-toggle,
.menu-icon {
    display: none;
}

.navigation ul li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0%;
    background-color: black;
    transition: all 0.3s ease-in-out;
}

.navigation ul li:hover::after {
    width: 100%;
}

.navigation ul li:hover .dropdown-services {
    display: block;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 100%;
    transition: all 0.3s ease-in-out;
}

.dropdown-services ul {
    padding: 15px;
    display: block;
}

.dropdown-services ul li {
    padding: 10px;
    list-style: none;
}

.dropdown-services ul li a {
    text-decoration: none;
    color: var(--primary-color);
}


/* nav bar scroll effect */

.nav--hidden {
    transform: translateX(-50%) translateY(-80px);
    box-shadow: none;
}


/* hero section */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    margin-top: 0;
    z-index: 1;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}


/* overlay */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    display: flex;
    align-items: center;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: left;
    width: 90%;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    line-height: 1.2;
    display: block;
    white-space: normal;
}

.hero-content h1 i {
    letter-spacing: 2px;
}

.hero-content p {
    color: #fff;
    font-size: 30px;
    text-align: left;
}


/* about us section */

#section-about {
    padding: 80px 60px;
    min-height: 100vh;
    background-color: rgba(44, 62, 80, 0.9);
}

#span-about {
    display: block;
    padding-top: 60px;
}

#span-about h1 {
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    text-align: left;
    position: relative;
    margin: 0;
}

.about-page {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.9;
    margin: 40px 0px;
    color: #fff;
    list-style-type: disc;
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-page .p2 {
    color: #fff;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.about-page .p1 ul {
    padding-left: 20px;
}

.about-page .p1 ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--bg-color);
}

.img-about {
    height: 535px;
    width: 280px;
    position: absolute;
    left: -130px;
}

.img-about img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button {
    height: 40px;
    width: 120px;
    background-color: inherit;
    border: 1px solid #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    position: relative;
    top: 20px;
    right: 20px;
    justify-content: center;
    overflow: hidden;
}

.button a {
    z-index: 2;
}

.button:hover .btn-overlay {
    top: 0;
    left: 0;
    border-radius: 50px;
}

#box-btn {
    margin-top: 10px;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateX(50%);
    z-index: 3;
    display: none;
    overflow: hidden;
}

.btn-overlay {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

#box-btn a {
    z-index: 2;
}

#box-btn:hover .btn-overlay {
    top: 0;
    left: 0;
    border-radius: 50px;
}

.button a {
    color: #fff;
    text-decoration: none;
}


/* services section */

#section-services {
    background-color: #fff;
    min-height: 100vh;
}

.div-services {
    padding-top: 30px;
    padding-bottom: 80px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.div-services h1 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
}

.services {
    display: flex;
    justify-content: center;
    /* gap: 50px; */
    flex-wrap: wrap;
    padding-bottom: 80px;
}

.box {
    position: relative;
    margin: 10px;
    height: 450px;
    width: 320px;
    color: #fff;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 40px;
    overflow: hidden;
}

.box .read-more {
    position: absolute;
    bottom: 20px;
}

.box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 40px;
    transition: transform 0.3s ease-in-out;
    border: 4px solid var(--primary-color);
}

.box .box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 40px;
}

.box-overlay:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.box:hover img {
    transform: scale(1.1);
}

#show-desc {
    font-size: 2rem;
    position: absolute;
    bottom: 50%;
    text-align: center;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%);
    color: #fff;
    display: none;
    pointer-events: none;
    /* z-index: 2; */
}


/* client slider */

#section-client {
    background-color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0px;
}

.div-clients {
    color: #fff;
    text-align: center;
    position: relative;
    padding-bottom: 50px;
}

.div-clients h1 {
    font-size: 4rem;
    font-weight: 700;
}

.client-slider {
    width: 100%;
    height: 250px;
    margin: auto;
    display: grid;
    overflow: hidden;
    place-items: center;
    position: relative;
    border-radius: 10px;
}

.list-slider {
    display: flex;
    height: 250px;
    width: calc(250px * 10);
    align-items: center;
    background-color: var(--primary-color);
    animation: slider 40s linear infinite;
}

.list-slider:hover {
    animation-play-state: paused;
}

.logo-slider {
    height: 200px;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}

@keyframes slider {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-250px * 5));
    }
}

.logo-slider img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.client-slider::before,
.client-slider::after {
    content: "";
    position: absolute;
    width: 15%;
    z-index: 2;
    height: 100%;
    background: linear-gradient( to right, var(--primary-color) 0%, rgba(255, 255, 255, 0) 100%);
}

.client-slider::before {
    left: 0;
    top: 0;
}

.client-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}


/* contact-section */

#section-contact {
    background-color: #3a5e83;
    color: #fff;
    min-height: 100vh;
    padding: 40px;
}

.contact-content {
    display: flex;
    justify-content: space-around;
}

.contact-logo {
    height: 450px;
    width: 250px;
}

.contact-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-us {
    height: 100vh;
    width: 500px;
    font-weight: 500;
}

.contact-us h4 {
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 30px;
    padding-top: 30px;
}

.contact-us p {
    font-size: 3.5rem;
    font-weight: 800;
}

.contact-us .address-openhours {
    display: flex;
    align-items: center;
}

.contact-us .address-openhours p {
    font-size: 18px;
    font-weight: normal;
    line-height: normal;
}

.quick-links {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quick-links p {
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    bottom: 25px;
    right: 5px;
}

.quick-links a {
    color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    height: 60px;
    width: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    padding-left: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.copyright {
    display: flex;
    justify-content: space-between;
    color: #fff;
    background: var(--primary-color);
    position: relative;
    bottom: 0;
    left: 0;
    padding: 1vw 2vw;
}


/* form--contact-section */

#form {
    background-color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-content {
    color: #fff;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 80px 0px;
}

.form-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10vh;
}

.cred h1 {
    font-size: 5rem;
    font-weight: 900;
}

.cred p {
    font-size: 15px;
    font-weight: 500;
    line-height: 2.5;
}

.office {
    line-height: 2;
}

.office h3 {
    font-size: 1.5rem;
}

.office p {
    font-size: 15px;
    line-height: 2.5;
    font-weight: 500;
}

.fa-solid {
    color: var(--primary-color);
    font-size: 1rem;
    padding-right: 30px;
}

.form-content form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-content form h2 {
    font-size: 4rem;
    color: #66aaee;
}

.form-content form label {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
}

.form-content form input,
.form-content form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    /* font-family: var(--urbanist-main); */
    transition: border-color 0.3s ease;
}

.form-content form button {
    font-size: 1rem;
    font-weight: 600;
    height: 40px;
    width: 100px;
    color: black;
    background-color: #fff;
    /* border: 1px solid black; */
    border-radius: 50px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-content form button:hover {
    background-color: #66aaee;
    color: #fff;
}

.color {
    color: #66aaee;
}