:root {
    --primary: #2ecc71;
    --secondary: #27ae60;
    --accent: #3498db;
    --text: #2c3e50;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

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

* {
    transform: none;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.background {
    padding: 6rem 2rem;
    background-color: var(--light);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.challenge-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-10px);
}

.challenge-content h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.challenge-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.challenge-content li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Methods Section */
.methods {
    padding: 6rem 2rem;
    background-color: white;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.method-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.method-card:hover {
    transform: translateY(-10px);
}

.method-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.method-card p {
    color: var(--text);
}




/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; 
    width: 100vw; 
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateX(0); 
}

.navbar.scrolled {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    opacity: 0; /* Mulai dengan opacity 0 */
    transition: opacity 0.3s ease; /* Tambah transisi */
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom,
                rgba(0,0,0,0.9) 0%,
                rgba(0,0,0,0.6) 30%,
                rgba(0,0,0,0.2) 60%,
                rgba(0,0,0,0) 100%),
                url('model/reaktor.jpeg');
    background-size: contain;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

/* Wave Separator */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.wave .shape-fill {
    fill: #FFFFFF;
}

/* Sections */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.section-title .underline {
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    position: relative;
}

.section-title .underline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
}

/* About Section */
.about {
    background-color: var(--light);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
    padding-left: 2rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Product Showcase */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
}

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

/* Roadmap */
.roadmap {
    background: var(--light);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 2rem;
    position: relative;
    width: calc(50% - 3rem);
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(odd)::after {
    right: -44px;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 3rem);
}

.timeline-item:nth-child(even)::after {
    left: -44px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

.member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.member-info p {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--text);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

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

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-image {
    height: 200px;
    overflow: hidden;
}

.activity-image img,
.activity-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img,
.activity-card:hover .activity-image video {
    transform: scale(1.1);
}

.activity-info {
    padding: 1.5rem;
}

/* Contact Section */
.contact {
    background: var(--light);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary);
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    text-align: center;
}

.footer-section:first-child {
    max-width: 500px;
}

.footer-section h4 {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #3498db;
}

.footer-section p {
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.kontak-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kontak-info li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kontak-info li i {
    margin-right: 0.5rem;
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}


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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
/* Responsive Design (continued) */
@media (max-width: 968px) {
    .hero{
        background-size: cover;
    }

    .nav-container {
        padding: 0 1rem; 
    }

    .challenges-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-card,
    .method-card {
        margin-bottom: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transform: translateX(0); 
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        opacity: 1; 
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }


    .timeline::before {
        left: 34px;
        z-index: 1;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-bottom: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 18px !important;
    }

    .logo {
        font-size: 1.2rem; 
        padding-right: 3rem; 
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section h4 {
        text-align: center;
        margin-bottom: 1.5rem;
        width: auto;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p {
        text-align: center;
        width: 90%;
        margin: 0 auto;
    }

    .footer-links,
    .kontak-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li,
    .kontak-info li {
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .footer-section:first-child {
        max-width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 402px){
    .hero-content p {
        font-size: 1rem;
    }
}













