:root {
    --primary: #2dd4bf;
    --primary-hover: #5eead4;
    --dark: #0f172a;
    --slate: #1e293b;
    --text: #f1f5f9;
    --glass: rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

/* --- Navigasi --- */
nav {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a i {
    margin-right: 6px;
    color: var(--primary);
    font-size: 0.8rem;
}

.checkbtn {
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/* --- Hero Section --- */
header {
    height: 100vh;
    background: linear-gradient(-45deg, #0f172a, #134e4a, #1e293b, #0d9488);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-icon {
    font-size: 4.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(45, 212, 191, 0.4));
}

header h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

.btn-main {
    margin-top: 40px;
    padding: 16px 40px;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
}

.btn-main:hover {
    transform: translateY(-3px);
    background: var(--primary-hover);
}

/* --- Sections Universal --- */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 8%;
    text-align: center;
}

.bg-alt {
    background: var(--slate);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

h2 i {
    color: var(--primary);
    margin-right: 15px;
}

/* --- Tentang --- */
#tentang p {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.8;
    color: #cbd5e1;
}

.section-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

/* --- Latar Belakang (Cards) --- */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px;
}

.card {
    background: var(--glass);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* --- Pengalaman (Wide Cards) --- */
.card-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 850px;
}

.card-wide {
    display: flex;
    align-items: center;
    background: var(--glass);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: 0.3s;
}

.card-wide:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-right: 30px;
    min-width: 50px;
    text-align: center;
}

.card-text h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

/* --- Hubungi (Grid) --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.contact-card {
    text-decoration: none;
    background: var(--glass);
    padding: 40px 20px;
    border-radius: 24px;
    color: white;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card i {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Hover Effects */
.contact-card:hover {
    transform: translateY(-10px);
    background: var(--slate);
    border-color: var(--primary);
}

.whatsapp:hover i { color: #25D366; }
.facebook:hover i { color: #1877F2; }
.phone:hover i { color: #34b7f1; }
.email:hover i { color: #ea4335; }

/* --- Footer --- */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #080d1a;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 950px) {
    .checkbtn {
        display: block;
    }
    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        top: 80px;
        left: -100%;
        text-align: center;
        flex-direction: column;
        padding-top: 50px;
        transition: all 0.5s;
    }
    nav ul li {
        margin: 15px 0;
    }
    nav ul li a {
        font-size: 1.2rem;
    }
    #check:checked ~ ul {
        left: 0;
    }
    .card-wide {
        flex-direction: column;
        text-align: center;
    }
    .card-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* --- Rekaan Kad Prospek --- */
.prospek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    margin-top: 20px;
}

.prospek-card {
    background: var(--glass);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.prospek-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 212, 191, 0.05);
    border-color: var(--primary);
}

.prospek-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.prospek-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.prospek-card p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

/* Container gambar dalam kad */
.prospek-img-container {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
}

.prospek-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Ikon sandaran jika gambar tiada */
.fallback-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Gaya teks "Lawat Laman" di bawah kad */
.visit-link {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    opacity: 0;
    transition: 0.3s;
}

.prospek-card:hover .visit-link {
    opacity: 1;
}

.tag {
    font-size: 0.7rem;
    background: rgba(45, 212, 191, 0.15);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}