/* Base and Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    --base: #f7f7f7;
    --black: #11100e;
    --white: #ffffff;
    --red: #da2b26;
    --blue: #1a3685;
    --font-primary: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    line-height: 1.6;
}

/* Sticky Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--base);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: top 0.3s ease-in-out;
}

header.sticky {
    position: fixed;
    top: 0;
}

.logo_container {
    display: flex;
    align-items: center;
}

.logo {
    width: 250px;
}

/* Menu and Links */
.nav_bar {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    size: 1.5rem;
    /* text-shadow: 0 2px 5px rgba(99, 99, 99, 0.5); */
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    transition: color 0.09s ease-in-out;
}

.menu a:hover {
    text-shadow: 0 2px 5px rgba(243, 6, 6, 0.5);
    color: var(--red);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1100;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--red);
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Active Hamburger State */
.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu[data-visible="true"] {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        background-color: var(--base);
        border: 1px solid var(--red);
        border-radius: 8px;
        width: 220px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
        padding: 0.5rem 0;
        z-index: 1000;
    }

    .menu[data-visible="true"] a {
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 0;
        display: block;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .menu[data-visible="true"] a:hover {
        align-items: center;
        background-color: var(--red);
        color: var(--white);
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 200px;
    }

    .menu[data-visible="true"] {
        width: 180px;
    }

    .menu a {
        padding: 0.5rem 1rem;
    }
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100vh; /* Full viewport height */
    background-image: url('/assets/building_left.jpg');
    background-size: cover;
    background-position: left center; /* Position the building image to the left */
    background-repeat: no-repeat;
    color: var(--black);
    text-align: right; /* Align text to the right */
    padding-right: 3rem;
    padding-left: 3rem; /* Add some space on the left */
    padding-top: 80px; /* Adjust top padding to account for the fixed header */
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100vh;
    background-image: url('/assets/building_left.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: var(--black);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero__content {
    max-width: 500px;
    text-align: right;
    margin-right: 20px;
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--blue);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: var(--red);
    color: white;
}

.btn-secondary:hover {
    background-color: #e91d16;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero__content {
        margin-right: 0;
        max-width: 90%;
    }

    .hero__actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 10px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


/* About Us Section */
.about_us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 5%;
    background-image: url('/assets/pexels-scottwebb-1029615.jpg');
    background-size: cover;
    color: var(--black);
    flex-wrap: wrap; /* Ensure responsiveness */
}

.about_content {
    max-width: 60%;
    padding-right: 2rem;
}

.about__title {
    color: var(--blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about_description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about__actions {
    display: flex;
    gap: 1rem;
}

.about__actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.about__actions .btn-primary {
    background-color: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.about__actions .btn-primary:hover {
    background-color: var(--red);
    color: white;
}

/* Image Box */
.about_image {
    max-width: 35%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 3rem;
}

.about_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about_us {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about_content {
        max-width: 100%;
        padding-right: 0;
    }

    .about_image {
        max-width: 100%;
        margin-left: 0;
        padding: 1rem 0;
    }

    .about_image img {
        display: none;
    }

    .about__actions {
        display: flex;
        justify-content: center; 
        margin-top: 2rem; 
    }
}

@media (max-width: 768px) {
    .about__title {
        font-size: 2.5rem;
    }

    .about_description {
        font-size: 1rem;
    }

    .about__actions .btn {
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 480px) {
    .about__title {
        font-size: 2rem;
    }

    .about_description {
        font-size: 0.9rem;
    }

    .about__actions .btn {
        padding: 0.8rem 1.5rem;
    }

    .about_image img {
        width: 90%;
    }

    .about__actions {
        margin-top: 2rem; 
    }
}


.short-services {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid layout */
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5em;
    color: var(--blue);
    margin-bottom: 10px;
}

.know-more-btn {
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--blue);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    transition: background-color 0.3s ease-in-out;
}

.know-more-btn:hover {
    background-color: #0056b3;
}
.projects {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid layout */
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 300px;
}

.project-card .project-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-card .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.project-card .project-info {
    padding: 20px;
    text-align: center;
}

.project-card .project-title {
    font-size: 1.5em;
    color: var(--blue);
    margin-bottom: 10px;
}

.project-card .project-description {
    font-size: 1em;
    color: #666;
}

.project-card:hover .project-image {
    transform: scale(1.1); /* Zoom-in effect on hover */
}

/* Know More Button */
.project-more-btn {
    display: inline-block; /* To make it fit the content */
    margin: 20px auto;
    padding: 8px 20px; /* Reduced padding for smaller size */
    background-color: var(--blue);
    color: white;
    font-size: 1em; /* Slightly smaller font size */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-more-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr; /* Stack the cards on smaller screens */
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(to bottom, #f7f7f7, #c4c3c3);
    box-shadow: 0 2px 10px rgba(71, 71, 71, 0.274);
    color: var(--black);
    padding: 2rem 5%;
    text-align: left;
    font-size: 1rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__section {
    flex: 1;
}

.footer__section a {
    margin: 0 0.5rem;
    color: var(--blue);
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.footer__section a:hover {
    color: var(--red);
    transform: scale(1.2);
}

.footer__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--blue);
}



.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.footer__links a:hover {
    color: var(--red);
}

footer address {
    font-style: normal;
    line-height: 1.6;
}

footer a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: var(--red);
}

/* Footer Bottom */
.footer__bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--black);
    padding-top: 1rem;
    border-top: 1px solid var(--base);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer__content {
        flex-direction: column;
        align-items: center;
    }

    .footer__section {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer__links {
        margin-left: 0;
        padding: 0;
    }
}
