﻿/* --- General Styles --- */
:root {
    --primary-color: #007bff; /* Example: Blue */
    --secondary-color: #6c757d; /* Example: Grey */
    --accent-color: #ffc107; /* Example: Yellow */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-text: #000;
    --footer-bg: #343a40;
    --footer-text: #fff;
    --blue-grey:#5793C4;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3; /* Darker shade of primary */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Header --- */
.site-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo img {
    height: 50px; /* Adjust as needed */
    display:block;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1em;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 70vh; /* Full viewport height */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensures background doesn't overflow */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(60%); /* Darken the image to make text readable */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: white;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Intro Section --- */
.intro-section {
    padding: 60px 0;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Services Showcase --- */
.services-showcase {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.services-showcase h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1em;
    margin-bottom: 20px;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    padding: 60px 0;
    background-color: white; /* Or a different subtle background */
}

.why-choose-us-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-item i {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
}

.testimonial-carousel {
    /* Basic styling for carousel - actual functionality needs JS */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.testimonial-item h4 {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0;
    color: var(--text-color);
}

/* --- Featured Projects Section --- */
.featured-projects-section {
    padding: 60px 0;
    background-color: white;
}

.featured-projects-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px; /* Adjust as needed */
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* --- Final CTA Section --- */
.final-cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
}

.final-cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.final-cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.final-cta-section .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 20px 0;
    font-size: 0.95em;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo,
.footer-nav,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 200px; /* Ensure responsiveness */
    margin-right: 20px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px; /* Adjust as needed */
    margin-bottom: 15px;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-contact p a,
.footer-contact p i,
.footer-social a {
    color: var(--footer-text);
    opacity: 0.8;
}

.footer-nav ul li a:hover,
.footer-contact p a:hover,
.footer-social a:hover {
    color: white;
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color); /* Accent for icons */
}

.footer-social a {
    font-size: 1.8em;
    margin-right: 15px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85em;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--footer-text);
    opacity: 0.8;
}

.footer-bottom a:hover {
    opacity: 1;
}

/* --- Responsive Adjustments (Very Basic Example) --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }
    .main-nav ul li {
        margin: 5px 0;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo, .footer-nav, .footer-contact, .footer-social {
        margin-right: 0;
        width: 100%;
    }
}


/* --- Responsive Media Queries --- */

/* Extra Small Devices (Phones) - Styles for screens smaller than 576px */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .services-grid, .why-choose-grid, .featured-projects-grid, .testimonial-carousel {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }
    .service-item, .testimonial-item, .project-card {
        margin-bottom: 20px; /* Add spacing when stacked */
    }
    .main-nav ul {
        display: none; /* Hide nav by default, use hamburger menu later */
    }
    .site-header .container {
        flex-direction: row; /* Keep logo left, header center */
        justify-content: space-between;
        align-items: center;
    }
    .site-header .logo img {
        height: 40px; /* Smaller logo on mobile */
    }
    /* You'd typically add a hamburger menu icon here and show nav on click */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo, .footer-nav, .footer-contact, .footer-social {
        margin-right: 0;
        width: 100%;
    }
    .footer-social a {
        font-size: 1.5em;
    }
}

/* Small Devices (Tablets) - Styles for screens between 576px and 768px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.3em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .services-grid, .why-choose-grid, .featured-projects-grid, .testimonial-carousel {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust for tablet */
    }
     .main-nav ul {
        display: none; /* Hide nav by default, use hamburger menu later */
    }
    .site-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Medium Devices (Desktops) - Styles for screens between 769px and 992px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .main-nav ul li {
        margin-left: 20px; /* Slightly less margin on larger screens */
    }
    .services-grid, .why-choose-grid, .featured-projects-grid, .testimonial-carousel {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

/* Large Devices (Large Desktops) - Styles for screens 992px and up */
@media (min-width: 992px) {
    .main-nav ul {
        display: flex; /* Ensure nav is visible on large screens */
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
}