/* RESET CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
}

/* VARIABEL CSS */
:root {
    --navy-blue: #032859;
    --sky-blue: #0095ff;
    --white: #ffffff;
    --red: #fd0015;
    --yellow: #ffd166;
    --blue: #0896f5;
    --dark: #0f5dc9f6;
    --light-gray: #f8f9fa;
    --transition: all 0.3s ease;
}

/* SKIP TO CONTENT */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy-blue);
    color: var(--white);
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s ease-in;
}

.skip-link:focus {
    top: 0;
}

/* NAVBAR STYLING */
.navbar {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 1%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0.5px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 150px;
    height: 100px;
    object-fit: contain;
}


.logo-text {
    color: var(--white);
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 2rem);
    text-shadow: 1px 1px 3px rgba(252, 252, 252, 0.904);
}

.logo-text span:nth-child(1) {
    color: var(--yellow);
}

.logo-text span:nth-child(2) {
    color: var(--dark);
}

.logo-text span:nth-child(3) {
    color: var(--red);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--white);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    background-color: var(--white);
    color: var(--navy-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none; /* fix di sini */
    cursor: pointer;
    text-decoration: none !important;
    
}

.btn-login:hover {
    background-color: var(--navy-blue);
    color: var(--white);
    text-decoration: var(--dark) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: var(--white); 
    padding: 10px;
    border-radius: 5px;
    border: none; 
    z-index: 999;
}

.burger-line {
 
    display: flex; 
    width: 25px;
    height: 3px;
    background-color: var(--white); 
    margin: 4px 0;
    transition: all 0.3s ease;
}


/* Animasi burger icon */
.burger.toggle .burger-line-1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .burger-line-2 {
    opacity: 0;
}

.burger.toggle .burger-line-3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* MAIN CONTENT AREA STYLING */
main {
    padding-top: 30px; /* Sesuaikan dengan tinggi navbar */
    min-height: calc(100vh - 100px); /* Tinggi minimal untuk konten */
}

/* FOOTER STYLING */
footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 1rem 0;
    text-align: left; /* Mengatur teks ke kiri */
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--white);
    bottom: -8px;
    left: 0;
}

.footer-links {
    list-style: none;
    padding-left: 0; /* Menghilangkan padding default */
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    justify-content: flex-start; /* Mengatur ikon ke kiri */
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--yellow);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

/* PAGE SECTION STYLING */
.page-section {
    padding: 5rem 5%;
    display: none; /* Default to hidden, controlled by JS */
}

/* Ensure the first section is visible on load */
#beranda {
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* HOME PAGE STYLING */
.hero {
  display: flex;
  align-items: stretch; /* Mengatur item agar sejajar di bagian atas */
  justify-content: space-between;
  gap: 2rem;
  margin-top: 70px;
  padding: 2rem 5%;
  min-height: 40vh;
  padding-botton: 1rem;
}

.hero-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
}


.hero-image {
  flex: 1;
  max-width: 50%;
  position: relative;
  overflow: hidden;
  max-height: 400px;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar tidak gepeng */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image img.active {
    opacity: 1; /* Pastikan gambar dengan kelas .active terlihat */
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* responsif */
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.hero h1 span {
    color: var(--navy-blue);
}

.hero-content h5 {
  margin: 0 0 1rem 0;        /* hapus margin atas biar nempel ke atas */
  font-family: 'Open Sans', Georgia, sans-serif;
  font-weight: bold;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 1px;
  color: #016cf8 !important;
  text-align: center;
}


.hero p {
    font-size: 1rem; /* Ukuran font lebih kecil untuk mobile */
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Gaya untuk judul stat section */
.stats-section.stats-title {
  font-family: 'Open Sans', Georgia, sans-serif;
  font-weight: bold;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 1px;
  color: #016cf8;
  text-align: center;
  margin-bottom: 2rem; /* Tambahkan margin untuk jarak dengan konten di bawahnya */
}
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: -1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    min-width: 120px; /* Ukuran minimal lebih kecil untuk mobile */
}

.stat-number {
    font-size: 2rem; /* Ukuran font lebih kecil untuk mobile */
    font-weight: bold;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem; /* Ukuran font lebih kecil untuk mobile */
}

/* SERVICES PAGE STYLING */
.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%; /* Ensure cards in a row have equal height */
    border: 2px solid transparent; /* Default border for highlight */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: #777;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--sky-blue);
}

/* SERVICE DETAIL SECTION STYLING */
.service-detail-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.service-detail-header h2 {
    color: var(--dark);
    margin: 0;
}

.close-detail {
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: var(--transition);
}

.close-detail:hover {
    color: var(--red);
}

.service-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.service-detail-content .service-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.service-detail-content .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-description {
    flex: 2;
    min-width: 300px;
}

.service-description h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-description p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features h4 {
    color: var(--navy-blue);
    margin-bottom: 0.8rem;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    margin-bottom: 0.5rem;
    color: #666;
}

.features-list li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--sky-blue);
    margin-right: 0.5rem;
}

/* ABOUT PAGE STYLING */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem; /* Menambahkan gap antar elemen */
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 0; /* Menghilangkan padding-right untuk responsif */
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--navy-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    color: var(--dark);
    margin: 0 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--navy-blue);
}

/* CONTACT PAGE STYLING */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    margin-right: 1rem;
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select { /* Menambahkan styling untuk select */
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { /* Menambahkan styling untuk select focus */
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(144, 224, 239, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* LOGIN MODAL STYLING */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalOpen 0.4s ease-out;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--navy-blue);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* RESPONSIVE STYLING */
@media screen and (min-width: 1024px) {

    .hero {
        flex-direction: row;
        height: 90vh; /* Kembali ke tinggi penuh untuk desktop */
        padding-top: 0; /* Reset padding atas */
    }
.burger{
    display: none;
}
    .hero-content {
        text-align: left; /* Teks kembali ke kiri untuk desktop */
    }

    .hero-image {
        height: 100%; /* Tinggi penuh untuk desktop */
    }

    .hero h1 {
        font-size: 3.5rem; /* Ukuran font asli untuk desktop */
    }

    .hero p {
        font-size: 1.2rem; /* Ukuran font asli untuk desktop */
        margin-left: unset;
        margin-right: unset;
    }

    .stats-container {
        flex-direction: row; /* Kembali ke baris untuk desktop */
    }

    .stat-item {
        min-width: 150px; /* Ukuran minimal asli untuk desktop */
    }

    .stat-number {
        font-size: 2.5rem; /* Ukuran font asli untuk desktop */
    }

    .stat-label {
        font-size: 1rem; /* Ukuran font asli untuk desktop */
    }

    .about-text {
        padding-right: 2rem; /* Kembali ke padding-right untuk desktop */
    }

    .footer-section {
        text-align: center; /* Kembali ke tengah untuk desktop */
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center; /* Kembali ke tengah untuk desktop */
    }
}
@media screen and (max-width: 1025px) {
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        background: linear-gradient(135deg, var(--navy-blue), var(--sky-blue));
        transition: var(--transition);
        z-index: 999;
    }
      
  

    .nav-links.active {
        left: 0px;
    }

    .nav-links li {
        margin: 1rem 20px; 
    }

    .page-section {
        padding: 1rem 7%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        margin-bottom: 2rem;
    }

    .contact-container {
        flex-direction: column;
    }

    .service-detail-content {
        flex-direction: column;
    }

    .service-detail-content .service-image {
        min-width: unset;
        width: 100%;
    }

    .service-description {
        min-width: unset;
        width: 100%;
    }
    .burger {     
        display: flex;
        flex-direction: column;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
    }
    .logo-text {
    display: none;
  }

  .logo-container {
    justify-content: center;
    width: 100%; /* supaya bisa benar-benar ke tengah */
  }

  .logo-img {
    margin: 0 auto; /* biar logo otomatis ketengah */
  }
    .burger {
    position: absolute;
    right: 20px;   /* kunci di kanan */
    top: 50%;
    transform: translateY(-50%); /* biar sejajar vertikal dengan navbar */
  }
    
}

#dashboard .container {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

#dashboard .section-title {
  color: var(--dark);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.submit-btn {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--sky-blue) 100%);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* Semua kolom tim default kiri */
#team-container td {
  text-align: left !important;
}

/* Kolom pengalaman (kolom ke-4) tetap center */
#team-container td:nth-child(4) {
  text-align: center !important;
}



