/* Global Reset & Base Styles */
:root {
    --primary-green: #008037;
    --primary-blue: #0056b3;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-grey: #4a4a4a;
    --accent-red: #EE312F;
    --gradient-hero: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 128, 55, 0.9) 100%);
    --gradient-blue: linear-gradient(180deg, rgba(0, 86, 179, 0.2) 0%, rgba(0, 86, 179, 0.9) 100%);
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
    /* Or dark depending on image? Image top is darkish. Let's assume white text or dark on white bar. Screenshot shows white bar maybe? No, it looks transparent on the text but maybe white box? Let's make it white bg for safety or glass. The screenshot shows a WHITE header strip. */
}

/* Update Header to White based on screenshot top bar */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Not absolute over hero */
}

.logo {
    color: var(--primary-blue);
    /* M logo is blue */
}

.logo-text {
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.7rem;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 8px;
}

.brand-monitor {
    color: var(--primary-blue);
    font-size: 1.4rem;
    vertical-align: middle;
    margin-right: 5px;
}

.brand-infra {
    color: inherit;
}

.brand-indo {
    color: inherit;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

nav a:hover,
nav a.active {
    color: var(--accent-red);
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('assets/Rectangle28.png');
    /* Electronics/Soldering */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 150, 80, 0.4), transparent);
}

.about-hero {
    height: 500px;
    /* Use a placeholder color or gradient if image not available, but keeping url for structure */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('assets/about01.png');
    /* Construction site */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    max-width: 600px;
    font-weight: 600;
}

/* Why We Make Difference Section */
.difference {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.difference-header {
    width: 30%;
    padding-right: 20px;
}

.difference-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.2;
}

.grid-2x2 {
    width: 65%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 60px;
}

.grid-item h3 {
    color: var(--accent-red);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.grid-item p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
}

/* Bridge Section */
.bridge {
    position: relative;
    height: 400px;
    background-image: url('assets/Rectangel01.jpg');
    /* Workers */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bridge-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 86, 179, 0.6);
    /* Blue overlay */
}

.bridge-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.bridge h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.solutions h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.solutions h2 span {
    font-weight: 600;
    color: var(--text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
    /* Zoom effect */
}

.btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    /* Slight radius */
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #004494;
}

/* Experts Section */
.experts {
    position: relative;
    /* Height adjusts to content + padding, but we want a minimum */
    min-height: 400px;
    background-image: url('assets/footerImage01.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.experts-overlay {
    position: absolute;
    inset: 0;
    /* Gradient from blueish transparent to solid green at bottom to blend with footer */
    background: linear-gradient(to bottom, rgba(0, 86, 179, 0.4) 0%, rgba(0, 128, 55, 0.95) 90%, #008037 100%);
}

.experts-container {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 60px 20px 40px;
    /* Padding bottom reduced as footer connects */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.experts-content {
    max-width: 70%;
}

.experts h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.1;
}

.experts-sub p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 300;
}

.experts-action {
    margin-bottom: 10px;
    /* Align with text baseline approx */
}

.btn-white {
    background: white;
    color: var(--text-dark);
    padding: 15px 50px;
    display: inline-block;
    font-weight: 500;
    border-radius: 2px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.content-wrapper p {
    margin-bottom: 24px;
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.8;
}

.quote-section {
    position: relative;
    margin: 60px 0;
    padding: 20px 0;
    text-align: left;
}

.quote-mark {
    color: var(--accent-red);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.quote-mark.end {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 0;
}

.quote-section h2 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    margin: 0;
}

/* Updated Experts Section for About Page */
.experts-wrapper {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align bottom as per image */
    padding-bottom: 80px;
}

.experts-text-content h2 {
    font-size: 4rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 500;
}

.experts-subtext p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 0;
}

.experts-action {
    margin-bottom: 20px;
}

/* Footer Bar */
.footer-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-left {
    width: 20%;
}

.logo-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mini b {
    font-size: 1.5rem;
}

.footer-right {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

.f-col {
    max-width: 200px;
}

.f-col span {
    font-weight: 600;
    color: #004d20;
    /* Darker green text/label */
    margin-bottom: 5px;
    display: block;
}

/* Footer */
footer {
    background-color: #008037;
    /* Matches the bottom of experts gradient */
    color: white;
    padding: 0 0 60px;
    /* Top padding is 0 because we have the separator in content */
}

.footer-separator {
    max-width: var(--max-width);
    margin: 0 auto;
    width: calc(100% - 40px);
    /* Account for padding */
    height: 1px;
    background-color: white;
    margin-bottom: 30px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    /* Align logo icon and text */
    gap: 15px;
    width: 250px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-company-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.footer-info-section {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-col {
    font-size: 0.85rem;
    line-height: 1.6;
}

.label-col {
    width: 60px;
}

.label-office {
    color: #00401A;
    /* Dark green for 'Office' label */
    font-weight: 700;
    font-size: 0.9rem;
}

.address-col {
    max-width: 200px;
    color: white;
}

.contact-col {
    text-align: right;
    color: white;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .experts-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .experts-action {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-info-section {
        flex-direction: column;
        gap: 20px;
    }

    .contact-col {
        text-align: left;
    }

    .footer-separator {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}


/* General Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

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

    .difference {
        flex-direction: column;
    }

    .difference-header {
        width: 100%;
        margin-bottom: 40px;
        padding-right: 0;
    }

    .grid-2x2 {
        width: 100%;
        margin-left: 0;
        grid-template-columns: 1fr;
    }

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

/* Project Page Styles */
.project-hero {
    height: 400px;
    background-image: linear-gradient(rgba(0, 128, 55, 0.4), rgba(0, 128, 55, 0.8)), url('assets/bgproject01.png');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    color: white;
}

.project-section-header {
    margin-top: 60px;
    margin-bottom: 30px;
    color: var(--accent-red);
    font-size: 1.8rem;
    font-weight: 600;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.project-item {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

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

.project-item:hover img {
    transform: scale(1.05);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Vision & Values Page Styles */
.vision-section {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 20px;
}

.section-title-red {
    color: var(--accent-red);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.vision-block {
    margin-bottom: 80px;
    max-width: 800px;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-grey);
}

.mission-values-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.mission-col {
    width: 35%;
}

.values-col {
    width: 60%;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
}

.custom-list li::before {
    content: "•";
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.value-item {
    margin-bottom: 10px;
}

.value-number {
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1;
}

.value-title {
    color: var(--accent-red);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--text-grey);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .mission-values-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .mission-col,
    .values-col {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Specific Element Styles for Vision & Values Page (cleaning up inline styles) -- Added */
.logo-container-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px;
}

.logo-main-text {
    font-weight: 700;
    color: #008037;
    font-size: 1rem;
    line-height: 1.1;
    margin: 0;
}

.logo-sub-text {
    font-size: 0.6rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.experts.experts-blue {
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2070&auto=format&fit=crop');
    align-items: center;
}

.experts.experts-blue .experts-overlay {
    background: linear-gradient(180deg, rgba(0, 86, 179, 0.3) 0%, rgba(0, 86, 179, 0.8) 100%);
}

.experts.experts-blue .experts-container {
    /* Mapping to container in structure if needed, or wrapper */
    align-items: center;
    padding-bottom: 0;
    height: 100%;
}

.experts.experts-blue .experts-wrapper {
    /* Since visval uses this class */
    align-items: center;
    padding-bottom: 0;
    height: 100%;
    margin-top: 0;
}

.vision-hero-bg {
    background-image: url('assets/visval01.jpg');
}

.vision-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 128, 55, 0.8) 100%);
}