/*
Theme Name:   FinServe Theme
Author:       Momenul Ahmad
Description:  A custom theme to support the FinServe landing page.
Version:      1.2.0
*/

/* --- A Modern CSS Reset --- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; text-rendering: optimizeSpeed; line-height: 1.5; font-family: 'Inter', sans-serif; color: #333; background-color: #fdfdfd; }
a { text-decoration: none; color: #0073aa; }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }

/* --- Global Styles --- */
.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a2c4a;
}
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    background-color: #1a2c4a;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    position: relative;
}
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 44, 74, 0.7); /* Dark blue overlay */
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-subheadline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}
.trust-badges {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Featured In Section --- */
.featured-in-section {
    padding: 30px 0;
    background-color: #f4f7f6;
    text-align: center;
}
.featured-in-section p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    filter: grayscale(1);
    opacity: 0.6;
}
.logos span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #555;
}

/* --- Services Section --- */
.services-section { padding: 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.service-icon { margin-bottom: 1rem; }
.service-item h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: #1a2c4a; }
.service-item p { color: #555; }

/* --- Testimonial Section --- */
.testimonial-section {
    padding: 80px 0;
    background-color: #f4f7f6;
}
.testimonial { text-align: center; max-width: 700px; margin: 0 auto; }
.testimonial blockquote { font-size: 1.5rem; font-style: italic; line-height: 1.4; color: #333; margin-bottom: 1.5rem; }
.testimonial cite { display: flex; align-items: center; justify-content: center; gap: 15px; font-style: normal; }
.testimonial cite img { width: 50px; height: 50px; border-radius: 50%; }

/* --- Lead Form Section --- */
.lead-form-section { padding: 80px 0; background-color: #1a2c4a; color: #fff; }
.form-container-premium {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.form-container-premium .section-title { color: #fff; }
.form-container-premium p { margin-bottom: 2rem; opacity: 0.9; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-row input { flex: 1; }
#finserve-lead-form input, #finserve-lead-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #445;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 5px;
}
#finserve-lead-form input::placeholder, #finserve-lead-form textarea::placeholder { color: #aaa; }
#finserve-lead-form textarea { resize: vertical; min-height: 120px; margin-bottom: 20px; }
#form-messages { margin-top: 1rem; font-weight: 600; }
#form-messages.success { color: #2ecc71; }
#form-messages.error { color: #e74c3c; }

/* --- Footer --- */
.site-footer {
    background-color: #1a2c4a;
    color: #ccc;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-widget p { color: #aaa; }
.footer-widget ul li { margin-bottom: 0.5rem; }
.footer-widget ul a { color: #ccc; transition: color 0.3s; }
.footer-widget ul a:hover { color: #fff; }
.footer-social { margin-top: 1rem; display: flex; gap: 15px; }
.footer-bottom-bar {
    border-top: 1px solid #334;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #aaa;
}
.footer-legal a { color: #aaa; }
.footer-legal a:hover { color: #fff; }