  *{
  box-sizing: border-box;
  }

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #2d3436;
    background-color: #f8f9fa;
    line-height: 1.8;
    scroll-behavior: smooth;
}

/* ===== HEADER ===== */
.header {
    background-color: #ffffff;
    padding: 0.8rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(26, 95, 122, 0.15);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    color: #1a5f7a;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: translateX(5px);
}

.header__logo i {
    color: #57a6a1;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.header__logo:hover i {
    color: #1a5f7a;
    transform: rotate(-15deg);
}

/* Navigation Styles */
.header__nav {
    display: flex;
    gap: 2.5rem;
}

.header__nav-link {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    position: relative;
    font-size: 1.05rem;
}

.header__nav-link:hover {
    color: #1a5f7a;
}

.header__nav-link::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #57a6a1;
    opacity: 0;
    transition: all 0.3s ease;
}

.header__nav-link:hover::before {
    opacity: 1;
    left: -0.8rem;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #57a6a1, #1a5f7a);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__nav-link.active {
    color: #1a5f7a;
    font-weight: 600;
}

/* Burger Menu Styles */
.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 100;
    transition: transform 0.3s ease;
}

.header__burger:hover {
    transform: scale(1.1);
}

.header__burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #1a5f7a, #57a6a1);
    margin: 6px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .header__burger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .header__nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 1rem;
        width: calc(100vw - 2rem); /* biar ada jarak kiri kanan */
        max-width: 320px;
        max-height: 80vh;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
        pointer-events: none;
        transition: all 0.4s ease-in-out;
        z-index: 999;
    }

    .header__nav--active {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .header__nav-link {
        font-size: 1.05rem;
        color: #2d3436;
        text-decoration: none;
        font-weight: 500;
        position: relative;
        transition: color 0.3s ease;
    }

    .header__nav-link:hover {
        color: #1a5f7a;
    }

    .header__nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px; /* sebelumnya 2px */
        bottom: 0;
        left: 0;
        background: linear-gradient(90deg, #57a6a1, #1a5f7a); /* sebelumnya solid */
        border-radius: 3px;
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* sebelumnya ease */
    }

    .header__nav-link:hover::after {
        width: 100%;
    }

    .header__burger--active .header__burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .header__burger--active .header__burger-line:nth-child(2) {
        opacity: 0;
    }

    .header__burger--active .header__burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header__nav-link::before {
        display: none;
    }

}

/* ===== SUPER MINI SCREEN (≤400px) ===== */
@media (max-width: 400px) {
    .header__nav {
        right: 0.5rem;
        width: calc(100vw - 1rem);
        padding: 1.2rem;
        border-radius: 10px;
    }

    .header__nav-link {
        font-size: 1rem;
    }
}

.header__nav::-webkit-scrollbar {
    width: 6px;
}

.header__nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* ===== SUPER MINI SCREEN (≤400px) ===== */
@media (max-width: 320px) {
    .header__nav {
        right: 0.5rem;
        width: calc(100vw - 1rem);
        padding: 1.2rem;
        max-width: 265px !important;
        border-radius: 10px;
    }

    .header__nav-link {
        font-size: 1rem;
    }
}

.header__nav::-webkit-scrollbar {
    width: 6px;
}

.header__nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #0e3a4a 0%, #1a5f7a 100%);
    color: #ffffff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #57a6a1, #ffc107);
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #0e3a4a, #1a5f7a);
    color: #ffffff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #57a6a1, #ffc107);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* ===== Footer Logo & Description ===== */
.footer-logo {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    align-items: center;
    background-color: #ffffff;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0 -0.5rem;
}

.description-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== Footer Section Titles ===== */
.footer-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #57a6a1);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.footer-title:hover::after {
    width: 80px;
}

/* ===== Contact Info ===== */
.footer-content p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-content i {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.a-footer {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.a-footer:hover {
    color: #ffc107;
}

/* ===== Google Maps ===== */
.footer-map iframe {
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer-map iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Quick Links ===== */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #ffc107;
    padding-left: 10px;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #ffc107;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(-5px);
}

/* ===== Social Media ===== */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    text-decoration: none;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.footer-social a:hover {
    background: #ffc107;
    color: #0e3a4a;
    transform: scale(1.1);
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.developer-credit {
    margin-top: 1rem;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.developer-link {
    color: #ffc107;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.developer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #ffc107;
    transition: width 0.3s;
}

.developer-link:hover::after {
    width: 100%;
}

.developer-credit i.fa-heart {
    color: #e74c3c;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5f7a, #57a6a1);
    color: #ffffff;
    font-size: 1.4rem;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(26, 95, 122, 0.3);
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(243, 156, 18, 0.3);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-link img {
        width: 100px;
        height: 100px;
    }

    .footer-logo-text {
        font-size: 2rem;
    }

    .description-text {
        font-size: 0.95rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 30px;
        right: 30px;
    }
}

@media (max-width: 400px) {
    .footer-container {
        padding: 1.5rem 0.75rem;
        gap: 1.5rem;
    }

    .footer-content p,
    .footer-links a {
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
