/* General Body Styles */
body {
    font-family: 'Arial', sans-serif; /* You can choose a different font */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

/* Headings */
h1, h2, h3 {
    color: #2c3e50; /* Dark blue/grey for headings */
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5em;
    margin-top: 20px;
}

h2 {
    font-size: 2em;
    margin-top: 40px;
}

h3 {
    font-size: 1.5em;
    margin-top: 20px;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    white-space: nowrap; /* Prevents text from wrapping */
}

.btn.primary {
    background-color: #e74c3c; /* Red crescent inspired red */
    color: #fff;
    border: 1px solid #e74c3c;
}

.btn.primary:hover {
    background-color: #c0392b; /* Darker red on hover */
}

.btn.secondary {
    background-color: #fff;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

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

/* --- Header Styles --- */
header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.logo img {
    height: 60px; /* Adjust as needed for your logo size */
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e74c3c; /* Red on hover */
}

.contact-header .btn-call {
    background-color: #27ae60; /* Green for call button */
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
}

.contact-header .btn-call:hover {
    background-color: #219d53;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Ensures image doesn't overflow */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* Dark overlay */
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    filter: brightness(60%); /* Makes image darker to read text */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Ensures a minimum height */
}

.hero-content h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Section Styles (General) --- */
section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
}

section:nth-of-type(even) { /* Alternate background for sections */
    background-color: #f8f8f8;
}

.section-description {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1em;
    color: #666;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.service-item img {
    height: 80px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-top: 0;
    color: #e74c3c;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section .usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.usp-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.usp-item h3 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.usp-item h3 img {
    height: 40px;
    width: auto;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-form h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 20px); /* Account for padding */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #219d53;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-info h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.contact-info p img {
    height: 24px;
    margin-right: 15px;
}

.contact-info p a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    text-decoration: underline;
    color: #c0392b;
}


/* --- Footer Styles --- */
footer {
    background-color: #2c3e50; /* Dark blue/grey footer */
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #e74c3c;
}

.social-media {
    margin-bottom: 20px;
}

.social-media img {
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.1);
}

.copyright p {
    font-size: 0.9em;
    color: #bbb;
}

/* --- Responsive Design (Media Queries) --- */
/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default on large screens */
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #e74c3c; /* Or your preferred color */
    order: 1; /* Order it to appear first on mobile if needed */
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row; /* Keep logo and toggle on one row */
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        margin-bottom: 0;
    }
    .contact-header {
        display: none; /* Hide phone number in header on small screens, relies on contact section */
    }
    
    nav ul {
        display: none; /* Hide the nav list by default on small screens */
        flex-direction: column;
        width: 100%;
        background-color: #fff; /* Background for the mobile menu */
        position: absolute;
        top: 90px; /* Adjust based on your actual header height */
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999; /* Ensure it's above other content */
    }

    nav ul.active {
        display: flex; /* Show the nav list when 'active' class is present */
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block; /* Show the toggle button on small screens */
        margin-left: 20px; /* Adjust spacing */
    }

    .hero-content {
        padding: 80px 20px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 80%;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .contact-form, .contact-info {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .logo img {
        height: 50px;
    }
    .services-grid, .usp-grid {
        grid-template-columns: 1fr;
    }
}

/* CSS for fade-in effect (optional but used in JS) */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}