html {
    scroll-behavior: smooth;
}

body {
    height: auto;
    min-height: 200vh;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
    background-color: #000; 
    color: #fff;
    font-family: 'Raleway'; 
}

p {
    font-family: 'Roboto';
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: padding 0.4s ease-in-out, background-color 0.4s ease-in-out;
    z-index: 1000;
}

.header.small {
    padding: 10px 20px; 
    background-color: rgba(0, 0, 0, 0.9); 
}

.header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.header .logo {
    font-size: 108px;
    font-weight: bold;
    transition: font-size 1.2s ease;
    white-space: nowrap;
}

.header.small .logo {
    font-size: 40px;
}

.header .nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
    font-weight: bold;
}

.header .nav a:hover {
    color: #8acac9;
}

.nav {
    display: flex;
    gap: 20px;
    transition: font-size 0.3s ease, padding 0.3s ease;
    position:relative;
    top: 150px;
    right: 125px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px; 
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #8acac9; 
}


.header.small .nav {
    gap: 15px;
}

.header.small .nav a {
    font-size: 14px; 
    font-weight: bold;
    padding: 8px 10px;
    position: relative;
    bottom: 150px;
}

.background-video {
	position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: -1;
}

section {
    margin: 100px 300px;
    padding: 20px; 
    border-radius: 8px;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.animate-on-scroll p {
    font-size: 16px;  
    line-height: 1.6;  
    color: #FFF;  
    margin-bottom: 20px;  
}

.animate-on-scroll h2 {
    font-size: 24px;  
    color: #FFF;  
    margin-bottom: 20px;  
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes rollIn {
    from {
        transform: translateX(-100px) rotate(-360deg);
        opacity: 0;
    }
    to {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

@keyframes rollOut {
    from {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    to {
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.slide-in-left {
    animation: slideInFromLeft 0.5s forwards;
}

.slide-in-right {
    animation: slideInFromRight 0.5s forwards;
}

.slide-out-left {
    animation: slideOutToLeft 0.5s forwards;
}

.slide-out-right {
    animation: slideOutToRight 0.5s forwards;
}

.clientList {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 125px;
    padding: 20px;
    max-width: 950px;
    margin: auto;
    place-items: center;
}

.clientList img {
    width: 100%;
    height: auto;
    z-index: 1;
    opacity: 0; 
    transition: transform 0.3s ease, opacity 0.5s ease-out; 
}


.clientList img.in-view {
    animation: rollIn 0.8s forwards;
    opacity: 1; 
}

.clientList img.out-of-view {
    animation: rollOut 0.8s forwards;
    opacity: 0; 
}


.clientList img:hover {
    transform: scale(1.1) rotate(10deg); 
}


.clients-section {
    text-align: center;
    margin-bottom: 30px;
}


.clients-section hr {
    width: 60px; 
    height: 4px; 
    background-color: #8acac9;
    border: none; 
    margin: 0 auto 10px; 
    transition: width 0.3s ease; 
}

.clients-section h2 {
    font-size: 55px; 
    color: white; 
    font-weight: bold;
    letter-spacing: 2px; 
    margin-top: 10px; 
    position: relative;
    transition: color 0.3s ease; 
}


.clients-section:hover hr {
    width: 200px;
}


.hero-section {
    color: #F6F6F6;
    padding: 80px 20px;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-top: 700px;
    padding-bottom: 500px;
}


.hero-line h2 {
    font-size: 4rem;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #F6F6F6;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; 
}


.hero-accent {
    color: #4DD0E1; 
}


.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.6;
    color: #B0B0B0; 
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0; 
}


.hero-arrow {
    margin-top: 30px;
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0; 
}

.hero-arrow svg {
    width: 40px;
    height: 40px;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.videoBanners {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 10px;
    margin-bottom: -150px;
}


.videoBannerContainer {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.video-banner {
	position: relative;
    width: 100%;
    height: 800px;
    object-fit: cover;
    border-radius: 8px;
    z-index: -1;
    transform: translateY(-5px);
    transition: transform 0.3s ease-out;
}

.videoBannerContainer:hover .video-banner {
    transform: translateY(0);
}

.overlay-content {
    position: relative;
    bottom: 525px;
    left: 44px;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    width: 80%;
}


.bannerHeader {
    font-size: 2.5rem; 
    font-weight: 700;
    color: #8acac9; 
    margin-bottom: 10px;
}


.bannerDescription {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
}


.bannerButton {
    background-color: #8acac9;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.bannerButton:hover {
    background-color: #6fa2a1;
    transform: translateY(-3px);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}


.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #8acac9; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


body.loading #main-content {
    opacity: 0;
    overflow: hidden;
}


.site-footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 150px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.footer-column.active {
    opacity: 1;
    transform: translateY(0);
}

.footer-column h3 {
    font-size: 1.5rem;
    color: #8acac9;
    margin-bottom: 15px;
}

.footer-column p, .footer-column ul, .footer-column li {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin: 8px 0;
}

.footer-column a {
    color: #8acac9;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}


.footer-logo {
    margin-top: 20px;
}

.footer-logo img {
    width: 150px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

