/* GLOBAL RESET & UTILITIES */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #28a745; /* Green */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* BUTTONS */
.btn-main, .btn-call {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-main {
    background-color: var(--primary-color);
    color: white;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background-color: #0056b3;
}

.btn-call {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
}

.btn-call:hover {
    background-color: #218838;
}

/* HEADER & NAVIGATION */
header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

/* HERO SECTION */
.hero-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 30px;
}

.phone-cta {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
}

/* GENERAL SECTIONS */
section {
    padding: 60px 0;
}

/* SERVICE SECTIONS */
.services-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    justify-content: space-between;
}

/* ----------------------------------- */
/* SERVICES GRID (Using generic classes for layout) */
.services-grid {
    display: flex;
    gap: 20px;
}
.service-card {
    flex: 1;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}


/* ----------------------------------- */
/* SERVICE-SPECIFIC STYLING (Overriding for demonstration) */
.services-grid {
    display: flex;
    gap: 20px;
}

/* ----------------------------------- */
/* General Content Layouts */

/* Re-applying the flex layout for cleaner sections */
.services-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.service-card {
    flex-basis: calc(33.333% - 20px / 3);
}

/* ----------------------------------- */
/* Specific Sections Styling */

/* Re-styling the services grid to fit 3 columns */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.service-card {
    /* This calculates 3 items per row, adjusted for gap */
    flex-basis: calc(33.333% - 20px);
    box-sizing: border-box;
}


/* ----------------------------------- */
/* Contact Section */
.contact-container {
    background-color: #f9f9f9;
    text-align: center;
    padding: 50px;
    border-radius: 8px;
    margin-top: 40px;
}

/* ----------------------------------- */
/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .services-grid {
        flex-direction: column;
    }
    .service-card {
        flex-basis: 100%;
    }
}

@media (max-width: 600px) {
    section {
        padding: 40px 0;
    }
}
