* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b1117;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    margin-top: 70px;
}

/* =========================
   NAVBAR
========================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: rgba(7, 12, 17, 0.95);
    border-bottom: 3px solid #f5b400;
    z-index: 1000;
}

.logo {
    color: #f5b400;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #f5b400;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: #f5b400;
    cursor: pointer;
}

/* =========================
   HERO / HOME
========================= */

.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px 50px;
    background:
        linear-gradient(
            rgba(5, 10, 15, 0.85),
            rgba(5, 10, 15, 0.92)
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 39px,
            rgba(245,180,0,0.07) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 39px,
            rgba(245,180,0,0.07) 40px
        );
}

.hero-content {
    max-width: 900px;
}

.construction-icon {
    font-size: 90px;
    margin-bottom: 20px;
    animation: naikTurun 2s infinite;
    filter: drop-shadow(0 0 15px #f5b400);
}

@keyframes naikTurun {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero h3 {
    color: #f5b400;
    letter-spacing: 5px;
    font-size: 18px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 4px 4px 0 #000;
}

.hero h1 span {
    color: #f5b400;
}

.hero p {
    margin-top: 25px;
    color: #c7c7c7;
    font-size: 19px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background: #f5b400;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(245,180,0,0.6);
}

/* =========================
   SECTION GENERAL
========================= */

section {
    padding: 70px 8%;
}

.section-title {
    text-align: center;
    color: #f5b400;
    font-size: 40px;
    margin-bottom: 50px;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #f5b400;
    margin: 15px auto;
}

/* =========================
   PROFIL
========================= */

.profile-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.profile-card {
    padding: 30px;
    background: linear-gradient(145deg, #18222c, #0d141b);
    border: 1px solid #29343e;
    border-left: 5px solid #f5b400;
    border-radius: 8px;
    transition: 0.3s;
}

.profile-card:hover {
    transform: translateY(-7px);
    border-color: #f5b400;
    box-shadow: 0 10px 30px rgba(245,180,0,0.15);
}

.profile-card h3 {
    color: #f5b400;
    margin-bottom: 12px;
    font-size: 20px;
}

.profile-card p {
    color: #ddd;
    font-size: 18px;
    line-height: 1.6;
}

.profile-main {
    grid-column: 1 / -1;
    text-align: center;
    padding: 45px;
}

.profile-main .icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.profile-main h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

/* =========================
   BIDANG
========================= */

.bidang-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.bidang {
    text-align: center;
    padding: 35px 25px;
    background: #121a22;
    border: 2px solid #26313b;
    border-radius: 10px;
    transition: 0.3s;
}

.bidang:hover {
    border-color: #f5b400;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(245,180,0,0.15);
}

.bidang-icon {
    font-size: 55px;
    margin-bottom: 20px;
}

.bidang h3 {
    color: #f5b400;
    margin-bottom: 12px;
}

.bidang p {
    color: #aaa;
    line-height: 1.6;
}

/* =========================
   KEAHLIAN
========================= */

.keahlian {
    max-width: 900px;
    margin: auto;
}

.skill {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #ddd;
}

.bar {
    width: 100%;
    height: 12px;
    background: #222b33;
    border-radius: 10px;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #d99400, #ffd34e);
    border-radius: 10px;
}

.struktur { width: 90%; }
.konstruksi { width: 85%; }
.gambar { width: 80%; }
.infrastruktur { width: 88%; }

/* =========================
   QUOTE
========================= */

.quote {
    max-width: 900px;
    margin: 40px auto;
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #403000, #121820);
    border: 2px solid #f5b400;
    border-radius: 15px;
}

.quote-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.quote h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #f5b400;
}

.quote p {
    color: #ccc;
    font-size: 19px;
    line-height: 1.7;
}

/* =========================
   KONTAK
========================= */

.contact {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.contact-box {
    background: #121a22;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #303b45;
}

.contact-box p {
    font-size: 19px;
    color: #ddd;
    margin: 18px;
}

.whatsapp {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px #25d366;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 30px;
    text-align: center;
    background: #05080b;
    border-top: 3px solid #f5b400;
    color: #888;
}

footer strong {
    color: #f5b400;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 750px) {
    nav { padding: 0 5%; }
    .menu-toggle { display: block; }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #070c11;
        padding: 20px 0;
        text-align: center;
        gap: 20px;
        border-bottom: 2px solid #f5b400;
    }

    nav ul.active { display: flex; }

    .profile-container { grid-template-columns: 1fr; }
    .profile-main { grid-column: auto; }
    .bidang-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 43px; }
    .section-title { font-size: 30px; }
}
/* =========================
   STYLE FOTO PROFIL
========================= */

.photo-wrapper {
    margin-bottom: 20px;
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%; /* Membuat foto berbentuk lingkaran */
    border: 4px solid #f5b400; /* Border warna kuning emas */
    box-shadow: 0 0 25px rgba(245, 180, 0, 0.4); /* Efek bercahaya */
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05); /* Efek zoom halus saat kursor diarahkan ke foto */
}
/* Desain Kotak Widget Counter */
.counter-box {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    max-width: 320px;
    margin: 40px auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s ease;
}

/* Efek sedikit melayang kalau cursor diarahkan (hover) */
.counter-box:hover {
    transform: translateY(-5px);
}

/* Desain Angka agar Besar dan Menyala (Glowing) */
.count-number {
    font-size: 3.5em;
    font-weight: bold;
    color: #ffd700; /* Warna emas */
    margin: 15px 0;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Desain teks sapaan dan waktu */
#greeting-text {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.last-visit-text {
    font-size: 0.85em;
    color: #d1d1d1;
    margin-top: 10px;
}
