/* Font imports */
@font-face {
    font-family: 'Helvetica Now Text';
    src: url('../webfonts/HelveticaNowText-Bold.woff2') format('woff2'),
         url('../webfonts/HelveticaNowText-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('../webfonts/HelveticaNowText-Medium.woff2') format('woff2'),
         url('../webfonts/HelveticaNowText-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Base styles */
body {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.8;
    min-height: 100vh;
}

.main-container {
    position: relative;
    width: 1440px;
    margin: 0 auto;
    padding: 480px 120px 40px 120px;
    min-height: 2982px;
    background: #FFFFFF;
    z-index: 2;
    margin-top: 100vh;
}

/* Typography */
h2 {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-weight: 700;
    font-size: 65px;
    line-height: 50px;
    letter-spacing: -0.04em;
    color: #000000;
    margin: 0;
}

.title {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: -0.03em;
    color: #000000;
    margin: 0 0 6px 0;
    cursor: pointer;
    transition: opacity 0.5s ease-in-out;
}

.description {
    font-weight: 400;
    font-size: 25px;
    line-height: 36px;
    max-height: 1000px;
    opacity: 1;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    margin-bottom: 40px;
}

.description.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

/* Logo */
.logo-vertical {
    position: fixed;
    top: 20px;
    right: 20px;
    height: 310px;
    z-index: 1000;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
}

footer p, footer a {
    font-size: 1.2em;
    margin: 5px 0;
    color: #444;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .social img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .main-container {
        width: 100%;
        padding: 480px 60px 40px 60px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 120px 20px 40px 20px;
    }
    
    h2 {
        font-size: 45px;
        line-height: 40px;
        margin-bottom: 30px;
    }
    
    .title {
        font-size: 25px;
        line-height: 30px;
    }

    .description {
        font-size: 20px;
        line-height: 30px;
    }

    /* Force single column layout */
    .col-md-5, .col-md-offset-1 {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }

    /* Adjust spacing */
    .row {
        margin-bottom: 80px;
    }

    /* Adjust logo size */
    .logo-vertical {
        height: 200px;
    }

    /* Adjust language selector */
    .language-selector {
        top: 15px;
        left: 15px;
        font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
        font-weight: 700;
        font-size: 18px;
        padding: 8px 16px;
    }
}

/* Add styles for very small screens */
@media (max-width: 480px) {
    h2 {
        font-size: 35px;
        line-height: 35px;
    }

    .title {
        font-size: 22px;
        line-height: 28px;
    }

    .description {
        font-size: 18px;
        line-height: 28px;
    }

    .logo-vertical {
        height: 150px;
    }
}

/* Add spacing between rows */
.row {
    margin-bottom: 150px;
}

.desk-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
}


.language-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-weight: 700;
    font-size: 20px;
    background-color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 4px;
}

.language-selector .lang-btn {
    color: #000;
    text-decoration: none;
    padding: 5px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.language-selector .lang-btn.active {
    opacity: 1;
}

.language-selector span {
    color: #000;
    opacity: 0.5;
    margin: 0 5px;
}

/* Add these styles */
.mission-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/mission.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    background-color: #FFFFFF;
}

/* Add the down arrow styles */
.scroll-arrow {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: #000;
    cursor: pointer;
    z-index: 1000;
    opacity: 0.5;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}