@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    text-decoration: none;
    list-style: none;
}

section {
    padding: 100px 150px;
}

/* -------------- Awal Header -------------- */

header {
    position: fixed;
    width: 100%;
    padding: 15px 60px;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(192, 192, 192, 0.5));
    z-index: 1000;
}

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

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar ul {
    display: flex;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    color: #070276;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    position: relative;
    display: inline-block;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #070276, #0363A8, #0D04DC);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.navbar ul li a:hover::after {
    width: 100%;
    left: 0;
}

.navbar ul li a:hover {
    color: #0363A8;
}

.navbar .menu-toggle {
    display: none;
}

.btn-contact {
    background: linear-gradient(to right, #070276, #0363A8, #0D04DC);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #070276;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease-in-out, border 0.4s ease-in-out;
}

.btn-contact::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #070276, #0363A8, #0D04DC);
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
    z-index: -1;
    border-radius: 50px;
}

.btn-contact:hover::before {
    opacity: 0;
}

.btn-contact:hover {
    background: transparent;
    color: #070276;
    border-color: #070276;
}

.logo1 {
    display: none;
}

.logo2 {
    width: 100px;
    height: auto;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 20px 20px 0;
    width: 200px;
    z-index: 10;
    padding: 10px 0;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: #070276;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.dropdown-menu li a:hover {
    color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.close-menu {
    display: none;
}

.backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to bottom, #070276, #0D04DC);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 100;
}

#backToTop:hover {
    background: linear-gradient(to bottom, #070276, #0D04DC);
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    margin: 5% auto;
    padding: 30px;
    width: 70%;
    max-height: 80vh;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    border-radius: 10px;
}

.modal-title {
    color: #4318FF;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    color: #4318FF;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.phone-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.phone-prefix {
    background: #f0f0f0;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.phone-input {
    flex-grow: 1;
    border: none;
    padding: 10px;
    outline: none;
}

textarea, input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease-in-out;
}

textarea::placeholder,
input::placeholder {
    color: #888;
}

input:focus, textarea:focus, select:focus {
    border-color: #4318FF;
    box-shadow: 0 0 5px rgba(67, 24, 255, 0.3);
}

.wrap-button {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 20px;
}

.g-recaptcha {
    transform: scale(0.85);
}

.submit-btn {
    background: linear-gradient(to right, #070276, #0363A8, #0D04DC);
    color: white;
    padding: 10px 20px;
    margin-top: 0;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid #070276;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.submit-btn:hover {
    background: transparent;
    color: #070276;
    border-color: #070276;
}

/* -------------- Akhir Header -------------- */

/* -------------- Awal Footer -------------- */

footer {
    background-image: url('/img/bg.png');
    background-position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    display: flex;
    font-size: 14px;
    flex-direction: column;
    justify-content: center;
}

.alamat h4, 
.layanan-footer h4, 
.quick-link h4, 
.kontak1 h4, 
.kontak2 h4 {
    font-size: 16px;
}

.footer-info {
    display: flex;
    justify-content: center;
}

.footer-info .left-footer {
    width: 45%;
    padding: 40px;
}

.line {
    display: none;
}

.fbs1 {
    margin: 0 0 35px 0;
}

.kontak1 {
    display: none;
}

.kontak2 li a {
    color: inherit;
}

.kontak2 li a:hover {
    color: #070276;
}

.fbs1 img, .alamat h4, .kontak1 h4{
    margin-bottom: 10px;
}

.logo-fbs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0 !important;
}

.logo-fbs img {
  width: 75%;
  height: auto;
  display: block;
}

.fbs1 p {
  margin-top: 0 !important;
}

.logo-fbs p {
  margin: 0 !important;
}

.footer-info .mid-footer {
    width: 30%;
    padding: 40px;
}

.mid-footer .layanan-footer {
    margin-bottom: 30px;
}

.layanan-footer li, .quick-link li {
    margin: 10px 0;
}

.footer-info .right-footer {
    width: 35%;
    padding: 40px;
}

.right-footer ul {
    margin: 10px 0 20px 0;
}

.slogan-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}
.slogan-footer img {
    margin-top: 30px;
    max-width: 90%;
    height: auto;
}

.sosmed {
    text-align: center;
}

.sosmed a {
    display: inline-block;
    font-size: 30px;
    margin: 20px;
    background: linear-gradient(-45deg, rgba(7, 2, 118, 1), rgba(4, 54, 220, 1), rgba(7, 2, 118, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sosmed a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.copyright {
    text-align: center;
    margin: 20px;
}

/* -------------- Akhir Footer -------------- */

@media (max-width: 480px) {
    /* -------------- Awal Header -------------- */

    .logo1 {
        position: absolute;
        top: 15px;
        left: 20px;
        width: 80px;
        height: auto;
    }

    .menu-wrapper.active .logo1 {
        display: block;
    }

    .logo1 img {
        width: 100%;
        height: auto;
    }

    header {
        position: fixed;
        padding: 15px 20px;
    }
    
    .navbar .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: #070276;
        transition: all 0.3s ease;
    }
    
    .navbar .menu-toggle.fa-xmark {
        color: #fff;
    }
    
    .menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #070276;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .menu-wrapper.active {
        right: 0;
    }
    
    .menu-wrapper ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .menu-wrapper ul li a {
        color: white;
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }

    .menu-wrapper ul li a i {
        display: none;
    }
    
    .menu-wrapper ul li a:hover {
        color: #fff;
    }
    
    .menu-wrapper ul li a::after {
        display: none;
    }
    
    .menu-wrapper .btn-contact {
        margin-top: 20px;
        background: white;
        color: #070276;
        width: 100%;
        text-align: center;
        border-color: white;
    }
    
    .menu-wrapper .btn-contact:hover {
        background: transparent;
        color: white;
        border-color: white;
    }
    
    .dropdown-menu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        margin-left: 20px;
        border-left: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 0;
    }
    
    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
    }
    
    .dropdown-menu li a:hover {
        transform: translateX(5px);
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 24px;
        cursor: pointer;
        display: block;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .modal-title {
        font-size: 18px;
    }

    textarea, input, select {
        font-size: 14px;
        padding: 10px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .wrap-button {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .close-btn {
        font-size: 24px;
    }

    /* -------------- Akhir Header -------------- */

    /* -------------- Awal Footer -------------- */
    
    footer {
        background-image: none;
        display: flex;
        font-size: 14px;
        flex-direction: column;
        justify-content: center;
    }
    
    .alamat h4, 
    .layanan-footer h4, 
    .quick-link h4, 
    .kontak1 h4 {
        font-size: 16px;
        background: linear-gradient(-45deg, rgba(7, 2, 118, 1), rgba(4, 54, 220, 1), rgba(7, 2, 118, 1));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .footer-info {
        display: block;
        justify-content: center;
    }

    .fbs1 {
        text-align: center;
        background-image: url('/img/bgfaq.png');
        background-size: cover;
        background-position: bottom center;
    }

    .fbs1 img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        margin-top: 30px;
        height: auto;
    }

    .logo-fbs {
        display: block;
    }

    .logo-fbs img {
        width: 60%;
        margin-bottom: 15px;
    }
    
    .footer-info .left-footer {
        width: 100%;
        padding: 10px 20px;
    }

    .line {
        display: block;
        max-width: 100%;
    }

    .alamat {
        margin-bottom: 20px;
    }
    
    .kontak1 {
        display: block;
        margin-bottom: 20px;
    }

    .kontak1 li a {
        color: inherit;
    }
    
    .kontak1 li a:hover {
        color: #070276;
    }

    .left-footer ul {
        margin: 10px 0 20px 0;
    }
    
    .kontak2 {
        display: none;
    }
    
    .footer-info .mid-footer {
        width: 100%;
        padding: 10px 20px;
    }
    
    .quick-link {
        display: none;
    }
    
    .footer-info .right-footer {
        width: 100%;
        padding: 10px 20px;
    }
    
    .slogan-footer img {
        max-width: 90%;
        height: auto;
    }
    
    .sosmed a {
        font-size: 25px;
    }
    
    /* -------------- Akhir Footer -------------- */
}

@media (min-width: 481px) and (max-width: 768px) {
    /* -------------- Awal Header -------------- */

    .logo1 {
        position: absolute;
        top: 18px;
        left: 25px;
        width: 100px;
        height: auto;
    }

    .menu-wrapper.active .logo1 {
        display: block;
    }

    .logo1 img {
        width: 100%;
        height: auto;
    }

    header {
        position: fixed;
        padding: 18px 25px;
    }
    
    .navbar .menu-toggle {
        display: block;
        font-size: 22px;
        cursor: pointer;
        color: #070276;
        transition: all 0.3s ease;
    }
    
    .navbar .menu-toggle.fa-xmark {
        color: #fff;
    }
    
    .menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 110vh;
        background-color: #070276;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 90px 30px 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .menu-wrapper.active {
        right: 0;
    }
    
    .menu-wrapper ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .menu-wrapper ul li a {
        color: white;
        font-size: 16px;
        padding: 8px 0;
        display: block;
    }

    .menu-wrapper ul li a i {
        display: inline-block;
        margin-right: 5px;
    }
    
    .menu-wrapper ul li a:hover {
        color: #fff;
    }
    
    .menu-wrapper ul li a::after {
        display: none;
    }
    
    .menu-wrapper .btn-contact {
        margin-top: 25px;
        background: white;
        color: #070276;
        width: 100%;
        text-align: center;
        border-color: white;
    }
    
    .menu-wrapper .btn-contact:hover {
        background: transparent;
        color: white;
        border-color: white;
    }
    
    .dropdown-menu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        margin-left: 20px;
        border-left: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 0;
    }
    
    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
    }
    
    .dropdown-menu li a:hover {
        transform: translateX(5px);
    }
    
    .close-menu {
        position: absolute;
        top: 25px;
        right: 25px;
        color: white;
        font-size: 22px;
        cursor: pointer;
        display: block;
    }

    .modal-content {
        width: 80%;
        padding: 20px;
    }

    .input-row {
        flex-direction: column;
        gap: 10px;
    }

    textarea, input, select {
        font-size: 14px;
        padding: 12px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .close-btn {
        font-size: 24px;
    }

    /* -------------- Akhir Header -------------- */

    /* -------------- Awal Footer -------------- */
    
    footer {
        background-image: none;
        display: flex;
        font-size: 16px;
        flex-direction: column;
        justify-content: center;
    }
    
    .alamat h4, 
    .layanan-footer h4, 
    .quick-link h4, 
    .kontak1 h4 {
        font-size: 16px;
        background: linear-gradient(-45deg, rgba(7, 2, 118, 1), rgba(4, 54, 220, 1), rgba(7, 2, 118, 1));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .footer-info {
        display: block;
        justify-content: center;
    }

    .fbs1 {
        text-align: center;
        background-image: url('/img/bgfaq.png');
        background-size: cover;
        background-position: bottom center;
    }

    .fbs1 img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        margin-top: 30px;
        height: auto;
    }

    .logo-fbs {
        display: block;
    }

    .logo-fbs img {
        width: 35%;
        margin-bottom: 15px;
    }
    
    .footer-info .left-footer {
        width: 100%;
        padding: 10px 20px;
    }

    .line {
        display: block;
        max-width: 100%;
    }

    .alamat {
        margin-bottom: 20px;
    }
    
    .kontak1 {
        display: block;
        margin-bottom: 20px;
    }

    .kontak1 li a {
        color: inherit;
    }
    
    .kontak1 li a:hover {
        color: #070276;
    }

    .left-footer ul {
        margin: 10px 0 30px 0;
    }
    
    .kontak2 {
        display: none;
    }
    
    .footer-info .mid-footer {
        width: 100%;
        padding: 10px 30px;
    }
    
    .quick-link {
        display: none;
    }
    
    .footer-info .right-footer {
        width: 100%;
        padding: 10px 30px;
    }
    
    .slogan-footer img {
        max-width: 90%;
        height: auto;
    }
    
    .sosmed a {
        font-size: 35px;
    }
    
    /* -------------- Akhir Footer -------------- */
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* -------------- Awal Header -------------- */
    section {
        padding: 80px 100px;
    }
    
    header {
        padding: 15px 40px;
    }
    
    .navbar ul {
        gap: 15px;
    }
    
    .navbar ul li a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .btn-contact {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .logo2 {
        width: 90px;
    }
    
    .dropdown-menu {
        width: 180px;
    }
    
    .modal-content {
        width: 70%;
        padding: 25px;
    }

    textarea, input, select {
        font-size: 15px;
        padding: 12px;
    }

    .submit-btn {
        max-width: 180px;
    }
    
    /* -------------- Akhir Header -------------- */
    
    /* -------------- Awal Footer -------------- */
    footer {
        font-size: 14px;
    }
    
    .footer-info .left-footer,
    .footer-info .mid-footer,
    .footer-info .right-footer {
        padding: 30px;
    }
    
    .alamat h4, 
    .layanan-footer h4, 
    .quick-link h4, 
    .kontak2 h4 {
        font-size: 15px;
    }
    
    .fbs1 img {
        max-width: 90%;
        margin-bottom: 25px;
    }

    .logo-fbs {
        display: block;
        align-items: center;
    }

    .logo-fbs img {
        margin-bottom: 5px;
    }
    
    .layanan-footer li, 
    .quick-link li {
        margin: 8px 0;
    }
    
    .slogan-footer img {
        margin-top: 20px;
        max-width: 80%;
    }
    
    .sosmed a {
        font-size: 25px;
        margin: 15px;
    }
    
    .copyright {
        margin: 15px;
        font-size: 13px;
    }
    /* -------------- Akhir Footer -------------- */
}

