/* --- CSS Variables --- */
:root {
    --primary-color: #005A9C;
    /* A strong, trustworthy blue */
    --secondary-color: #F7941D;
    /* A vibrant, attention-grabbing orange */
    --dark-color: #2C3E50;
    /* A deep navy for text */
    --light-color: #ECF0F1;
    /* A light grey for backgrounds */
    --white-color: #FFFFFF;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --container-width: 1100px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Global & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

h2.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

section {
    padding: 6rem 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* --- Header & Navbar --- */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 20px;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #e6830d;
    color: var(--white-color);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1584786454449-ecc77738684c?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    background: #e6830d;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta i {
    margin-right: 10px;
}

.hero-sub-cta {
    margin-top: 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.9;
}

/* --- How It Works Section --- */
.how-it-works {
    background: var(--light-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.step .step-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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: 1rem;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* --- Testimonials Section --- */
.testimonials {
    background: var(--light-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--secondary-color);
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial cite {
    font-weight: 600;
    color: var(--primary-color);
}

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.2rem;
}

/* --- Footer --- */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #4a627a;
}

.footer-about h3 {
    font-size: 1.5rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-contact h4 {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-contact a {
    color: var(--light-color);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    h2.section-title {
        font-size: 2rem;
    }

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .steps-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-about,
    .footer-contact {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}