/* Reset default body styles for asesor section */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: auto;
    overflow-y:auto ;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;           /* sembunyikan scrollbar di Chrome/Safari/Opera */
}



.navbar-menu:hover{
    border-radius: 5%;
    text-shadow: 3px 3px 20px rgba(0, 0, 101, 1) !important;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9); /* muncul warna saat scroll */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);  /* efek bayangan */
    backdrop-filter: blur(8px); /* efek kaca buram */
}

#navbar {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; 
    background: transparent; 
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

/* Hamburger animation when active */
.change .bar1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Mobile menu styles - Diatur di media query di bawah */
.hero-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(0, 0, 0, 0.786), rgba(0, 0, 0, 0.605)), url('assets/img/bg-hero.jpg');
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    min-height: 106vh;
    display: flex;
    align-items: center;
    position: relative; 
}
.hero-section p{
    font-family: "Sansation", sans-serif;
    font-weight: 800;
    font-style: normal;
}

#font_navbar a {
    font-family: "Montserrat", sans-serif; 
    font-weight: 700;
    color: white; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

p {
    font-family: "Montserrat", sans-serif; 
    font-weight: 600;
}

.hero-text {
    color: white;
    text-shadow: 0 2px 4px rgb(99, 99, 99);
    text-align: left;
    margin-right: 650px;
    border-radius: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; 
}   
    
.judul-atas {
    font-size: 25px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 5px;
}   
    
.judul-bawah {
    font-size: 52px;
    /* font-size: 40px; */
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}   
    
/* Kompetensi Section */

.kompetensi-section {
    background-color: #00122c;
    color: white;
    padding: 100px 20px;
    font-family: "Montserrat", sans-serif;
}   
    
.container-kompetensi {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 60px 20px;
}   
    
.kompetensi-header h2 {
    color: rgb(255, 215, 55);
    font-weight: 700;
    font-size: 2.5rem;
    /* margin-bottom: 20px; */
}   
    
.kompetensi-header p {
    color: rgb(255, 255, 255);
    font-weight: 500;
    line-height: 1.6;
}   
    

.desc-skema{
    max-height: 11rem;
    overflow: auto;
    overflow-y:auto ;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
    
.kompetensi-card {
    justify-content: center;
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    max-width: 300px;
    background: white;
    color: #000000;
    border-radius: 15px;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    max-height: 400px;
}
.kompetensi-card::-webkit-scrollbar {
  display: none;         
}

@media (max-width: 992px) {
      .kompetensi-card {
        width: 45%;
      }
    }

@media (max-width: 600px) {
      .kompetensi-card {
        width: 100%;
      }
    }

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.6;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}    

.kompetensi-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}   

.img-profile{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    /* margin-bottom: 20px; */
}
    
.kompetensi-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}   
    
.kompetensi-card p {
    font-weight: 500;
    color: rgb(0, 0, 0);
    font-size: 0.9rem;
}   
    
.kompetensi-card:hover {
    background-color: rgb(255, 215, 55);
    transform: translateY(-5px);
}   

/* Fasilitas Section */

.fasilitas-section {
    background-color: #ffffff;
    color: #000;
    padding: 100px 50px;
    font-family: "Montserrat", sans-serif;
}   

.fasilitas-section h1 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 60px;
}   

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

.fasilitas-list {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}   

.fasilitas-list p {
    color: #000000;
}

.fasilitas-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    justify-items: center;
}

.fasilitas-gallery img {
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.fasilitas-gallery img:hover {
    transform: scale(1.05);
}

/* Data Asesor Section */

.container-asesor {
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);

}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.header h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 700;
}

.header p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.asesor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.asesor-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.asesor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.asesor-header {
    /* display: flex; */
    align-items: center;
    gap: 20px;
    width: 100% !important;
    margin-bottom: 25px;
}

.asesor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.asesor-info h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-weight: 700;
}

.asesor-info p {
    font-size: 14px;
    color: #888;
}

.certification-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0 20px 20px 20px;
    margin-bottom: 20px;
}

.cert-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.cert-row:last-child {
    margin-bottom: 0;
}

.cert-label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.cert-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #002354;
    color: white;
}

.btn-primary:hover {
    background: #035757;
    transform: scale(1.02);
}

.btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

/* Sertifikasi Section */

.sertifikasi-section {
    background-color: #00122c;
    color: white;
    padding: 100px 20px;
    font-family: "Montserrat", sans-serif;
}

.sertifikasi-section h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 60px;
}

.container-sertifikasi {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.sertifikasi-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.sertifikasi-text {
    flex: 1;
    min-width: 320px;
}

.sertifikasi-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.sertifikasi-text ul {
    list-style: disc;
    margin-left: 20px;
    line-height: 1.8;
}

.sertifikasi-img {
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    flex: 1;
    display: flex;
    justify-content: center;
}
.sertifikasi-item.reverse{
    flex-direction: row-reverse;
}
.maps{
    margin: 20px;
}


.sertifikasi-img img {
    width: 100%;
    max-width: 550px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    object-fit: cover;
    transition: transform 0.3s ease;
}
.sertifikasi-img iframe {
    margin: 20px;
    max-height: 350px;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sertifikasi-img img:hover {
    transform: scale(1.05);
}

.maps.reverse{
    flex-direction: row-reverse;
}
.iframe-item {
    margin-left: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.iframe-text {
    flex: 1;
    min-width: 320px;
}

.iframe-text ul {
    list-style: disc;
    margin-left: 20px;
    line-height: 1.8;
}

/* Footer */

.footer {
    background-color: #081122;
    color: #fff;
    padding: 30px 10%;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 90px;
    margin-bottom: 15px;
}

.footer-left h3 {
    color: #f8c300;
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-left p {
    margin: 4px 0;
    color: #d3d3d3;
}

.footer-menu {
    margin-left: 90px;
    margin-top:20px ;
    flex: 1;
    max-width: 300px;
}

.footer-social{
    margin-top: 20px;
}

.footer-menu h4,
.footer-social h4 {
    margin-top:40px;
    color: #f8c300;
    margin-bottom: 12px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
}

.footer-menu ul li {
    margin: 8px 0;
}

.footer-menu ul li a {
    color: #d3d3d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: #f8c300;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.social-icons a {
    display: inline-block;
    margin-right: 12px;
    font-size: 22px;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #f8c300;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #333;
    color: #bbb;
    font-size: 14px;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .kompetensi-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .asesor-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .hero-text {
        margin-right: 0;
    }
    
    .sertifikasi-item {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Navbar responsive - Hanya berlaku untuk mobile */
    .hamburger-menu {
        display: block;
    }
    
    #font_navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(0, 18, 44, 0.95);
        padding-top: 80px;
        transition: 0.3s;
        z-index: 999;
    }
    
    #font_navbar.active {
        right: 0;
    }
    
    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .navbar-menu {
        display: block;
        padding: 15px !important;
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hero section responsive */
    .hero-section .row {
        flex-direction: column;
    }
    
    .hero-section .col-7, 
    .hero-section .col-5 {
        width: 100%;
        text-align: center;
    }
    
    .hero-text {
        margin: 0 auto;
        text-align: center;
    }
    
    .lsp-hero {
        margin-top: 20px;
    }
    
    /* Profile section responsive */
    #profile .row {
        flex-direction: column;
    }
    
    #profile .col-6 {
        width: 100%;
    }
    
    .fotosertif {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Fasilitas section responsive */
    .fasilitas-list {
        justify-content: center;
    }
    
    /* Sertifikasi section responsive */
    .sertifikasi-item {
        flex-direction: column;
    }
    
    .sertifikasi-item.reverse {
        flex-direction: column;
    }
    
    /* Footer responsive */
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-menu {
        margin-left: 0;
    }
    
    /* Other responsive adjustments */
    .header h1 {
        font-size: 36px;
    }

    .header p {
        font-size: 16px;
    }

    .asesor-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
    
    .kompetensi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .navbar-menu {
        padding: 10px !important;
    }
    
    .judul-atas {
        font-size: 16px;
    }
    
    .judul-bawah {
        font-size: 24px;
    }
    
    .asesor-card {
        padding: 20px;
    }
    
    .cert-value {
        max-width: 50%;
        font-size: 12px;
    }
    
    .cert-label {
        font-size: 12px;
    }
    
    .maps iframe {
        height: 300px;
    }
}

.wa-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    background-color: #012e6c;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wa-button img {
    width: 35px;
    height: 35px;
}

.wa-button:hover {
    transform: scale(1.1);
    background-color: #00122c;
}
