/* ==========================================================================
   RAF HR & Legal Consultant - custom styles
   Menimpa (override) style.css bawaan template. Urutan:
   1. Variabel & dasar      6. Kartu layanan        11. FAQ
   2. Komponen umum         7. Keunggulan & proses  12. CTA
   3. Header                8. Testimoni & klien    13. Footer
   4. Hero & banner         9. Tentang Kami         14. Responsive
   5. Ringkasan layanan    10. Kontak
   ========================================================================== */

/* 1. Variabel & dasar
   ========================================================================== */
:root {
    --heading-color: #2d2d2d;
    --primary-color: #ffd600;
    --primary-color-rgb: 255, 214, 0;
    --primary-dark: #e6c000;
    --dark: #1f1f1f;
    --text: #5f6368;
    --border: #ececec;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.1);
}

body {
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
}

/* Anchor #1, #2, #3 di halaman layanan tidak tertutup header yang fixed */
section[id] {
    scroll-margin-top: 100px;
}

/* 2. Komponen umum
   ========================================================================== */
.section-heading {
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.section-heading h2 span,
.hero-section h1 span {
    color: var(--primary-color, #ffd600);
}

.section-heading p {
    font-size: 17px;
    margin-bottom: 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--heading-color);
}

.section-label:before {
    content: '';
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary-color);
}

.section-heading-light h2,
.section-heading-light .section-label {
    color: #ffffff;
}

.section-heading-light p {
    color: rgba(255, 255, 255, 0.7);
}

.theme-btn,
a.theme-btn {
    color: #212529;
    border-radius: 10px;
    min-width: 0;
    padding: 15px 28px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.theme-btn:hover,
a.theme-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #212529;
}

.theme-btn > .fab,
.theme-btn > .fas:first-child {
    font-size: 16px;
    padding-left: 0;
    padding-right: 8px;
}

.btn-outline-light,
a.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.btn-outline-light:hover,
a.btn-outline-light:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #212529;
}

.btn-dark-solid,
a.btn-dark-solid {
    background: var(--dark);
    border-color: var(--dark);
    color: #ffffff;
}

.btn-dark-solid:hover,
a.btn-dark-solid:hover {
    background: #000000;
    border-color: #000000;
    color: var(--primary-color);
}

.btn-outline-dark,
a.btn-outline-dark {
    background: transparent;
    border-color: var(--dark);
    color: var(--dark);
}

.btn-outline-dark:hover,
a.btn-outline-dark:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: #ffffff;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--heading-color);
    transition: gap 0.3s ease, color 0.3s ease;
}

.link-more i {
    font-size: 12px;
    color: var(--primary-color);
}

.link-more:hover {
    gap: 12px;
    color: var(--heading-color);
}

.check-list {
    margin: 0 0 30px;
}

.check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.check-list li i {
    flex: none;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 24px;
    text-align: center;
    background: var(--primary-color);
    color: var(--heading-color);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 24px;
    background: rgba(var(--primary-color-rgb), 0.18);
    color: var(--heading-color);
    transition: all 0.3s ease;
}

/* 3. Header
   ========================================================================== */
.header-top {
    background: #2d2d2d;
}

.top-inner:before {
    position: absolute;
    content: '';
    top: 0;
    left: -14%;
    width: 128%;
    height: 100%;
    background: var(--heading-color, #2d2d2d);
    z-index: -1;
    clip-path: none;
}

.header-upper {
    background: var(--primary-color, #ffd600);
}

.main-header .logo {
    width: 130px;
}

.main-header .logo img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .main-header .logo-outer {
        width: 110px;
        top: 14px;
    }

    .main-header .logo {
        width: 110px;
    }

    .fixed-header .logo-outer {
        top: 10px;
    }
}

.main-menu .navigation li:hover > a,
.main-menu .navigation li.current-menu-item > a {
    color: #ffffff;
}

.main-menu .navigation > li:before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 30%;
    width: 0;
    height: 6px;
    opacity: 0;
    transition: all 500ms ease;
    background: #ffffff;
}

/* 4. Hero & banner halaman
   ========================================================================== */
.hero-section {
    height: auto;
    min-height: 800px;
    padding: 150px 0 200px;
    background-image: url('../images/banner/banner.jpg');
}

.hero-section.overlay:before,
.page-banner.overlay:before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.92) 0%, rgba(18, 18, 18, 0.72) 50%, rgba(18, 18, 18, 0.25) 100%);
}

.hero-inner {
    max-width: 720px;
    padding: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-eyebrow i {
    font-size: 8px;
}

.hero-section h1 {
    font-size: 58px;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-inner h1 span {
    display: inline;
}

/* Template menambahkan titik otomatis setelah span di judul hero */
.hero-inner h1 span:after {
    content: none;
}

.hero-lead {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.hero-trust li {
    color: #ffffff;
    font-weight: 500;
}

.hero-trust i {
    color: var(--primary-color);
    margin-right: 6px;
}

.page-banner {
    height: auto;
    padding: 150px 0 90px;
}

.page-banner.overlay:after {
    display: none;
}

.page-banner .banner-inner {
    padding: 0;
    max-width: 720px;
}

.page-banner h1 {
    color: #ffffff;
    font-size: 58px;
    line-height: 1.15;
    margin: 10px 0 15px;
}

.page-banner .breadcrumb {
    margin: 0;
}

.banner-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* 5. Ringkasan layanan (kotak kuning di bawah hero)
   ========================================================================== */
.success-wrap {
    transform: none;
    margin-top: -130px;
    padding: 40px 40px 16px;
    border-top: 10px solid #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 3;
}

/* Kolom dibuat flex supaya semua kotak sama tinggi dalam satu baris */
.success-wrap .row > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}

/* Selector diperkuat untuk menimpa border-right: 0 dari style.css & responsive.css */
.success-wrap .success-item,
.success-wrap .row > div:last-child .success-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.success-wrap .success-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.success-item .success-icon {
    color: #212529;
    margin: 0 0 14px;
    padding-top: 0;
    line-height: 1;
}

.success-item .success-icon i:before {
    font-size: 35px;
}

.success-wrap .success-item .success-content {
    padding-top: 0;
}

.success-wrap .success-item .success-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Tentang singkat (Home) */
.about-us {
    padding-top: 110px;
}

.about-image img {
    height: 600px;
    object-fit: cover;
}

.about-content p {
    text-align: left;
}

.about-tagline {
    font-weight: 500;
    color: var(--heading-color);
}

/* 6. Kartu layanan (Home & halaman Layanan)
   ========================================================================== */
.service-item {
    background: #fff;
    margin-bottom: 30px;
    padding: 40px;
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-item .service-icon img {
    max-height: 60px;
}

.service-content h4 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.service-content h4 a {
    color: var(--heading-color);
}

.service-list li {
    display: flex;
    margin-bottom: 10px;
    align-items: baseline;
}

.service-list li i {
    margin-right: 10px;
    font-size: 15px;
    color: var(--primary-color, #ffd600);
}

.service-list li,
.service-list li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* Kartu layanan di Home dibuat sama tinggi */
.home-services .row > [class*="col-"] {
    display: flex;
}

.home-services .service-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.home-services .service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-services .service-content > p {
    margin-bottom: 18px;
}

.home-services .service-list {
    margin-bottom: 25px;
}

.home-services .link-more {
    margin-top: auto;
}

/* Halaman Layanan: kartu ringkasan kategori */
.overview-card {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.overview-card img {
    max-height: 56px;
    margin-bottom: 20px;
}

.overview-card h4 {
    font-size: 21px;
    margin-bottom: 10px;
}

.overview-card p {
    color: var(--text);
}

/* Halaman Layanan: detail */
.service-detail .row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

.service-detail .service-item {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.service-detail .service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-detail .service-list {
    margin-bottom: 25px;
}

.service-list-2col {
    column-count: 2;
    column-gap: 40px;
}

.service-list-2col li {
    break-inside: avoid;
}

.consult-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    font-size: 15px;
}

.consult-btn i {
    margin-left: 8px;
}

/* 7. Keunggulan & alur kerja
   ========================================================================== */
.feature-card {
    width: 100%;
    margin-bottom: 30px;
    padding: 35px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover .feature-icon,
.channel-card:hover .feature-icon {
    background: var(--primary-color);
}

.feature-card h4 {
    font-size: 20px;
    margin: 22px 0 10px;
}

.feature-card p {
    margin: 0;
}

.process-section {
    background: var(--dark);
}

.process-step {
    position: relative;
    height: 100%;
    padding: 35px 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.08);
}

.process-steps > [class*="col-"] {
    margin-bottom: 30px;
}

.step-number {
    display: inline-block;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.process-step h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 10px;
}

.process-step p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* 8. Testimoni & klien
   ========================================================================== */
.testi-card {
    position: relative;
    width: 100%;
    margin: 0 0 30px;
    padding: 45px 40px 35px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.testi-quote {
    position: absolute;
    top: -22px;
    left: 40px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    background: var(--primary-color);
    color: var(--heading-color);
}

.testi-card blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: var(--heading-color);
    margin: 0 0 30px;
}

.testi-card figcaption {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-avatar {
    width: 52px;
    height: 52px;
    line-height: 52px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    background: var(--dark);
    color: var(--primary-color);
}

.testi-card strong {
    display: block;
    color: var(--heading-color);
    font-size: 17px;
}

.testi-card small {
    color: var(--text);
    font-size: 14px;
}

.partners-section .partner-item {
    margin: 0 12px;
    padding: 20px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
}

/* Semua logo diseragamkan ke rasio logo awal (228x96) */
.partners-section .partner-item img {
    display: block;
    width: 100%;
    aspect-ratio: 228 / 96;
    object-fit: contain;
}

/* Panah slider sudah dihapus, jadi offset kiri untuk panah tidak diperlukan */
.partners-section .slick-list {
    margin-left: 0;
}

/* 9. Tentang Kami
   ========================================================================== */
.vission-tabs li:hover:before,
.vission-tabs li.active:before {
    background: rgb(255 214 0 / 85%);
}

.vission-tab-content .lead-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--heading-color);
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
}

.value-item h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.value-item p {
    margin: 0;
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.expertise-chip {
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--heading-color);
    background: #ffffff;
    border: 1px solid var(--border);
}

.expertise-chip i {
    color: var(--primary-color);
    margin-right: 6px;
}

.audience-box {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--primary-color);
}

.audience-box h4 {
    font-size: 20px;
    margin-bottom: 18px;
}

.audience-box .check-list {
    margin: 0;
}

.audience-box .check-list li i {
    background: var(--dark);
    color: var(--primary-color);
}

/* 10. Kontak
   ========================================================================== */
.channel-card {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.channel-card h4 {
    font-size: 18px;
    margin: 20px 0 6px;
}

.channel-card strong {
    display: block;
    color: var(--heading-color);
    word-break: break-word;
}

.channel-card small {
    color: var(--text);
}

.contact-form-card {
    height: 100%;
    padding: 45px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form-card .section-heading {
    margin-bottom: 30px;
}

.contact-form-card .section-heading h2 {
    font-size: 34px;
}

.contact-form-card label {
    font-weight: 500;
    color: var(--heading-color);
    margin-bottom: 6px;
}

/* Template memberi input latar oranye; dikembalikan ke putih */
.contact-form-card .form-control {
    height: auto;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: var(--heading-color);
    font-size: 15px;
    line-height: 1.5;
}

.contact-form-card .form-control::placeholder {
    color: #9aa0a6;
}

.contact-form-card select.form-control {
    height: 50px;
    padding-top: 0;
    padding-bottom: 0;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}

.form-error {
    color: #c0392b;
    font-weight: 500;
}

/* Daftar kantor (Head Office & Operasional Office) */
.office-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.office-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.office-card iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 200px;
    border: 0;
}

.office-body {
    padding: 22px 26px 24px;
}

.office-badge {
    display: inline-block;
    padding: 3px 12px;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--primary-color);
    color: var(--heading-color);
}

.office-body h4 {
    font-size: 19px;
    margin-bottom: 8px;
}

.office-body p {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.office-body p i {
    width: 16px;
    margin-top: 5px;
    color: var(--primary-color);
}

.office-address {
    flex-wrap: nowrap !important;
}

.office-phones a {
    color: var(--heading-color);
    font-weight: 500;
}

.office-body .link-more {
    margin-top: 8px;
}

/* 11. FAQ
   ========================================================================== */
.faq-section .theme-btn {
    margin-top: 25px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 20px 60px 20px 25px;
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    background: rgba(var(--primary-color-rgb), 0.25);
    transition: transform 0.3s ease;
}

.faq-item[open] summary:after {
    content: '\2212';
    background: var(--primary-color);
}

.faq-item p {
    padding: 0 25px 22px;
    margin: 0;
}

/* 12. CTA
   ========================================================================== */
.cta-band {
    padding: 0 0 100px;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 55px 60px;
    border-radius: 20px;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-inner:after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, 0.25);
}

.cta-text {
    max-width: 620px;
}

.cta-text h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cta-text p {
    color: var(--heading-color);
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
}

/* 13. Footer
   ========================================================================== */
.site-footer {
    padding-top: 90px;
}

.site-footer .logo {
    width: 170px;
    margin-bottom: 20px;
}

/* Teks hitam di logo tidak terbaca di latar gelap, jadi diberi latar putih */
.site-footer .logo a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
}

.site-footer .logo img {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
    color: var(--primary-color);
}

.site-footer .widget {
    margin-bottom: 40px;
}

.site-footer .widget-title {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 25px;
}

.site-footer .menu-widget li {
    margin-bottom: 10px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact li i {
    flex: none;
    width: 18px;
    margin-top: 4px;
    color: var(--primary-color);
}

.footer-contact a {
    word-break: break-word;
}

.site-footer .social-style-two a {
    background: rgba(255, 255, 255, 0.08);
}

.site-footer .social-style-two a i {
    color: #ffffff;
}

.site-footer .social-style-two a:hover {
    background: var(--primary-color);
}

.site-footer .social-style-two a:hover i {
    color: var(--heading-color);
}

.footer-bottom {
    margin-top: 30px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ruang kanan dikosongkan untuk widget WhatsApp + tombol scroll up yang melayang,
   supaya saat di-scroll mentok bawah tombol tidak menutupi teks copyright */
.footer-bottom p {
    margin: 0;
    padding-right: 300px;
    font-size: 14px;
    text-align: left;
}

/* Widget WhatsApp melayang
   ========================================================================== */
.wa-widget {
    --wa-green: #25d366;
    --wa-green-dark: #1da851;
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.wa-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tombol scroll up di kanan tombol WhatsApp.
   Disembunyikan dulu; script.js menampilkannya (fadeIn) setelah halaman di-scroll */
.wa-row .scroll-top {
    display: none;
    flex: none;
    width: 48px;
    height: 48px;
    margin-left: 0;
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    background: var(--dark);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.wa-row .scroll-top:hover {
    background: var(--primary-color);
    color: var(--dark);
    transform: translateY(-3px);
}

.wa-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 8px 8px;
    border-radius: 50px;
    background: var(--wa-green);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.wa-button:hover {
    color: #ffffff;
    background: var(--wa-green-dark);
    transform: translateY(-3px);
}

.wa-button-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.2);
}

/* Efek denyut halus agar tombol mudah ditemukan */
.wa-button-icon:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wa-button-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.wa-button-text small {
    font-size: 12px;
    opacity: 0.9;
}

.wa-button-text strong {
    font-size: 16px;
}

.wa-bubble {
    position: relative;
    width: 300px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    animation: wa-bubble-in 0.4s ease;
}

.wa-bubble[hidden] {
    display: none;
}

/* Ekor gelembung mengarah ke tombol WhatsApp (tetap pas walau tombol scroll up muncul) */
.wa-bubble:after {
    content: '';
    position: absolute;
    right: 110px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transform: rotate(45deg);
}

@keyframes wa-bubble-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-bubble-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 28px;
    color: #888888;
    background: transparent;
    cursor: pointer;
}

.wa-bubble-close:hover {
    background: #f1f1f1;
}

.wa-bubble-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-right: 20px;
}

.wa-bubble-avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    color: #ffffff;
    background: var(--wa-green);
}

.wa-bubble-head strong {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    color: var(--heading-color);
}

.wa-bubble-head small {
    font-size: 12px;
    color: var(--text);
}

.wa-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--wa-green);
}

.wa-bubble p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.wa-bubble-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    color: #ffffff;
    background: var(--wa-green);
}

.wa-bubble-btn:hover {
    color: #ffffff;
    background: var(--wa-green-dark);
}

/* 14. Responsive
   ========================================================================== */

/* Laptop kecil: menu header tidak muat satu baris, jadi dirapatkan
   dan nomor telepon disembunyikan (masih ada di footer & halaman Kontak) */
@media (min-width: 992px) and (max-width: 1199px) {
    .main-menu .navigation > li {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-menu .navigation > li > a {
        font-size: 15px;
        white-space: nowrap;
    }

    .menu-number {
        display: none;
    }
}

@media (max-width: 1199px) {
    .hero-section h1,
    .page-banner h1 {
        font-size: 48px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 0;
        padding: 100px 0 180px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .about-us {
        padding-top: 80px;
    }

    .office-card iframe {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    /* Di HP widget dibuat ringkas: hanya teks utama */
    .wa-widget {
        right: 14px;
        bottom: 16px;
    }

    .wa-button {
        padding: 6px 18px 6px 6px;
        gap: 10px;
    }

    .wa-button-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .wa-button-text small {
        display: none;
    }

    .wa-button-text strong {
        font-size: 14px;
    }

    .wa-bubble {
        width: calc(100vw - 28px);
        max-width: 320px;
    }

    .wa-row .scroll-top {
        width: 44px;
        height: 44px;
    }

    .hero-section {
        display: block;
        padding: 70px 0 160px;
    }

    .hero-section h1,
    .page-banner h1 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions .theme-btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .page-banner {
        padding: 110px 0 60px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .success-wrap {
        margin-top: -110px;
        padding: 20px 16px 8px;
    }

    /* Di HP kotak dibuat ringkas (ikon di kiri) supaya tidak terlalu panjang */
    .success-wrap .row > [class*="col-"] {
        margin-bottom: 10px;
    }

    .success-wrap .success-item,
    .success-wrap .row > div:last-child .success-item {
        flex-direction: row;
        align-items: center;
        padding: 14px 16px;
    }

    .success-item .success-icon {
        flex: none;
        width: 32px;
        margin: 0 14px 0 0;
        text-align: center;
    }

    .success-item .success-icon i:before {
        font-size: 26px;
    }

    .success-wrap .success-item .success-content p {
        font-size: 15px;
        line-height: 1.45;
    }

    .about-border {
        display: none;
    }

    .about-image img {
        height: 400px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .contact-form-card .section-heading h2 {
        font-size: 28px;
    }

    .service-list-2col {
        column-count: 1;
    }

    .testi-card {
        padding: 40px 25px 30px;
    }

    .testi-card blockquote {
        font-size: 16px;
    }

    .contact-form-card {
        padding: 30px 22px;
    }

    .cta-band {
        padding-bottom: 70px;
    }

    .cta-inner {
        padding: 40px 25px;
    }

    .cta-text h2 {
        font-size: 26px;
    }

    .cta-actions,
    .cta-actions .theme-btn {
        width: 100%;
        text-align: center;
    }

    /* Di HP ruang kanan terlalu sempit, jadi ruang untuk tombol melayang diberikan di bawah */
    .footer-bottom {
        padding: 22px 0 84px;
    }

    .footer-bottom p {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 28px 22px;
    }

    .service-content h4 {
        font-size: 20px;
        line-height: normal;
    }

    .service-list li,
    .service-list li a {
        font-size: 15px;
    }

    .consult-btn {
        align-self: stretch;
        justify-content: center;
    }
}
