/* Reset default margin and box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.footer-section {
    scroll-snap-align: none;
    background: #000000;
    color: #FFFFFF;
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Left Column - Company Information + Logo */
.footer-left-column {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex: 0 0 auto;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    height: 45px;
}

.footer-logo-image {
    width: 154px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-company-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.footer-select-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-group {
    margin-top: -20px;
    display: flex;
    gap: 10px;
    width: auto;
}
.footer-group-item{
    display: flex;
    align-items: center;
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.302);
}
.footer-group-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.footer-company-info-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-company-info-label {
    min-width: 160px;
}
.footer-select-container-item {
    height: 45px;
    width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.302);
}
.footer-select-container-item select {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    color: #FFFFFF;
    padding-left: 20px;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.footer-select-container-item select:focus {
    outline: none;
}
/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
    border: none;
    outline: none;
}

.custom-dropdown-text {
    font-size: 16px;
    line-height: 1.2;
    color: #FFFFFF;
}

.custom-dropdown-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.custom-dropdown-arrow path {
    stroke: rgba(255, 255, 255, 0.3);
}

.custom-dropdown-options {
    display: none;
    position: absolute;
    bottom: 100%;
    left: -1px;
    right: 0;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 1);
    z-index: 1000;
    max-height: 200px;
    width: 160px;
    overflow-y: auto;
}

.custom-dropdown-option {
    padding: 15px 20px;
    height: 50px;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.302); */
    display: flex;
    align-items: center;
    font-size: 15px;
    transition: background-color 0.2s ease;
    width: 100%;
}

.custom-dropdown-option:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* Hide original select */
.footer-select-container-item select {
    display: none;
}

.footer-company-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0;
    min-height: 23px;
    color: rgba(192, 192, 194, 1);
    margin: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
}

.footer-site-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    flex: 1;
}

.footer-site-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-header-text {
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0px;
    height: 21px;
}

.footer-menu-items {
    gap: 10px;
    display: flex;
    justify-content: space-between;
}

.footer-menu-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    align-items: start;
}

.footer-menu-column {
    display: flex;
    gap: 32px;
}

.footer-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0.04rem;
    height: 23px;
    transition: color 0.3s ease;
}

.footer-menu-item:hover {
    color: #C0C0C2;
}

.footer-privacy-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.footer-privacy-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0.04rem;
    transition: color 0.3s ease;
}

.footer-privacy-link:hover {
    color: #FFFFFF;
}

.footer-privacy-icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex-shrink: 0;
}

.footer-privacy-text {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Copyright Section */
.footer-copyright-section {
    padding: 10px 0;
    background: transparent;
    width: 100%;
    text-align: center;
}

.footer-copyright-text {
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.04rem;
    color: #C0C0C2;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1439px) and (min-width: 1024px) {
    .footer-section {
        padding: 40px 64px;
    }
    .footer-container {
        max-width: 896px;
    }

    .footer-menu-column {
        gap: 24px;
    }

    .footer-company-info {
        max-width: 896px;
    }

        .footer-company-info-container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-company-text {
        white-space: nowrap;
    }
}


@media (max-width: 1023px) and (min-width: 768px) {
    .footer-section {
        padding: 32px 64px;
    }
    
    .footer-header-text {
        font-size: 18px;
    }
    .footer-container {
        max-width: 640px;
    }

    .footer-main-content {
        height: 481px;
    }

    .footer-company-text,
    .footer-menu-item,
    .footer-copyright-text {
        font-size: 15px;
    }

    .footer-company-text {
        white-space: normal;
    }

    .footer-privacy-link,
    .footer-privacy-text {
        font-size: 14px;
    }
    .footer-logo-image {
        width: 154px;
        height: 45px;
    }
    .footer-left-column {
        max-width: 688px;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-menu-columns {
        gap: 10px;
    }
    
    .footer-menu-items {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-company-info {
        gap: 16px;
        width: 100%;
    }

    .footer-menu-column {
        flex-wrap: wrap;
        width: 100%;
        column-gap: 0px;
        row-gap: 12px;
    }
    .footer-menu-column .footer-menu-item {
        width: 33.33%;
    }
    .footer-privacy-links {
        flex-wrap: wrap;
        width: 100%;
        column-gap: 10px;
        row-gap: 12px;
        justify-content: flex-start;
    }
    .footer-privacy-link {
        min-width: calc(33.33% - 10px);
        justify-content: flex-start;

    }

    .footer-company-info-container {
        gap: 12px;
        flex-direction: column;
        flex-wrap: wrap;

    }
    .footer-select-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-group {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .footer-section {
        padding: 32px 16px;
    }

    .footer-header-text {
        font-size: 16px;
    }
    .footer-menu-item {
        letter-spacing: 0.04rem;
        font-size: 15px;
    }
    .footer-company-text,
    .footer-copyright-text {
        font-size: 15px;
        letter-spacing: 0;
    }

    .footer-company-text {
        white-space: pre-line;
        line-height: 23px;
    }

    .footer-privacy-link,
    .footer-privacy-text {
        font-size: 14px;
    }
    .footer-logo-image {
        width: 154px;
        height: 45px;
    }
    .footer-left-column {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-menu-items {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    .footer-company-info {
        gap: 16px;
        width: 100%;
    }
    .footer-menu-column {
        flex-wrap: wrap;
        width: 100%;
        column-gap: 0px;
        row-gap: 12px;
    }
    .footer-menu-column .footer-menu-item {
        width: 33.33%;
    }
    
    
    .footer-privacy-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-company-info-container {
        gap: 8px;
        flex-direction: column;
    }
    .footer-company-details {
        gap: 8px;
    }
    .footer-select-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-group {
        margin-top: 24px;
    }
}

@media (max-width: 500px) {
    .footer-privacy-links {
        gap: 20px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer-section {
        background: #000000;
    }
}
