* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;

}

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

.logo img {
    width: 50px;
    height: auto;
}

.logo span {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    white-space: nowrap;
    margin-bottom: 3px;
}
    
.logo_01 img {
    width: 150px;
}

.top-bar {
    background-color: #ffffff;
    color: white;
    padding: 15px 0;
}

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

.company-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.nav-links a {
    color: rgb(53, 53, 53);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Add padding for the underline */
    
}

.nav-links a:hover {
    color: #0066cc;
}
       /* Active link styling */
        .nav-links a.active {
            color: #0066cc;
            font-weight: 600;
        }
        
        .nav-links a.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #0066cc;
            border-radius: 2px;
        }
        
        /* Add subtle animation for links */
        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: #0066cc;
            border-radius: 2px;
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover:after {
            width: 100%;
        }

        .menu-toggle {
        display: none; /* hidden by default */
        font-size: 28px;
        cursor: pointer;
        color: #333;
        user-select: none;
    }


/* Hero Section - From Picture 1 */
.hero-section {
    background: linear-gradient(rgba(61, 59, 59, 0.7), rgba(61, 59, 59, 0.7)), 
                url(Image/Piling\ 01.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.project-involved-box {
    background-color: rgba(255, 255, 255, 0.15);
    border-left: 5px solid #4caf9d;
    padding: 25px;
    margin-top: 40px;
    text-align: left;
    border-radius: 0 5px 5px 0;
}

.project-involved-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.project-involved-box p {
    font-size: 18px;
    color: #e0e0e0;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #4caf9d;
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #3d8b7c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Main content */
/* Your existing CSS */
.main-content {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #1a3a5f;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #4caf9d;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Make the image container taller */
.service-img {
    height: 220px; /* Increased from 200px */
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}


.service-img img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease;
}
.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a3a5f;
    line-height: 1.3;
}

.service-capacity {
    font-size: 18px;
    color: #4caf9d;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 4px 0;
    border-bottom: 2px solid #f0f4f8;
}

.service-description {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}
/* Footer */
footer {
    background-color: #1a3a5f;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4caf9d;
}

.copyright {
    color: #aaa;
    font-size: 14px;
    margin-top: 20px;
}




/* Page contact*/
/* Contact Section */
.contact-section {
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #222;
}

.contact-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Container - Grid Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Maps Section */
.maps-section, .details-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.maps-section h2, .details-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #222;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
    display: inline-block;
}

/* Map Container */
.map-container {
    margin-bottom: 20px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
}

.map-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.map-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

.map-btn:hover {
    background: #0055aa;
}

/* Details Section */
.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}



.contact-info {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h1 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

.address-list {
    list-style-type: none;
    margin-bottom: 25px;
}

.address-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: #2c3e50;
}

.address-list li:last-child {
    border-bottom: none;
}

.contact-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.icon {
    margin-right: 10px;
    font-size: 18px;
}

.highlight {
    background-color: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #f1c40f;
}


/* Project Page Specific Styles */

/* Project Hero Section */
.project-hero {
    background: linear-gradient(rgba(26, 58, 95, 0.85), rgba(26, 58, 95, 0.9)), 
                url('Image/Piling\ 01.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: #1a3a5f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #4caf9d;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4caf9d;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.project-content {
    padding: 25px;
}

.project-name {
    font-size: 22px;
    color: #1a3a5f;
    margin-bottom: 10px;
}

.project-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-location i {
    color: #4caf9d;
}

.project-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.detail-value {
    color: #4caf9d;
    font-weight: 600;
    font-size: 14px;
}



/* Project Types Section */
.project-types {
    padding: 80px 0;
    background-color: #fff;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.type-card {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.type-card:hover {
    background: #4caf9d;
    color: white;
    transform: translateY(-5px);
}

.type-card:hover .type-icon {
    background: white;
    color: #4caf9d;
}

.type-icon {
    width: 70px;
    height: 70px;
    background: #4caf9d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    transition: all 0.3s ease;
}

.type-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.type-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Footer Styles */
.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Tablet & below */
    @media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none; /* hidden by default */
        position: absolute;
        top: 65px; /* below the header */
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        box-shadow: 0 6px 12px rgba(0,0,0,0.08);
        padding: 20px 0;
        text-align: center; /* center all links horizontally */
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        display: block; /* ensures the link takes full width of container */
        padding: 15px 0; /* spacing between links */
        text-align: center; /* center text */
        font-size: 18px;
        font-weight: 500;
    }

    .nav-links a:last-child {
        margin-bottom: 0;
    }

    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .project-involved-box h3 {
        font-size: 24px;
    } 

    /* FIX: Contact page mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .map-placeholder {
        height: 260px;
    }

    .maps-section h2,
    .contact-info h1 {
        text-align: center;
    }

    .section-title {
        width: 100%;
        text-align: center;
    }
    .services {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .project-involved-box {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    .map-placeholder {
        height: 220px;
    }

    .maps-section,
    .contact-info {
        padding: 20px;
    }

    .map-container{
        max-width: 100vw;
    }
}
