/* Global Styles */
:root {
    --primary-color: #0F172A;
    /* Dark Blue/Slate */
    --accent-color: #2FA66F;
    /* Bright Blue */
    --accent-hover: #1d4ed8;
    --text-color: #475569;
    /* Slate Gray */
    --heading-color: #2FA66F;
    --light-bg: #F1F5F9;
    --white: #ffffff;
    --dark-overlay: rgba(15, 23, 42, 0.7);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.sub-heading {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-bg {
    background-color: var(--light-bg);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 14px 35px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 33px;
    /* adjusted for border */
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
header {
    background-color: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

.nav-links li a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links li a:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('skyline.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    padding-top: 100px;
    /* Offset for fixed header if needed */
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark blue gradient overlay */
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.6) 100%);
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    height: 100%;
}

.hero-content {
    flex: 0 0 50%;
    /* Strictly take up 50% width to leave room for image */
    max-width: 650px;
    z-index: 3;
    /* Content on top */
}

.hero-image {
    position: absolute;
    bottom: -100px;
    /* Force it to bottom, allowing overlap with section padding if needed */
    right: -50px;
    height: 90vh;
    width: 55vw;
    /* Take up right side */
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 0;
    /* Behind content but in front of background overlay? No, allow content to overlap it if needed. */
}

.hero .overlay {
    z-index: 1;
    /* Dark overlay above background image */
}

/* Ensure background image is behind everything */
.hero {
    overflow: hidden;
    /* Prevent horizontal scroll from absolute image */
}

.hero-image img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .hero-image {
        right: -100px;
        /* Pull it slightly more right on smaller desktops */
    }
}

@media (max-width: 992px) {
    .hero {
        align-items: flex-start;
        height: auto;
        min-height: auto;
        padding-bottom: 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: left;
        padding: 50px 0 0;
    }

    .hero-content {
        flex: 1;
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        position: relative;
        bottom: auto;
        right: auto;
        height: auto;
        width: 100%;
        margin-top: 30px;
        align-items: flex-end;
        justify-content: center;
        z-index: 1;
    }

    .hero-image img {
        height: auto;
        max-height: 500px;
        width: 100%;
        object-position: bottom center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-image img {
        max-height: 350px;
    }
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Two Col Grid (About & FAQ) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img,
.faq-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-list i {
    color: var(--accent-color);
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #eff6ff;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.service-card:hover .icon-box {
    background-color: var(--accent-color);
    color: var(--white);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 20px;
}

.read-more i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h3 {
    color: var(--white);
    margin-bottom: 5px;
}

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

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    text-align: center;
    position: relative;
    border: 1px solid #f1f5f9;
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    z-index: 10;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #94a3b8;
}

.pricing-card .features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card .features li {
    margin-bottom: 12px;
    color: var(--text-color);
}

.pricing-card .features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.pricing-card .features li.disabled {
    color: #cbd5e1;
}

.pricing-card .features li.disabled i {
    color: #cbd5e1;
}

/* FAQ */
.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-header {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--heading-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.accordion-body {
    padding-bottom: 20px;
    display: none;
    color: #64748b;
}

/* Newsletter */
.newsletter-section {
    position: relative;
    /* Overlap with footer */
    margin-bottom: -150px;
    z-index: 10;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--accent-color), #1d4ed8);
    border-radius: 20px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.nl-content h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.nl-content p {
    color: rgba(255, 255, 255, 0.8);
}

.nl-form {
    display: flex;
    gap: 10px;
    min-width: 400px;
}

.nl-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border: none;
    outline: none;
}

.newsletter-section input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.nl-form .btn-primary {
    background-color: var(--primary-color);
}

.nl-form .btn-primary:hover {
    background-color: #020617;
}

/* Footer */
footer {
    background-color: #1e293b;
    /* Darker slate matching screenshot */
    color: #94a3b8;
    padding: 80px 0 0;
    font-size: 15px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .logo {
    color: var(--white);
    font-size: 28px;
}

.social-links {
    margin-top: 0;
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Very subtle background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* Slight rounded corners, square-ish */
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    /* Adjusted column widths */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 15px;
}

/* Arrow List Style */
.arrow-list li a {
    position: relative;
    padding-left: 20px;
    transition: var(--transition);
}

.arrow-list li a::before {
    content: '\f105';
    /* FontAwesome chevron right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #E2F05D;
    /* Neon Yellow/Green accent */
    transition: var(--transition);
}

.arrow-list li a:hover {
    color: var(--white);
    padding-left: 25px;
}

.contact-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list li i {
    color: #E2F05D;
}

.flip-icon {
    transform: scaleX(-1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #E2F05D;
    /* Yellowish copyright text */
}

/* MOCI Custom Styles */
.box-style {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.core-business-section {
    padding: 80px 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info-box {
    padding-left: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: #eff6ff;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-item h5 {
    margin-bottom: 5px;
    color: var(--heading-color);
}

.info-item p {
    font-size: 14px;
    color: var(--text-color);
}

.map-placeholder img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .newsletter-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .nl-form {
        width: 100%;
        min-width: auto;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for now, can implement mobile menu if requested */
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .newsletter-section {
        margin-bottom: 0;
    }

    footer {
        padding-top: 80px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   FIX HERO TERLALU TERANG
========================= */

.hero.hero-corporate {
    background: url('skyline.png') no-repeat center center / cover;
}

.hero.hero-corporate .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.85) 40%,
        rgba(15, 23, 42, 0.55) 65%,
        rgba(15, 23, 42, 0.25) 100%
    );
    z-index: 1;
}

/* Pastikan konten di atas overlay */
.hero.hero-corporate .hero-container {
    position: relative;
    z-index: 2;
}

/* =========================
   HERO TEXT – MATCH REFERENCE
========================= */

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

.hero-badge {
    display: inline-block;
    background: #F5B400;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 10px 18px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 26px;
}

.hero-highlight {
    display: inline-block;
    color: #F5B400;
    font-weight: 900;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin-bottom: 36px;
}

/* =========================
   LOGO IMAGE (HEADER)
========================= */

.logo img {
    height: 2.5em;
    width: auto;
    display: block;
}

/* Saat header discroll (background gelap) */
header.scrolled .logo img {
    height: 28px;
}
