/* CSS Variables for a Professional Theme */
:root {
    --primary-color: #0D2C54;  /* Deep Navy */
    --secondary-color: #F8F9FA; /* Off-white/Light Gray */
    --accent-color: #28a745;   /* Trustworthy Green */
    --accent-hover-color: #218838;
    --text-color: #343a40;
    --light-text-color: #6c757d;
    --white-color: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    line-height: 1.7;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--white-color);
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.2em; /* Slightly adjusted for balance */
    margin: 0 0 15px;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2em;
    color: var(--light-text-color);
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* NEW: Hero Image styling */
.hero-image {
    display: block;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 40px auto;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: var(--border-radius);
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.cta-button:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-3px);
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}
.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}
.trust-bar span {
    font-weight: 600;
    color: var(--light-text-color);
    font-family: 'Poppins', sans-serif;
}
.trust-bar .stars { color: #ffc107; }

/* General Section Styling */
section {
    padding: 100px 0;
}
section.bg-light { background-color: var(--secondary-color); }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 { font-size: 2.5em; }
.section-header p {
    font-size: 1.1em;
    color: var(--light-text-color);
    max-width: 600px;
    margin: 10px auto 0;
}

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

.feature {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature .icon {
    font-size: 2.5em;
    color: var(--accent-color);
    background-color: #eaf6ec;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.feature h4 { font-size: 1.4em; margin-bottom: 15px; }
.feature p { color: var(--light-text-color); }

/* Testimonials Section */
.testimonial {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.testimonial .stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2em;
}
.testimonial blockquote {
    font-size: 1.1em;
    font-style: italic;
    margin: 0 0 15px 0;
    color: var(--text-color);
}
.testimonial cite {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-container {
    max-width: 750px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white-color);
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    font-size: 1.1em;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
}
.faq-question i { transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--light-text-color);
}
.faq-answer p { padding: 0 20px 20px; margin: 0; }

/* Final CTA Section */
#final-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
}
#final-cta .section-header h2, #final-cta .section-header p {
    color: var(--white-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 30px 0;
}

/* Modal Styles (same as before) */
.modal {
    display: none; position: fixed; z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}
.modal-content {
    background-color: var(--white-color);
    margin: 10% auto; padding: 40px;
    border-radius: var(--border-radius); width: 90%;
    max-width: 500px; text-align: center;
    position: relative; animation: slideIn 0.4s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.close-button {
    position: absolute; top: 15px; right: 20px;
    color: #aaa; font-size: 28px; font-weight: bold;
    cursor: pointer; transition: color 0.2s;
}
.close-button:hover { color: var(--primary-color); }
.modal h2 { font-size: 1.8em; margin-bottom: 15px;}
.modal p { color: var(--light-text-color); }
.phone-number {
    font-size: 2em; color: var(--accent-color);
    font-weight: 700; font-family: 'Poppins', sans-serif;
    margin: 20px 0; display: block;
    border: 2px dashed #e9ecef;
    padding: 15px; border-radius: var(--border-radius);
}
.phone-number i { margin-right: 10px; }

@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideIn { from {transform: translateY(-50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2em; }
    .section-header h2 { font-size: 2em; }
    .hero { padding: 60px 0; }
}