:root {
    --primary-red: #dc2626;
    --dark-red: #b91c1c;
    --black: #111827;
    --gray-dark: #4b5563;
    --gray-light: #f3f4f6;
    --gray-border: #e5e7eb;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; }
ul { list-style: none; }

header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-red);
    z-index: 1000;
    height: var(--nav-height);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--black);
}

/* Set your image logo constraints here */
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo span.red-text { color: var(--primary-red); }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a.nav-link {
    color: var(--gray-dark);
    font-weight: 600;
    transition: color 0.3s;
    cursor: pointer;
}

.desktop-nav a.nav-link:hover, .desktop-nav a.nav-link.active {
    color: var(--primary-red);
}

.btn-call {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
}

.btn-call:hover { background-color: var(--dark-red); }

.btn-outline {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
    cursor: pointer;
    display: inline-block;
}
.btn-outline:hover { background-color: var(--gray-light); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-dark);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    border-top: 1px solid var(--gray-border);
}

.mobile-nav.open { display: block; }
.mobile-nav a.nav-link {
    display: block;
    padding: 12px 0;
    color: var(--gray-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}
.mobile-nav .btn-call {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}

main {
    margin-top: var(--nav-height);
    flex-grow: 1;
}

/* Section setup for smooth scrolling offset */
section {
    scroll-margin-top: var(--nav-height);
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    color: var(--primary-red);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.section-title h3 {
    font-size: 2.5rem;
    font-weight: 800;
}
.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto;
}
.section-title p {
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-text h1 span { color: var(--primary-red); }
.hero-text p {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 30px;
}
.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; }
.badges {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--gray-border);
    padding-top: 20px;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: bold;
}
.badge-item i { color: var(--primary-red); font-size: 1.5rem; }
.badge-item span { font-weight: normal; color: var(--gray-dark); display: block; font-size: 0.75rem;}

.hero-image {
    background-color: var(--gray-light);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #d1d5db;

}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents the image from stretching or squishing */
    border-radius: 20px; /* Matches the container's rounded corners */
}

.services-category {
    margin-bottom: 40px;
}
.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 10px;
}
.category-header i { color: var(--primary-red); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-bottom: 4px solid transparent;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s;
}
.service-card:hover {
    border-bottom-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}
.service-icon {
    width: 50px;
    height: 50px;
    background: #fef2f2;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.service-card h4 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { color: var(--gray-dark); font-size: 0.95rem; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.project-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
    /* The container holding both images */
.project-img-container {
    height: 220px;
    background-color: var(--gray-light);
    display: flex; /* Aligns items side-by-side */
    gap: 10px; /* Optional: adds space between the two images */
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Keeps the images clean within the height boundary */
}

/* Style the actual images inside the container */
.project-img-container img {
    width: 50%; /* Makes each image take up half the container width */
    height: 100%; /* Stretches them to match the 220px container height */
    object-fit: cover; /* Prevents stretching or squishing */
}

/* Optional overlay for image placeholders */
.project-img-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05));
    pointer-events: none; /* Ensures users can still click through the overlay if needed */
}

.project-img i { color: var(--primary-red); opacity: 0.5; z-index: 1; }

.project-info {
    padding: 25px;
}
.project-category {
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.project-info h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: var(--black);
}
.project-info p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text-block {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-red);
    position: relative;
}
.about-text-block::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 13px;
    height: 13px;
    background: var(--primary-red);
    border-radius: 50%;
}
.about-text-block h4 { margin-bottom: 10px; font-size: 1.25rem; }
.about-text-block p { color: var(--gray-dark); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--black);
    color: var(--white);
    border-radius: 20px;
    overflow: hidden;
}
.contact-info { padding: 50px; }
.contact-info p.subtitle { color: #9ca3af; margin-bottom: 40px; }
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.info-icon {
    width: 50px;
    height: 50px;
    background: #1f2937;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.info-text h5 { font-size: 1.1rem; margin-bottom: 5px; }
.info-text p, .info-text a { color: #9ca3af; font-size: 0.95rem; }
.info-text a:hover { color: var(--white); }

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    color: var(--black);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    font-family: var(--font-main);
    outline: none;
    background: var(--gray-light);
}
.form-control:focus {
    border-color: var(--primary-red);
    background: var(--white);
}
textarea.form-control { resize: vertical; height: 120px; }
.btn-submit {
    width: 100%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit:hover { background: var(--dark-red); }

footer {
background-color: #1a1a1a; /* Professional deep dark background */
color: #d1d5db;            /* Soft light grey text for readability */
padding: 60px 20px 20px;
font-family: sans-serif;
}

.footer-container {
max-width: 1200px;         /* Aligns perfectly with your nav and hero width */
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr); /* Creates 4 equal columns */
gap: 40px;
}

.footer-column h4 {
color: #ffffff;
font-size: 1.1rem;
margin-bottom: 20px;
position: relative;
}

/* Visual anchor: A small styling line under column headers */
.footer-column h4::after {
content: '';
display: block;
width: 30px;
height: 2px;
background-color: #f39c12; /* Matches the lightning bolt amber/yellow */
margin-top: 8px;
}

.footer-logo {
font-size: 1.4rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}

.footer-logo i {
color: #f39c12; /* Golden/Amber bolt color */
}

.brand-tagline {
font-size: 0.9rem;
line-height: 1.6;
color: #9ca3af;
}

.contact-list, .footer-links {
list-style: none;
padding: 0;
margin: 0;
}

.contact-list li, .footer-links li {
margin-bottom: 12px;
font-size: 0.95rem;
display: flex;
align-items: center;
gap: 10px;
}

.footer-links a {
color: #d1d5db;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: #f39c12; /* Turns yellow on hover */
}

.socials {
display: flex;
gap: 15px;
}

.socials a {
color: #ffffff;
background-color: #2d2d2d;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
text-decoration: none;
transition: all 0.3s ease;
}

.socials a:hover {
background-color: #f39c12;
transform: translateY(-3px); /* Subtle lift animation on hover */
}

/* Bottom Bar Styling */
.footer-bottom {
max-width: 1200px;
margin: 40px auto 0;
padding-top: 20px;
border-top: 1px solid #2d2d2d; /* Fine divider line */
text-align: center;
font-size: 0.85rem;
color: #9ca3af;
}

/* Responsive Design for Mobile Screens */
@media (max-width: 768px) {
.footer-container {
    grid-template-columns: 1fr; /* Stacks columns vertically on mobile */
    gap: 30px;
}
}

.message-box {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    background: #d1fae5;
    border-left: 4px solid #10b981;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2000;
}
.message-box h4 { color: #065f46; margin-bottom: 5px; }
.message-box p { color: #047857; font-size: 0.875rem; }

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    section { padding: 60px 0; }
    .hero-section, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .badges { flex-direction: column; gap: 10px; }
    .contact-info, .contact-form-wrapper { padding: 30px 20px; }
}
 
