@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* ===== Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url("pics/logobaru4.png") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 92px; /* space for navbar */
    color: #ffffff;
}

/* ===== Contact Wrapper ===== */
.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: 80px auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 2px solid #ffffff; /* White outline */
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeIn 1.2s ease;
    transition: all 0.3s ease-in-out;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(48, 106, 147, 1), 0 0 40px rgba(1, 65, 156, 1);
    border: 2px solid rgba(48, 106, 147, 1); /* Blue neon outline on hover */
}

/* ===== Left Side ===== */
.contact-left {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-left h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(48, 106, 147, 0.8);
    margin-bottom: 10px;
}

.contact-left p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 25px;
}

.mail-btn {
    display: inline-block;
    background: linear-gradient(135deg, #306a93, #01419c);
    color: #fff;
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(1, 65, 156, 0.5);
}

.mail-btn:hover {
    background: linear-gradient(135deg, #01419c, #306a93);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(48, 106, 147, 0.8);
    border: 1px solid #ffffff;
}

/* ===== Right Side ===== */
.contact-right {
    flex: 1;
    padding: 40px;
    color: #ffffff;
}

.contact-right h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(48, 106, 147, 0.8);
}

/* ===== Form ===== */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

form input:focus,
form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(48, 106, 147, 0.5);
}

form textarea {
    resize: none;
    height: 120px;
}

form button {
    background: linear-gradient(135deg, #306a93, #01419c);
    color: #fff;
    border: none;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(1, 65, 156, 0.5);
}

form button:hover {
    background: linear-gradient(135deg, #01419c, #306a93);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(48, 106, 147, 0.7);
}

/* ===== Success Message ===== */
.success-msg {
    background: #4BB543;
    color: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        max-width: 90%;
    }

    .contact-left,
    .contact-right {
        border-right: none;
        text-align: center;
    }

    .contact-left h2 {
        font-size: 1.5rem;
    }

    .contact-right h3 {
        font-size: 1.3rem;
    }
}

/* ================================ Contact Page Navbar ================================ */
.contact-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    background: linear-gradient(rgba(39, 39, 39, 1), transparent);
    z-index: 100;
}

/* Logo & title */
.contact-nav .logo-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-nav .logo {
    width: 55px;
    height: 55px;
    border-radius: 100%;
    object-fit: cover;
}

.contact-nav .site-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

/* Menu */
.contact-nav .nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.contact-nav .nav-menu ul li .link {
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    padding-bottom: 5px;
    transition: border-color 0.3s ease;
}

.contact-nav .nav-menu ul li .link:hover,
.contact-nav .nav-menu ul li .link.active {
    border-bottom: 2px solid #fff;
}

/* Profile / Signin / Signup */
.contact-nav .nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-nav .btn-signin,
.contact-nav .btn-signup,
.contact-nav .dropdown-toggle {
    background: linear-gradient(135deg, #306a93, #01419c);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-nav .btn-signin:hover,
.contact-nav .btn-signup:hover,
.contact-nav .btn-profile:hover,
.contact-nav .dropdown-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(48, 106, 147, 0.7);
}

/* Dropdown */
.contact-nav .dropdown-menu {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 6px 0;
}

.contact-nav .dropdown-item {
    color: #002D62;
    font-weight: 500;
}

/* Mobile icon */
.contact-nav .nav-menu-btn {
    display: none;
    font-size: 28px;
    color: #fff;
}

/* ===== RESPONSIVE FIXES (Mobile Only) ===== */
@media (max-width: 768px) {

    body {
        padding-top: 15px; /* keeps your navbar spacing on mobile */
        overflow-x: hidden;
    }

    .contact-wrapper {
        max-width: 92%;
        margin: 20px auto;
        flex-direction: column;
        padding: 0;
    }

    .contact-left,
    .contact-right {
        padding: 25px;
        text-align: center;
    }

    .contact-left h2 {
        font-size: 1.4rem;
    }

    .contact-right h3 {
        font-size: 1.25rem;
    }

    .mail-btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 14px;
        font-size: 1rem;
    }

    /* Fix navbar spacing on mobile */
/* ===== CONTACT PAGE MOBILE NAVBAR ===== */
.contact-nav {
    position: relative !important;
    height: auto !important;
    padding: 0 75px !important;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    margin-top: 0; /* <-- remove extra space */
    background: linear-gradient(rgba(39, 39, 39, 1), transparent);
}
.contact-nav .nav-logo {
    width: 100%;
    margin: 10px;
    display: flex;
    justify-content: center;
}

.contact-nav .nav-logo .logo {
    width: 50px;
    height: 50px;
}

.contact-nav .site-title {
    font-size: 1.3rem;
}

/* HAMBURGER BUTTON */
.contact-nav .nav-menu-btn {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: #2f79e0;
    position: absolute;
    right: 25px;
    top: 20px;
}

/* MOBILE MENU (CLOSED) */
.contact-nav .nav-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* MOBILE MENU (OPEN) */
.contact-nav.active .nav-menu {
    max-height: 400px;
    opacity: 1;
    margin-top: 15px;
}

.contact-nav .nav-menu ul {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-nav .nav-menu ul li .link {
    font-size: 1rem;
    padding: 6px 0;
    text-align: center;
}

/* SIGN IN / SIGN UP / PROFILE BUTTONS */
.contact-nav .nav-button {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    gap: 12px;
}

.contact-nav .btn-signin,
.contact-nav .btn-signup,
.contact-nav .btn-profile {
    width: 85%;
    text-align: center;
    padding: 10px 0;
    font-size: 1rem;
}


}
