/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.header {
    background-color: #1e3a8a;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

.header a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.header a:hover {
    text-decoration: underline;
}

.divider {
    margin: 0 10px;
    color: #ccc;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
    margin-right: 15px;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    color: #1e3a8a;
}

.navbar-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin: 0 20px;
}

.navbar-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: #1e3a8a;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #1e3a8a;
}

/* Banner Styles */
.banner {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('images/kota.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.overlay p {
    font-size: 20px;
    margin-bottom: 30px;
}

.button {
    background-color: #f59e0b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
}

.button:hover {
    background-color: #d97706;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

.about-left {
    flex: 1;
}

.about-left h2 {
    font-size: 48px;
    color: #1e3a8a;
    font-weight: bold;
    line-height: 1.2;
}

.about-right {
    flex: 1;
}

.about-right p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.about-right ul {
    list-style: none;
    padding-left: 0;
}

.about-right li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-right li:before {
    content: "•";
    color: #f59e0b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.title {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.title span {
    color: #f59e0b;
    font-weight: bold;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.step-description {
    font-size: 16px;
    color: #666;
}

/* Container Background */
.container-background {
    background-color: #f8fafc;
    padding: 60px 0;
}

.services-title {
    font-size: 36px;
    font-weight: bold;
    color: #1e3a8a;
    text-align: center;
}

/* Layanan Section */
.layanan-section {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.layanan-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.layanan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.layanan-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.layanan-item p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Visi Misi Section */
.visi-misi-section {
    padding: 80px 20px;
    background-color: white;
}

.visi-misi-container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-container h2 {
    font-size: 36px;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
}

.visi, .misi {
    margin-bottom: 40px;
}

.visi h3, .misi h3 {
    font-size: 24px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.visi p, .misi-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.misi-item {
    margin-bottom: 15px;
}

/* Footer Styles */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f59e0b;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f59e0b;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.popup-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

#popup-title {
    color: #1e3a8a;
    margin-bottom: 15px;
}

#popup-info {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .navbar-menu ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 20px 0;
    }
    
    .navbar-menu ul.active {
        display: flex;
    }
    
    .navbar-menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .overlay h1 {
        font-size: 32px;
    }
    
    .overlay p {
        font-size: 16px;
    }
    
    .about-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .about-left h2 {
        font-size: 32px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .layanan-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .popup-content {
        width: 90%;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 16px;
    }
    
    .navbar-logo img {
        height: 40px;
    }
    
    .banner {
        height: 400px;
    }
    
    .overlay h1 {
        font-size: 24px;
    }
    
    .about-left h2 {
        font-size: 24px;
    }
    
    .title {
        font-size: 20px;
    }
}