:root {
    --primary: #FF6B35;
    --secondary: #2EC4B6;
    --dark: #011627;
    --light: #FDFFFC;
    --gray: #F0F3F4;
    --text: #2D3142;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: radial-gradient(circle at 10% 20%, rgba(253, 255, 252, 1) 0%, rgba(232, 245, 243, 0.8) 90%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar - Modern Glassmorphism */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    position: fixed;
    width: 90%;
    max-width: 1200px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo-container .logo {
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #FF8C66);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: var(--dark);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: white;
    box-shadow: 0 8px 20px rgba(1, 22, 39, 0.3);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 6rem 5% 0;
    gap: 3rem;
    background: linear-gradient(135deg, #FDFFFC 0%, #F0F3F4 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.animate-text {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--secondary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    z-index: 0;
    opacity: 0.2;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

/* Fullscreen Hero */
.hero-fullscreen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 10rem 5% 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-fullscreen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(1, 22, 39, 0.5) 0%, rgba(1, 22, 39, 0.95) 100%);
    z-index: 1;
}
.hero-fullscreen .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-fullscreen h1 {
    font-size: 5rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}
.hero-fullscreen p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

/* Video Section */
.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.video-container video {
    width: 100%;
    display: block;
}

/* Common Section */
section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Trainings */
.section-trainings {
    background-color: white;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Community */
.section-community {
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: var(--gray);
}

.community-content {
    flex: 1;
}

.community-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.community-image {
    flex: 1;
}

.community-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Projects */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 22, 39, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-overlay h3 {
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-overlay h3 {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.developer-credit {
    color: var(--secondary);
    font-weight: 600;
}

/* Photo Collage */
.photo-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    position: relative;
    z-index: 2;
}
.photo-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition);
}
.photo-collage img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.photo-collage img:nth-child(1) {
    grid-row: span 2;
    height: 100%;
}

/* Image Marquee */
.marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--dark);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-item {
    padding: 0 15px;
}
.marquee-item img {
    height: 300px;
    width: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.marquee-item img:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: all 0.3s ease;
}

.get-involved-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.6rem 1.5rem !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    box-shadow: none !important;
}

.get-involved-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3) !important;
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 0.6rem 1.5rem;
        top: 10px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1002;
    }
    
    /* Hamburger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero, .section-community {
        flex-direction: column;
        text-align: center;
    }
    .hero-fullscreen h1 {
        font-size: 3rem;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    .footer-content, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
