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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: white;
}


/* Top Navigation Bar */
.top-nav {
    background-color: #1f5a7a;
    width: 100%;
    padding: 0;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Stretch children to full height */
    padding: 0 100px;
    /* Remove vertical padding */
    height: 50px;
    /* Fixed height to match previous size */
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

.lang-btn {
    background-color: #1f5a7a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background-color: #0b3c5d;
}

.flag-icon {
    font-size: 18px;
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    line-height: 24px;
}

.lang-text {
    color: white;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: stretch;
    /* Stretch links to full height */
    gap: 5px;
}

.nav-link {
    color: white;
    text-decoration: none;
    background-color: #1f5a7a;
    padding: 0 20px;
    /* Horizontal padding only */
    font-size: 14px;
    font-weight: 500;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    /* Center text verticaly */
    height: 100%;
    /* Fill container */
}

.nav-link:hover {
    background-color: #0b3c5d;
}

/* Header Section with Logo */


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Slogan Section (Left) */
.slogan-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    min-width: 180px;
}

.slogan {
    color: #1a365d;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Logo Section (Center) */
.logo-section {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.logo-img {
    width: 180px;
    /* height: auto; */
    display: block;
    object-fit: contain;
}

/* Right Section */
.right-section {
    flex: 1;
    min-width: 180px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.license-btn {
    background-color: #1f5a7a;
    color: white;
    text-decoration: none;
    padding: 30px 30px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    line-height: 1.2;
}

.license-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2px;
}

.license-number {
    font-size: 22px;
    font-weight: 600;
}

.license-btn:hover {
    background-color: #0b3c5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* keeps aspect ratio & crops instead of stretching */
    object-position: center 0%;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.hero-text {
    text-align: center;
    color: white;
    max-width: 1000px;
    font-family: 'Montserrat', sans-serif;
}

.hero-intro {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
}

.hero-body {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-body p {
    margin-bottom: 20px;
}

.hero-body p:last-child {
    margin-bottom: 0;
}

/* Who We Are Section */
.who-we-are-section {
    background-color: white;
    width: 100%;
    /* padding: 80px 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-we-are-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    gap: 60px;
    padding: 60px;
    background-color: white;
}

.who-we-are-column {
    flex: 1;
}

.who-we-are-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-we-are-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.who-we-are-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
}

.who-we-are-heading {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 30px;
    line-height: 1.2;
}

.who-we-are-body {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 400;
    color: #2c2c2c;
    line-height: 1.6;
    text-align: left;
}

/* GENERAL CONTRACT PROJECTS SECTION */
.projects-section {
    position: relative;
    width: 100%;
    background: white;
    overflow: hidden;
    text-align: center;
}

.projects-title-bar {
    width: 100%;
    background-color: white;
}

.projects-title {
    color: black;
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 700;
    padding: 30px 0;
    margin: 0 0 20px 0;
}

.projects-icons-static {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    margin: 0 auto auto;
    max-width: 1200px;
    justify-items: center;
    padding: 0 40px;
}

.static-icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.project-icon-static {
    font-size: 48px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

/* STATIC PROJECTS GRID */
.projects-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px 80px;
}

/* FADE IMAGE STYLES */
.project-image.fade-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.project-image.fade-img.active {
    opacity: 1;
}

/* PROJECT CARDS */
.project-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    flex: 1 1 320px;
    border-radius: 12px;
    overflow: hidden;
}

.project-image-container {
    width: 100%;
    aspect-ratio: 400 / 550;
    position: relative;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.project-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 28px;
    font-weight: 700;
    z-index: 3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    width: 90%;
    text-align: center;
}

/* Client Process Section */
.client-process-section {
    background-color: white;
    width: 100%;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-process-title {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 700;
    color: black;
    text-align: center;
    margin-bottom: 60px;
}

.client-process-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping to next line */
    justify-content: center;
    /* Center items in the row */
    gap: 30px;
}

/* Removed old row wrappers .client-process-row* */

.client-process-card {
    /* 
       flex-basis calculation:
       We want 3 items on the top row approx.
       (100% - (2 * 30px gap)) / 3 = ~31-32%.
       Setting flex: 0 1 310px (min width) allows them to wrap nicely. 
       Or using width with calc.
    */
    flex: 0 1 calc(33.333% - 40px);
    /* Grow 0, Shrink 1, Basis ~1/3 */
    min-width: 320px;
    max-width: 420px;

    background-color: #1f5a7a;
    border-radius: 20px;
    /* Slightly more rounded as per image */
    padding: 40px;

    display: flex;
    flex-direction: column;
    /* justify-content: flex-start;  - default */
}

/* Center alignment for specific cards (1, 4, 5) */
.client-process-card-center {
    align-items: center;
    text-align: center;
}

.process-card-heading {
    font-family: 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    /* Bold */
    /* Dark brown text inside button-like header? 
                       Actually image shows white text in dark brown pill? 
                       Let's check image... 
                       Image shows Heading in a dark brown Background Pill.
    */
    background-color: #0b3c5d;
    /* Dark brown pill */
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    /* Ensure uniform heading width looks nice */
}


.process-card-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    line-height: 1.6;
    margin-bottom: 15px;
    width: 100%;
}

.client-process-card-center .process-card-text {
    text-align: center;
}

/* Default left align for non-center cards (Steps 2 & 3) */
.client-process-card:not(.client-process-card-center) .process-card-text {
    text-align: center;
    /* The intro text "We prepare..." looks centered or left? 
                           Image: "We prepare a full project outline. This includes:" looks centered?
                           Wait, user aid "text in the center for boxes 1, 4 and 5 the other 2 are bullet points".
                           Usually title is centered, text might be left.
                           Let's stick to user request: "text in center for 1,4,5". 
                           Implies 2 & 3 are NOT center text? 
                           Let's Left Align text for 2 & 3 as standard for lists.
                        */
    text-align: left;
}

.process-card-list {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    line-height: 1.8;
    margin-left: 20px;
    /* Indent for bullets */
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

.process-card-list li {
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background-color: #1f5a7a;
    width: 100%;
    /* padding: 60px 40px; */
    /* border-bottom: 2px solid #5d4037; */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-copyright,
.footer-rights,
.footer-contact {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #f5f5f0;
    line-height: 1.6;
    margin: 0;
}

.footer-rights {
    margin-top: 5px;
}

.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer-company-main {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a365d;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.footer-company-sub {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1a365d;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-mission {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #f5f5f0;
    line-height: 1.6;
    margin: 0;
}

.footer-mission:last-child {
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .content-container {
        flex-direction: column;
        gap: 40px;
    }

    .slogan-section,
    .logo-section,
    .right-section {
        flex: none;
        width: 100%;
    }

    .who-we-are-container {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }

    .who-we-are-heading {
        font-size: 36px;
    }

    .who-we-are-body {
        font-size: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

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

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

    .footer-company-main {
        font-size: 28px;
    }
}