/* assets/css/style.css */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navbar */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary);
    background-color: #eef2ff;
}

/* Hero Section */
/* Hero Section - Layout Baru */
.hero {
    background: linear-gradient(135deg, #ffffff, #eef2ff);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-text h1 span {
    color: var(--primary);
    font-weight: bold;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-image {
        margin-top: 30px;
    }
}
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 20px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 180px;
}

.stat-box h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-box p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Section Umum */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-dark);
}

/* Tim */
/* Tim - Versi Kotak */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 35px;
    justify-content: center;
}

.team-member {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    max-width: 300px;
    margin: 0 auto;
}

.team-member:hover {
    transform: translateY(-10px);
    background: #aed2f8;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px; /* <-- diubah dari 50% (lingkaran) jadi kotak rounded */
    margin-bottom: 18px;
    border: 2px solid var(--primary);
}

.team-member h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.25rem;
}

.team-member p.role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.team-member .desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Proyek */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    background: #aed2f8;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-card .content {
    padding: 20px;
}

.project-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.project-card .date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-card a {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
}

.project-card a:hover {
    text-decoration: underline;
}

.no-image {
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 30px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 1rem;
}

.footer-credit {
    text-align: right;
    font-size: 0.95rem;
    color: #a8d2ff;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-credit {
        text-align: left;
    }
}
/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 25px;
    justify-items: center;
    margin-top: 20px;
}

.tool-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    width: 100%;
    max-width: 160px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    background: #aed2f8;
}

.tool-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.tool-placeholder {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.tool-card h3 {
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

/* Loading Screen - Fullscreen Overlay */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0056b3;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader-content {
    text-align: center;
    color: white;
}

.logo-wrapper {
    margin-bottom: 20px;
}

#loader-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    animation: logoPop 1s 0.3s forwards;
}

/* Jika pakai teks sebagai ganti logo */
.loader-text {
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.2;
    color: white;
    opacity: 0;
    animation: textPop 1s 0.3s forwards;
}

.loader-tagline {
    font-size: 1.1rem;
    opacity: 0;
    margin-top: 15px;
    animation: fadeIn 1s 1s forwards;
}

/* Animations */
@keyframes logoPop {
    0% { transform: scale(0.7); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes textPop {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    70% { transform: scale(1.05) translateY(-5px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Fade out loader */
#loader.hide {
    opacity: 0;
    visibility: hidden;
}