html {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
}

body {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    max-width: 100vw;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Header & Navigation */
header {
    background-color: #fff;
    padding: 1rem 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    will-change: transform;
}

header.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 0;
}

.navbar {
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 120px;      
    height: auto;      
    object-fit: contain;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #2C3E50;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger .close-icon {
    display: none;
    font-size: 28px;
    font-weight: bold;
    color: #2C3E50;
    line-height: 1;
}

.hamburger.active .bar {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A7BA7;
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4A7BA7;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-selector {
    position: relative;
}

.btn-language {
    background-color: #4A7BA7;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-language:hover {
    background-color: #3A6485;
    transform: translateY(-2px);
}

.btn-language .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.language-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin: 0;
}

.language-dropdown a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #333;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.language-dropdown a::after {
    content: none !important;
}

.language-dropdown a:hover {
    background-color: #f5f7fa;
    color: #4A7BA7;
}

/* Page Header with Background */
.page-header {
    position: relative;
    background-image: url('../image/jabat tangan.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(52, 73, 94, 0.85));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span:last-child {
    color: #fff;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* FORM SIDE */
.form-side h3 {
    color: #4A7BA7;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-side h2 {
    color: #2C3E50;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-side p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A7BA7;
    box-shadow: 0 0 0 3px rgba(74, 123, 167, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background-color: #4A7BA7;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: #3A6485;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 123, 167, 0.3);
}

/* INFO SIDE */
.info-side h3 {
    color: #4A7BA7;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-side h2 {
    color: #2C3E50;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.info-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #4A7BA7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.2rem;
}

.info-content h4 {
    color: #2C3E50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.info-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    background-color: #f8f9fa;
    padding: 5rem 0 0 0;
}

.map-title {
    color: #2C3E50;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.map-subtitle {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background: #34495E;
    color: white;
    padding: 0;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: #4A7BA7;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-social a:hover {
    background: #4A7BA7;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px 30px;
        gap: 1.5rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1rem;
    }

    .language-dropdown {
        position: relative;
        top: 0;
        box-shadow: none;
        margin-top: 0.5rem;
    }

    .page-header {
        position: relative;
        background-image: url('../image/jabat tangan.jpg');    
        background-size: cover;
        background-position: center;
        padding: 5rem 0;
        text-align: center;
        color: white;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .info-side h2,
    .form-side h2 {
        font-size: 1.75rem;
    }

    .btn-submit {
        width: 100%;
    }

    .map-section {
        padding: 3rem 0 0 0;
    }

    .map-title {
        font-size: 1.75rem;
    }

    .map-subtitle {
        font-size: 0.95rem;
    }

    .map-container {
        height: 350px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .footer-brand {
        width: 100%;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-right {
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 1.2rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contact-wrapper {
        gap: 3rem;
    }

    .map-container {
        height: 400px;
    }

    .footer-main {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}