/* Reset & basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    color: #0A2342;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Hero Section */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.5); /* semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 40px;
}

/* Left Column: Logo */
.hero-left img {
    max-height: 300px; /* adjust as needed */
    width: auto;
}

/* Right Column: Text + CTA */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    text-align: left;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    color: #fff;
    font-size: 1.2rem;
}

/* CTA button */
.hero-cta {
    margin-top: 20px;
    display: grid;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #D9A441;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #b88731;
    transform: translateY(-3px);
}

/* Responsive: Stack on smaller screens */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-right {
        text-align: center;
    }
    .hero-left img {
        max-height: 200px;
        margin-bottom: 20px;
    }
}

/* Hero text/CTA entrance animations */
.hero-text, .hero-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Active class triggers animation */
.hero-text.active, .hero-cta.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section styling */
.section {
    padding: 80px 20px;
}

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

h2 {
    font-family: 'Montserrat', sans-serif;
    color: #0A2342;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.service-card {
    background: #f7f7f7;
    padding: 20px;
    margin: 10px;
    flex: 1 1 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Projects Grid */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-card {
    position: relative;
    overflow: hidden;
    flex: 1 1 30%;
    border-radius: 8px;
}

.project-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    height: 290px;
}

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

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(10, 35, 66, 0.7);
    color: #fff;
    width: 100%;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Industries */
.industries-list {
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.industries-list li {
    font-weight: bold;
}

/* Floating Contact Button */
#contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 9999;
}

#contact-button img {
    height: 40px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

#close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

label {
    display: block;
    margin-top: 15px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.submit-button {
    margin-top: 20px;
    background: #D9A441;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.submit-button:hover {
    background: #b88731;
}

.form-response {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}
