/* Home Section Illustration & Logo */
/* Removed unused home illustration and logo styles, now handled inline in index.html */

/* Responsive improvements for mobile view */
@media (max-width: 576px) {
    .home-title {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .home-lead {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .btn-lg {
        font-size: 1rem !important;
        padding: 0.75rem 1.2rem !important;
    }

    .gap-4 {
        gap: 0.7rem !important;
    }

    .client-logo {
        max-width: 90px !important;
        height: auto !important;
        margin-bottom: 0.5rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem !important;
    }

    .visimisi-list li {
        font-size: 0.98rem !important;
        margin-bottom: 0.7rem !important;
    }

    .navbar-brand img {
        height: 32px !important;
        width: 32px !important;
        margin-right: 6px !important;
    }

    .navbar-brand {
        font-size: 1.1rem !important;
    }

    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 0.5rem 0.7rem !important;
    }

    .ratio-16x9 {
        min-height: 180px !important;
    }

    .contact-icon {
        margin-right: 6px !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .footer {
        font-size: 0.95rem !important;
        padding: 1rem 0 !important;
    }

    .home-logo-animate {
        height: 110px !important;
        width: 110px !important;
        min-width: 110px !important;
        min-height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
        box-shadow: none !important;
    }

    .position-relative.d-inline-block {
        min-height: 140px !important;
    }

    .d-flex.gap-4.align-items-center.mt-4 {
        flex-wrap: wrap !important;
        justify-content: center !important;
        row-gap: 10px !important;
        column-gap: 10px !important;
    }

    .d-flex.gap-4.align-items-center.mt-4 img {
        margin-bottom: 8px !important;
        max-width: 90vw !important;
        height: 48px !important;
        object-fit: contain !important;
        padding: 4px !important;
        background: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(30, 64, 175, 0.08) !important;
    }
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

.home-title {
    animation: fadeInLeft 1s;
}

.home-lead {
    animation: fadeInLeft 1.2s;
}

.home-logo-animate {
    animation: bounceIn 1.2s;
}

@media (max-width: 576px) {

    .home-title,
    .home-lead,
    .home-logo-animate {
        animation: none !important;
    }
}

section {
    scroll-margin-top: 80px;
}

@media (max-width: 576px) {
    section {
        scroll-margin-top: 60px;
    }
}

@media (max-width: 576px) {
    #home {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #home img {
        height: 56px !important;
        padding: 6px;
    }

    #home .display-4 {
        font-size: 2rem;
    }

    #home .lead {
        font-size: 1rem;
    }

    .client-logo {
        height: 40px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .navbar-brand img {
        height: 28px;
    }
}

body {
    background: #f8f9fa;
}

#home {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
}

#home img {
    filter: drop-shadow(0 4px 16px rgba(30, 64, 175, 0.25));
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 12px;
}

#home .display-4 {
    text-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
}

#home .lead {
    color: #e0e7ef;
}

#home .fa {
    color: #fff !important;
    background: rgba(30, 64, 175, 0.2);
    border-radius: 50%;
    padding: 10px;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.client-logo {
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.visimisi-list li {
    margin-bottom: 0.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Animated scroll for menu */
html {
    scroll-behavior: smooth;
}

.navbar-nav .nav-link.active {
    color: #2563eb !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    margin: 4px auto 0 auto;
    animation: underlineGrow 0.4s cubic-bezier(.4, 2, .6, 1) forwards;
}

@keyframes underlineGrow {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 24px;
        opacity: 1;
    }
}