:root {
    --body-bg: #f0f0f0;
    --heading-color: #222;
    --text-color: #333333;
    --footer-bg: #111111;
    --footer-text-color: #ddd;
    --block-bg: #fff;
    --top-nav-text-color: #111111;

}

:root {
    --section-padding: 0 20px;
    --section-margin: 40px 0;
    --block-padding: 20px;
    --top-nav-height: 70px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-margin-top: calc(var(--top-nav-height) + 20px);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--body-bg);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

section {
    margin: var(--section-margin);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
}

u {
    text-decoration: none;
    position: relative;
}

u::after {
    content: '';
    display: block;
    width: 100%;
    height: 8px;
    background: url('/assets/underline.svg');
    transition: width .3s;
    position: absolute;
    left: 0;
    border-radius: 10px;
    margin-top: -6px;
    z-index: -1;
    background-repeat: no-repeat;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fff;
    width: 100%;
    z-index: 9999;
    height: var(--top-nav-height);
    transition: 300ms;
}

header #brand {
    color: var(--top-nav-text-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2em;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

header nav ul li {
    display: block;
}

header nav ul li a {
    text-decoration: none;
    color: var(--top-nav-text-color);
    display: inline-block;
    margin: 5px 0;
    font-size: 1rem;
    position: relative;
}

header nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: var(--top-nav-text-color);
    transition: width .3s;
}

header nav ul li a:hover::after {
    width: 100%;
}

#hamburger-btn {
    display: none;
    background: none;
    outline: none;
    border: none;
    justify-content: space-between;
    flex-direction: column;
    height: 16px;
}

#hamburger-btn .bar {
    width: 18px;
    height: 2px;
    background: var(--top-nav-text-color);
    border-radius: 5px;
    transition: 250ms;
}


main {}

#spotlight {
    padding-top: var(--top-nav-height);
    background-image: url('/assets/spotlight.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 0;
}

header.spotlight {
    --top-nav-text-color: #fff;
    background-color: #ffffff00;
    backdrop-filter: blur(4px);
}

#spotlight .wrapper {
    --heading-color: #fff;
    backdrop-filter: blur(4px);
    width: 100%;
    height: 100%;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);


    min-height: 70vh;
    height: 100%;
    max-height: 500px;
}

#spotlight .wrapper h2 {
    margin: 0;
    font-size: clamp(1.5rem, 12vw, 2rem);
}

#spotlight .wrapper h1 {
    font-size: clamp(2rem, 12vw, 4rem);
    margin: 1rem 0;
}

#spotlight .wrapper .contact-us {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #fff;
    padding: 15px 20px;
    border-radius: 10px;
    background-color: #14141442;
    display: block;
    margin-top: 20px;
    position: relative;
    transition: 300ms ease-in-out;
    overflow: hidden;
    position: relative;
}


#spotlight .wrapper .contact-us:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform: translateY(100%);
    transition: 300ms ease-in-out;
    z-index: -1;

}

#spotlight .wrapper .contact-us:hover {
    color: #fff;
    border: 2px solid transparent;

}

#spotlight .wrapper .contact-us:hover:before {
    transform: translateY(0);
}

#about {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin: var(--section-margin);
}

#about .left {
    padding: var(--section-padding);
    flex: 1;
}

#about .left p {
    max-width: 30em;
    line-height: 1.5em;
    margin-bottom: 0;
}

#about .right {
    flex: 1;
    margin-right: 10px;
}

#about .right img {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1.4em;
}

#services {
    padding: var(--section-padding);
}

#services h2,
#services>p {
    text-align: center;
}

#services .grid {
    margin-top: 40px;
    display: grid;
    grid-gap: 20px;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
}

.service-card {
    background: var(--block-bg);
}

.service-card .image {
    overflow: hidden;
}

.service-card img {
    display: block;
    width: 100%;
    transition: 300ms ease-in-out;
}

.service-card .content {
    padding: var(--block-padding);
    padding: 20px;
}

.service-card h4 {
    margin: 8px 0;
    font-size: 1.2rem;
}

.service-card p {
    font-size: .9rem;
    margin-top: 0;
}

.service-card:hover img {
    transform: scale(1.1);
}

#forest svg {
    width: 100%;
}

#portfollio {
    padding: var(--block-padding);
    background-color: #fff;
    margin-top: -2vw;
    padding-bottom: 40px;
}

#portfollio h2 {
    margin-top: -5px;
    text-align: center;
    margin-bottom: 30px;
}

#portfollio .grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
}

.portfollio-card {
    position: relative;
    overflow: hidden;
}

.portfollio-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfollio-card .hashtags {
    position: absolute;
    bottom: -100px;
    padding: 20px 15px;
    background-color: #7a7a7a8a;
    width: 100%;
    font-weight: 600;
    transition: 300ms ease-in-out;
    backdrop-filter: blur(0px);
    color: #fff;
}

.portfollio-card:hover .hashtags {
    bottom: 0;
}

#contact h2 {
    text-align: center;
    margin-bottom: 10px;
}

#contact .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: var(--block-padding);
}

.contact-card {
    display: flex;
    background-color: var(--block-bg);
    text-decoration: none;
    padding: var(--block-padding);
    border-radius: 10px;
    transition: 300ms;
}

.contact-card .details {
    margin-left: 10px;
    color: var(--text-color);
    overflow-wrap: anywhere;
}

.contact-card .details h5 {
    margin-top: 0;
    margin-bottom: 9px;
    font-size: 1rem;
}

.contact-card img {
    width: 48px;
}

.contact-card:hover {
    background-color: #fafafa;
}

footer {
    padding: var(--section-padding);
    padding: 20px inherit ;
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
}

footer .copyright {
    text-align: center;
    padding: 40px 0; 
}

p.watermark {
    text-align: center;
    text-align: center;
    font-size: .9em;
}

a.sybotik {
    background: -webkit-linear-gradient(0deg, #006df9, #000aff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

@media screen and (max-width: 1000px) {
    #services .grid {
        grid-template-columns: 1fr 1fr;
    }

    #portfollio .grid {
        grid-template-columns: 1fr 1fr;
    }

    #contact .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    :root {
        --section-padding: 20px;
        --section-margin: 10px 0;
    }

    #about {
        display: block;
        text-align: center;
    }

    #about .left p {
        max-width: unset;
    }

    #about .right img {
        display: none;
    }

    #services .grid {
        grid-template-columns: 1fr;
    }

    #portfollio .grid {
        grid-template-columns: 1fr;
    }

    #contact .grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {

    #hamburger-btn {
        display: flex;
        margin-right: 0;
        padding-left: 1rem;
    }

    header nav {
        position: fixed;
        width: 100%;
        height: calc(100vh - var(--top-nav-height));
        right: -100vw;
        background-color: #fff;
        top: var(--top-nav-height);
        transition: 300ms ease;
        padding: 10px 20px;
    }

    header nav ul {
        flex-direction: column;
    }

    header.open {
        --top-nav-text-color: #000;
        background-color: #fff;
    }

    header.open nav {
        right: 0;
    }

    header.open #hamburger-btn .bar1 {
        transform: rotate(45deg) translate(4px, 4px);
    }

    header.open #hamburger-btn .bar2 {
        transform: scale(0);
    }

    header.open #hamburger-btn .bar3 {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    #spotlight .wrapper {
        min-height: 60vh;
    }

}

/* animations */


.animation-top {
    animation: toping 2s forwards;
    position: relative;
    animation-delay: 500ms;
}


@keyframes toping {
    0% {
        opacity: 0;
        bottom: -200px;
    }

    100% {

        opacity: 1;
        bottom: 0px;
    }

}

.animation-zooming-in {
    animation: zooming-in 2s forwards;
    position: relative;
    animation-delay: 500ms;
    overflow: hidden;
}

@keyframes zooming-in {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {

        opacity: 1;
        transform: scale(1);
    }

}