/* Global Variables matching the provided UI design */
:root {
    --color-navy: #182838;
    --color-navy-dark: #121e2b;
    --color-navy-light: #243545;
    --color-yellow: #f5b729;
    --color-yellow-hover: #e0a320;
    --color-white: #ffffff;
    --color-gray-light: #f4f5f7;
    --color-gray-text: #6b7280;
    --color-dark-text: #1f2937;
    --font-main: 'Nunito', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--color-dark-text);
    background-color: var(--color-gray-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

/* Typography Utilities */
.text-yellow {
    color: var(--color-yellow);
}

.text-white {
    color: var(--color-white);
}

.text-navy {
    color: var(--color-navy);
}

.text-gray {
    color: var(--color-gray-text);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 5rem 0;
}

.bg-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-yellow {
    background-color: var(--color-yellow);
    color: var(--color-navy);
}

.btn-yellow:hover {
    background-color: var(--color-yellow-hover);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

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

.btn-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-navy:hover {
    background-color: var(--color-navy-dark);
}

/* Top Navbar */
.navbar {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 1.2rem 0;
    position: absolute;
    /* Overlays on hero if needed, but the design shows it as part of a block */
    width: 100%;
    z-index: 100;
    top: 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 35px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-yellow);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-contact i {
    color: var(--color-yellow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    width: 100%;
    background: var(--color-navy);
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    color: var(--color-white);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(rgba(24, 40, 56, 0.8), rgba(24, 40, 56, 0.8)), url('assets/hero_building.png') center/cover;
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--color-white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    color: var(--color-yellow);
    font-weight: 500;
}

.breadcrumb span {
    color: var(--color-white);
    margin: 0 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 250px 0 250px;
    background: url('assets/hero_building.png') no-repeat center center/cover;
    color: var(--color-white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-navy) 0%, rgba(24, 40, 56, 0.8) 50%, rgba(24, 40, 56, 0.3) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hero-content h4 {
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 450px;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-content: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--color-yellow);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e2e8f0;
}

/* Working Steps */
.working-steps {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-card {
    padding: 3rem 2rem;
    position: relative;
    border-right: 1px solid var(--color-gray-light);
    transition: all 0.3s;
}

.step-card:last-child {
    border-right: none;
}

.step-card.active {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gray-light);
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    line-height: 1;
}

.step-card.active .step-number {
    color: rgba(255, 255, 255, 0.1);
}

.step-icon {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--color-yellow);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-gray-text);
}

.step-card.active p {
    color: #cbd5e1;
}

/* Highlight Section */
.highlight-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.highlight-img {
    background: url('assets/workers.png') center/cover;
    min-height: 400px;
    position: relative;
}

.highlight-content {
    padding: 5rem 4rem;
}

.highlight-content h4 {
    color: var(--color-yellow);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.highlight-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.highlight-content p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Partners */
.partners {
    padding: 3rem 0;
    background: var(--color-white);
    text-align: center;
}

.partners h4 {
    color: var(--color-gray-text);
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.partners h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logos span {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-logos i {
    color: var(--color-yellow);
}

/* Features Split */
.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-white);
}

.features-img {
    background: url('assets/excavator.png') center/cover;
    min-height: 400px;
}

.features-content {
    padding: 5rem 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-item i {
    color: var(--color-yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--color-gray-text);
}

/* Progress Bars */
.progress-section {
    background-color: var(--color-navy);
    color: var(--color-white);
    text-align: center;
}

.progress-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.progress-container>p {
    color: #94a3b8;
    margin-bottom: 3rem;
}

.progress-bar-item {
    margin-bottom: 1.5rem;
    text-align: left;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-yellow);
}

/* Tools Split */
.tools-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-white);
}

.tools-content {
    padding: 5rem 4rem;
}

.tools-content h4 {
    color: var(--color-yellow);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tools-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tools-content>p {
    color: var(--color-gray-text);
    margin-bottom: 2rem;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.check-list li {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.tools-img {
    background: url('assets/tools.png') center/cover;
    min-height: 400px;
}

/* Testimonials */
.testimonials {
    text-align: center;
    background: var(--color-white);
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-navy);
    opacity: 0.1;
    margin-bottom: 1rem;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testi-card {
    background: var(--color-gray-light);
    padding: 2rem;
    text-align: left;
    border-radius: 4px;
}

.testi-card.active {
    background: var(--color-navy);
    color: var(--color-white);
}

.testi-card.active p {
    color: #e2e8f0;
}

.testi-card p {
    font-size: 0.9rem;
    color: var(--color-gray-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testi-author h5 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.testi-author span {
    font-size: 0.75rem;
    color: var(--color-yellow);
}

/* Footer */
.footer {
    background: var(--color-navy-dark);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 35px;
    border-radius: 4px;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-yellow);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-yellow);
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--color-yellow);
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #64748b;
}

/* Services Page specific Grid */
.services-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Contact Page specific */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-navy);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .highlight-section,
    .features-split,
    .tools-split {
        grid-template-columns: 1fr;
    }

    .highlight-img,
    .features-img,
    .tools-img {
        min-height: 300px;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

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

    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .steps-grid,
    .testi-grid,
    .services-grid-page {
        grid-template-columns: 1fr;
    }

    .step-card {
        border-right: none;
        border-bottom: 1px solid var(--color-gray-light);
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .check-list {
        grid-template-columns: 1fr;
    }
}