/* Basic site styles (added to center footer) */
html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    color: #333;
    background: #fff;
}

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

/* Footer: ensure it always centers content */
/* Default footer (kept for other pages) */
footer {
    box-sizing: border-box;
}
/* Contact & Location Footer Section */
.contact-location-footer{
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.contact-location-footer .container{
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-location-footer h2{
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #000;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 3px solid #000;
    display: inline-block;
}

.contact-item{
    margin-bottom: 24px;
}

.contact-item h4{
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.contact-item p{
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.contact-item a{
    color: #0066cc;
    text-decoration: none;
}

.contact-item a:hover{ text-decoration: underline; }

.location-column h3{
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-top: 24px;
    margin-bottom: 12px;
}

.map-container{
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
}

.address-text{
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
/* Services Footer Section */
.services-footer{
    background: #2a2a2a;
    color: #ddd;
    padding: 60px 0;
}

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

.services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-item h3{
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-item p{
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
    text-align: justify;
}

/* Footer normal (non-fixed) */
.site-footer{
    width: 100%;
    box-sizing: border-box;
    background: #f9bf00; /* yellow */
    padding: 18px 0;
    box-shadow: 0 -1px 0 rgba(0,0,0,0.03);
}

.site-footer .footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer small{ color:#222; font-weight:600; text-align:center; display:block; }

/* restore normal body padding */
body{ padding-bottom: 0 !important; }

/* Contact & location responsive */
@media (max-width: 768px){
    .contact-grid{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-location-footer h2{
        margin-bottom: 20px;
    }
}

/* Services responsive */
@media (max-width: 768px){
    .services-grid{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item p{ text-align: left; }
}

/* Small responsive tweaks */
@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* WhatsApp Dropdown */
.whatsapp-container {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-container.up {
    transform: translateY(-140px); /* Move up more when dropdown is shown */
}

.whatsapp-dropdown {
    position: relative;
}

.whatsapp-dropdown .whatsapp-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(90deg,#25d366 0%, #1ebc5a 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,0.18);
    border: none;
    transition: transform .18s ease, box-shadow .18s ease, width .18s ease, border-radius .18s ease;
}

.whatsapp-dropdown .whatsapp-fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.22);
}

.whatsapp-dropdown .wa-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.whatsapp-dropdown .wa-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    margin-left: 8px;
    max-width: 0;
    overflow: hidden;
    transition: opacity .18s ease, max-width .18s ease, margin .18s ease;
    display: inline-block;
}

/* Expand on hover for desktop */
@media (min-width: 768px) {
    .whatsapp-dropdown:hover .whatsapp-fab {
        width: auto;
        min-width: 220px;
        padding: 10px 18px;
        border-radius: 36px;
    }

    .whatsapp-dropdown:hover .wa-text {
        opacity: 1;
        max-width: 320px;
    }
}

.whatsapp-options {
    position: absolute;
    top: 60px; /* Position right below the button */
    left: 0;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 12px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    background: white;
    list-style: none;
    padding: 0;
    margin: 0;
}

.whatsapp-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-options .dropdown-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    color: #333;
    text-decoration: none;
    display: block;
}

.whatsapp-options .dropdown-item:last-child {
    border-bottom: none;
}

.whatsapp-options .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #333;
}

.whatsapp-options .dropdown-item i {
    color: #25d366;
}

/* Back-to-top fixed button */
#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffc107;
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
}

#back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }

/* =====================================================
   RESET & GLOBAL
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    text-decoration: none;
}

/* =====================================================
   CONTAINER
===================================================== */
.container {
    width: 98%;
    max-width: 2200px;
    margin: 0 auto;
}

/* =====================================================
   TOPBAR (PUTIH)
===================================================== */
.topbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.topbar .container {
    max-width: 2200px; 
}

.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 100px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0b2c4d;
    line-height: 1.1;
}

.tagline {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* CONTACT */
.contact {
    font-size: 24px;
    font-weight: 600;
    color: #0b2c4d;
}

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

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.navbar .container {
    max-width: 2200px; 
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 340px;                 
    padding: 18px 0 14px;
}

.nav-menu li a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #666;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
}

/* GARIS ACTIVE & HOVER (CENTER & PENDEK) */
.nav-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #f9b233;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* ACTIVE + HOVER */
.nav-menu li.active a,
.nav-menu li a:hover {
    color: #0b2c4d;
}

.nav-menu li.active a::after,
.nav-menu li a:hover::after {
    width: 26px;   
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
    background-color: #0b2c4d;
    color: #ffffff;
    padding: 90px 0 140px;
}

.hero .container {
    max-width: 1700px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #f9b233;
}

.hero-text p {
    font-size: 16px;
    max-width: 480px;
    color: #d7e1ec;
}

.btn-outline {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 32px;
    border: 2px solid #f9b233;
    color: #f9b233;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #f9b233;
    color: #0b2c4d;
}

/* HERO IMAGE */
.hero-image {
    width: 100%;
    height: 520px;                 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;             
    object-position: center;       
    display: block;
}

/* =====================================================
   FEATURES / STAT
===================================================== */
.features {
    background-color: #ffffff;
    margin-top: 20px;
    padding-bottom: 30px;
}

.features .container {
    max-width: 1200px;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;   
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-box {
    background-color: #ffffff;
    padding: 32px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-6px);
}

.feature-box h3 {
    font-size: 28px;
    font-weight: 800;
    color: #f9b233;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 14px;
    color: #555;
}

/* =====================================================
   PROJECT CATEGORIES
===================================================== */
.project-categories {
    background-color: #f8f9fa;
    margin-top: 20px;
    padding-bottom: 30px;
    }

.project-categories .container {
    max-width: 1200px;
}

.project-categories h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

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

.category-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 40px 20px;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-item i {
    font-size: 48px;
    color: #f9b233;
    margin-bottom: 20px;
    display: block;
}

.category-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* =====================================================
   PRICING
===================================================== */
.pricing {
    background-color: #f8f9fa;
    margin: 20px ;
    padding: 20px;
}

.pricing .container {
    max-width: 1200px;
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

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

.pricing-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.pricing-card.popular {
    border: 3px solid #f9b233;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    background-color: #f9b233;
    color: #0b2c4d;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: #f9b233;
    margin-bottom: 30px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.btn-pricing {
    display: inline-block;
    background-color: #f9b233;
    color: #0b2c4d;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-pricing:hover {
    background-color: #e8a32a;
}

/* =====================================================   ABOUT PAGE
===================================================== */
.about-hero {
    background-color: #0b2c4d;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 20px;
    color: #d7e1ec;
}

.about-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content .container {
    max-width: 1200px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.about-text ul {
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =====================================================
   SERVICES PAGE
===================================================== */
.services-hero {
    background-color: #0b2c4d;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 20px;
    color: #d7e1ec;
}

.services-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-content .container {
    max-width: 1200px;
}

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

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 48px;
    color: #f9b233;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* =====================================================
   PORTOFOLIO PAGE
===================================================== */
.portofolio-hero {
    background-color: #0b2c4d;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.portofolio-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portofolio-hero p {
    font-size: 20px;
    color: #d7e1ec;
}

.portofolio-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.portofolio-content .container {
    max-width: 1200px;
}

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

.portofolio-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.portofolio-item:hover {
    transform: translateY(-5px);
}

.portofolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portofolio-item h3 {
    padding: 20px 20px 10px 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.portofolio-item p {
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-hero {
    background-color: #0b2c4d;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 20px;
    color: #d7e1ec;
}

.contact-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content .container {
    max-width: 1200px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form h2,
.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: #f9b233;
    color: #0b2c4d;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #e8a32a;
}

.contact-info {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 24px;
    color: #f9b233;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================   RESPONSIVE
===================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .portofolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 576px) {
    .topbar-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

      .nav-menu {
        gap: 25px;
        flex-wrap: wrap;
    }

    .services-grid,
    .portofolio-grid {
        grid-template-columns: 1fr;
    }
}
