/* ============================================
  🔵 GLOBAL BASE
============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
  🔵 HERO / CAROUSEL
============================================ */
.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 250px;
    }
}

/* ============================================
  🔵 SEARCH SECTION
============================================ */
.search-section .card {
    background: #ffffff;
    color: #001f49;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.search-section .btn-link {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: #6c757d;
    border-bottom: 2px solid transparent;
}

.search-section .btn-link.active {
    color: #001f49;
    border-bottom: 2px solid #001f49;
}

.search-section .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #dee2e6;
    transition: box-shadow 0.2s ease;
}

.search-section .form-control {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.search-section .form-control::placeholder {
    color: #adb5bd;
}

.search-section .btn {
    border-radius: 0 12px 12px 0;
}

.search-section .btn:hover {
    background: #0056b3;
}

.search-overlay {
    position: relative;
    top: -80px;
    z-index: 10;
}

@media (max-width: 768px) {
    .search-overlay {
        top: -60px;
    }
}

/* Filter bar */
.filter-bar {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.filter-bar .filter-item {
    flex: 1 1 33.3%;
    padding: 0.75rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f9fafb;
    cursor: pointer;
}

.filter-bar .filter-item:nth-child(3n) {
    border-right: none;
}

@media (max-width: 576px) {
    .filter-bar .filter-item {
        flex: 1 1 50%;
    }

    .filter-bar .filter-item:nth-child(2n) {
        border-right: none;
    }
}

.filter-dropdown {
    background: transparent !important;
    border: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0;
    box-shadow: none !important;
    width: 100%;
    text-align: center;
    color: #333;
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-tabs .btn-link {
    text-decoration: none !important;
    position: relative;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.search-tabs .btn-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.search-tabs .btn-link:hover {
    color: #001f49;
}

.search-tabs .btn-link.active {
    color: #001f49;
    border-bottom: 2px solid #001f49;
}

.search-card-modern {
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    background-color: #ffffff;
}

#defaultSearchContent,
#sewaSearchContent {
    transition: opacity 0.3s ease;
}

/* ============================================
  🔵 MENU ICON SECTION
============================================ */
/* === Menu Icons Section === */
.menu-icons-section {
    /* background-color: #fff;*/
    border-radius: 16px;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); */
}

/* Icon Circle */
.icon-circle {
    width: 56px;
    height: 56px;
    background-color: #00aeef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 1.25rem;
    margin: auto;
}

.icon-circle:hover {
    transform: scale(1.05);
    background-color: #0094d4;
}

/* Text Style */
.menu-item span {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    color: #212529;
}

.menu-item small {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Responsive Grid Tweaks */
@media (max-width: 768px) {
    .menu-item span {
        font-size: 0.85rem;
    }

    .menu-item small {
        font-size: 0.7rem;
    }

    .menu-icons-section .col-4 {
        padding-left: 4px;
        padding-right: 4px;
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    /* Custom Order for Mobile */
    .order-1 {
        order: 1;
    }
    .order-2 {
        order: 2;
    }
    .order-3 {
        order: 3;
    }
    .order-4 {
        order: 4;
    }
    .order-5 {
        order: 5;
    }
    .order-6 {
        order: 6;
    }
}
/* ============================================
  🔵 PROJECTS / CAROUSEL SWIPER
============================================ */
#proyekBaruCarousel .carousel-inner {
    padding: 5px;
}

#proyekBaruCarousel img {
    max-height: 150px;
    object-fit: cover;
    width: 100%;
}

/* ============================================
  🔵 NAVIGATION TABS / PILLS
============================================ */
.nav-pills .nav-link {
    color: #00aeef;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: #001f49;
    color: white;
}

/* ============================================
  🔵 BUTTONS
============================================ */
.btn-info {
    background-color: #00aeef;
    border: none;
}

.btn-info:hover {
    background-color: #0094d4;
}

/* ============================================
  🔵 PARTNER LOGO SLIDER
============================================ */
.logo-slider-wrapper {
    height: 100px;
    position: relative;
}

.logo-slider {
    display: flex;
    animation: scrollLeft 25s linear infinite;
    width: max-content;
}

.logo-item img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
}

/* Scroll animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
  🔵 PROPERTY LISTING CARD (featured & new)
============================================ */
/* Scrollbar Mobile */
.scroll-mobile-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.scroll-mobile-wrapper::-webkit-scrollbar {
    height: 6px;
}
.scroll-mobile-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Grid Layout for Tablet/Desktop */
.featured-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .featured-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
    }
}

/* Card Wrapper Sizing for Mobile Scroll */
.property-card-wrapper {
    flex: 0 0 auto;
    width: 85%;
    max-width: 320px;
}

@media (min-width: 768px) {
    .property-card-wrapper {
        flex: unset;
        width: 100%;
    }
}

/* Card Styling */
.property-card {
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.property-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.property-card img {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-radius: 0;
}

.circle-badge {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: white;
    background-color: #00aeef; /* cyan branding Harcourts */
    padding: 1.2em;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* opsional */
}

.property-card .badge {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300; /* Light */
    font-size: 0.85rem;
    background-color: #001f49;
    color: #ffffff; /* opsional: agar teks tetap terbaca */
    padding: 0.3rem 0.6rem; /* opsional: biar lebih rapi */
    border-radius: 0.25rem; /* opsional: biar lebih smooth */
}

.property-card .text-muted i {
    margin-right: 4px;
}

.price-text {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700; /* Bold */
    color: #00aeef;
    font-size: 1rem; /* opsional, bisa disesuaikan */
}

.property-card .rounded-circle {
    object-fit: cover;
}

.scroll-mobile-wrapper::-webkit-scrollbar {
    height: 6px;
}
.scroll-mobile-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.property-card {
    background-color: #fff;
    transition: transform 0.2s ease;
    min-width: 270px;
    max-width: 100%;
}

.property-card:hover {
    transform: translateY(-3px);
}

.property-card h6 {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600; /* Semibold */
    font-size: 1rem;
    color: #001f49;
}

.property-card .badge {
    font-size: 0.65rem;
    padding: 4px 8px;
}

/* ============================================
  🔵 CAREER CTA
============================================ */
/* CTA Button */
.btn-career-cta {
    background-color: #0056d2;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
}

.btn-career-cta:hover {
    background-color: #0043a4;
    box-shadow: 0 6px 16px rgba(0, 86, 210, 0.3);
    transform: translateY(-2px);
}

.btn-career-cta:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.2);
}

/* Career Tabs */
.career-tab {
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    transition: 0.3s ease;
}

.career-tab.active {
    background-color: #0056d2;
    color: white;
}

/* Card Background */
.career-card-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.career-card-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* ============================================
  🔵 LATEST ARTICLES
============================================ */
/* Artikel - Scrollable di Mobile */
/* Artikel swipe container */
.article-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
}

.article-item {
    flex: 0 0 auto;
    width: 85%;
    scroll-snap-align: start;
}

/* Scrollbar styling (opsional) */
.article-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}
.article-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Responsive desktop grid */
@media (min-width: 768px) {
    .article-scroll-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        overflow: unset;
        gap: 1.5rem;
    }

    .article-item {
        width: 100%;
        flex: none;
    }
}

/* ============================================
  🔵 CONTACT WHATSAPP CTA
============================================ */
.bg-contact-gradient {
    background: linear-gradient(135deg, #001f49 0%, #00aeef 100%);
}

@media (max-width: 767.98px) {
    .bg-contact-gradient {
    }
}
