/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: #222;
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex; /* Atur elemen anak secara horizontal */
    align-items: center; /* Pusatkan elemen secara vertikal */
    justify-content: space-between; /* Logo di kiri, nav-links di kanan */
    height: 50px; /* Sesuaikan tinggi navbar */
    padding: 5px 10px; /* Ruang dalam navbar */
}

.navbar img {
    margin-right: 20px; /* Atur jarak yang lebih proporsional antara logo dan nav-links */
    width: auto;
    height: 40px; /* Sesuaikan ukuran logo */
}

.nav-links {
    margin-left: auto; /* Memindahkan elemen ke kanan ujung */
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #00aaff;
    border-radius: 5px;
}

/* Styling for the logo and company name */
.navbar img {
    margin-right: -800px; /* Space between logo and text */
}

.company-name {
    font-size: 50rem; /* Adjust size as needed */
    font-weight: bold;
    color: #fff;
    line-height: 60px; /* Align vertically with the logo */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 190px 20px;
    background-image: url('final.webp'); /* Add your image file name here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    text-decoration: none;
    background: #00aaff;
    color: #222;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #fff;
}

/* Process Section */
.Process {
    padding: 50px 20px;
    background: #f7f9fc;
    text-align: center;
}

.Process h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.Process-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.Process-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Process-item img {
    width: 80%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.Process-item h3 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 10px;
}

.Process-item p {
    font-size: 1rem;
    color: #666;
}

.Process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Success Statement Section */
.success-statement {
    padding: 50px 20px;
    background: #fff; /* Soft light blue */
    text-align: center;
    margin-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.success-statement h2 {
    font-size: 2.5rem;
    color: #00aaff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.success-statement p {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.success-statement p:nth-child(2) {
    color: #00aaff; /* Highlight the second sentence */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Project Section */
.Project {
    padding: 50px 20px;
    background: #eef7fc00;
    text-align: center;
}

.Project h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Slider Track - This will animate the slide */
.slider-track {
    display: flex;
    animation: slideAnimation 12s infinite; /* Animation untuk slider */
}

.Project-item {
    display: flex;
    flex-direction: column; /* Ubah tata letak menjadi vertikal */
    align-items: center; /* Pastikan konten di tengah */
    gap: 20px;
    background: #fff;
    padding: 20px;
    transition: background 0.3s, transform 0.3s;
}

.Project-item:nth-child(even) {
    background: #f8f9fc;
}

.Project-item:hover {
    background: #e6f0ff;
    transform: translateY(-2px);
}

.Project-item img {
    width: auto;
    height: 270px;
    border-radius: 8px;
}

.Project-content {
    text-align: center; /* Pusatkan teks */
}

.Project-content h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px;
}

.Project-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Animation untuk slider */
@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-200%);
    }
    75% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .Project-item {
        flex-direction: column; /* Tata letak vertikal */
        text-align: center; /* Teks tetap di tengah */
    }

    .Project-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 8px 15px;
    }
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    margin-top: 20px;
}

/* Our Team Section */
.team {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 125px;
    transition: transform 1s ease;
}

.team-members:hover {
    transform: translateY(-10px);
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out;
}

.team-member:hover img {
    transform: scale(1.1);
}

.linkedin-icon {
    display: inline-block;
    text-decoration: none;
    color: #0077b5;
    font-size: 1.2rem;
    margin-top: 10px;
}

.linkedin-icon:hover {
    color: #005582;
}

/* Typing Effect */
#typing-text {
    display: inline-block;
    border-right: 2px solid #fff;
    padding-right: 5px;
    white-space: nowrap;
    overflow: hidden;
}
