@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'Gerhaus Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Gerhaus Regular'), url('fonts/Gerhaus-vmMKA.woff') format('woff');
}

html {
    scroll-behavior: smooth;
}

:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    background-color: white;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}


.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

a {
    font-family: "Comfortaa", sans-serif;
    font-weight: 500;
    color: #ffffff;
    text-decoration: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 12px;
}

a:hover {
    color: #00ebff;
    transform: scale(1.05); /* Увеличиваем элемент при наведении */
}

p {
    color: #1D1D1D;
    font-family: "Comfortaa", sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
    transition: all 0.3s ease;
}

body {
    margin: 0;
    display: flex;
    min-width: 320px;
    min-height: 100vh;
}

h1 {
    font-family: "Gerhaus Regular", sans-serif;
    font-size: 3.2em;
    line-height: 1.1;
    transition: all 0.3s ease;
}

h2 {
    font-family: "Gerhaus Regular", sans-serif;
    transition: all 0.3s ease;
}

h4 {
    font-family: "Comfortaa", sans-serif;
    font-weight: bold;
}

.whole-length {
    width: 1920px;
}

.btn {
    font-family: "Comfortaa", sans-serif;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 1em;
    font-weight: 500;
    background-color: #00ebff;
    cursor: pointer;
    transition: all 0.25s;
}

.btn:hover {
    color: black;
}

button {
    font-family: "Comfortaa", sans-serif;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 235, 255, 0.7);
        background-color: #00ebff;
    }
    50% {

        box-shadow: 0 0 20px rgba(0, 235, 255, 1);
        background-color: #5af6ff;
    }
}

.glow-animation {
    animation: glow 1.2s infinite alternate;
}

.logo {
    width: 250px;
    height: auto;
}

#root {
    margin: 0 auto;
    text-align: center;
    background-color: #F6F6F6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

nav {
    width: 100vw;
    position: sticky;
}

.navbar {
    width: 100vw;

}

.subtitle {
    color: #00ebff;
    font-family: "Gerhaus Regular", sans-serif;
}

.number {
    color: #00ebff;
    font-family: "Gerhaus Regular", sans-serif;
}


label {
    font-family: "Comfortaa", sans-serif;
    font-weight: 600;
}

.title-block {
    /*margin-left: 10rem;*/
}

.d-image {
    width: 800px;
    height: auto;
    margin-right: -200px;
    margin-top: -80px;
}

.logo-line {
    position: absolute;
    object-fit: fill;
    top: 5%;
    left: 0;

}

.service-button {
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    cursor: default;
    border-radius: 15px;
    background-image: url('img/back.png');
}


.service-button span {
    font-size: 24px;
}

.why-us-text-block p {
    text-align: center;
}

/*@media (min-width: 768px) {*/
/*    .title {*/
/*        font-size: 4rem;*/
/*    }*/
/*}*/

.footer {
    background-color: #00171e;
}

.container-wrapper {
    background-image: url("img/bg-green.png");
    background-repeat: no-repeat;
    background-size: cover;

}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.mission {
    background-image: url("img/mission-bg.png");
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: center -20px;

}

.qa1, .qa2 {
    width: 300px;
    height: auto;
    transition: width 0.25s;
}

.qa1 {
    top: -30px;
    left: 0;
}

.qa2 {
    bottom: 20px;
    right: 20px;
}

.faq {
    max-width: 1000px;
    padding: 50px 200px;
}

.faq-btn {
    font-family: "Comfortaa", sans-serif;
    font-weight: bolder;
}

p {
    font-size: 0.9rem;
    text-align: left;
}

.carousel-block {
    background-image: url("img/carousel-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    color: white;
    transition: opacity 0.5s ease-in-out;
}

.info-block {
    transition: opacity 0.5s ease-in-out;
    color:white;
}

.carousel-title {
    color: #ffffff;
    font-family: 'Comfortaa', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    line-height: 140%; /* 44.8px */
    letter-spacing: 1.2px;
    text-align: left;
    width: 50%;
}
.carousel-main-text p{
    color: white;
}
.carousel-sub_description{
    color: white;
}
.cases {
    top: -20px;
}

.carousel-image, .carousel-video {
    top: -40px;
    right: -40px;
    width: 282px;
    height: auto;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    transition: opacity 0.5s ease-in-out;
}

.carousel-image img, .carousel-image video {
    border-radius: 30px;
}

.carousel-image.active, .carousel-video.active {
    opacity: 1;
}

.glass-effect {
    background-color: rgba(194, 194, 194, 0.13); /* Transparent white for frosted glass effect */
    backdrop-filter: blur(20px) brightness(1); /* Stronger blur and a bit of brightness */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    padding: 20px; /* Padding inside the container */
    border-radius: 15px; /* Smooth rounded corners */
}

.glass-effect h2 {
    color: rgba(0, 0, 0, 0.85); /* Slightly transparent black for heading */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); /* Light shadow to make text pop */
}


.glass-effect p {
    color: rgba(0, 0, 0, 0.75); /* Slightly lighter black for paragraph text */
}

.about-us-subtitle {
    max-width: 800px;
    text-align: center;
}

.team-member {
    max-width: 250px;
    text-align: center;
}
.active {
    background-color: #00ebff;
    color: black;
    border-color: #00ebff; /* Колір рамки для активної кнопки */
}
@media (max-width: 640px) {
    .carousel-image {
        top: -50px;
        right: -30px;
        width: 182px;
        height: auto;
    }

    .faq {
        max-width: 1000px;
        padding: 50px 50px;
    }

    .faq p {
        font-size: 12px;
    }

    .how-we-work p {
        font-size: 13px;
        line-height: 1.2;
    }

    .about-us p {
        font-size: 16px;
    }
}

@media (min-width: 640px) and (max-width: 820px) {
    .carousel-image {
        top: -50px;
        right: -30px;
        width: 242px;
        height: auto;
    }

    .carousel-subtitle {
        width: 55%;
        color: white;
    }

    .carousel-main-text {
        font-size: 16px;
        line-height: 30px;
        margin: 40px 0;
        color: white;
    }

    .carousel-main-text p {
        color: white;
    }

    .carousel-main-text span {
        font-size: 20px;
        color: white;
    }

    .carousel-sub_description {
        width: 55%;
        font-size: 12px;
        color: white;
    }

    .active {
        background-color: #00ebff;
        color: black;
        border-color: #00ebff; /* Колір рамки для активної кнопки */
    }

    .how-we-work {
        background-image: url("img/how-we-work-bg.png");
        background-repeat: no-repeat;
        background-size: 100%;
    }


    .faq-btn {
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 1rem;
    }


    .answer.open {
        max-height: 200px;
        padding: 1rem;
    }


    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .element {
        animation: fadeInUp 1s ease-in-out;
    }

    .carousel-block {
        position: relative;
        height:500px;
    }

    .carousel-content {
        position: relative;
        height: 800px;
        width: 100%;
        display: flex;
        overflow: hidden;
    }

    .carousel-item {
        min-width: 100%;
        transition: transform 0.5s ease;
    }

    .nav-arrow {
        position: absolute;
        top: 50%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
    }

    .left-arrow {
        left: 0;
    }

    .right-arrow {
        right: 0;
    }


    .form-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
    }

    .form-container input, select, button {

        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .form-container .btn {
        color: black;
        cursor: pointer;
    }

    .form-container .btn:hover {

    }

    .form-container .checkbox-group {
        display: flex;
        justify-content: space-between;
    }

    .form-container .checkbox-group label {
        display: flex;
        align-items: center;
    }

    .info-block {
        height: 500px;
    }

    .about-section {
        padding: 60px 20px;
        text-align: center;
    }

    .about-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .about-title {
        font-size: 42px;
        font-weight: bold;
        color: #333;
        margin-bottom: 20px;
    }

    .about-subtitle {
        font-size: 26px;
        color: #555;
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 18px;
        color: #666;
        line-height: 1.6;
    }

    .highlight {
        font-weight: bold;
        color: #222;
    }

    .about-content {
        max-width: 700px;
        margin: 40px auto;
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        text-align: left;
    }

    .about-list-title {
        font-size: 20px;
        color: #444;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .about-list {
        list-style: none;
        padding: 0;
    }

    .about-list li {
        font-size: 18px;
        color: #555;
        padding-left: 20px;
        margin-bottom: 10px;
        position: relative;
    }

    .about-list li::before {
        content: "•";
        color: #00ffe3;
        font-size: 24px;
        position: absolute;
        left: 0;
        top: 2px;
    }

    .about-list li span {
        font-weight: bold;
        color: #222;
    }

    .about-footer {
        max-width: 800px;
        margin: 40px auto 0;
    }

    .about-footer-text {
        font-size: 18px;
        color: #444;
        line-height: 1.6;
    }

    .about-footer-highlight {
        font-size: 22px;
        font-weight: bold;
        color: #222;
        margin-top: 20px;
    }
}

@media (max-width: 1024px) {
    .qa1, .qa2 {
        width: 200px;
        height: auto;
    }

}

@media (max-width: 768px) {
    .faq {
        max-width: 1000px;
        padding: 50px 20px;
    }
}

@media (max-width: 430px) {
    .d-image {
        display: none;
    }

    .logo {
        width: 100px;
    }


    .service-button {
        width: 160px;
        font-size: 15px;
    }

    .carousel-title {
        font-size: 14px;
    }

    .carousel-sub_description {
        width: 85%;

    }

    .carousel-main-text {
        font-size: 10px;
        margin: 20px 0;
    }

    .carousel-main-text p {
        font-size: 10px;
    }

    .carousel-main-text p span {
        font-size: 12px;
    }

    .carousel-image {
        top: 170px;
        right: -10px;
        width: 152px;
        height: auto;
    }

    .qa1, .qa2 {
        width: 100px;
        height: auto;
    }

    .about-us h4 {
        font-size: 18px;
        line-height: 1.5;
    }

    /*.about-us p {*/
    /*    font-size: 12px;*/
    /*}*/

    .cases-image {
        margin-top: 30px;
        margin-left: 50px;
        transform: scale(2);
    }

}

/* Стиль для іконки хрестика */
.close-icon {
    position: fixed;
    display: none;
}

.open .close-icon {
    display: inline;
}

.open .burger-icon {
    display: none;
}
