@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Heebo:wght@100..900&display=swap');


:root {
    --background-dark: #464080;
    --background-bright: #406280;

    --primary-accent: #FFBE55;
    --secondary-accent: #FFD800;

    --text-color: #FFFFFF;
    --hovered-header-text-color: #FF9D00;

    --font-heading: 'Assistant', sans-serif;
    --font-body: 'Assistant', sans-serif;

    --work-process: #FF7400;

    --scroll-animation: #FF4800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;

    background: linear-gradient(
                    135deg,
                    color-mix(in srgb, var(--background-dark) 10%, black),
                    color-mix(in srgb, var(--background-bright) 10%, black)
                );

    overflow: auto;
}

h2 {
    font-weight: 800;
}

/* Header */
header {
    background: linear-gradient(
                    90deg,
                    color-mix(in srgb, var(--background-dark) 100%, black),
                    color-mix(in srgb, var(--background-dark) 100%, black),
                    color-mix(in srgb, var(--background-bright) 80%, rgb(0, 0, 255))
                );
    border-bottom: 1px solid #eee;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    opacity: 0;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

header.loaded {
    animation: slideDown 0.8s ease-out forwards;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.5rem;
}

.nav-container img {
    height: 30px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-accent);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--hovered-header-text-color);
}

h4 a {
    text-decoration: none;
    color: var(--text-color);

}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 85vh;
    color: var(--text-color);
    text-align: center;
    padding: 0 20px;
    margin: 40px;
    overflow: hidden;
    align-content: center;
    margin-top: 120px;
    margin-bottom: 250px;
}

/* Physics Container */
#physics-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: auto;
}

#physics-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ensure hero content is above physics */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-logo img {
    max-width: 300px;
    width: 150px;
    height: auto;
    border-radius: 25%;
}

.hero h1 {
    font-family: var(--font-heading);
    color: var(--primary-accent);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #806F40;
    opacity: 0;
    transform: translateY(50px);
}

.hero p {
    color: var(--secondary-accent);
    font-size: 1.6rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
}

.hero .cta-btn {
    background-color: var(--background-dark);
    color: var(--text-color);
    padding: 13px 20px;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: scale(0);
    
    margin: 0 5px;
}

.hero .cta-btn:hover {
    background-color: var(--secondary-accent);
}


.mouse-scroll-animation {
	width: 50px;
	height: 80px;
	border: 3px solid var(--scroll-animation);
    box-shadow: 0 0 10px #222;
	border-radius: 60px;
	position: absolute;
    z-index: 2;
    bottom: 0;
    background-color: transparent;
    opacity: 0;
    transform: translateY(20px);
	&::before {
		content: '';
		width: 12px;
		height: 12px;
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		background-color: var(--scroll-animation);
		border-radius: 50%;
		opacity: 1;
		animation: wheel 2s infinite;
		-webkit-animation: wheel 2s infinite;
	}
}

.finger-scroll-animation{
	width: 100px;
	position: absolute;
    z-index: 2;
    bottom: 0;
    background-color: transparent;
    opacity: 0;
}
.finger-scroll-animation video {
    width: 100%;
}

@keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}

@-webkit-keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScaleUp {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeBounce {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    50% {
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loaded Animations */
.hero.loaded h1 {
    animation: fadeSlideUp 1s ease-out forwards;
}

.hero.loaded p {
    animation: fadeSlideUp 1s ease-out 0.3s forwards;
}

.hero.loaded .cta-btn {
    animation: fadeScaleUp 1s ease-out 0.6s forwards;
}

.hero.loaded .mouse-scroll-animation, 
.hero.loaded .finger-scroll-animation {
    animation: fadeBounce 1s ease-out 0.9s forwards;
}

/* About Section */
.about {
    padding: 60px 20px;
    padding-top: 120px;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: right;

    background: linear-gradient(
                    135deg,
                    color-mix(in srgb, var(--background-dark) 80%, black),
                    color-mix(in srgb, var(--background-bright) 80%, black)
                );
    padding: 40px;
    border-radius: 15px;
}

.about-container img {
    width: 100%; /* Ensures it fills the width of its flex container */
    height: 100%; /* Ensures it fills the height of its flex container */
    object-fit: cover; /* Prevents distortion and ensures it covers the area */
    flex: 1; /* Makes sure it grows properly inside the flex container */
    max-width: 400px; /* Keeps it from growing beyond this */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--primary-accent);
    text-shadow: 0 0px 20px rgba(0, 0, 0, 0.5);
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-accent);
    text-shadow: 0 0px 20px rgba(0, 0, 0, 0.5);
}

.about-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    text-shadow: 0 0px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }
}

/* Features Section */
.work-process {
    padding: 60px 20px;
    text-align: center;
}

h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--primary-accent);
}

.work-process h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-accent);
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature {
    background-color: #2a2a2a;
    /* Dark card background for a modern look */
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-family: var(--font-heading);
    color: var(--secondary-accent);
    margin-bottom: 15px;
}

/* Clients Section */
.clients {
    padding: 60px 20px;
    text-align: center;
}

.clients h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-accent);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.client-logos img {
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logos img:hover {
    filter: grayscale(0%);
    animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}



.client-logos img:hover {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
}

.contact h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--primary-accent);
}

.contact form {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact form input,
.contact form textarea {
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 2rem;
    background-color: #222;
    color: var(--text-color);
    text-align: right;
}

.contact form button {
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-accent);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact form button:hover {
    background-color: var(--secondary-accent);
}

/* Footer */
footer {
    background-color: var(--primary-accent);
    color: var(--work-process);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 50%;
}

.footer-content p {
    font-size: 0.9rem;
}

.footer-content p a {
    text-decoration: none;
    color: var(--work-process);
}

.footer-content p a:hover {
    text-decoration: underline;
    color: var(--work-process);
}


.marquee-container {
    width: 75%;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
}

.marquee {
    position: relative;
    display: flex;
    gap: 40px;
    overflow: hidden;
    direction: ltr;
}

.marquee-item {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 15px;*/
    flex-shrink: 0;
    /*background: #2a2a2a; Dark card style for marquee items */
    border-radius: 15px;
}

.marquee-item img {
    max-width: 100%;
}

@media (min-width: 700px) {
    .marquee-item {
        width: fit-content;
        height: 225px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .cta-btn {
        margin-bottom: 12px !important;
    }

    .feature-container,
    .client-logos {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        width: 90%;
    }
}
