/* --- Global Styles & Variables --- */
* {
    box-sizing: border-box;
}

:root {
    --primary-color: #2a7f62;
    --secondary-color: #4caf50;
    --accent-color: #ff9800;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --font-family: 'Poppins', sans-serif;
    --whatsapp-green: #25D366;
    --transition-base: 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    padding-top: 76px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.section-padding {
    padding: 80px 0;
}

/* --- PERBAIKAN: Kelas Pembantu untuk Judul dengan Border (Mengurangi Pengulangan) --- */
.bordered-title {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    padding: 4px 8px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    background-color: rgba(42, 127, 98, 0.05);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.bordered-title:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 127, 98, 0.2);
}

/* --- Title Styles (Menggunakan Kelas Pembantu) --- */
h1, .h1 { font-size: 2.5rem; font-weight: 700; padding: 8px 15px; border-radius: 8px; border-width: 3px; }
h2, .h2 { font-size: 2rem; font-weight: 700; }
h3, .h3 { font-size: 1.5rem; font-weight: 600; }
h4, .h4 { font-size: 1.25rem; font-weight: 600; border-width: 1px; padding: 4px 8px; border-radius: 4px; }
h5, .h5 { font-size: 1.1rem; font-weight: 600; border-width: 1px; padding: 4px 8px; border-radius: 4px; }
h6, .h6 { font-size: 1rem; font-weight: 600; border-width: 1px; padding: 3px 6px; border-radius: 3px; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 5px 12px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Special Title Styles dengan Tight Border --- */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    padding: 10px 20px;
    border: 3px solid white;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all var(--transition-base);
    white-space: nowrap;
    color: white; /* Override primary color */
    border-color: white; /* Override primary color */
}

.hero-title:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    color: white;
}

.card-title, .blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color); /* Override for blog */
    margin-bottom: 0.5rem;
}

.modal-title {
    font-weight: 600;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background-color: rgba(42, 127, 98, 0.05);
    white-space: nowrap;
}

.team-member h4 {
    margin-bottom: 5px;
    padding: 4px 10px;
    border-radius: 15px;
}

.team-member h4:hover {
    transform: scale(1.05);
}

.calculator-container h5 {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background-color: rgba(42, 127, 98, 0.05);
    margin-bottom: 1rem;
    white-space: nowrap;
}

/* --- Navbar & Animasi Scroll --- */
.navbar {
    background-color: var(--dark-color);
    transition: transform var(--transition-base), background-color var(--transition-base);
    box-shadow: var(--shadow-md);
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    margin-right: 10px;
    max-height: 40px;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 10px;
    transition: color var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.btn-whatsapp-header {
    background-color: var(--whatsapp-green) !important;
    color: white !important;
    border-radius: 5px;
    padding: 5px 15px !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-whatsapp-header:hover {
    transform: scale(1.05);
    background-color: #128C7E !important;
}

/* --- Hero Section & Efek Parallax --- */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=2070') no-repeat center center/cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* --- Statistics Section --- */
.stat-card {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6c757d;
}

/* --- Video Section --- */
.video-container-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    background-color: #000;
}

.video-element {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #000;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-poster:hover {
    opacity: 0.9;
}

.video-stop-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background-color: rgba(220, 53, 69, 0.8) !important;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.video-stop-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- Ulasan Section yang Ditingkatkan --- */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.rating-count {
    color: #6c757d;
}

.rating-bars {
    flex-grow: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-bar-label {
    width: 60px;
    font-size: 0.9rem;
}

.rating-bar-container {
    flex-grow: 1;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background-color: #ffc107;
}

.rating-bar-count {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
}

.review-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    background-color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.review-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--light-color);
}

.reviewer-name {
    font-weight: 600;
    margin: 0;
}

.review-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    margin-top: 15px;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
}

.review-actions {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.review-action-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.review-action-btn:hover {
    color: var(--primary-color);
}

.review-action-btn.liked {
    color: #e74c3c;
}

/* --- Rating System --- */
.star-rating {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.star-rating .bi-star:hover {
    color: #ffc107;
}

.star-rating .bi-star.active {
    color: #ffc107;
}

/* --- Admin Panel --- */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    overflow-y: auto;
    color: white;
    display: none;
    padding: 20px 0;
}

.admin-panel h4, .admin-panel h5 {
    color: var(--primary-color);
}

.admin-panel .nav-tabs .nav-link {
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid transparent;
}

.admin-panel .nav-tabs .nav-link.active {
    color: white;
    background-color: transparent;
    border-bottom: 1px solid var(--primary-color);
}

.admin-panel .nav-tabs .nav-link:hover {
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.admin-panel .card {
    margin-bottom: 20px;
    border: none;
    box-shadow: var(--shadow-md);
}

.admin-panel .card h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.admin-panel .table {
    background-color: transparent;
}

.admin-panel .table th {
    border-top: none;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.admin-panel .btn {
    margin-right: 5px;
}

.pending-review-card {
    background: #fff;
    color: var(--dark-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.pending-review-card h6 {
    font-weight: 600;
}

.pending-review-card p {
    margin: 0;
    font-size: 0.9rem;
}

.pending-review-card .btn-group .btn {
    padding: 5px 10px;
    font-size: 0.8rem;
}

/* --- Chart Container --- */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* --- CEO Section --- */
.ceo-section {
    background-color: var(--light-color);
}

.ceo-image {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.ceo-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 20px;
}

.ceo-quote:before, .ceo-quote:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    opacity: 0.3;
}

.ceo-quote:before {
    top: -10px;
    left: -10px;
}

.ceo-quote:after {
    bottom: -30px;
    right: -10px;
}

.ceo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ceo-title {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* --- Team Section --- */
.team-member {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.team-member:hover {
    background-color: rgba(42, 127, 98, 0.05);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
    transition: transform var(--transition-base);
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member p {
    color: #6c757d;
    margin-bottom: 15px;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color var(--transition-base);
}

.team-social a:hover {
    background-color: var(--accent-color);
}

/* --- Projects/Proyek Section --- */
.project-block {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: white;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-block:hover:before {
    transform: scaleX(1);
}

.project-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-block h5 {
    font-weight: 700;
    color: var(--primary-color);
}

.project-block .badge {
    font-size: 0.9rem;
}

/* --- Gallery Section --- */
.gallerySwiper {
    padding: 0 20px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.swiper-slide:hover .gallery-overlay {
    transform: translateY(0);
}

.swiper-slide:hover img {
    transform: scale(1.1);
}

/* --- Blog Section --- */
.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.blog-meta span {
    margin-right: 1rem;
}

.blog-card-text {
    color: #6c757d;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* --- Calculator Section --- */
.calculator-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.result-item:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.loan-schedule {
    margin-top: 1.5rem;
}

/* --- Map Section --- */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-info {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.map-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.map-info ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.map-info ul li:last-child {
    border-bottom: none;
}

.map-info .btn {
    margin-top: 15px;
}

.map-info-window {
    padding: 10px;
    max-width: 250px;
}

.map-info-window h5 {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.map-info-window p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

footer a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-base);
}

footer a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color var(--transition-base);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
    z-index: 999;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    color: white;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: transform var(--transition-base), bottom var(--transition-base);
    text-decoration: none;
}

.whatsapp-float.shifted {
    bottom: 110px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-float i {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* --- Team Carousel --- */
.team-carousel {
    position: relative;
    overflow: hidden;
}

.team-carousel-container {
    display: flex;
    transition: transform 0.25s ease;
}

.team-carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.team-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.team-carousel-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.team-carousel-btn:hover {
    background-color: var(--accent-color);
}

.team-carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.team-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.team-carousel-indicator.active {
    background-color: var(--primary-color);
}

/* --- Video Gallery Section --- */
.video-gallery-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.video-info p {
    margin-bottom: 15px;
}

.video-info h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.video-info ul li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.photo-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.photo-gallery-item:hover {
    transform: translateY(-5px);
}

.photo-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-gallery-item:hover img {
    transform: scale(1.05);
}

.photo-caption {
    text-align: center;
}

.photo-caption h6 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Instagram Integration Styles --- */
/* PERBAIKAN: Hanya CSS yang digunakan di HTML yang dipertahankan */
.instagram-post {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.instagram-embed {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.instagram-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #efefef;
}

.instagram-profile {
    display: flex;
    align-items: center;
}

.instagram-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.instagram-info strong {
    font-size: 14px;
    display: block;
}

.instagram-info small {
    font-size: 12px;
    color: #8e8e8e;
}

.instagram-options {
    color: #8e8e8e;
    cursor: pointer;
}

.instagram-content {
    padding: 12px 15px;
}

.instagram-likes {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.instagram-caption {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.instagram-caption p {
    margin: 5px 0;
}

.instagram-caption p:last-child {
    color: #00376b;
    font-size: 14px;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .stat-number { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .section-padding { padding: 70px 0; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .stat-number { font-size: 2.2rem; }
    .whatsapp-float, .back-to-top {
        width: 50px; height: 50px; font-size: 20px;
        bottom: 20px; right: 20px;
    }
    .whatsapp-float.shifted { bottom: 80px; }
    .ceo-quote { font-size: 1rem; }
    .team-member img { width: 150px; height: 150px; }
    .map-container { height: 350px; }
    .reviews-summary { flex-direction: column; gap: 1rem; }
    .rating-bars { width: 100%; }
    .admin-panel .card h2 { font-size: 1.8rem; }
    .admin-panel .nav-tabs .nav-link { font-size: 0.9rem; padding: 8px 10px; }
    .video-gallery-container { margin-bottom: 20px; }
    .photo-gallery-item img { height: 150px; }
    
    /* Responsive untuk title border */
    h1, .h1 { font-size: 1.8rem; padding: 6px 12px; }
    h2, .h2 { font-size: 1.5rem; padding: 5px 10px; }
    h3, .h3 { font-size: 1.3rem; padding: 4px 8px; }
    h4, .h4 { font-size: 1.2rem; padding: 3px 6px; }
    h5, .h5 { font-size: 1.1rem; padding: 3px 6px; }
    h6, .h6 { font-size: 1rem; padding: 2px 5px; }
    .section-title { font-size: 1.3rem; padding: 3px 8px; }
    .hero-title { font-size: 1.8rem; padding: 6px 12px; }
}

@media (max-width: 576px) {
    body { padding-top: 60px; }
    h1, .h1 { font-size: 2rem; padding: 5px 10px; }
    h2, .h2 { font-size: 1.75rem; padding: 4px 8px; }
    h3, .h3 { font-size: 1.5rem; padding: 3px 6px; }
    h4, .h4 { font-size: 1.4rem; padding: 3px 6px; }
    h5, .h5 { font-size: 1.3rem; padding: 2px 5px; }
    h6, .h6 { font-size: 1.2rem; padding: 2px 4px; }
    .section-title { font-size: 1.75rem; margin-bottom: 1rem; padding: 3px 8px; }
    .hero-title { font-size: 2.2rem; padding: 6px 12px; }
    .hero-subtitle { font-size: 1.1rem; }
    .stat-card { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2rem; }
    .whatsapp-float, .back-to-top {
        width: 45px; height: 45px; font-size: 18px;
        bottom: 15px; right: 15px;
    }
    .whatsapp-float.shifted { bottom: 75px; }
    .map-container { height: 300px; }
    .reviews-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    
    /* Allow text wrapping on very small screens */
    h1, .h1, h2, .h2, h3, .h3, .section-title, .hero-title {
        white-space: normal; max-width: 100%;
    }
    
    .container { padding-left: 15px; padding-right: 15px; }
    .section-padding { padding: 40px 0; }
    .team-member { margin-bottom: 20px; }
    .team-member img { width: 120px; height: 120px; }
    .calculator-container { padding: 1.5rem; }
    .gallerySwiper { padding: 0 10px; }
    .swiper-slide img { height: 200px; }
    .blog-card { margin-bottom: 20px; }
    .project-block { padding: 15px; }
    .map-info { padding: 15px; }
    footer { padding: 40px 0 15px; }
}