/* Service grid untuk halaman layanan */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    width: 260px;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
    border: 1px solid #eef2f6;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 36px -16px rgba(10,110,110,0.2);
}
.service-card h3 {
    color: #0a6e6e;
    margin-bottom: 0.8rem;
}
.service-card p {
    color: #4a6272;
    margin-bottom: 1.2rem;
}
.btn-detail {
    display: inline-block;
    background: #0a6e6e;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.btn-detail:hover {
    background: #0c5353;
}
footer {
    background: #0b2b2b;
    color: #cee9e9;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}
.footer-info p {
    margin: 0.5rem 0;
}
.footer-copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
}
/* ===== RESET & VARIABLES ===== */
:root {
    --primary: #0a6e6e;
    --primary-dark: #0c5353;
    --primary-light: #e6f7f5;
    --secondary: #f39c12;
    --dark: #1e2a3e;
    --gray: #5a6e7a;
    --light: #f9fafc;
    --white: #ffffff;
    --shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e6f7f5 0%, #ffffff 100%);
    overflow: hidden;
    padding: 80px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 3.2rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(10,110,110,0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

/* ===== LAYANAN SECTION ===== */
.services {
    padding: 80px 0;
    background: var(--white);
}

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

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-top: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
}

.services-wrapper {
    display: flex;
    justify-content: center;
}

/* Untuk grid layanan yang dihasilkan dari database */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    width: 260px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eef2f6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 35px -12px rgba(10,110,110,0.2);
}

.service-card h3 {
    color: var(--primary);
    margin: 1rem 0;
}

/* ===== TENTANG SECTION ===== */
.about {
    padding: 80px 0;
    background: var(--light);
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-content {
    flex: 1;
}

.about-text {
    margin: 1.5rem 0;
    color: var(--gray);
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.feature span {
    font-size: 1.2rem;
}

/* ===== KONTAK SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--light);
    padding: 1.2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    background: var(--primary-light);
}

.info-icon {
    font-size: 2rem;
}

.info-text h4 {
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.info-text p {
    color: var(--gray);
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 40px;
    border: 1px solid #ccd7e4;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,110,110,0.2);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        flex-direction: column;
    }
    .section-title {
        font-size: 2rem;
    }
}