:root {
    --primary-color: #274193;
    --secondary-color: #009BC1;
    --accent-color: #BACE32;
    --dark-text: #311B50;
    --light-text: #f3f4f6;
    --bg-light: #ffffff;
    --bg-off-white: #EBEBEB;
    --section-spacing: 100px;
    --mobile-spacing: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.animate-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    max-height: 85px;
    width: auto;
    transition: all 0.3s ease;
}

.floating-social-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-balloon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 26px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.social-balloon:hover {
    transform: scale(1.1) translateX(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.4);
}


.balloon-fb {
    background-color: #1877F2;
}


.balloon-wa {
    background-color: #25D366;
}


.balloon-mail {
    background-color: #274193;
}


@media (max-width: 768px) {
    .floating-social-bar {
        top: auto;
        bottom: 20px;
        right: 15px;
        transform: none;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .social-balloon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

.main-header.scrolled .logo img {
    max-height: 40px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
}

.lang-selector span {
    cursor: pointer;
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.9rem;
}

.main-header.scrolled .lang-selector span {
    color: var(--dark-text);
}


.nav-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--light-text);
    transition: 0.3s;
}

.main-header.scrolled .nav-toggle span {
    background: var(--dark-text);
}


.nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background-color: var(--dark-text);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background-color: var(--dark-text);
}


.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    z-index: 998;


    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}


.nav-menu.is-active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
    text-align: left;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    margin: 2rem 0;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.3s ease;
}


.nav-menu.is-active li {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.2s;
}


.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
    text-transform: uppercase;
    text-decoration: none;
    display: block;
}

.nav-link:hover {
    color: var(--primary-color);
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    padding: 15px;
}

.popup-content {
    background: white;
    width: 95%;
    max-width: 850px;
    padding: 0;
    padding-bottom: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: all 0.5s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-top: none;
    overflow: hidden;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    background: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.close-popup:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.popup-image-container {
    margin: 0 0 30px 0;
}

.popup-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.popup-inner-text {
    padding: 0 40px;
}

.popup-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.popup-text {
    color: #555;
    margin-bottom: 35px;
    line-height: 1.8;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-popup {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-text);
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-popup:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(186, 206, 50, 0.4);
}

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--light-text);
    padding: 0 10%;
    overflow: hidden;
}

.hero-slider,
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider {
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(39, 65, 147, 0.9), rgba(0, 155, 193, 0.7));
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent-color);
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--accent-color);
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
}

.intro-section {
    padding: var(--section-spacing) 10%;
    text-align: center;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--dark-text);
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: justify;
    line-height: 1.8;
    white-space: pre-line;
}

.company-profile {
    position: relative;
    padding: var(--section-spacing) 10%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-text) 100%);
    color: white;
    overflow: hidden;
}


.company-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1534234828569-1235c40023a1?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.profile-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-left {
    flex: 1;
    position: relative;
}

.profile-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.wind-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    left: -40px;
    z-index: -1;
    animation: spin 10s linear infinite;
}

.profile-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.profile-block h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    border-bottom: 2px solid rgba(186, 206, 50, 0.5);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.profile-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.profile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
}

.split-section {
    display: flex;
    flex-wrap: wrap;
}

.split-content {
    flex: 1 1 500px;
    padding: var(--section-spacing) 10%;
    background-color: var(--bg-off-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    flex: 1 1 500px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}


.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.img-main {
    position: relative;
    z-index: 1;
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transform: scale(1.1);
}

.split-image.is-active .img-hover {
    opacity: 1;
    transform: scale(1);
}

.split-image.is-active .img-main {
    opacity: 0;
}

.content-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.content-lead {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 2rem;
    align-self: flex-start;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: white;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--primary-color);
}

.btn-primary:hover::before {
    width: 100%;
}

.bg-white {
    background-color: var(--bg-light) !important;
}

#philosophy-video-section {
    position: relative;
    background-color: var(--bg-off-white);
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.video-container-pro {
    width: 100%;
    max-width: 1200px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#philosophy-video-section video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}


#philosophy-video-section .unique-video-bg,
#philosophy-video-section .unique-video-overlay,
#philosophy-video-section .profile-container {
    display: none;
}

.clients-section {
    padding: var(--section-spacing) 5%;
    background-color: white;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    width: 100%;
    max-width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}


.blog-section {
    padding: var(--section-spacing) 5%;
    background-color: var(--bg-off-white);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    justify-content: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    text-align: center;
}

.read-more {
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: var(--primary-color);
}


.footer-social {
    position: relative;
    padding: 80px 20px;
    background-image: url('https://images.unsplash.com/photo-1505322022379-7c3353ee6291?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(39, 65, 147, 0.85), rgba(0, 155, 193, 0.85));
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: white;
}

.footer-contacts {
    background-color: white;
    padding: 60px 10%;
    position: relative;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    flex: 1;
    min-width: 250px;
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.contact-item p {
    color: #666;
    font-size: 0.95rem;
}

.footer-legal {
    background-color: var(--dark-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 10%;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
}

.legal-content p {
    margin-bottom: 0.5rem;
}

.legal-links {
    margin-top: 1rem;
}

.legal-links a {
    color: white;
    font-weight: 600;
    margin: 0 5px;
}

.legal-links a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}


@media (max-width: 900px) {
    .profile-container {
        flex-direction: column;
        gap: 2rem;
    }

    .profile-title {
        font-size: 3rem;
        text-align: center;
    }

    .wind-icon {
        font-size: 6rem;
        left: 50%;
        transform: translateX(-50%);
        top: -10px;
    }

    .profile-left {
        text-align: center;
    }
}

@media (max-width: 768px) {

    :root {
        --section-spacing: 60px;
    }

    .main-header {
        padding: 1rem 5%;
    }

    .popup-image {
        height: 200px;
    }

    .popup-title {
        font-size: 1.8rem;
    }

    .popup-text {
        font-size: 1rem;
    }

    .popup-content {
        width: 90%;
    }

    .popup-inner-text {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero {
        min-height: 100vh;
    }

    .nav-menu {
        width: 80%;
        max-width: 350px;
    }

    .split-section {
        flex-direction: column;
    }

    .split-content {
        padding: 3rem 5%;
        flex: auto;
    }

    .split-image {
        min-height: 300px;
        flex: auto;
    }


    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }


    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }


    #philosophy-video-section {
        padding: 60px 5%;
    }

    .blog-grid {

        grid-template-columns: 1fr;
    }

    .blog-card {
        max-width: 100%;
    }

    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .back-to-top {
        position: static;
        margin: 20px auto 0;
    }
}