/* --- 1. Global Reset & Typography --- */
:root {
    --primary-color: #007bff; /* A clean blue for professionalism */
    --secondary-color: #28a745; /* A green for secondary CTAs/success */
    --dark-text: #212529;
    --light-text: #f8f9fa;
    --background-light: #ffffff;
    --background-dark: #f4f7f6;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 15px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #6c757d;
}

/* --- 2. Header & Navigation --- */
header {
    background-color: var(--background-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: #0056b3; /* Darker primary color */
}

/* --- 3. Buttons (CTA) --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

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

/* --- 4. Hero Section --- */
#hero {
    background-color: #e9ecef; /* Light gray background */
    text-align: center;
    padding: 120px 0;
}

.hero-bg {
    /* Optional: Add a subtle background image here */
    /* background-image: url('../images/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    color: var(--dark-text); /* Ensure text is readable */
}

#hero h1 {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #495057;
}

/* --- 5. Services Overview --- */
#services-overview {
    background-color: var(--background-dark);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--dark-text);
}

.learn-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.learn-more i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.learn-more:hover i {
    margin-left: 10px;
}

/* --- 6. Trust CTA Bar --- */
#trust-cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 60px 0;
}

#trust-cta h2 {
    color: var(--light-text);
    margin-bottom: 10px;
}

#trust-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* --- 7. Footer --- */
footer {
    background-color: var(--dark-text);
    color: #adb5bd;
    padding: 50px 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid #343a40;
}

.footer-info, .footer-links, .footer-contact {
    width: 30%; /* Adjust as needed for responsiveness */
    margin-bottom: 20px;
}

.footer-info h3 {
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links a, .footer-contact p {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* --- 8. Media Queries for Responsiveness --- */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        padding-bottom: 15px;
    }

    nav ul {
        margin-top: 10px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .footer-info, .footer-links, .footer-contact {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}