html {
    font-size: 1rem;
}

body {
    margin: 0;
    padding: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

.container {
    align-items: center;
    justify-content: space-between;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.header-container {
    display: flex;
    height: 7.778vh;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom: 1px solid #BEBEBE;
    padding-bottom: 1.852vh;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    margin: 2.222vh 6.667vw 13.667vh 2.757vw;
    width: 28.524vw;
    height: 4.444vh;
    cursor: pointer;
}

.logo-text-div .logo-img {
    width: 2.406vw;
    height: 4.444vh;
    display: flex;
    align-items: center;
}

.logo-text-div .logo-text {
    width: 25.556vw;
    height: 4.444vh;
    margin: 0 0 0 0.563vw;
    font-family: Jura;
    font-size: 150%;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    display: flex;
    align-items: center;
    letter-spacing: normal;
    text-align: left;
    color: #222222;
}

.nav {
    height: 4.444vh;
    width: 32.222vw;
    margin: 2.222vh 6.702vw 13.667vh 6.666vw;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    justify-content: center;
    display: flex;
    align-items: center;
    letter-spacing: normal;
    text-align: left;
}

.nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 2.222vw;
}

.nav a {
    text-decoration: none;
    color: #222222;
}

.nav .selected {
    border-bottom: 3px solid #222222;
    padding-bottom: 3.3vh;
}

.language-switcher-wrapper {
    margin-top: 2.222vh;
    position: relative;
    display: inline-block;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
}

/* Styled like a select + arrow */
.language-select {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    color: white;
    padding: 8px 36px 8px 16px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
}

.language-select:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.language-options {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.language-options li {
    padding: 10px 16px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.language-options li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-options.visible {
    display: block;
}

.header-button {
    border: none;
    width: 12.5vw;
    height: 6.667vh;
    margin: 1.111vh 2.757vw 0 2.222vw;
    border-radius: 4px;
    background-color: #222222;
    flex-grow: 0;
    font-family: Inter;
    font-size: 112.5%;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    display: flex;
    align-items: center;
    letter-spacing: normal;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.111vw;
}

.projects h2{
    width: 32.014vw;
    height: 7.333vh;
    margin: 10.222vh 0 8.889vh 2.778vw;
    font-family: Jura;
    font-size: 400%;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.03;
    letter-spacing: normal;
    text-align: left;
    color: #222;
}

.projects .project-grid {
    display: flex;
    flex-direction: column;
    margin: 8.889vh 2.778vw 22.222vh 2.778vw;
    gap: 200px;
}

/* Card 1 */
.card1 {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 100px;
    margin-right: 30px;
}

/* Card 2 */
.card2 {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 100px;
    margin-left: 30px;
}

.card-img img {
    border-radius: 10px;
    width: 4200px;
    height: 500px;
}

/* Card 3 */
.card3 {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 100px;
    margin-left: 30px;
    padding-bottom: 50px;
}

.card4 {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 100px;
    margin-left: 30px;
    padding-bottom: 50px;
}

.card-img {
    display: flex;
    border-radius: 10px;
    width: 800px;
    height: 500px;
    /* overflow: hidden; */
}

.card-img4 {
    display: flex;
    border-radius: 10px;
    width: 800px;
    height: 550px;
    /* overflow: hidden; */
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: space-between;
}

.title-text {
    width: 100%;
    border-bottom: 1px solid #BEBEBE
}

.card-info h5 {
    margin: 0px;
    margin-bottom: 20px;
    font-family: Roboto;
    font-size: 18px;
    color: #737373;
    font-weight: 400;
}

.card-info h4 {
    font-family: Roboto;
    font-size: 28px;
    font-weight: 500;
}

.card-info span {
    font-family: Roboto;
    font-weight: 400;
    font-size: 18;
    line-height: 21.09px;
}

.projects .project-card h3{
    width: 15.764vw;
    height: 16.444vh;
    margin: 0 6.042vw 0 2.778vw;
    font-family: Roboto;
    font-size: 175%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.32;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
}

.projects .project-card-group {
    display: flex;
    margin-top: 4.444vh;
    margin-bottom: 15.333vh;
    transition: opacity 0.3s ease; 
}

.project-card-group p {
    width: 3.194vw;
    height: 4.111vh;
    margin: 0 0 0 0;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.85;
    letter-spacing: normal;
    text-align: right;
    color: #fff;
}

.projects .client-text {
    width: 4.097vw;
    height: 4.111vh;
    margin: 0 0 0 2.778vw;
    font-family: Roboto;
    font-size: 87.5%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 2.64;
    letter-spacing: normal;
    text-align: left;
    transition: opacity 0.3s ease; 
    color: #bebebe;
}

.projects .client {
    height: 4.111vh;
    margin: 0 2.778vw 0 2.778vw;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.85;
    letter-spacing: normal;
    text-align: left;
    transition: opacity 0.3s ease; 
    color: #fff;
}

.projects .project-card img {
    width: 1.5em;
    height: auto;
    margin-left: 0.5em;
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}

.visible {
    animation: fadeIn 1.5s ease forwards;
}

.client img {
    float: right;
    margin-top: 2.333vh;
}

.contact-overlay {
    width: 100vw;
    height: 100vh;
    background-image: url('/assets/img/contactBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: scroll;
}

.contact-overlay .contact-us {
    position: relative;
    height: 57.889vh;
    margin-bottom: 4.444vh;
}

.contact-overlay h2 {
    position: absolute;
    bottom: 0;
    width: 49.167vw;
    margin: 0 25.417vw;
    font-family: Jura;
    font-size: 400%;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.27;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
}

.contact-button {
    border: none;
    width: 12.5vw;
    height: 6.667vh;
    margin: 10.444vh 43.75vw 0;
    padding: 1.333vh 1.736vw;
    border-radius: 4px;
    background-color: #fff;
    flex-grow: 0;
    font-family: Inter;
    font-size: 112.5%;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    display: flex;
    align-items: center;
    letter-spacing: normal;
    text-align: center;
    color: #272727;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.111vw;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90vw;
    height: 90vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Initially hidden */
.overlay.sasuke {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Active state */
.overlay.naruto {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Overlay content */
.overlay .overlay-div {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 8.06vh 5.161vw 10.076vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: solid 2px #bebebe;
    border-radius: 10px;
    width: 90.968vw;
    height: 75.567vh;
}

/* .overlay .overlay-div {
    display: none;
    flex-direction: column;
    width: 90.968vw;
    height: 75.567vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 8.06vh 5.161vw 10.076vh;
    border: solid 2px #bebebe;
} */

.overlay-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.overlay-header span {
    cursor: pointer;
}

.overlay-header-button {
    color: black;
    font-family: Inter;
    font-size: 100%;
    font-weight: 500;
    margin-top: 30px;
}

.overlay h2 {
    width: 23.952vw;
    height: 4.912vh;
    margin-bottom: 8.06vh;
    font-family: Inter;
    font-size: 200%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #242c3b;
}

.overlay .contact-info {
    display: grid;
    grid-template-columns: 35.484vw 35.484vw;
    grid-template-rows: 6.423vh 6.423vh 6.423vh;
    grid-column-gap: 9.677vw;
    grid-row-gap: 4.03vh;
    font-family: Inter;
    font-size: 100%;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #bebebe;
}

.overlay .contact-info input {
    width: 35.484vw;
    height: 6.423vh;
    border: none;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}

.overlay .contact-info input:focus {
    border-bottom: 3px solid #333;
    outline: none;
}

.overlay .com textarea {
    width: 35.484vw;
    height: 14.484vh;
    border: none;
    padding: 0;
    line-height: 32px;
    resize: none;
    box-sizing: border-box;
    font-size: 100%;
    background-image: linear-gradient(to bottom, transparent 28.8px, #ccc 28.8px, #ccc 32px, transparent 32px);
    background-size: 100% 30px;
    background-repeat: repeat-y;
    font-family: Inter;
    font-size: 100%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.overlay .com textarea:focus {
    outline: none;
    background-image: linear-gradient(to bottom, transparent 28.8px, #333 28.8px, #333 32px, transparent 32px);
}

.overlay .commentary {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: Inter;
    font-size: 100%;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.commentary .com {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin: 0 0 0 0;
}

.overlay .btndiv {
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 100%;
}

.overlay button {
    width: 24.194vw;
    height: 5.038vh;
    border-radius: 8px;
    background-color: #242c3b;
    color: #FFFFFF;
    margin: 0 11.271vw 0 0;
    font-family: Inter;
    font-size: 93.75%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.footer {
    width: 100vw;
    height: 108.333vh;
    background-color: #242C3B;
    /* Background color of the footer */
    color: #fff;
    /* Text color */
    font-family: 'Roboto', sans-serif;
}

.footer .container {
    display: flex;
    height: 86.333vh;
    flex-direction: column;
    justify-content: flex-start;
}

.footer .upper-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 17.778vh 3.681vw 10.778vh 2.778vw;
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26.458vw;
    height: 11.333vh;
    margin-right: 36.528vw;
}

.footer .footer-logo img {
    width: 5.629vw;
    height: 6.5vw;
    margin-right: 1.107vw;
}

.footer .footer-logo span {
    width: 19.722vw;
    height: 11.333vh;
    font-size: 200%;
    font-weight: bold;
    font-family: Jura;
    line-height: 1.59;
}

.footer .newsletter {
    width: 30.556vw;
    height: 11.222vh;
}

.footer .newsletter h3 {
    width: 22.917vw;
    height: 4vh;
    margin: 0 0 1.667vh 0;
    font-size: 125%;
    font-family: Roboto;
    font-weight: 500;
    line-height: 1.8;
}

.footer .newsletter form {
    padding-right: 0.26vw;
    display: flex;
    align-items: center;
    border-bottom: 2px solid white;
    width: 100%;
}

.footer .newsletter input[type="email"] {
    flex: 1;
    height: 4vh;
    margin-bottom: 1.556vh;
    padding: 0;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    line-height: 1.8;
    border: none;
    background-color: transparent;
    outline: none;
    color: white;
}

.footer .newsletter button {
    height: 4vh;
    padding: 0;
    background-color: transparent;
    color: #fff;
    border: none;
}

.footer .newsletter button img {
    width: 40px;
}

.footer .newsletter button:hover {
    background-color: #e67e22;
}

.footer .lower-row {
    width: 100vw;
    margin-bottom: 8.556vh;
}

.footer .contact-data {
    margin-left: 65.764vw;
    width: 32.681vw;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.8;
    letter-spacing: normal;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
}

.footer .footer-links {
    display: grid;
    margin-left: 65.764vw;
    width: 23.681vw;
    grid-template-columns: 7.361vw 7.361vw;
    grid-template-rows: 4vh 4vh;
    grid-column-gap: 8.75vw;
    grid-row-gap: 2.222vh;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.8;
    letter-spacing: normal;
}

.footer .footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer .footer-links a:hover {
    color: #f39c12;
}

.footer .lowest-row {
    display: flex;
    width: 100%;
    height: 44px;
}

.footer .social-links {
    display: flex;
    flex: 1;
    margin: 0 0 9.556vh 2.778vw;
    gap: 1.389vw;
}

.footer .social-links img {
    width: 44px;
    height: 44px;
}

.footer .lowest-row span {
    margin-right: 2.778vw;
    font-family: Roboto;
    font-size: 125%;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.8;
    text-align: center;
    letter-spacing: normal;
    color: #fff;
}