/* --- Reset & Base Styles --- */
:root {
    --primary-color: #1A237E;
    --secondary-color: #b71c1c;
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --nav-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Typography Utilities --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e67e22;
}

.hero .btn {
    background: #d32f2f;
}

.hero .btn:hover {
    background: #b71c1c;
}

/* --- Navbar --- */
.navbar {
    background: var(--white);
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.1;
    color: #1A237E;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    margin-left: 10px;
}

.tagline {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.logo img {
    height: 90px; 
    width: auto;
    margin-right: 10px;
}

.logo span {
    color: var(--primary-color);
    margin-left: 10px; 
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    margin-left: 10px;
    padding: 8px 15px;
    background: #f0f2f5;
    border-radius: 5px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh; 
    background: url('images/background.jpg') no-repeat center center/cover; 
    text-align: center;
}

.hero-overlay {
    background: rgba(15, 43, 70, 0.7);
    width: 100%;
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 60px); 
    padding-bottom: 60px; 
}

.hero-content {
    max-width: 950px; 
    width: 100%; 
}

.hero-content h1 {
    font-size: 3rem; 
    color: #ffffff; 
    margin-bottom: 25px;
    line-height: 1.3; 
}

.hero-intro {
    font-size: 1.2rem;
    color: #ffffff; 
    margin-bottom: 30px;
    line-height: 1.8;
}

.strength-title {
    color: #ffffff;
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.strength-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.strength-list li {
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.strength-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--light-bg);
}

/* --- About Section --- */
#about {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/about.jpg') no-repeat center center/cover;
    opacity: 0.15; 
    z-index: -1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-us {
    margin-top: 20px;
    padding: 20px;
    background: #fdfdfd;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-box i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- Process Section ("How We Work") --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.process-step {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.step-number {
    background: var(--secondary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px auto;
}

/* --- Projects Gallery (3 Top / 2 Bottom Layout) --- */
.projects-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    flex: 0 0 calc(33.333% - 14px); 
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05); 
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 126, 0.85); 
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

/* --- Lightbox Styles (The Pop-up Window) --- */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

#lightbox-caption {
    color: #ccc;
    margin-top: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
}

.btn-block {
    width: 100%;
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* --- Mobile Menu & Responsive --- */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

@media (max-width: 900px) {
    .project-card {
        flex: 0 0 calc(50% - 10px); 
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 15px auto;
        display: block;
        width: 80%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .project-card {
        flex: 0 0 100%; 
    }
}

.service-icon-img {
    width: 60px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
}

.careers-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.careers-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.careers-cta {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color); /* Adds a line of your brand color at the top */
}

.careers-cta i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.careers-email {
    display: inline-block;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
    transition: color 0.3s ease;
}

.careers-email:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cta-footer {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 10px;
    color: #666;
}