/* ===== assets/css/style.css ===== */
/* === GREEN & WHITE PALETTE === */
:root {
    --green-deep: #1b4d3e;      
    --green-medium: #2e7d5e;    
    --green-soft: #e6f3ed;      
    --green-pale: #f0f9f4;      
    --white: #ffffff;
    --gray-light: #f8faf9;
    --text-dark: #1e2b2a;
}

/* ===== GLOBAL STYLES ===== */
* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: #2c3e2f;
}

/* ===== SUB HEADER ===== */
.sub-header {
    background-color: var(--green-deep);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
}

.sub-header a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin-right: 2rem;
    transition: 0.2s;
}

.sub-header a:hover { color: white; }

.sub-header i {
    margin-right: 8px;
    color: #b7e0cf;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 8px 24px rgba(27, 77, 62, 0.06);
    padding: 0.2rem 1rem;
}

.navbar-brand h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.3;
    margin-left: 10px;
}

.navbar-brand span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #588072;
    display: block;
}

.logo {
    height: 70px;
    width: auto;
    filter: brightness(1.05);
}

.navbar-nav .nav-link {
    color: var(--green-deep) !important;
    font-weight: 500;
    margin: 0 0.9rem;
    position: relative;
    padding-bottom: 6px;
}

.navbar-nav .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green-medium);
    border-radius: 6px 6px 0 0;
}

/* ===== BANNER ===== */
.main-banner .item {
    height: 82vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.item-1 { 
    background: linear-gradient(105deg, #f0f9f4 0%, #d2eae0 100%), 
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1974&auto=format&fit=crop'); 
    background-blend-mode: overlay; 
}

.item-2 { 
    background: linear-gradient(105deg, #ecf7f1 0%, #c8e2d6 100%), 
                url('../images/BGslider2.jpg'); 
    background-blend-mode: overlay; 
}

.item-3 { 
    background: linear-gradient(105deg, #eaf5ef 0%, #c0dbcf 100%), 
                url('../images/BGslider.png');
    background-blend-mode: overlay; 
}

.text-content {
    max-width: 650px;
    padding: 2rem 3rem;
    margin-left: 8%;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    border-radius: 60px 60px 60px 10px;
    box-shadow: 0 30px 40px -20px rgba(27,77,62,0.2);
    border: 1px solid rgba(46,125,94,0.15);
}

.text-content h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green-medium);
    font-weight: 600;
}

.text-content h4 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green-deep);
    margin: 0.7rem 0;
}

.text-content p {
    font-size: 1.05rem;
    color: #2e4a40;
}

/* ===== BUTTONS ===== */
.filled-button {
    background: var(--green-medium);
    border: none;
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
    box-shadow: 0 8px 16px -6px rgba(46,125,94,0.4);
}

.filled-button:hover {
    background: var(--green-deep);
    color: white;
    transform: translateY(-2px);
}

.border-button {
    background: transparent;
    border: 2px solid var(--green-medium);
    color: var(--green-deep);
    padding: 12px 34px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(27,77,62,0.15);
    border-color: #2e7d5e;
}

.border-button:hover {
    background: var(--green-medium);
    color: white;
}

/* ===== REQUEST FORM ===== */
.request-form {
    background: var(--green-deep);
    color: white;
    padding: 4rem 0;
    background-image: radial-gradient(circle at 70% 30%, #3d8b70, #1b4d3e);
}

.request-form h4 { 
    font-size: 2rem; 
    font-weight: 600; 
}

/* ===== SERVICES ===== */
.services { 
    padding: 5rem 0; 
    background: white; 
}

.section-heading h2 { 
    font-size: 2.4rem; 
    font-weight: 600; 
    color: var(--green-deep); 
}

.section-heading h2 em { 
    color: var(--green-medium); 
    font-style: normal; 
}

.service-item {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 16px 30px -8px rgba(27,77,62,0.08);
    border: 1px solid rgba(46,125,94,0.1);
    transition: 0.2s;
    height: 100%;
}

.service-item:hover { 
    box-shadow: 0 22px 40px -10px rgba(46,125,94,0.2); 
}

.service-item img { 
    width: 100%; 
    height: 210px; 
    object-fit: cover; 
}

.down-content { 
    padding: 2rem; 
}

.down-content h4 { 
    color: var(--green-deep); 
    font-weight: 700; 
}

.down-content p { 
    color: #3b5a4e; 
}

/* ===== FUN FACTS ===== */
.fun-facts {
    background: var(--green-pale);
    padding: 5rem 0;
}

.count-area-content {
    background: white;
    border-radius: 30px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(46,125,94,0.04);
    border: 1px solid #d0eadc;
}

.count-digit { 
    font-size: 2.8rem; 
    font-weight: 700; 
    color: var(--green-medium); 
}

/* ===== MORE INFO ===== */
.more-info { 
    padding: 5rem 0; 
    background: white; 
}

.more-info-content {
    background: var(--green-pale);
    border-radius: 50px;
    padding: 3rem;
    border: 1px solid #c4e0d4;
}

.right-content span { 
    color: var(--green-medium); 
    letter-spacing: 2px; 
    text-transform: uppercase; 
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--green-soft);
    padding: 5rem 0;
}

.testimonial-item .inner-content {
    background: white;
    border-radius: 30px;
    padding: 0;
    box-shadow: 0 8px 20px rgba(27,77,62,0.04);
    border: 1px solid rgba(46,125,94,0.2);
    overflow: hidden;
}

.testimonial-item .inner-content img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.2s;
}

/* ===== OWL CAROUSEL CUSTOM ===== */
.owl-dots .owl-dot span { 
    background: #b7d5cb !important; 
}

.owl-dots .owl-dot.active span { 
    background: var(--green-medium) !important; 
}

.owl-nav { 
    display: none; 
}

/* ===== ARTICLE ===== */
.article-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(27,77,62,0.05);
    border: 1px solid #d0eadc;
    transition: 0.2s;
}

.article-card:hover { 
    box-shadow: 0 20px 32px rgba(46,125,94,0.12); 
}

.article-date {
    background: var(--green-soft);
    color: var(--green-deep);
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
}

.read-more { 
    color: var(--green-medium); 
    font-weight: 600; 
    text-decoration: none; 
    border-bottom: 2px solid transparent; 
}

.read-more:hover { 
    border-bottom-color: var(--green-medium); 
}

/* ===== CONTACT FORM ===== */
.callback-form { 
    background: white; 
    padding: 5rem 0; 
}

.contact-form input, .contact-form textarea {
    border: 1px solid #b8d5c9;
    border-radius: 40px;
    padding: 14px 22px;
    background: #fafffd;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--green-medium);
    box-shadow: 0 0 0 4px rgba(46,125,94,0.15);
    outline: none;
}

.contact-form button {
    background: var(--green-deep);
    border: none;
    color: white;
    padding: 14px 44px;
    border-radius: 40px;
    font-weight: 600;
}

.contact-form button:hover { 
    background: var(--green-medium); 
}

/* ===== FOOTER ===== */
footer {
    background: #1b4d3e;
    color: #e2f0e9;
    padding: 4rem 0 2rem;
}

footer h4 { 
    color: white; 
    font-size: 1.3rem; 
    margin-bottom: 1.5rem; 
}

footer .menu-list { 
    list-style: none; 
    padding: 0; 
}

footer .menu-list li { 
    display: flex; 
    align-items: center; 
    margin-bottom: 1rem; 
}

footer .menu-list li img {
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    margin-right: 12px;
    background: white; 
    padding: 4px;
}

footer a { 
    color: #d2eee2; 
    text-decoration: none; 
}

.googlemaps iframe {
    border-radius: 28px;
    height: 230px;
    width: 100%;
    filter: grayscale(0.2) brightness(1.02);
}

.sub-footer {
    background: #0f362b;
    color: #b0d9cb;
    padding: 1.5rem 0;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media screen and (max-width: 992px) {
    .text-content h4 {
        font-size: 2.5rem;
    }
    
    .service-item img {
        height: 180px;
    }
}

@media screen and (max-width: 768px) {
    .text-content {
        margin-left: 5%;
        padding: 1.5rem;
        width: 90%;
    }
    
    .text-content h4 {
        font-size: 2rem;
    }
    
    .request-form h4 {
        font-size: 1.5rem;
    }
    
    .count-digit {
        font-size: 2rem;
    }
    
    .more-info-content {
        padding: 2rem;
    }
    
    .googlemaps iframe {
        height: 180px;
    }
}

@media screen and (max-width: 576px) {
    .navbar-brand h2 {
        font-size: 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .text-content {
        padding: 1rem;
        border-radius: 30px;
    }
    
    .text-content h4 {
        font-size: 1.8rem;
    }
    
    .filled-button, .border-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-item {
        margin-bottom: 20px;
    }
    
    .count-area-content {
        padding: 1rem;
    }
}

@media screen and (max-width: 400px) {
    .text-content h4 {
        font-size: 1.5rem;
    }
    
    .text-content p {
        font-size: 0.9rem;
    }
}

/* Untuk landscape mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .main-banner .item {
        min-height: 400px;
        height: auto;
        padding: 40px 0;
    }
}