/* =====================================================
   FONT & ROOT
===================================================== */
@font-face {
    font-family: "BBHBogle";
    src: url(../fonts/BBHBogle-Regular.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
}

:root {
    --royal-purple: #0b5fff;
    --vivid-magenta: #ff0080;
    --golden-joy: #ffc022;
    --deep-purple: #7c1485;
    --light-bg: #fdf8f2;
    --dark-text: #1a1a1a;
}

/* =====================================================
   BASE
===================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 68px;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
}

section {
    padding: 100px 0;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
.homepage-title h1 {
    font-family: "Poppins", sans-serif !important;
    font-weight: 400 !important;
}

.homepage-title {
    font-family: "Poppins", sans-serif !important;
    font-weight: 200 !important;
    font-size: clamp(2.2rem, 6vw, 3.5rem) !important;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

section h2 {
    font-family: "BBHBogle", sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 52px !important;
}

.text-blue {
    color: var(--royal-purple) !important;
}

.text-yellow {
    color: var(--golden-joy) !important;
}

.text-highlight {
    color: var(--golden-joy) !important;
    font-weight: bold !important;
}

/* =====================================================
   NAVBAR
===================================================== */
#navLogoImg {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease-in-out;
    visibility: hidden;
}

.navbar.scrolled #navLogoImg {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.navbar {
    background-color: transparent;
    transition: 0.4s;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    color: white !important;
    font-weight: bold;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--golden-joy) !important;
}

.navbar.scrolled .nav-link {
    color: var(--dark-text) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--golden-joy);
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* ===============================
   HERO 3D HOVER (COMPATIBLE FIX)
================================ */

/* PASTIKAN OVERLAY & VIDEO TEMBUS MOUSE */
.hero-video-bg,
.hero-video-overlay {
    pointer-events: none;
}

/* WRAPPER */
.hero-3d-wrapper {
    position: relative;
    /* width: 320px; */
    /* max-width: 85vw; */
    margin: 0 auto 40px;
    cursor: pointer;
    z-index: 3;
    max-height: 460px !important;
    margin-bottom: 5rem !important;
    /* di atas overlay */
}

/* ICON */
.hero-3d-layer {
    position: relative;
    z-index: 2;
    animation: floatAnim 6s ease-in-out infinite;
}

.hero-3d-layer img {
    /* width: 100%; */
    /* display: block; */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
    transition: transform .5s ease, opacity .5s ease;
}

/* TITLE */
.hero-hover-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);

    width: 100%;
    max-width: 900px;
    padding: 0 20px;

    opacity: 0;
    transition: all .5s ease;

    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -1.5px;

    pointer-events: none;
}

/* HOVER TRIGGER */
.hero-3d-wrapper:hover .hero-hover-title {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.hero-3d-wrapper:hover .hero-3d-layer img {
    transform: scale(0.85);
    opacity: 0;
}

/* =====================================================
   HERO (VIDEO + CONTENT + BUTTON)
===================================================== */
.hero-banner {
    min-height: 100vh;
    position: relative;
    overflow: visible !important;
    background: #000;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.stat-item {
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.stat-item h2 {
    color: #2f69ff;
    font-weight: 800;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    line-height: 1;
}

.stat-item small {
    font-size: 1rem;
    text-transform: capitalize;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.stat-item.no-border {
    border: none;
}

/* Tambahkan padding top pada section About Us agar tidak tertutup bar */
#about {
    padding-top: 100px;
}

/* @media (max-width: 768px) {
    .hero-stats-bar {
        bottom: -80px;
        padding: 15px 5px;
    }

    .stat-item h2 {
        font-size: 1.1rem;
    }

    .stat-item small {
        font-size: 0.6rem;
    }
} */

.el-1 {
    top: 25%;
    left: 15%;
}

.el-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.el-3 {
    bottom: 35%;
    right: 12%;
    animation-delay: 2s;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Mencegah video sendiri yang memicu scrollbar aneh */
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-overlay {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.1));
    min-height: 100vh;
}

.hero-content {
    max-width: 1100px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content p {
    opacity: 0.9;
}

.plus-yellow {
    color: var(--golden-joy);
}

.hero-content .d-flex.justify-content-center.gap-3 {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex !important;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   HERO BUTTON
===================================================== */
.hero-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
}

.btn-primary-glow {
    background: rgba(47, 105, 255, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(47, 105, 255, 0.3);
}

.btn-primary-glow:hover {
    background: rgba(47, 105, 255, 1);
    transform: translateY(-3px);
}

.btn-white-glass {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-white-glass:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* =====================================================
   HERO STATS BAR
===================================================== */
.hero-stats-bar {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: white;
    padding: 20px 10px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   ABOUT, SERVICES, PORTFOLIO, CLIENTS, CONTACT, FOOTER
   (SEMUA BLOK LAIN DIPINDAHKAN UTUH – TIDAK DIUBAH)
===================================================== */
/* … (struktur lanjutannya mengikuti CSS yang kamu kirim,
     TANPA SATU PUN VALUE DIUBAH) */

/* ABOUT */
.about-section {
    background-color: #fff;
    background-image: url("../assets/pattern.svg");
    background-size: cover;
    padding-top: 150px !important;
    padding-bottom: 6rem !important;
}

.about-main-card {
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.about-title {
    font-weight: 900;
    font-size: 2.5rem;
}

/* Memastikan kotak Visi & Misi memiliki tinggi yang sama dengan foto */
.vision-box,
.mission-box {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.vision-box {
    background: linear-gradient(135deg, var(--royal-purple) 0%, #1a4fd4 100%);
}

.mission-box {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.mission-num {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .about-title {
        font-size: 1.8rem;
    }

    .about-image-wrapper {
        height: 250px;
    }

    /* Atur tinggi foto di mobile */
}

/* WHY CHOOSE US */
#why-choose-us {
    /* PASTIKAN position: relative AKTIF agar pita bisa menempel di bawah section ini */
    position: relative;

    /* Hilangkan overflow: hidden jika pita terpotong, atau gunakan pada kontainer luar */
    overflow: visible;

    background-color: #fff;
    background-image: url("../assets/why_choose_us.svg");
    background-size: cover;
    padding-bottom: 120px !important;
    /* Ruang ekstra untuk pita */
}

.main-glass-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title-alt {
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--royal-purple);
}

/* Gallery Styling */
.main-gallery-img {
    height: 420px;
    width: 100%;
    object-fit: cover;
}

.side-gallery-img {
    height: 202px;
    width: 100%;
    object-fit: cover;
}

/* Gradient Buttons */
.feat-btn {
    padding: 15px 25px;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: default;
}

.feat-btn:hover {
    transform: scale(1.03);
}

.btn-orange-grad {
    background: linear-gradient(to right, #e91e63, #ff9800);
}

.btn-blue-grad {
    background: linear-gradient(to right, #8bc34a, var(--royal-purple));
}

.btn-magenta-grad {
    background: linear-gradient(to right, #3f51b5, #e91e63);
}

.btn-pink-grad {
    background: linear-gradient(to right, #ff9800, #e91e63);
}

.glowy-ticker-separator {
    position: absolute;
    /* Gunakan bottom dengan nilai yang lebih presisi */
    bottom: -175px !important;
    left: -0%;
    width: 100%;
    transform: rotate(-1deg);
    z-index: 100;
    /* Pastikan z-index sangat tinggi */
    pointer-events: none;
}

.ticker-png {
    width: 100%;
    height: auto;
    /* Memastikan gambar dipaksa tampil jika ada masalah render */
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Penyesuaian untuk Section Services di bawahnya */
#services {
    padding-top: 200px !important;
    position: relative;
    z-index: 1;
    background-color: white;
}

@media (max-width: 768px) {
    .glowy-ticker-separator {
        bottom: -20px;
        transform: rotate(-2deg);
    }
}

@media (max-width: 991px) {
    .glowy-ticker-separator {
        bottom: -86px !important;
    }

    .main-gallery-img {
        height: 300px;
    }

    .side-gallery-img {
        height: 142px;
    }
}

/* SERVICES */
.mr-3 {
    margin-right: 3rem !important;
}

.ml-3 {
    margin-left: 3rem !important;
}

.services-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #fff;
    background-image:
        url("../assets/bg_service_left.svg"),
        url("../assets/bg_service_right.svg"),
        /* Gradasi dengan kuning soft di tengah (50%) */
        linear-gradient(135deg,
            #ffffff 0%,
            #fffde7 50%,
            /* Kuning soft (Lemon Chiffon/Cream) */
            #f8faff 100%);

    /* Mengatur posisi gambar kiri bawah dan kanan sedikit turun */
    background-position:
        left bottom,
        right 35%;

    background-repeat: no-repeat;
    /* Ukuran gambar disesuaikan agar tidak menutupi konten utama */
    /* background-size: 40% auto, 40% auto, cover; */
}

/* Memastikan konten tetap berada di atas background */
.services-section .container {
    z-index: 2;
}

/* Judul Pusat (Blue Label) */
.service-main-label {
    background: var(--royal-purple);
    color: white;
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 105, 255, 0.4);
    position: relative;
    z-index: 5;
}

.service-main-label h2 {
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
}

.service-main-label p {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Card Styling */
.new-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Icon Bulat Biru di Atas Kartu */
.floating-icon-wrap {
    width: 55px;
    height: 55px;
    background: var(--royal-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(47, 105, 255, 0.3);
}

.service-title-text {
    font-size: 0.95rem;
    color: var(--royal-purple);
    text-align: center;
    margin-top: 25px;
}

/* Penyesuaian khusus untuk card agar tetap kotak sempurna (Square) */
.new-service-card {
    background: white;
    border: 1.5px solid var(--royal-purple);
    border-radius: 20px;
    padding: 20px;
    width: 350px;
    height: 250px;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

/* List item dibuat rata kiri */
.service-item-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 14px;
    text-align: left;
    /* Teks rata kiri */
}

.service-item-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 3px;
}

.service-item-list li i {
    color: var(--golden-joy);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Ticker Position di bagian atas section services */
.top-separator {
    top: -40px;
    bottom: auto;
}

@media (max-width: 991px) {
    .service-main-label {
        margin-bottom: 30px;
    }

    .service-grid-layout {
        flex-direction: column;
    }
}

/* OUR BEST MOMENT */
.portfolio-with-bg {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    background-image: url("../assets/bg_hero.svg");
    background-size: cover;
    padding-bottom: 100px !important;
}

/* Judul Styling */
.main-portfolio-title {
    font-weight: 900;
    font-size: 3.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.tagline-pill {
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    padding: 6px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Splide Slide Effects */
#portfolio-splide .splide__slide {
    transform: scale(0.85);
    opacity: 0.6;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(2px);
}

#portfolio-splide .splide__slide.is-active {
    transform: scale(1.2);
    /* Gambar Tengah Jauh Lebih Besar */
    opacity: 1;
    z-index: 5;
    filter: blur(0);
}

.portfolio-card {
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    height: 450px;
    /* Tinggi disesuaikan agar dominan */
}

.portfolio-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigasi Bulat (Custom Arrows) */
.custom-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    /* Posisi di antara gambar samping */
    pointer-events: none;
}

.arrow-circle {
    width: 60px;
    height: 60px;
    background: var(--golden-joy) !important;
    /* Warna Kuning Terang */
    border: none !important;
    border-radius: 50%;
    color: #000 !important;
    font-size: 1.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.arrow-circle:hover {
    background: #fff !important;
    transform: scale(1.1);
}

/* Hapus pagination default jika ingin bersih sesuai gambar */
.splide__pagination {
    display: none;
}

/* @media (max-width: 768px) {
    .main-portfolio-title {
        font-size: 2rem;
    }

    .portfolio-card {
        height: 300px;
    }

    .arrow-circle {
        width: 45px;
        height: 45px;
    }
} */

/* CLIENT */
/* Background Putih Murni */
.bg-white-pure {
    background-color: #ffffff !important;
    position: relative;
}

/* Tagline Pill sesuai desain terbaru */
.tagline-pill-magenta {
    display: inline-block;
    background: #e91e63;
    padding: 8px 35px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Container Logo */
.client-logo-static {
    background: #fdfdfd;
    /* Warna putih sangat soft untuk kontras tipis */
    border-radius: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.client-img-display {
    max-height: 60px;
    width: auto;
    filter: grayscale(0%);
    /* Logo tetap berwarna sesuai desain */
    transition: transform 0.3s ease;
}

/* Efek Interaktif Sederhana */
.client-logo-static:hover {
    background: #ffffff;
    border-color: #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

/* Judul Portfolio di Client Section */
.main-portfolio-title {
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
}

/* Menghilangkan sisa background lama */
#clients::before {
    display: none !important;
}

/* CONTACT US */
.contact-section {
    /* background: linear-gradient(135deg, #e91e63 0%, #ff9800 100%); */
    background: linear-gradient(100deg, #ff9800 0%, #e91e63 100%);
    position: relative;
    padding-bottom: 80px;
}

/* Main Card Styling */
.main-contact-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-title {
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--royal-purple);
    letter-spacing: -1px;
}

/* Tagline Pill */
.pill-tag-magenta {
    display: inline-block;
    background: #e91e63;
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Form Styling */
.custom-input {
    background: #f4f4f4;
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.9rem;
}

.custom-input:focus {
    background: #eee;
    box-shadow: none;
}

.btn-book-consultant {
    background: var(--royal-purple);
    color: white;
    font-weight: 700;
    padding: 15px;
    border-radius: 12px;
    border: none;
    transition: 0.3s;
}

.btn-book-consultant:hover {
    background: #1a4fd4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(47, 105, 255, 0.3);
}

/* Garis Pemisah Vertikal */
.vertical-divider {
    position: absolute;
    right: -15px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #ddd;
}

/* Map Styling */
.map-wrapper {
    border: 1px solid #eee;
}

/* @media (max-width: 991px) {
    .contact-title {
        font-size: 1.8rem;
    }

    .main-contact-card {
        padding: 30px 20px !important;
    }
} */

.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wa-link:hover {
    color: #25d366;
}

/* FOOTER */
/* Reset warna ke Putih */
footer.bg-white {
    background-color: #ffffff !important;
}

.btn-glowy {
    background-color: var(--golden-joy);
    color: var(--dark-text);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
}

.btn-glowy:hover {
    transform: translateY(-3px);
    background-color: white;
    color: var(--golden-joy);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Link Navigasi */
.footer-link-new {
    color: #333;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.footer-link-new:hover {
    color: var(--royal-purple);
    padding-left: 5px;
}

/* Ikon Sosial Media (Bulat Outline Hitam) */
.social-icon-new {
    width: 45px;
    height: 45px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-new:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* Teks Magenta sesuai Tagline */
.text-magenta {
    color: #e91e63;
}

/* Pengaturan teks biru judul */
.text-primary {
    color: var(--royal-purple) !important;
}

/* @media (max-width: 768px) {
    .footer-logo img {
        margin: 0 auto;
    }
} */

/* =====================================================
   FILE: style.css (Updated for Responsive Design)
   PANDUAN: Bagian bawah berisi Media Queries untuk Tab & Mobile
===================================================== */

/* --- TETAPKAN SEMUA KODE ASLI ANDA DI SINI --- */
/* (Saya sudah menyertakan base style Anda di bagian awal file ini) */

/* ... (Kode Font, Root, Base, Typography, Hero, dll tetap sama) ... */

/* =====================================================
   1. LARGE TABLET & SMALL LAPTOP (992px - 1199px)
   (Versi Website dengan ukuran lebih ringkas)
===================================================== */
@media (max-width: 1440px) {
    .hero-content {
        max-width: 900px;
    }

    .about-title {
        font-size: 2.2rem;
    }

    /* Menyesuaikan kartu agar tidak terlalu lebar */
    .new-service-card {
        width: 300px;
        height: 280px;
    }

    .glowy-ticker-separator {
        bottom: -145px !important;
    }
}

@media (max-width: 1024px) {
    .glowy-ticker-separator {
        bottom: -107px !important;
    }
}

/* =====================================================
   2. MEDIUM TABLET (768px - 991px)
   (Versi Tab seperti iPad atau Tablet Android)
===================================================== */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }

    section h2 {
        font-size: 42px !important;
    }

    .about-section {
        padding-top: 120px !important;
    }

    .about-image-wrapper {
        height: 350px;
        margin-bottom: 30px;
    }

    /* Galeri "Why Choose Us" jadi bertumpuk rapi */
    .main-gallery-img {
        height: 300px;
        margin-bottom: 15px;
    }

    .side-gallery-img {
        height: 200px;
        margin-bottom: 15px;
    }

    /* Grid Service berubah dari baris ke kolom */
    .service-grid-layout {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .mr-3,
    .ml-3 {
        margin: 0 !important;
    }

    .new-service-card {
        width: 90%;
        max-width: 450px;
        height: auto;
        min-height: 220px;
    }

    /* Portfolio Adjustment */
    .main-portfolio-title {
        font-size: 2.5rem;
    }

    .portfolio-card {
        height: 350px;
    }

    /* Contact Us - Menghilangkan garis vertikal pemisah */
    .vertical-divider {
        display: none;
    }

    .glowy-ticker-separator {
        bottom: -90px !important;
    }
}

/* =====================================================
   3. MOBILE VERSION (Di bawah 768px)
   (Penyesuaian khusus untuk Handphone)
===================================================== */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 32px !important;
        letter-spacing: 1px !important;
    }

    /* Judul Utama Hero lebih kecil agar tidak pecah */
    .homepage-title {
        font-size: 2.2rem !important;
    }

    /* Tombol Hero di mobile jadi susun ke bawah */
    .hero-content .d-flex.justify-content-center.gap-3 {
        /* flex-direction: column; */
        background: none;
        backdrop-filter: none;
        border: none;
        width: 75%;
        padding: 0;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    /* Stats Bar (Pindah dari melayang menjadi bagian dari alur halaman) */
    .hero-stats-bar {
        /* position: relative; */
        /* bottom: 0;
        left: 0;
        transform: none;
        width: 95%;
        margin: -50px auto 30px;
        padding: 10px; */
        position: absolute;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1100px;
        background: white;
        padding: 20px 10px;
        border-radius: 20px;
        z-index: 10;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
        text-align: center;
    }

    /* Service Card di Mobile jadi Full Width */
    .new-service-card {
        width: 100%;
        padding: 25px 15px;
    }

    /* Portfolio Mobile (Slide efek diperkecil agar tidak menutupi layar) */
    .portfolio-card {
        height: 280px;
        border-radius: 20px;
    }

    #portfolio-splide .splide__slide {
        transform: scale(0.9) !important;
        opacity: 0.7;
    }

    #portfolio-splide .splide__slide.is-active {
        transform: scale(1) !important;
        opacity: 1;
    }

    /* Panah Navigasi diperkecil */
    .arrow-circle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Pita/Ticker di Mobile dibuat lurus agar tidak ada gap putih */
    .glowy-ticker-separator {
        bottom: -82px !important;
        transform: rotate(0deg);
    }

    /* Footer Center Alignment */
    .footer-logo,
    .footer-nav-col,
    .social-icons-wrap {
        text-align: center;
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 425px) {
    .stat-item h2 {
        font-size: 24px !important;
    }

    .stat-item small {
        font-size: 8px !important;
    }

    .homepage-title {
        font-size: 1.5rem !important;
    }

    .glowy-ticker-separator {
        bottom: -45px !important;
        transform: rotate(0deg);
    }

    #services {
        padding-top: 120px !important;
    }

    /* Mengecilkan ukuran font dan padding pada semua jenis button */
    .hero-btn,
    .feat-btn,
    .btn-book-consultant,
    .btn-glowy {
        font-size: 13px !important;
        /* Ukuran teks lebih kecil */
        padding: 10px 15px !important;
        /* Padding lebih ramping */
        gap: 6px !important;
        /* Jarak antara icon dan teks dipersempit */
        letter-spacing: 0.5px !important;
        /* Spasi antar huruf agar tidak rapat */
    }

    /* Memastikan icon di dalam button ikut mengecil */
    .hero-btn i,
    .feat-btn i {
        font-size: 14px !important;
    }
}