/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 2001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1e3a8a;
    margin: 3px 0;
    transition: 0.3s;
}

#nav-menu {
    display: flex;
    gap: 30px;
}

#nav-menu a {
    color: #1e3a8a;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s;
    text-decoration: none;
    font-size: 16px;
}

#nav-menu a:hover {
    color: #0d47a1;
}

.mobile-only {
    display: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    align-self: center;
}

.dropbtn {
    color: #1e3a8a;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s;
    text-decoration: none;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
}

.dropbtn:hover {
    color: #0d47a1;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-content a {
    color: #1e3a8a;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.dropdown-content a:hover {
    background-color: rgba(30, 58, 138, 0.05);
    color: #0d47a1;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

.cta-button {
    display: inline-block;
    background-color: #FFC107;
    color: #203A58;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e6a800;
}

.detail-button {
    display: inline-block;
    background-color: #203A58;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.detail-button:hover {
    background-color: #152a3f;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #000;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.9;
}

/* Why Us Section */
#why-us {
    padding: 80px 0;
    background-image: url('why-us.jpg');
    background-size: cover;
    background-position: center;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}

.card h3 {
    color: #203A58;
    margin-bottom: 15px;
}

/* About Us Section */
#about-us {
    padding: 80px 0;
    background-image: url('about-bg.jpg');
    background-size: cover;
    background-position: center;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image video {
    max-width: 250px;
    width: 100%;
    border-radius: 10px;
}

.about-image img {
    max-width: 250px;
    width: 100%;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #203A58;
}

/* 3D Service Section */
#3d-service {
    padding: 80px 0;
    background-image: url('3d-service.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

#3d-service h2 {
    color: #203A58;
    margin-bottom: 20px;
}

#3d-service ul {
    list-style: none;
    margin-bottom: 30px;
}

#3d-service li {
    margin-bottom: 10px;
}

/* Pricing Section */
#pricing {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.service-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card .category {
    display: inline-block;
    background-color: #FFC107;
    color: #203A58;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.service-card h3 {
    color: #203A58;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.service-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: "✓";
    color: #FFC107;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFC107;
    margin-bottom: 20px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #203A58;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: #152a3f;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #FFC107;
}

/* Portfolio Section */
#portfolio {
    padding: 80px 0;
    background-image: url('portfolio-bg.jpg');
    background-size: cover;
    background-position: center;
}

#portfolio h2 {
    text-align: center;
    color: #203A58;
    margin-bottom: 40px;
}

.portfolio-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
}

.portfolio-item {
    flex-shrink: 0;
    width: 300px;
    text-align: center;
}

.portfolio-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item p {
    margin-top: 10px;
    font-weight: 500;
}

/* CTA Section */
#cta {
    height: 50vh;
    background-image: url('https://i.pinimg.com/1200x/c5/a3/7a/c5a37a9e0532564cfbdf9158c8f900ca.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Footer */
#footer {
    background-color: #152a3f;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

#footer nav {
    margin: 20px 0;
}

#footer nav a {
    margin: 0 15px;
    font-weight: 500;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 90px;          /* SAMA dengan tinggi header */
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);    
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    #nav-menu.active {
        max-height: 310px;
    }

    #nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
        color: #1e3a8a;
    }

    #nav-menu a:hover {
        background-color: rgba(30, 58, 138, 0.05);
        color: #0d47a1;
    }

    .mobile-only {
        display: block;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: none;
        border: none;
        border-radius: 0;
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .dropdown.active .dropdown-content {
        display: flex;
    }

    .dropdown-content a {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
        color: #1e3a8a;
        margin: 0;
        display: block;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: background-color 0.3s;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        background-color: rgba(30, 58, 138, 0.05);
        color: #0d47a1;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cards {
        flex-direction: column;
    }

    .service-card {
        padding: 30px;
        min-height: 450px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .left-arrow {
        left: 5px;
    }

    .right-arrow {
        right: 5px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image img {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .portfolio-scroll {
        gap: 20px;
    }

    .portfolio-item {
        width: 250px;
    }
}

.hamburger {
    z-index: 2000;
    position: relative;
}

@media (max-width: 768px) {
    .dropdown-content {
      display: none !important;
    }
  }
  

  @media (max-width: 768px) {
    #nav-menu a {
      height: 52px;
      display: flex;
      align-items: center;
    }
  }
  