:root {
    --primary-teal: #00A1B3;
    --dark-gray: #2D3436;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
}

/* ================= BASE ================= */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: var(--light-gray);
    color: #333;
}

section {
    padding: 70px 0;
}

h4 {
    font-size: 24px;
    color: var(--dark-gray);
}

/* ================= COMPANIES CONTENT ================= */
.companies-content {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

/* ================= HERO ================= */
.investment-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 90px 25px;
    margin-bottom: 60px;
}

.investment-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    border-radius: 16px;
}

.investment-hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
    text-align: center;
    color: #fff;
}

.investment-hero h3 {
    font-size: 34px;
    margin-bottom: 18px;
}

.investment-hero .tagline {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.investment-hero p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.hero-services li {
    background: rgba(0,161,179,.25);
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    list-style: none;
}

/* ================= PROJECTS ================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.project-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-basic {
    padding: 14px;
}

.project-basic h5 {
    font-size: 17px;
    margin: 0 0 6px;
    color: var(--primary-teal);
}

.project-basic p {
    font-size: 14px;
    margin: 0;
}

/* ================= HOVER THUMBNAIL ================= */
.project-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-hover {
    opacity: 1;
}

.hover-content {
    text-align: center;
    color: #fff;
}

.hover-content span {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--primary-teal);
    border-radius: 6px;
}

/* ================= MODAL ================= */
.project-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow: auto;
    border-radius: 14px;
    padding: 30px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
}

.modal-slider img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 10px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.modal-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: .6;
}

.modal-thumbnails img:hover {
    opacity: 1;
}
