﻿/* =========================================================
   PT Inovasi Aplikasi Mandiri
   Corporate / Professional Theme
   ========================================================= */

:root {
    --iam-black: #0f172a;
    --iam-dark: #111827;
    --iam-gray: #6b7280;
    --iam-light: #f9fafb;
    --iam-border: #e5e7eb;
    --iam-primary: #2563eb;
    --iam-primary-dark: #1e40af;
}

/* ================= BASE ================= */
html, body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: var(--iam-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--iam-primary);
    transition: color .2s ease;
}

    a:hover {
        color: var(--iam-primary-dark);
    }

/* ================= HEADER ================= */
.transparent-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--iam-border);
}

.navbar {
    min-height: 72px;
}

.navbar-brand img {
    height: 42px;
}

.navbar-nav li {
    margin: 0 14px;
}

.navbar-nav a {
    font-weight: 600;
    color: var(--iam-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .navbar-nav a:hover {
        color: var(--iam-primary);
    }

/* CTA Button */
.attr-nav .butn {
    background: var(--iam-primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    transition: all .2s ease;
}

    .attr-nav .butn:hover {
        background: var(--iam-primary-dark);
    }

/* ================= HERO ================= */
.main-banner-style06 {
    position: relative;
    margin-top:-100px;
    background: linear-gradient( 120deg, #ffffff 0%, #f4f9ff 40%, #4fa3ff 100% );
    overflow: hidden;
    height:800px !important;
}

/* Container Flex */
.banner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* ================================
   LEFT TEXT
================================ */
.banner-text {
    flex: 1;
    z-index: 2;
}

    .banner-text h1 {
        font-size: clamp(2.2rem, 4vw, 3.5rem);
        font-weight: 700;
        margin-bottom: 1rem;
    }

        .banner-text h1 strong {
            color: #4fa3ff;
        }

    .banner-text .lead {
        font-size: 1.15rem;
        max-width: 520px;
        line-height: 1.7;
        opacity: 0.9;
    }

/* ================================
   RIGHT IMAGE
================================ */
.banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .banner-image img {
        max-width: 100%;
        width: 520px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 25px 50px rgba(0,0,0,0.4));
    }

/* ================= SECTION ================= */
section {
    padding: 90px 0;
}

.bg-grey {
    background: var(--iam-light);
}

.line-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    color: var(--iam-black);
}

    .line-title::after {
        content: '';
        width: 64px;
        height: 4px;
        background: var(--iam-primary);
        display: block;
        margin: 16px auto 0;
    }

/* ================= ABOUT ================= */
section p {
    color: var(--iam-gray);
    font-size: 15px;
}

section strong {
    color: var(--iam-black);
}

/* ================= LAYANAN ================= */
/* =================================
   SECTION TITLE
================================= */
.layanan .line-title {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;   
}

    .layanan .line-title::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 70px;
        height: 3px;
        background: #4fa3ff;
        border-radius: 2px;
    }



/* =================================
   SERVICE CARDS
================================= */
.layanan .card-style21 {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .layanan .card-style21:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 45px rgba(0,0,0,0.12);
    }

    .layanan .card-style21 img {
        max-height: 110px;
        object-fit: contain;
    }

    .layanan .card-style21 h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .layanan .card-style21 p,
    .layanan .card-style21 ul {
        font-size: 14px;
        color: #555;
        line-height: 1.7;
    }

/* =================================
   TECHNOLOGY TAGS
================================= */
.layanan .boxcustom {
    display: inline-flex; /* lebih stabil dari inline-block */
    align-items: center;
    justify-content: center;
    width: fit-content; /* KUNCI: sesuai panjang teks */
    max-width: 100%;
    background: rgba(79,163,255,0.08);
    border: 1px solid rgba(79,163,255,0.3);
    color: #1f4fd8;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap; /* cegah teks turun baris */

    padding: 5px 12px;
    border-radius: 20px;
    margin: 4px;
    transition: all .3s ease;
}

    .layanan .boxcustom:hover {
        background: #4fa3ff;
        color: #fff;
    }

/* =================================
   READ MORE LINK
================================= */
.layanan .card-style21 a {
    font-size: 13px;
    font-weight: 500;
    color: #4fa3ff;
    text-decoration: none;
    transition: color .3s ease;
}

    .layanan .card-style21 a:hover {
        color: #1f4fd8;
    }

/* =================================
   PROCESS TIMELINE
================================= */
.layanan .timeline-horizontal-boxed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.layanan .step-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .layanan .step-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

/* Number */
.layanan .number-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4fa3ff, #1f4fd8);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Text */
.layanan .text-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.layanan .text-box p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}


/* ================================
   TNC & PRIVACY POLICY
   PT Inovasi Aplikasi Mandiri
   ================================ */

._tnc-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    color: #2b2b2b;
    line-height: 1.8;
    background: #ffffff;
}

    ._tnc-wrapper h2,
    ._tnc-wrapper h3 {
        color: #1f4fd8;
    }

    ._tnc-wrapper h3 {
        margin-top: 40px;
        margin-bottom: 20px;
    }

/* ====== TABLE ====== */
._tnc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    font-size: 15px;
}

    ._tnc-table th {
        background: #f1f5ff;
        color: #1f4fd8;
        text-align: center;
        font-weight: 600;
        padding: 14px;
        border: 1px solid #dbe5ff;
    }

    ._tnc-table td {
        vertical-align: top;
        padding: 18px 20px;
        border: 1px solid #e3ebff;
        background: #ffffff;
    }

    /* ====== TEXT ====== */
    ._tnc-table b {
        color: #1f4fd8;
    }

    ._tnc-table ul {
        padding-left: 18px;
        margin: 10px 0;
    }

    ._tnc-table li {
        margin-bottom: 8px;
    }

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    ._tnc-table,
    ._tnc-table thead,
    ._tnc-table tbody,
    ._tnc-table th,
    ._tnc-table td,
    ._tnc-table tr {
        display: block;
        width: 100%;
    }

        ._tnc-table tr {
            margin-bottom: 25px;
            border: 1px solid #e3ebff;
            border-radius: 8px;
            overflow: hidden;
        }

        ._tnc-table th {
            text-align: left;
        }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    ._tnc-grid {
        grid-template-columns: 1fr;
    }

    ._tnc-title h1 {
        font-size: 26px;
    }

    ._tnc-section h2 {
        font-size: 20px;
    }
}





/* ================= PORTFOLIO ================= */
.card {
    border: 1px solid var(--iam-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all .25s ease;
    background: #fff;
    
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 35px rgba(0,0,0,.08);
    }

.card-img-top {
    height: 200px;
    object-fit: unset;
    background: #f1f5f9;
}

.card-body h5 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.card-body small {
    color: var(--iam-gray);
    font-size: 13px;
}

/* ================= FOOTER ================= */
/* ================================
   FOOTER BASE
================================ */
footer {
    background: #0b1c2d;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.7;
    padding-top:30px;

}

    /* ================================
   FOOTER LOGO
================================ */
    footer img[alt="footer-logo"] {
        max-width: 140px; /* 🔥 ukuran ideal */
        height: auto;
        opacity: 0.95;        
    }

    /* ================================
   FOOTER HEADINGS
================================ */
    footer h3 {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.3px;
        margin-bottom: 1rem;
    }

    /* ================================
   FOOTER TEXT
================================ */
    footer h5 {
        font-size: 14px;
        font-weight: 400;
        color: rgba(255,255,255,0.85);
    }

    footer p {
        margin-bottom: 0.75rem;
    }

/* ================================
   FOOTER LIST
================================ */
.footer-list02 {
    list-style: none;
    padding: 0;
    margin: 0;
    
}

    .footer-list02 li {
        margin-bottom: 8px;
        color: rgba(255,255,255,0.75);
    }

        .footer-list02 li a {
            color: rgba(255,255,255,0.75);
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-list02 li a:hover {
                color: #4fa3ff;
            }

/* ================================
   SOCIAL ICONS
================================ */
.social-icon01 {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

    .social-icon01 li a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #ffffff;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .social-icon01 li a:hover {
            background: #4fa3ff;
            transform: translateY(-3px);
        }

/* ================================
   CONTACT BUTTONS
================================ */
footer .wa-button,
footer .email-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #fff;
}

footer .wa-button {
    background-color: #25D366;
}

footer .email-button {
    background-color: #007bff;
}

/* ================================
   COPYRIGHT
================================ */
footer > p {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}


/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .main-banner-style06 h1 {
        padding-top:50px;
        font-size: 2.4rem;
    }

    section {
        padding: 70px 0;
        margin-top:10px !important;
    }
    .logo-image img {
        width: 80%;
        margin-bottom:30px;

    }
    .navbar-nav {
        background: #fff;
        padding: 20px;
        border-radius: 6px;
    }
    .banner-wrap {
        flex-direction: column;
        text-align: center;
        gap:0px !important;
        min-height:0px !important;
    }

    .banner-text {
        order: 1;
    }

    .banner-image {
        order: 2;
        justify-content: center;
        margin-top: 2rem;
    }

    .banner-text .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .banner-image img {
        width: 85%;
    }
    footer {
        text-align: center;
    }

    .social-icon01 {
        justify-content: center;
    }

    footer img[alt="footer-logo"] {
        margin-left: auto;
        margin-right: auto;
    }
}
