@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Roboto';
}

:root {
    --cards: 4;
    --cardHeight: 87vh;
    --cardTopPadding: 1.5em;
    --cardMargin: 4vw:
}

body {
    overflow-x: hidden;
    background: #222;
}

a {
    text-decoration: none;
    color: #fff;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 30px;
    color: #fff;
    z-index: 1000;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li a{
    padding: 8px 15px;
    margin-right: 30px;
}

.nav-links li a:hover {
    color: #222;
    background-color: #FF5F1F;
    border-radius: 30px;
}

.active {
    background-color: #FF5F1F;
    color: #222;
    padding: 8px 15px;
    border-radius: 30px;
}

.menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
}

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


/* Mobile Device */
@media only screen and (max-width:850px) {
    
    .menu-btn {
        display: block;
        margin-top: 10px;
        width: 50px;
        height: 50px;
    }

    .navbar {
        padding: 0;
    }

    .logo {
        position: absolute;
        top: 30px;
        left: 30px;
        color: #fff;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
        background: #2e2e2e;
        margin-top: -1000px;
        transition: all 0.4s ease;
    }

    .mobile-menu {
        margin-top: 0px;
        border-bottom-right-radius: 30%;
    }

    .nav-links li {
        margin: 30px auto;
    }
}

/* Hero */
.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    text-align: center;
}

.content h1 {
    font-size: 70px;
    color: #fff;
    margin-bottom: 10px;
}

.content p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 35px;
}

.content a {
    font-size: 23px;
    color: #FF5F1F;
    text-decoration: none;
    border: 2px solid #FF5F1F;
    padding: 15px 25px;
    border-radius: 50px;
    transition: 0.3s;
}

.content a:hover {
    background-color: #FF5F1F;
    color: #fff;
}

.background_clip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
    top: 0;
    z-index: -1;
}

@media (max-width: 880px) {
    .container {
        width: 100vw;
        height: 100vh;
        background-image: url(Media/heroimg.png);
        background-position: bottom;
        background-size: cover;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    video {
        display: none;
    }

    .content {
        margin-bottom: 350px;
        color: #fff;
        text-align: center;
    }
    
}

@media (min-aspect-ratio:16/9){
    .background_clip {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio:16/9) {
    .background_clip {
        width: auto;
        height: 100%;
    }
}

/* Cards */
.title {
    font-size: 45px;
    color: #fff;
    text-align: center;
    margin-top: 80px;
    padding-bottom: 30px;
}

.title b {
    color: #FF5F1F;
}

.title_2 {
    font-size: 45px;
    color: #fff;
    text-align: center;
    padding: 15px;
    padding-top: 25px;
}

.title_2 b {
    color: #FF5F1F;
}

.container_two {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    flex-wrap: wrap;
    padding: 60px 0;
    gap: 60px;
    margin-bottom: 80px;
    z-index: -10;
}

.container_two .box {
    position: relative;
    width: 300px;
    height: 350px;
    background: #2e2e2e;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px;
}

.container_two .box .content_two {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%;
    height: 100%;
}

.container_two .box::before {
    content: '';
    position: absolute;
    inset: -10px 50px;
    border-top: 4px solid var(--clr);
    border-bottom: 4px solid var(--clr);
    z-index: -1;
    transform: skewY(15deg);
    transition: 0.5s ease-in-out;
}

.container_two .box:hover::before {
    transform: skewY(0deg);
    inset: -10px 40px;
}

.container_two .box::after {
    content: '';
    position: absolute;
    inset: 60px -10px;
    border-left: 4px solid var(--clr);
    border-right: 4px solid var(--clr);
    z-index: -1;
    transform: skew(15deg);
    transition: 0.5s ease-in-out;
}

.container_two .box:hover::after {
    transform: skew(0deg);
    inset: 40px -10px;
}


.container_two .box .content_two {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container_two .box .content_two .icon {
    color: var(--clr);
    width: 80px;
    height: 80px;
    box-shadow: 0 0 0 4px #2e2e2e,
    0 0 0 6px var(--clr);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    background: #2e2e2e;
    transition: 0.5s ease-in-out;
}

.container_two .box:hover .content_two .icon {
    background: var(--clr);
    color: #2e2e2e;
    box-shadow: 0 0 0 4px #2e2e2e,
    0 0 0 300px var(--clr);
}

.container_two .box .content_two .text h3 {
    font-size: 1.5rem;
    color: #fff;
    font-size: 500;
    transition:  0.5s ease-in-out;
    padding: 5px;
}

.container_two .box:hover .content_two .text h3 {
    color: #2e2e2e;
}

.container_two .box .content_two .text p {
    color: #999;
    transition:  0.5s ease-in-out;
    padding: 5px;
}

.container_two .box:hover .content_two .text p {
    color: #2e2e2e;
}

.container_two .box .content_two .text a {
    position: relative;
    background: var(--clr);
    color: #2e2e2e;
    padding: 8px 15px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: 0.5s ease-in-out;
}

.container_two .box:hover .content_two .text a {
    background: #2e2e2e;
    color: var(--clr);
}

/* about animation */
.scroll-effect {
    font-size: clamp(20px, 5vw, 40px);
    color: #fff;
    padding: 0 5%;
    text-align: center;
    margin-bottom: 100px;
}

span {
    opacity: .1;
}

/* Card scroll */
.card-container {
    width: 80%;
    margin: 0 auto;
}

.card-container h2 {
    color: #fff;
}

#cards {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--cards, var(--cardHeight)));
    gap: var(--cardMargin);
    padding-bottom: calc(var(--cards) * var(--cardTopPadding));
    margin-bottom: var(--cardMargin);
}

#card1 {
    --index: 1;
}

#card2 {
    --index: 2;
}

#card3 {
    --index: 3;
}

#card3 {
    --index: 3;
}

.card {
    position: sticky;
    top: 0;
    padding-top: calc(var(--index) * var(--cardTopPadding));
}

#card1 .card_body {
    background-image: url(Media/Card1.png);
}

#card2 .card_body {
    background-image: url(Media/Card2.png);
}

#card3 .card_body {
    background-image: url(Media/Card3.png);
}

#card4 .card_body {
    background-color: #D3D3D3;
}

.card_body {
    box-sizing: border-box;
    padding: 30px;
    border-radius: 50px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,0.3);
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn {
    font-size: 23px;
    color: #FF5F1F;
    text-decoration: none;
    border: 2px solid #FF5F1F;
    padding: 15px 25px;
    border-radius: 50px;
    transition: 0.3s;
    margin-top: 20px;
}
    
.btn:hover {
    background-color: #FF5F1F;
    color: #fff;
}

.button_container {
    text-align: center;
    padding-top: 40px;
}

/* Testemonials */
.testemonials {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* Contact Us */
.contactUs {
    position: relative;
    width: 100%;
    padding: 40px 100px;
}

.unfade {
    opacity: 1;
}

.form {
    grid-area: form;
}

.imfo {
    grid-area: info;
}

.map {
    grid-area: map;
}

.box {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info"
    "form map";
    grid-gap: 20px;
}

.contact {
    padding: 40px;
    background: #2e2e2e;
}

.contact h3 {
    color: #FF5F1F;
    font-weight: 5;
    font-size: 1.4rem;
    margin-bottom: 10x;
}

/* Form */
.formBox {
    position: relative;
    width: 100%;
}

.formBox .row50 {
    display: flex;
    gap: 20px;
}

input, textarea {
    background: #2e2e2e;
    color: #fff;
}


input::placeholder {
    color: #D3D3D3;
}

.inputBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputBox {
    position: relative;
    width: 100%;
}

.inputBox label {
    color: #FF5F1F;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #222;
}

.inputBox textarea {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #222;
    color: #fff;
    resize: none;
    margin-bottom: 10px;
}

textarea::placeholder {
    color: #D3D3D3;
}

.inputBox input[type="Submit"] {
    background: #FF5F1F;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 15px;
}

.contact a {
    color: #fff;
}

.info .infoBox div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.info .infoBox div label {
    min-width: 40px;
    height: 40px;
    color: #fff;
    background: #FF5F1F;    ;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-right: 15px;
}

.map {
    padding: 0;
    margin-bottom: 20px;
}

.map iframe {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .contactUs {
        padding: 20px;
    }

    .box {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "form"
        "info"
        "map";
    }

    .formBox .row50 {
        display: flex;
        gap: 0;
        flex-direction: column;
    }
    
    .inputBox {
        width: 100%;
    }

    .contact {
        padding: 30px;
    }

    .map {
        min-height: 300px;
        padding: 0;
    }
}




/* Scroll Animation */
.content {
    animation: fade-out linear;
    animation-timeline: view();
    animation-range: exit -200px;
}

@supports (animation-timeline: view()) {

    .background_clip {
        animation: header-video-animation linear forwards;
        animation-timeline: view();
        animation-range: exit;
    }
}

@keyframes header-video-animation {
    25% {opacity: 0.7;}
    45% {opacity: 0.3;}
    85%, 100% {opacity: 0; scale: 3;}
}

@keyframes fade-out {

    to {
        opacity: 0;
    }

}

/* Footer */
.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}

.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: #FF5F1F;
    margin: 10px;
    border-radius: 50%;

}

.socialIcons a i {
    font-size: 2rem;
    color: #fff;
    opacity: 0.9;
}

.socialIcons a:hover {
    background-color: #1f1f1f;
    transition: 0.5s;
}

.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
}

.footerNav ul li a {
    color: #f4f4f4;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #FF5F1F;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: white;
}

/* Mobile Device */
@media (max-width:700px) {
    .footerNav ul {
        flex-direction: column;
    }

    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }
}