:root {
    --cti-blue: #0047ff;
    --bg-body: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background-color: var(--bg-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
}

/* ===== NAVBAR ===== */
.navbar-top {
    background: white;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar-brand-logo {
    font-weight: 700;
    color: var(--cti-blue);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cti-blue);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0047ff, #002db3);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-menu a:hover {
    color: var(--cti-blue);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: calc(100% - 32px);
}

/* ===== NAVBAR RESPONSIVE ===== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--cti-blue);
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .nav-menu a:hover {
        background: rgba(0,71,255,0.08);
        transform: none;
    }

    .nav-menu a::before {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.587)), url('../images/hero.png') center/cover no-repeat;
    color: white;
    padding: 100px 0 80px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== KONTAK SECTION ===== */
.kontak-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.kontak-title {
    text-align: center;
    margin-bottom: 35px;
}

.kontak-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--cti-blue);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.kontak-title p {
    color: #666;
    font-size: 1.05rem;
    font-weight: 500;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: stretch; /* ✅ ini kuncinya */
}

.maps-container,
.kontak-info {
    height: 100%;
}

.maps-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-height: 400px;
}

.maps-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.kontak-info {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.kontak-info h3 {
    color: var(--cti-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.kontak-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.kontak-item:last-child {
    margin-bottom: 0;
}

.kontak-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 71, 255, 0.08), rgba(0, 71, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cti-blue);
    font-size: 22px;
    flex-shrink: 0;
}

.kontak-content h4 {
    font-size: 1.05rem;
    color: #222;
    margin-bottom: 6px;
    font-weight: 700;
}

.kontak-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.kontak-content p + p {
    margin-top: 8px;
}

.kontak-content a {
    color: var(--cti-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.kontak-content a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    margin-top: 14px;

    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    color: #ffffff !important;

    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;

    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.btn-whatsapp i {
    font-size: 1.1rem;
    color: #ffffff;
}

/* Hover effect */
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

@media (max-width: 900px) {
    .kontak-grid {
        grid-template-columns: 1fr;
    }

    .maps-container,
    .kontak-info {
        height: auto;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0047ff 0%, #002db3 100%);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section {
    animation: slideInUp 0.6s ease-out;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo img {
    filter: brightness(1.2);
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-contact i {
    min-width: 18px;
    text-align: center;
}

.footer-contact p:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin-bottom: 25px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: white;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 20px 25px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 12px;
        text-align: center;
    }

    .footer-tagline {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-links-bottom {
        gap: 10px;
    }
}