/* Global Styles */
:root {
    --primary-color: #2b5797;
    --secondary-color: #4d86d9;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --gray-color: #6c757d;
    --light-gray-color: #e9ecef;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
}

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

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Banner Section */
.banner {
    padding: 80px 0;
    background-color: #f0f5ff;
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    flex: 1;
    padding-right: 40px;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.banner-image {
    flex: 1;
    text-align: center;
}

.banner-image img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f5ff;
    border-radius: 50%;
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-content {
    flex: 1;
    padding-right: 40px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

/* How We Work Section */
.how-we-work {
    padding: 80px 0;
    background-color: white;
}

.how-we-work h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    margin: 15px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f0f5ff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: flex;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial-image {
    flex: 0 0 100px;
    margin-right: 20px;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--gray-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f5ff;
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Footer */
footer {
    background-color: #2b3e5d;
    color: white;
    padding: 60px 0 20px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    margin-right: 20px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #b3c2d8;
}

.footer-column a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #b3c2d8;
}

/* Thanks Page */
.thanks {
    padding: 100px 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.thanks h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--gray-color);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-section h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-section ul, 
.legal-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li, 
.legal-section ol li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-section ol li {
    list-style-type: decimal;
}

/* Blog Page */
.blog-header {
    background-color: #f0f5ff;
    padding: 60px 0;
    text-align: center;
}

.blog-header h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-articles {
    padding: 60px 0;
}

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

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h2 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.article-date {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.article-excerpt {
    margin-bottom: 20px;
}

/* Newsletter Section */
.newsletter {
    background-color: #f0f5ff;
    padding: 60px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-form .form-group {
    width: 100%;
    max-width: 400px;
}

/* Blog Post */
.blog-post {
    padding: 60px 0;
}

.blog-navigation {
    margin-bottom: 30px;
}

.back-to-blog {
    display: inline-block;
    font-weight: 600;
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-header h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-post-meta {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.blog-post-meta span {
    margin-right: 20px;
}

.blog-post-image {
    margin-bottom: 30px;
}

.blog-post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-post-content ul li,
.blog-post-content ol li {
    margin-bottom: 10px;
}

.blog-post-content ul li {
    list-style-type: disc;
}

.blog-post-content ol li {
    list-style-type: decimal;
}

.blog-post-conclusion {
    margin-top: 40px;
    padding: 20px;
    background-color: #f0f5ff;
    border-radius: 8px;
}

.blog-post-share {
    margin: 40px 0;
    text-align: center;
}

.blog-post-related {
    margin-top: 60px;
}

.blog-post-related h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-article {
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.related-article h4 {
    font-size: 1rem;
    color: var(--dark-color);
}

/* Contact Banner */
.contact-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-banner-content h2 {
    color: white;
    margin-bottom: 15px;
}

.contact-banner-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.contact-banner-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Formula Display */
.formula {
    background-color: #f0f5ff;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .banner .container,
    .about .container,
    .contact .container {
        flex-direction: column;
    }

    .banner-content,
    .about-content,
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .step {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active ul {
        flex-direction: column;
        padding: 20px;
    }

    nav.active ul li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .step {
        flex: 0 0 calc(100% - 30px);
    }

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

    .testimonial-image {
        margin: 0 auto 20px;
    }
}

@media (max-width: 576px) {
    .banner {
        padding: 40px 0;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .services,
    .about,
    .how-we-work,
    .testimonials,
    .contact {
        padding: 40px 0;
    }

    .footer-column {
        flex: 0 0 100%;
        margin-right: 0;
    }
}
