@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --white: white;
    --black: black;
    --main-color: #ef4444;
    --background: #161324;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* all button hover */
/* all button hover */
.button {
    width: 120px;
    padding: 5px;
    border: 2px solid var(--main-color);
    text-decoration: none;
    color: var(--main-color);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    transition: .8s;
    z-index: 1;
}

.button:hover {
    color: var(--white);
}

.button::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
    z-index: -1;
}

.button:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s;
}

/* header-navbar section */
.header {
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 200;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo img:hover {
    transform: scale(1.1);
    transition: .4s;
}

.list-bar {
    display: none;
}

.list-bar i {
    font-size: 30px;
    color: var(--main-color);
    display: none;
    cursor: pointer;
}

#xmark {
    display: none;
    color: var(--main-color);
}

.nav {
    margin-right: -150px;
}

.nav a {
    text-decoration: none;
    color: var(--main-color);
    margin: 0 10px;
    font-weight: 500;
    transition: .4s;

}

.nav a:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}


/* side-navbar */
.side-navbar {
    background-color: rgb(252, 228, 228);
    padding: 30px;
    margin-top: -330px;
    transition: .5s;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 150;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.side-nav a {
    text-decoration: none;
    color: var(--background);
    font-weight: 500;
    transition: .3s;
}

.side-nav a:hover {
    color: var(--main-color);
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

/* .background-video{
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
} */
.responsive-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.overlay-content {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-5%, -50%);
    text-align: center;
    color: white;
}

.overlay-content span {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
}


.image-left {
    position: absolute;
    top: 40%;
    width: 100%;
    height: auto;
    transform: translate(-5%, -40%);
    z-index: 2;
}

.image-left {
    left: 0%;
}


.floating img {
    width: 450px;
    height: 400px;
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {

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

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

/* Optional Divider between sections */
/* .divider {
    height: 1px;
    background: #fff;
    margin: 50px 0;
  } */

/* about-us */
.about-us {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f5f5f5;
    position: relative;
}

.about-us .text {
    max-width: 600px;
    padding: 20px;
}

.about-us .text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-us .image-stack {
    position: relative;
    max-width: 500px;
    padding: 20px;
}

.about-us .image-stack img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 1s ease-in;
}

.about-us .img1 {
    opacity: 0;
    animation: fadein 7s forwards;
    z-index: 1;
}

.about-us .img2 {
    position: absolute;
    top: 50px;
    left: 30px;
    width: 90%;
    z-index: 2;
    animation: down 9s forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: translateY(-30px);
    }
}

@keyframes down {
    from {
        opacity: 0;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translate(20%, 10%);
    }
}

.background {
    background-color: #f0f0f0;
    padding: 50px 20px;
}

/* shape divider */

.shape-divider {
    display: block;
    height: auto;
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    /* Make sure it's above the video but below overlay-content if needed */
}

.shape-divider svg {
    display: block;
    width: 100%;
    height: 100px;
}

.section-3 {
    position: relative;
    z-index: 0;
    background-image: url('assets/why-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* footer-section */
.footer-section {
    width: 100%;
    height: max-content;
    background-color: var(--background);
    margin-top: 5%;
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

/* footer-address */
.footer-address {
    width: 300px;
    color: var(--white);
}

.footer-address i {
    font-size: 22px;
}

.footer-address p {
    font-size: 14px;
    margin-bottom: 0px;
}

/* footer-social-media links */
.footer-solical-link i {
    margin: 0 5px;
    border: 2px solid var(--white);
    padding: 5px;
    border-radius: 100px;
    transition: .3s;
    color: var(--white);
}

.footer-solical-link i:hover {
    border: 2px solid var(--main-color);
    background-color: var(--main-color);
    color: var(--white);
    cursor: pointer;
    transform: translateY(-10px);
}

/* footer-service */
.footer-service {
    color: var(--white);
}

.footer-services {
    width: 310px;
    display: flex;
    gap: 10px;
    transition: .3s;

}

.footer-services a {
    font-size: 14px;
    text-decoration: none;
    color: var(--white);
    transition: .3s;
}

.footer-services a:hover {
    color: var(--main-color);
}

/* footer-navbar */
.footer-nav-link {
    display: flex;
    flex-direction: column;
}

.footer-nav-link a {
    text-decoration: none;
    transition: .2s;
    color: var(--white);
    font-size: 14px;
}

.footer-nav-link a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

/* footer-email */
.footer-email input {
    background-color: transparent;
    border: none;
    border: 1px solid var(--white);
    padding: 5px;
    outline: none;
    color: var(--white);
}

.footer-finish {
    text-align: center;
    margin-top: 3%;
}