@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html[data-lang-loading="true"] {
  visibility: hidden;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: clamp(14px, 2vw, 16px); 
}

body {
    margin: 0;
    overflow-y: auto;
    font-family: 'Montserrat', sans-serif;
}

.slide-content {
    position: relative;
    height: 100%;
}

.content-limit {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 2rem; 
}

.arrows-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(0.5rem, 2vw, 1rem); 
    z-index: 1000;
}

.header.hidden, .mobile-header.hidden {
    top: -8rem; 
}

.mobile-header{
    display: none;
}

.m-nav{
    display: none;
}

/* Logo */
.logo img {
    height: clamp(4rem, 8vw, 6rem); 
    display: block;
    justify-content: center;
    text-align: center;
    margin-right: clamp(2rem, 6vw, 8rem);
}

/* Navigation bar  */
.nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: clamp(0.5rem, 5vw, 7rem);   
}

.nav-list li {
    position: relative;
    margin: 0 1rem;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-size: clamp(0.8rem, 0.8vw, 1.2rem);
    transition: color 0.3s;    
}

.nav-list > li > a:hover {
    border-bottom: clamp(0.15rem, 0.4vw, 0.3rem) solid #357ABD;
    padding-bottom: clamp(0.2rem, 1.3vw, 2rem);
}

/* Subnavigation  */
.subnav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + clamp(0.15rem, 1.45vw, 2.5rem));
    left: 0;
    background-color: #fff;
    box-shadow: 0 clamp(0.1rem, 0.2vw, 0.25rem) clamp(0.3rem, 0.4vw, 0.5rem) rgba(0, 0, 0, 0.1);
    min-width: clamp(15rem, 17vw, 24rem);
    min-height: clamp(10rem, 15vw, 22rem); 
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
    padding: clamp(1rem, 2vw, 1.5rem); 
}

.has-subnav {
    position: relative; 
}

.has-subnav:hover .subnav {
    display: grid;
    opacity: 1;
    visibility: visible;
}

.subnav li {
    list-style: none;
    margin: 0;
    padding-inline: clamp(0.5rem, 0.8vw, 1.25rem);
    padding-block: clamp(0.5rem, 1.2vw, 1.25rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subnav li:nth-child(odd) {
    border-right: clamp(0.05rem, 0.2vw, 0.12rem) solid #c4c1c1;
}

.subnav li:not(:nth-last-child(-n+2)) {
    border-bottom: clamp(0.05rem, 0.2vw, 0.12rem) solid #c4c1c1;
}

.subnav li a {
    font-size: clamp(0.8rem, 0.8vw, 1.2rem);
    display: block;
    color: #333;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.subnav li a:hover {
    color: #007bff;
    border: none;
}

.subnav [class*="fa-"] {
    font-size: clamp(1rem, 1.8vw, 4rem);
    color:  #769fc7;
    margin-bottom: clamp(0.3rem, 0.8vw, 0.5rem); 
}

/* Language Switcher */
.languageSwitcher {
    display: flex;
    align-items: center; 
    border-bottom: clamp(0.1rem, 0.3vw, 0.5rem) solid transparent;
    padding-bottom: clamp(2rem, 2.5vw, 5rem);
    padding-left: clamp(0.8rem, 2vw, 1.5rem);
    position: relative;
}

.languageSwitcher:hover {
    border-bottom-color: #357ABD; 
}

#languageToggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.5rem); 
    cursor: pointer;
    padding: 0 clamp(0.3rem, 0.8vw, 0.5rem);
    transition: color 0.3s, border-bottom-color 0.3s;
    display: flex;       
    align-items: center;      
    transform: translateY(clamp(20px, 1.4vw, 50px)); 
}

#languageToggle:hover {
    color: #357ABD;
}

.languageSwitcher.has-subnav:hover .subnav,
.languageSwitcher .subnav:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

.languageSwitcher .subnav {
    display: none;
    position: absolute;
    top: 105%;
    right: 0;
    left: auto;
    padding: clamp(0.5rem, 1.5vw, 1rem);
    background-color: #fff;
    box-shadow: 0 clamp(0.08rem, 0.2vw, 0.12rem) clamp(0.2rem, 0.4vw, 0.3rem) rgba(0, 0, 0, 0.1);
    min-width: clamp(6rem, 8vw, 20rem);
    min-height: 8rem; 
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    transition: opacity 0.3s, visibility 0.3s;
}

.languageSwitcher .subnav li {
    padding: 0;
    margin: 0;
    border: none;
}

.languageSwitcher .subnav li:last-child {
    border-bottom: none;
}

.languageSwitcher .subnav .lang-option {
    display: block;
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem); 
    text-decoration: none;
    font-size: clamp(0.8rem, 0.8vw, 1rem); 
    text-align: left;
    transition: color 0.3s ease, background-color 0.3s ease;
    width: 100%;              
    box-sizing: border-box;   
}

.languageSwitcher .subnav .lang-option:hover {
    color: #007bff;
}

.languageSwitcher .subnav .lang-option.active {
    color: #357ABD;
    font-weight: 600;
}

/* Footer  */
footer {
    background-color: #003366; 
    color: #ffffff; 
    padding: clamp(1rem, 1vw, 3rem) 0; 
    text-align: center; 
    border-top: clamp(1px, 0.2vw, 2px) solid #ffd700; 
    width: 100%;
}

.footer-nav {
    list-style-type: none; 
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: clamp(2rem, 6vw, 6rem); 
}

.footer-nav li {
    font-size: clamp(0.8rem, 1.5vw, 1rem); 
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; 
}

.footer-nav a:hover {
    color: #ffd700; 
    transform: translateY(-2px); 
}

.footer-nav img {
    max-height: clamp(50px, 8vw, 80px); 
    width: auto; 
    display: block; 
    transition: color 0.3s ease, transform 0.3s ease; 
}

.footer-nav img:hover{
    transform: scale(1.2);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: clamp(0.8rem, 2vw, 1.25rem); 
    right: clamp(0.8rem, 2vw, 1.25rem);
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: clamp(3rem, 6vw, 4.3rem); 
    height: clamp(3rem, 6vw, 4.3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
    flex-direction: column;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.fa-arrow-up {
    font-size: clamp(1rem, 2vw, 1.5rem); 
    color: rgba(255, 255, 255, 0.8);
    padding-bottom: clamp(0.2rem, 0.4vw, 0.3rem); 
}

.scroll-to-top span{
    font-size: clamp(0.7rem, 0.9vw, 1.5rem); 
}

