@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-dark: #2D323A; /* Deep Steel */
    --secondary-dark: #6E7078; /* Steel Gray (Your RGB) */
    --accent-orange: #ff6b35;
    --accent-copper: #d4724a;
    --light-gray: #e8e8e8;
    --medium-gray: #888899;
    --dark-gray: #4a4a5a;
    --paper-white: #F9F8F6; /* Warmer off-white */
    --text-dark: #2D323A;
    --bg-gradient: linear-gradient(135deg, #2D323A 0%, #4a4a5a 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Funnel Sans', sans-serif;
    background: var(--primary-dark);
    color: var(--light-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
    opacity: 0;
    transform: translateY(-100%);
    visibility: hidden;
}

nav.scrolled {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    background: rgba(26, 26, 31, 0.6);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}



.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 16px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--light-gray);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-logo {
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-logo img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.5) 80%,
            rgba(0, 0, 0, 0.7) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.4) 100%
        ),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.4) 100%
        );
    mix-blend-mode: multiply;
    pointer-events: none;
    backdrop-filter: blur(1px);
}


.video-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(212, 114, 74, 0.03) 0%, transparent 40%);
    animation: overlayShift 20s ease-in-out infinite;
}

@keyframes overlayShift {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, 10px);
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 5%;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.frame-number {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Base styles for larger screens */
.hero h1 {
    font-weight: 600;
    font-size: 7rem;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--light-gray);
    line-height: 1.3;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--medium-gray);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.about {
    padding: 10rem 5%;
    background: var(--paper-white);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}

.about h2 {
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-style: italic;
    border-left: 4px solid var(--accent-orange);
    padding-left: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.about p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    font-weight: 400;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.about.visible h2,
.about.visible p {
    opacity: 1;
    transform: translateY(0);
}

.about.visible p {
    transition-delay: 0.2s;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--light-gray);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.about.visible h2,
.about.visible p,
.about.visible .social-links,
.contact.visible h2,
.contact.visible p {
    opacity: 1;
    transform: translateY(0);
}

.partner-logo-single:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.partner-logo-single span {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--medium-gray);
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.social-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon[aria-label*="X"]:hover {
    background: #000;
    color: white;
}

.social-icon[aria-label*="LinkedIn"]:hover {
    background: #0a66c2;
    color: white;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Adjust logo and text size on mobile */
@media screen and (max-width: 768px) {
    .hero-logo img {
        width: 300px;
        max-width: 90vw;
        height: auto;
        margin: 0 auto;
    }
    
    .hero .subtitle {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 1.5rem;
    }
    
    .hero .subtitle {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    nav {
        padding: 1rem 5%;
    }

    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
    }
    
    .about {
        padding: 6rem 5%;
    }
    
    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 4rem;
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
    }
    
    .social-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .logo img {
        height: 24px;
    }
    
    .hero-logo img {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero .subtitle {
        font-size: 1.5rem;
    }
    
    .hero .tagline {
        font-size: 0.95rem;
    }

    .hero-logo img {
        max-width: 300px;
        width: 100%;
    }
}