/* 
   Modern Services Page Stylesheet 
   Optimized for Conversions, Readability, and Aesthetics
*/

:root {
    --primary-color: #0d47a1;
    /* Deep Trust Blue */
    --primary-hover: #1565c0;
    --accent-color: #25d366;
    /* WhatsApp Green */
    --accent-hover: #1da851;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-soft: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body.modern-body {
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

.modern-main {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography Basics */
.modern-main h1,
.modern-main h2,
.modern-main h3,
.modern-main h4,
.modern-main h5,
.modern-main h6 {
    font-family: var(--font-heading);
    color: #4161ae;
    margin-top: 0;
}

.modern-main p {
    margin-bottom: 1rem;
    line-height: inherit;
}

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

.text-center {
    text-align: center;
}

.section-heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 10px;
}

.section-heading::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Call to Action Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-primary.btn-large {
    font-size: 1.25rem;
    padding: 18px 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-subtitle strong {
    color: var(--text-main);
    font-weight: 600;
}

.hero-cta-group {
    margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.faq-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.faq-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
}

.faq-card:hover::before {
    opacity: 1;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Modern Gallery */
.modern-gallery {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Related/Blog Section */
.related-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.blog-card {
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.blog-card:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Authority Section */
.authority-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-soft);
}

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

.detail-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.detail-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #0f172a;
}

.detail-card p {
    color: var(--text-muted);
}

/* Bottom CTA */
.bottom-cta-section {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 20px;
}

.bottom-cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 20px;
    }

    .hero-section {
        padding: 50px 20px;
    }

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

    .bottom-cta-section h2 {
        font-size: 1.8rem;
    }

    .btn-primary.btn-large {
        width: 100%;
        box-sizing: border-box;
    }
}