/* ==========================================================================
   CSS Styling: Berkah Refleksi Landing Page (One-Page)
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    /* ── Color Palette: Royal Navy & Gold (selaras dengan logo) ── */
    --primary-color: #0d1e6e;        /* Royal Blue — header, buttons utama */
    --primary-light: #1a2c8a;        /* Navy Medium — hover state */
    --primary-dark: #070e2e;         /* Midnight Navy — footer */
    --secondary-color: #c8972a;      /* Gold Metalik — aksen & highlight */
    --secondary-hover: #a87920;      /* Gold Gelap — hover gold */
    --secondary-light: #f0c040;      /* Gold Terang — badge, glow */
    --accent-green: #4a7c3f;         /* Hijau Daun logo — aksen alam */
    --bg-light: #f9f6ef;             /* Ivory Cream — background section */
    --bg-white: #ffffff;             /* White — card background */
    --bg-dark: #070e2e;              /* Midnight Navy — footer */
    --text-color: #2c3152;           /* Charcoal Blue — body text */
    --text-dark: #0d1e6e;            /* Royal Blue — headings */
    --text-white: #ffffff;           /* Pure White */
    --text-muted: rgba(44,49,82,0.65); /* Muted body text */

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Styling Tokens */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --box-shadow: 0 10px 30px rgba(13, 30, 110, 0.07);
    --box-shadow-hover: 0 20px 45px rgba(13, 30, 110, 0.14);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Common Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-xs-12 {
    width: 100%;
}

.text-center {
    text-align: center;
}

.align-items-center {
    align-items: center;
}

.align-items-stretch {
    align-items: stretch;
}

.position-relative {
    position: relative;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

/* --- Section Formatting --- */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.section-desc-center {
    font-size: 1.05rem;
    color: var(--text-color);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

/* ── Animasi Napas (Breathing Pulse) untuk tombol Booking Sekarang ── */
@keyframes breathe {
    0%   { transform: scale(1);    box-shadow: 0 4px 15px rgba(200, 151, 42, 0.30); }
    40%  { transform: scale(1.07); box-shadow: 0 8px 28px rgba(200, 151, 42, 0.55); }
    60%  { transform: scale(1.07); box-shadow: 0 8px 28px rgba(200, 151, 42, 0.55); }
    100% { transform: scale(1);    box-shadow: 0 4px 15px rgba(200, 151, 42, 0.30); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Hanya tombol di header-actions yang mendapat animasi napas */
.header-actions .btn-primary {
    animation: breathe 2.6s ease-in-out infinite;
    will-change: transform, box-shadow;
}

/* Saat hover: hentikan animasi & langsung ke state besar */
.header-actions .btn-primary:hover {
    animation-play-state: paused;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(200, 151, 42, 0.60);
    background: linear-gradient(135deg, var(--secondary-hover) 0%, var(--secondary-color) 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-hover) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 151, 42, 0.35);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 30, 75, 0.2);
}

/* ── Animasi Napas (Breathing Pulse) untuk tombol WhatsApp ── */
@keyframes breathe-wa {
    0%   { transform: scale(1);    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.30); }
    40%  { transform: scale(1.07); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55); }
    60%  { transform: scale(1.07); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55); }
    100% { transform: scale(1);    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.30); }
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--text-white);
}

.btn-whatsapp.btn-breathe-wa {
    animation: breathe-wa 2.6s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.60);
    animation-play-state: paused;
}

.btn-whatsapp-lg {
    background-color: #25d366;
    color: var(--text-white);
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
    width: 100%;
}

.btn-whatsapp-lg:hover {
    background-color: #20ba5a;
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(200, 151, 42, 0.18);
    color: var(--secondary-light);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: 1px solid rgba(200, 151, 42, 0.35);
    margin-bottom: 24px;
}

/* --- Header / Navigation Styles --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(7, 14, 46, 0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(7, 14, 46, 0.93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 75px;
    border-bottom: 1px solid rgba(200, 151, 42, 0.15);
    box-shadow: 0 10px 30px rgba(7, 14, 46, 0.35);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 4px 16px 4px 4px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: var(--transition);
}

.logo-wrapper:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Header: berkah_nobg_2 — logo bulat ikon */
.main-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    transition: var(--transition);
    filter: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: var(--transition);
    /* Mengikuti gaya elegan mirip contoh Sehat Refleksi */
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--primary-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-header.scrolled .logo-wrapper {
    background-color: rgba(255, 255, 255, 0.94);
    padding: 3px 12px 3px 3px;
}

.main-header.scrolled .main-logo {
    height: 32px;
    width: 32px;
}

.main-header.scrolled .logo-text {
    font-size: 1.2rem;
}

/* Sembunyikan tombol Booking Sekarang di nav-menu saat desktop */
.btn-mobile-only {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Normal flow text color adjustment for header */
body:not(.scrolled-state) .main-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Hamburger menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section Styles --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-white);
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient kiri (gelap-teks) ke kanan (transparan-gambar)
       Kiri: opacity tinggi agar teks terbaca
       Kanan: memudar agar foto latar terlihat artistik */
    background: linear-gradient(
        to right,
        rgba(7, 14, 46, 0.92) 0%,
        rgba(7, 14, 46, 0.80) 40%,
        rgba(13, 30, 110, 0.45) 65%,
        rgba(13, 30, 110, 0.12) 100%
    );
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--text-white);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--secondary-color);
    font-style: italic;
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Bouncing Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.5rem;
    z-index: 10;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--secondary-color);
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* --- About Section Styles --- */
.about-section {
    background-color: var(--bg-white);
}

.about-image-wrapper {
    position: relative;
}

.image-box {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.about-img-main {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-hover);
    object-fit: cover;
    height: 480px;
    width: 100%;
}

.experience-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    max-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-card .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.experience-card .label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-content {
    padding-left: 50px;
}

.features-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(240, 180, 0, 0.15);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-text h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* --- Services Section Styles --- */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 30px;
    position: relative;
    padding-top: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info .icon-box {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(240, 180, 0, 0.3);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 30, 75, 0.2);
}

.service-info h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-info p {
    font-size: 0.95rem;
    color: var(--text-color);
    flex-grow: 1;
}

/* --- Pricing Section Styles --- */
.pricing-section {
    background-color: var(--bg-white);
}

.pricing-column {
    display: flex;
}

.pricing-box {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    width: 100%;
    border: 1px solid rgba(0, 30, 75, 0.03);
    position: relative;
    overflow: hidden;
}

.pricing-box.highlight {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--secondary-color);
}

.pricing-box.highlight h3, .pricing-box.highlight .sub {
    color: var(--text-white);
}

.pricing-box.highlight .price {
    color: var(--secondary-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Badge "Paling Praktis" — horizontal pill di atas pricing header */
.popular-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, var(--secondary-hover) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(168, 121, 32, 0.45);
    margin-bottom: 20px;
    /* hapus position absolute & transform */
    position: static;
    transform: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header .icon-container {
    width: 70px;
    height: 70px;
    background-color: rgba(240, 180, 0, 0.15);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.pricing-box.highlight .icon-container {
    background-color: rgba(255, 255, 255, 0.08);
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.pricing-header .sub {
    font-size: 0.95rem;
    color: var(--text-color);
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 30, 75, 0.1);
    padding-bottom: 16px;
}

.pricing-box.highlight li {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-name {
    display: flex;
    flex-direction: column;
}

.item-name span {
    font-weight: 700;
    font-size: 1.05rem;
}

.item-name small {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 4px;
}

.price {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
}

.pricing-footer-note {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 30, 75, 0.1);
    font-size: 0.75rem;
    opacity: 0.75;
    line-height: 1.5;
}

.pricing-box.highlight .pricing-footer-note {
    border-top-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.pricing-footer-note p {
    margin-top: 40px;
    margin-bottom: 0;
}

/* --- Testimonials Section Styles --- */
.testimonials-section {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 30, 110, 0.85) 0%, rgba(13, 30, 110, 0.78) 50%, rgba(200, 151, 42, 0.05) 100%);
    background-image: url('assets/blog-02.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 14, 46, 0.88) 0%, rgba(13, 30, 110, 0.82) 50%, rgba(13, 30, 110, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle,
.testimonials-section .section-desc-center {
    color: var(--text-white);
}

.testimonials-section .section-subtitle {
    color: var(--secondary-light);
}

/* Carousel Container */
.testimonials-carousel {
    position: relative;
    margin-top: 60px;
    padding: 0 70px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 0;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 151, 42, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.testimonial-header {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(200, 151, 42, 0.3);
    flex-shrink: 0;
}

.testimonial-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    font-size: 0.9rem;
}

.testimonial-rating i {
    color: var(--secondary-light);
}

.testimonial-rating i.fa-regular {
    color: rgba(240, 192, 64, 0.5);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(200, 151, 42, 0.7);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background-color: var(--secondary-color);
    border-color: var(--text-white);
    transform: scale(1.3);
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* --- Contact & Location Section Styles --- */
.contact-section {
    background-color: var(--bg-light);
}

.contact-card {
    background-color: var(--bg-white);
    padding: 60px 48px;
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-info-list {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 30, 75, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.info-item .text {
    display: flex;
    flex-direction: column;
}

.info-item .text span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.info-item .text a, .info-item .text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.action-card {
    background-color: rgba(240, 180, 0, 0.08);
    border: 1px solid rgba(240, 180, 0, 0.2);
    padding: 30px;
    border-radius: var(--border-radius);
}

.action-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.action-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.map-wrap {
    padding: 0;
}

.map-container {
    height: 100%;
    width: 100%;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* --- Footer Styles --- */
.main-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 380px;
}

/* Footer: berkah_nobg_2 — ikon bulat, tampil natural di dark background */
.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    /* TIDAK perlu filter invert — ikon gold circle kontras di navy gelap */
    filter: drop-shadow(0 4px 12px rgba(200, 151, 42, 0.4));
    opacity: 1;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4, .footer-contact-info h4 {
    color: var(--text-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact-info p {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.95rem;
}

.footer-contact-info p i {
    color: var(--secondary-color);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-design-credit {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-design-credit p {
    margin: 0;
}

.footer-design-credit a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-design-credit a:hover {
    color: var(--secondary-color);
}

/* --- Scroll Animations Classes --- */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* About */
    .about-image-wrapper {
        margin-bottom: 40px;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    /* Contact */
    .contact-card {
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }
    
    .map-container {
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    }
    
    .map-container iframe {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    /* ── FIX #7: Section padding dikurangi untuk mobile ── */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }
    
    .d-none-mobile {
        display: none !important;
    }
    
    .btn-mobile-only {
        display: inline-flex !important;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }

    /* Logo di mobile */
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-wrapper {
        gap: 8px;
        padding: 5px 14px 5px 5px;
    }

    .main-logo {
        height: 50px;
        width: 50px;
    }
    
    /* Hamburger & Mobile Nav */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 15px 30px rgba(7, 14, 46, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        color: var(--text-white);
    }
    
    .main-header.scrolled .nav-menu {
        background-color: rgba(0, 30, 75, 0.98);
    }
    
    /* ── FIX #2: Hero overlay — gradient horizontal untuk mobile (tidak terlalu gelap) ── */
    .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(7, 14, 46, 0.75) 0%,
            rgba(7, 14, 46, 0.65) 35%,
            rgba(13, 30, 110, 0.35) 70%,
            rgba(13, 30, 110, 0.10) 100%
        );
    }

    /* ── FIX #11: Hero height — jadikan full screen di mobile agar premium ── */
    .hero-section {
        min-height: 100svh;
        padding-top: var(--header-height);
        padding-bottom: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    /* ── FIX #1: Hero title dikecilkan ── */
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }

    /* ── FIX #9: Row negative margin di-reset ── */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    /* ── FIX #3: About image height & padding dikurangi ── */
    .image-box {
        padding-right: 0;
        padding-bottom: 0;
    }

    .about-img-main {
        height: 300px;
    }

    /* ── FIX #10: Experience card di-static-kan di mobile ── */
    .experience-card {
        position: relative;
        margin-top: -40px;
        margin-left: auto;
        margin-right: 20px;
        max-width: 200px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* ── FIX #5: Pricing font size & spacing dikurangi ── */
    .pricing-column {
        margin-bottom: 30px;
    }
    
    .pricing-box {
        padding: 40px 24px;
    }

    .pricing-header h3 {
        font-size: 1.35rem;
    }

    .item-name span {
        font-size: 0.95rem;
    }

    .price {
        font-family: var(--font-body);
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--primary-color);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
        white-space: nowrap;
    }

    /* Testimonials — Mobile Adaptations */
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-carousel {
        margin-top: 50px;
        padding: 0 60px;
    }

    .testimonial-card {
        padding: 30px;
        flex: 0 0 100%;
        min-width: 100%;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }

    .testimonial-info h3 {
        font-size: 1.1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .carousel-btn-prev {
        left: 0;
    }

    .carousel-btn-next {
        right: 0;
    }

    /* ── FIX #4: Contact card padding dikurangi ── */
    .contact-card {
        padding: 40px 20px;
    }

    /* ── FIX #12: Info text word-break ── */
    .info-item .text strong,
    .info-item .text a {
        font-size: 1rem;
        word-break: break-word;
    }
    
    /* ── FIX #8: Footer logo dikecilkan ── */
    .footer-logo {
        height: 72px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-design-credit {
        margin-top: 20px;
        padding-top: 20px;
        font-size: 0.8rem;
    }
}

/* ── FIX #6: Breakpoint baru untuk HP kecil (360px, Samsung/Xiaomi entry) ── */
@media (max-width: 480px) {

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .col-md-6,
    .col-xs-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    section {
        padding: 50px 0;
    }

    /* Hero — lebih compact */
    .hero-section {
        padding-top: var(--header-height);
        padding-bottom: 40px;
        min-height: 100svh;
    }

    .hero-title {
        font-size: 1.85rem; /* Disesuaikan agar muat di 100vh */
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btns .btn {
        width: auto;
        max-width: 300px;
        justify-content: center;
        padding: 14px 20px;
        margin: 0 auto;
    }

    .badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        letter-spacing: 1.5px;
    }

    /* Section headings lebih kecil */
    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.78rem;
    }

    .section-desc,
    .section-desc-center {
        font-size: 0.92rem;
    }

    /* Logo lebih kecil di HP sangat kecil */
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-wrapper {
        gap: 6px;
        padding: 4px 12px 4px 4px;
    }

    .main-logo {
        height: 44px;
        width: 44px;
    }

    /* About */
    .about-img-main {
        height: 240px;
    }

    .experience-card {
        padding: 20px;
        max-width: 180px;
    }

    .experience-card .number {
        font-size: 2.2rem;
    }

    .about-content .section-desc {
        font-size: 0.92rem;
    }

    .feature-item {
        gap: 14px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .feature-text h3 {
        font-size: 1.05rem;
    }

    .feature-text p {
        font-size: 0.88rem;
    }

    /* Services */
    .service-info {
        padding: 30px 20px;
        padding-top: 36px;
    }

    .service-info h3 {
        font-size: 1.1rem;
    }

    .service-info p {
        font-size: 0.88rem;
    }

    /* Pricing — lebih compact */
    .pricing-box {
        padding: 30px 18px;
    }

    .pricing-header h3 {
        font-size: 1.2rem;
    }

    .pricing-header .icon-container {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .item-name span {
        font-size: 0.88rem;
    }

    .item-name small {
        font-size: 0.78rem;
    }

    .price {
        font-family: var(--font-body);
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--primary-color);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
        white-space: nowrap;
    }

    .pricing-footer-note {
        margin-top: 60px;
        padding-top: 20px;
        font-size: 0.75rem;
    }

    .pricing-footer-note p {
        margin-top: 15px;
    }

    .pricing-footer-note p {
        margin-top: 30px;
    }

    /* Testimonials — Extra Small Mobile */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-carousel {
        margin-top: 40px;
        padding: 0 35px;
    }

    .testimonial-card {
        padding: 24px;
        flex: 0 0 100%;
        min-width: 100%;
    }

    .testimonial-header {
        gap: 16px;
        margin-bottom: 20px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .testimonial-info h3 {
        font-size: 1rem;
    }

    .testimonial-rating {
        font-size: 0.85rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .carousel-btn-prev {
        left: 0;
    }

    .carousel-btn-next {
        right: 0;
    }

    .carousel-indicators {
        gap: 8px;
        margin-top: 20px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    /* Contact */
    .contact-card {
        padding: 30px 16px;
    }

    .action-card {
        padding: 20px 16px;
    }

    .action-card h3 {
        font-size: 1.05rem;
    }

    .info-item .text strong,
    .info-item .text a {
        font-size: 0.92rem;
    }

    .info-item .icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .map-container iframe {
        min-height: 300px;
    }

    /* Footer */
    .main-footer {
        padding: 50px 0 30px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-brand p {
        font-size: 0.88rem;
    }

    .footer-links h4, .footer-contact-info h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .footer-contact-info p {
        font-size: 0.88rem;
    }

    .footer-design-credit {
        font-size: 0.75rem;
    }

    /* Floating buttons posisi lebih ke pojok */
    .floating-mobile-actions {
        bottom: 18px;
        right: 18px;
    }

    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .float-wa {
        font-size: 1.5rem;
    }
}

/* ── Floating Mobile Actions (WA & Go Top) ── */
.floating-mobile-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    pointer-events: none; /* Allows click through the container */
}

.float-btn {
    pointer-events: auto; /* Re-enable clicks for buttons */
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #0f8a5f; /* Green matching the provided example */
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    visibility: hidden;
}

.float-btn:hover {
    background-color: #0b6b4a;
    transform: scale(1.1);
}

.float-wa {
    background-color: #0f8a5f;
    font-size: 1.8rem;
}

.floating-mobile-actions.visible .float-btn {
    opacity: 1;
    transform: none;
    visibility: visible;
}

