:root {
    /* Colors */
    --color-primary: #100D0D;
    --color-secondary: #364532;
    --color-text: #FDFFFC;
    
    /* Fonts */
    --font-heading: 'Kode Mono', monospace;
    --font-body: 'Kumbh Sans', sans-serif;
    
    /* Font Sizes - Desktop */
    --font-size-h1: 3.375rem; /* 54px */
    --font-size-h2: 3.125rem; /* 50px */
    --font-size-h3: 1.125rem; /* 18px */
    --font-size-body: 1.1rem; /* 16px */

    /* Font Sizes - Tablet */
    --font-size-h1-tablet: 2.5rem; /* 40px */
    --font-size-h2-tablet: 2.25rem; /* 36px */
    --font-size-h3-tablet: 1.1rem; /* 16px */
    --font-size-body-tablet: 1rem; /* 16px */

    /* Font Sizes - Mobile */
    --font-size-h1-mobile: 2rem; /* 32px */
    --font-size-h2-mobile: 1.75rem; /* 28px */
    --font-size-h3-mobile: 1.1rem; /* 14px */
    --font-size-body-mobile: 1rem; /* 14px */

    --line-height: 1em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p, span {
    opacity: 0.6;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    line-height: var(--line-height);
    opacity: 1;
}

h1, .h1 {
    font-size: var(--font-size-h1);
}

h2, .h2 {
    font-size: var(--font-size-h2);
}

h3, .h3 {
    font-size: var(--font-size-h3);
}

body {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: 1.5;
    font-weight: light;
    overflow-x: hidden;
}

/* Responsive Typography */
@media screen and (max-width: 1024px) {
    body {
        font-size: var(--font-size-body-tablet);
    }

    h1, .h1 {
        font-size: var(--font-size-h1-tablet);
    }

    h2, .h2 {
        font-size: var(--font-size-h2-tablet);
    }

    h3, .h3 {
        font-size: var(--font-size-h3-tablet);
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: var(--font-size-body-mobile);
    }

    h1, .h1 {
        font-size: var(--font-size-h1-mobile);
    }

    h2, .h2 {
        font-size: var(--font-size-h2-mobile);
    }

    h3, .h3 {
        font-size: var(--font-size-h3-mobile);
    }

    .header__logo-image {
        height: 24px;
    }
}

/* Section and Container Styles */
.section {
    width: 100%;
    padding: 80px 0;
}

.section__container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    overflow: visible;
}

/* Triangle Cutout Modifier */
.triangle-cutout {
    position: relative;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 30px),
        calc(100% - 30px) 100%,
        0 100%
    );
}

/* Button Styles */
.button {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 34px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    opacity: 1;
    transition: all 0.3s ease;
}

.button:not(.button--arrow) {
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%
    );
}

.button:not(.button--arrow):hover {
    background-color: #20291e; /* Darker shade of the secondary color */
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 0px),
        calc(100% - 0px) 100%,
        0 100%
    );
}

.button--arrow {
    background-color: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    filter: none;
}

.button--arrow::after {
    display: none;
}

.button--arrow::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text);
    transition: width 0.3s ease;
}

.button--arrow:hover::before {
    width: 100%;
}

.button--arrow svg {
    margin-left: 10px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.button--arrow:hover svg {
    transform: rotate(0deg);
}

.button--arrow:hover {
    filter: none;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--color-primary);
    z-index: 100;
    padding: 20px 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-100px);
    opacity: 0;
}

.header__logo {
    text-decoration: none;
    color: var(--color-text);
}

.header__logo-image {
    height: 32px;
    width: auto;
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 64px;
    align-items: center;
}

.header__nav-item {
    margin-left: 0;
}

.header__nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    text-transform: uppercase;
}

.header__mobile-menu {
    display: none;
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    margin-left: auto;
}

.header__mobile-menu span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    opacity: 1;
}

.header__mobile-menu span:nth-child(1) {
    top: 14px;
}

.header__mobile-menu span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.header__mobile-menu span:nth-child(3) {
    bottom: 14px;
}

.header__mobile-menu.active span:nth-child(1) {
    transform: translate(-50%, 8px) rotate(45deg);
}

.header__mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.header__mobile-menu.active span:nth-child(3) {
    transform: translate(-50%, -8px) rotate(-45deg);
}

/* Hero Section Styles */
.hero {
    margin-top: 40px;
}

.hero__text {
    display: flex;
    margin-bottom: 40px;
}

.hero__text-main {
    flex-grow: 1;
    padding-right: 40px;
}

.hero__text-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero__tagline {
    position: relative;
    margin-bottom: 30px;
    padding-right: 20px;
    border-right: 5px solid var(--color-secondary);
    text-align: right;
}

.hero__image-container {
    position: relative;
    overflow: hidden;
}

.hero__buttons {
    display: flex;
    gap: 64px;
}

.hero__image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.hero__numbers {
    display: flex;
    background-color: var(--color-secondary);
    padding: 40px;
    margin-top: -10px;
    gap: 40px;
    position: relative;
}

.hero__numbers::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent var(--color-primary) transparent;
    z-index: 3;
}

.hero__numbers-title {
    max-width: 350px;
}

.hero__numbers-stats {
    flex: 0 0 70%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap:12px;
}

/* Services Section Styles */
.services__container {
    display: flex;
    flex-direction: column;
}

.services__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    gap: 30px;
}

.services__card {
    width: calc(25% - 22.5px);
    position: relative;
    padding: 24px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.services__card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.services__card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.services__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: scale(1.1);
}

.services__card:hover .services__card-image img {
    transform: scale(1);
}

.services__card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services__card-text {
    padding: 12px;
    margin: -12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background-color 0.3s ease;
}

.services__card-content h3 {
    color: var(--color-text);
    margin-bottom: 16px;
}

.services__card-content p {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-bottom: 16px;
}

.services__card:hover p {
    opacity: 1;
}

.services__card:hover .services__card-text {
    background-color: var(--color-secondary);
}

.services__card:hover .services__card-image::after {
    opacity: 0.2;
}

.services__card-price {
    display: flex;
    margin-top: auto;
    opacity: 1;
    cursor: pointer;
}

.services__card-price-main {
    background-color: var(--color-primary);
    padding: 16px 24px;
    position: relative;
    overflow: hidden;
}

.services__card-price-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.services__card-price-main span {
    position: relative;
    z-index: 2;
}

.services__card-price:hover .services__card-price-main::before {
    transform: translateX(0);
}

.services__card-price-main h3 {
    margin: 0;
    color: var(--color-text);
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.services__card-price-arrow {
    background-color: var(--color-secondary);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.services__card-price-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.services__card:hover .services__card-price-arrow svg {
    transform: rotate(-45deg);
}

.services__card:hover p {
    opacity: 1;
}

.services__card:hover .services__card-price-arrow:hover {
    background-color: #20291e;
}

.services__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px 60px;
    flex-wrap: wrap;
}

.services__header h2 {
    flex: 0 0 200px;
}

.services__header p {
    max-width: 600px;
    margin: 0;
}

.services__header .button {
    flex: 0 0 auto;
}

.services-second {
    overflow: hidden;
}

.services-second__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 60px;
}

.services-second__header-main {
    width: calc(50% - 30px);
}

.services-second__header-main h2 {
    margin-bottom: 24px;
}

.services-second__header-main p {
    margin: 0;
    max-width: 535px;
}

.services-second__header-item {
    width: calc(25% - 45px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-second__header-item h3 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.services-second__header-item h3::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--color-secondary);
}

.services-second__header-item p {
    margin: 0;
}

.services-second__content {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-top: 40px;
}

.services-second__button-container {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.services-second__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.services-second__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.services-second__image--taispakett,
.services-second__image--rajapakett {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.services-second__image-container.show-taispakett .services-second__image--taispakett,
.services-second__image-container.show-rajapakett .services-second__image--rajapakett {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.services-third__container {
    display: flex;
    gap: 60px;
}

.services-third__text {
    width: 50%;
}

.services-third__text h2 {
    margin-bottom: 24px;
}

.services-third__text p {
    margin: 0;
    max-width: 535px;
}

.services-third__card {
    width: 50%;
    position: relative;
    padding: 24px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.services-third__card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.services-third__card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.services-third__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: scale(1.1);
}

.services-third__card:hover .services-third__card-image img {
    transform: scale(1);
}

.services-third__card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-third__card-text {
    padding: 12px;
    margin: -12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: background-color 0.3s ease;
}

.services-third__card-content h3 {
    color: var(--color-text);
    margin-bottom: 16px;
}

.services-third__card-content p {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-bottom: 16px;
}

.services-third__card:hover p {
    opacity: 1;
}

.services-third__card:hover .services-third__card-text {
    background-color: var(--color-secondary);
}

.services-third__card:hover .services-third__card-image::after {
    opacity: 0.2;
}

.services-third__card-price {
    display: flex;
    margin-top: auto;
    cursor: pointer;
    opacity: 1;
}

.services-third__card-price-main {
    background-color: var(--color-primary);
    padding: 16px 24px;
    position: relative;
    overflow: hidden;
}

.services-third__card-price-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.services-third__card-price:hover .services-third__card-price-main::before {
    transform: translateX(0);
}

.services-third__card-price-main span {
    margin: 0;
    color: var(--color-text);
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.services-third__card-price-arrow {
    background-color: var(--color-secondary);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.services-third__card-price-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.services-third__card:hover .services-third__card-price-arrow svg {
    transform: rotate(-45deg);
}

.services-third__card:hover p {
    opacity: 1;
}

.services-third__card:hover .services-third__card-price-arrow:hover {
    background-color: #20291e;
}

.about__container {
    display: flex;
    gap: 60px;
}

.about__text {
    width: 50%;
    padding-right: 80px;
}

.about__text-content {
    position: relative;
    padding-block: 60px;
    padding-right: 60px;
    margin-bottom: 40px;
    background-color: var(--color-secondary);
}

.about__text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-100vw + 50%);
    width: 100vw;
    height: 100%;
    background-color: var(--color-secondary);
    z-index: -1;
}

.about__text-content h2 {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.about__text-content p {
    margin: 0;
    max-width: 535px;
    position: relative;
    z-index: 1;
    opacity: 1;
}

.about__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.about__social {
    display: flex;
    gap: 20px;
}

.about__social-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.about__social-item:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.about__social-item svg {
    width: 28px;
    height: 28px;
    fill: var(--color-text);
}

.about__features {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.about__feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.about__feature-circle {
    width: 30px;
    height: 30px;
}

.about__feature-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about__feature h3 {
    margin: 0;
}

.about__feature p {
    margin: 0;
    font-size: var(--font-size-body);
    max-width: 250px;
}

.partners__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.partners__title {
    text-align: center;
}

.partners__logos {
    position: relative;
    width: 100%;
    /* background-color: var(--color-secondary); */
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1100px;
}

.partners__logos::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent var(--color-primary) transparent;
    z-index: 3;
}

.partners__logo {
    max-width: 200px;
    height: auto;
}

.gallery {
    padding: 0;
}

.gallery__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 80px 40px 0;
    gap: 20px;
}

.gallery__header h2 {
    max-width: 500px;
}

.gallery__slider {
    position: relative;
    width: 100vw;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 50%;
    right: 50%;
    position: relative;
    transform: translateX(-50%);
}

.gallery__track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 40px;
}

.gallery__slide {
    flex: 0 0 350px;
    height: 550px;
}

.gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background-color 0.3s ease;
    z-index: 2;
}

.gallery__button--prev {
    left: 40px;
}

.gallery__button--next {
    right: 40px;
}

.gallery__button:hover {
    background-color: var(--color-primary);
}

.gallery__button svg {
    width: 24px;
    height: 24px;
}

.contact {
    position: relative;
    padding: 80px 0;
}

.contact__container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}

.contact__wrapper {
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.contact__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('images/img-m5-min.webp');
    background-size: cover;
    background-position: center;
}

.contact__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    opacity: 0.9;
    z-index: 1;
}

.contact__content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 120px;
}

.contact__info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact__info h2 {
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact__detail p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    text-transform: uppercase;
}

.contact__buttons {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.contact__buttons .button {
    background-color: var(--color-primary);
}

.contact__form-container {
    width: 50%;
}

.contact__form {
    background-color: var(--color-primary);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact__form-row {
    display: flex;
    gap: 24px;
}

.contact__form-row .contact__form-group {
    width: 50%;
}

.contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact__input {
    background-color: var(--color-primary);
    border: none;
    border-bottom: 1px solid var(--color-text);
    padding: 12px 16px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    width: 100%;
}

.contact__input::placeholder {
    color: var(--color-text);
    opacity: 0.6;
}

.contact__input:focus {
    outline: none;
}

.contact__input--textarea {
    min-height: 120px;
    resize: vertical;
}

.contact__error {
    color: #dc3545;
    font-size: 0.875rem;
    display: none;
}

.contact__input.error {
    border-color: #dc3545;
}

.contact__input.error + .contact__error {
    display: block;
}

.contact__form .button {
    align-self: flex-end;
}

.footer {
    padding-top: 80px;
    padding-bottom: 0;
}

.footer__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 60px;
}

.footer__header-main {
    width: calc(50% - 30px);
}

.footer__header-main h2 {
    margin-bottom: 24px;
}

.footer__header-main p {
    margin: 0;
    max-width: 350px;
}

.footer__header-item {
    width: calc(25% - 45px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__header-item h3 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.footer__header-item p {
    margin: 0;
}

.footer__bottom {
    padding: 30px 0;
    border-top: 1px solid var(--color-text);
}

.footer__bottom p {
    margin: 0;
    opacity: 0.6;
}

.services-second__button--rajapakett:hover ~ .services-second__image-container .services-second__image--rajapakett {
    opacity: 1;
}

.services-second__button--taispakett:hover ~ .services-second__image-container .services-second__image--taispakett {
    opacity: 1;
}

a {
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 1;
}

.footer__social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__social-list li {
    margin-bottom: 4px;
}

.footer__social-list li:last-child {
    margin-bottom: 0;
}

.footer__social-list a {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
}

@media screen and (max-width: 1200px) {
    .section {
        padding: 60px 0;
    }

    .section__container {
        padding: 0 20px;
    }

    .header__container {
        padding: 0 20px;
    }

    .header__nav-list {
        gap: 32px;
    }

    .header__nav-link {
        font-size: var(--font-size-h3-tablet);
    }

    .header__logo {
        font-size: var(--font-size-h3-tablet);
    }

    .hero__text {
        flex-direction: column;
        gap: 40px;
    }

    .hero__text-main {
        padding-right: 0;
    }

    .hero__text-side {
        flex-direction: row;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 40px;
    }

    .hero__tagline {
        margin-bottom: 0;
        padding-right: 0;
        padding-left: 20px;
        border-right: none;
        border-left: 5px solid var(--color-secondary);
        text-align: left;
        padding-bottom: 0;
        max-width: 350px;
    }

    .services__cards {
        gap: 40px;
    }

    .services__card {
        width: calc(50% - 20px);
    }

    .services-second__header {
        flex-direction: row;
        gap: 60px;
    }

    .services-second__header-main {
        width: 100%;
    }

    .services-second__header-items {
        display: flex;
        gap: 60px;
        width: 100%;
    }

    .services-second__header-item {
        width: calc(50% - 30px);
    }

    .about__container {
        flex-direction: column;
        gap: 60px;
    }

    .about__feature p {
        max-width: 350px;
    }

    .about__text {
        width: 100%;
        padding-right: 0;
    }

    .about__features {
        width: 100%;
    }

    .contact__content {
        flex-direction: column;
    }

    .contact__content {
        gap: 60px;
    }

    .contact__form-container {
        width: 100%;
    }

    .contact__info {
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    .hero__numbers {
        flex-direction: column;
        gap: 40px;
    }

    .hero__numbers-title {
        flex: 0 0 auto;
    }

    .hero__numbers-stats {
        flex: 0 0 auto;
        width: 100%;
        justify-content: space-between;
    }

    .services-second__content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 80px 40px;
        margin-top: 0;
    }

    .services-second__button-container {
        width: calc(50% - 20px);
        display: flex;
        justify-content: space-between;
    }

    .services-second__button-container .button {
        width: fit-content;
    }

    .services-second__image-container {
        order: 2;
        width: 100%;
    }

    .gallery__slide {
        flex: 0 0 300px;
        height: 375px;
    }

    .footer__header-main {
        width: 100%;
    }

    .footer__header-item {
        width: calc(50% - 30px);
    }

    .hero__numbers {
        padding: 20px;
    }

    .contact__wrapper {
        padding: 40px;
    }
}

@media screen and (max-width: 530px) {
    .hero__numbers-stats {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
    }

    .gallery__button {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .services-second__content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
    }

    .services-second__image-container {
        margin-top: 40px;
    }

    .services-second__header-main {
        margin-bottom: 40px;
    }

    .contact__buttons {
        flex-direction: column;
        gap: 10px;
    }

    .gallery__button--prev {
        left: auto;
        right: 90px;
    }

    .gallery__button--next {
        right: 20px;
    }

    .about__features {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__feature {
        width: 100%;
    }

    .about__feature p {
        max-width: 100%;
    }

    .contact__wrapper {
        padding: 60px 10px;
    }

    .contact__form-row {
        flex-direction: column;
        gap: 24px;
    }

    .contact__form-row .contact__form-group {
        width: 100%;
    }

    .contact__form {
        padding: 40px 20px;
    }

    .hero__image {
        height: 350px;
    }

    .services-second__header {
        flex-direction: column;
        gap: 40px;
    }

    .services-second__header-main {
        width: 100%;
    }

    .services-second__header-item {
        width: 100%;
    }
    
    .gallery__slide {
        flex: 0 0 250px;
        height: 300px;
    }
}

@media screen and (max-width: 650px) {
    .services__cards {
        flex-direction: column;
        gap: 40px;
    }

    .services__card {
        width: 100%;
        padding: 0;
        min-height: unset;
    }

    .services__card-image {
        display: block;
        position: relative;
        width: 100%;
    }

    .services__card-image img {
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }

    .services__card-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        opacity: 0.4;
        z-index: 1;
    }

    .services__card-content {
        background-color: var(--color-secondary);
        position: relative;
        width: 100%;
        padding: 20px;
        z-index: 2;
        margin-top: -6px;
    }

    .services__card-text {
        opacity: 1;
    }

    .services__card-text p {
        opacity: 1;
    }

    .services__card-price {
        position: absolute;
        bottom: 100%;
        right: 10px;
        margin-bottom: 10px;
        z-index: 3;
    }

    .partners__title {
        text-align: left;
    }

    .partners__logos {
        flex-direction: column;
        gap: 40px;
    }

    .about__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .services-third__container {
        flex-direction: column;
        gap: 40px;
    }

    .services-third__text {
        width: 100%;
    }

    .services-third__card {
        width: 100%;
        padding: 0;
    }

    .services-third__card-image {
        display: block;
        position: relative;
        width: 100%;
    }

    .services-third__card-image img {
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }

    .services-third__card-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        opacity: 0.4;
        z-index: 1;
    }

    .services-third__card-content {
        background-color: var(--color-secondary);
        position: relative;
        width: 100%;
        padding: 20px;
        z-index: 2;
        margin-top: -6px;
    }

    .services-third__card-text {
        opacity: 1;
    }

    .services-third__card-text p {
        opacity: 1;
    }

    .services-third__card-price {
        position: absolute;
        bottom: 100%;
        right: 10px;
        margin-bottom: 10px;
        z-index: 3;
    }
}

.services-second__container {
    position: relative;
}

.oval-blur {
    position: relative;
}

.oval-blur::before {
    content: '';
    position: absolute;
    max-width: 600px;
    width: 100%;
    height: 200px;
    background-color: var(--color-text);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@media screen and (max-width: 768px) {
    .header__nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid var(--color-text);
    }

    .header__nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header__mobile-menu {
        display: block;
    }

    .header__nav-item {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .header__nav-list.active .header__nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .header__nav-item:nth-child(1) { transition-delay: 0.1s; }
    .header__nav-item:nth-child(2) { transition-delay: 0.2s; }
    .header__nav-item:nth-child(3) { transition-delay: 0.3s; }
    .header__nav-item:nth-child(4) { transition-delay: 0.4s; }

    .header__nav-link {
        display: block;
        padding: 10px 0;
    }

    .header__logo-image {
        height: 32px;
    }

    .hero {
        margin-top: 0;
    }
}

.section-divider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.section-divider__image {
    width: 100%;
    max-width: 1800px;
    height: auto;
    display: block;
    min-width: 1000px;
}

.section-divider__car {
    position: absolute;
    width: clamp(50px, 5vw, 80px);
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}