/* --- Crestville AI Modern AI Theme Colors --- */
:root {
    --primary-color: #1a237e;         /* Deep Blue */
    --accent-color: #00bcd4;          /* Electric Blue */
    --accent-color-2: #7c4dff;        /* Violet */
    --background-color: #f5f7fa;      /* Soft White */
    --secondary-bg: #eceff1;          /* Light Gray */
    --text-color: #212121;            /* Charcoal */
    --secondary-text: #37474f;        /* Slate */
    --card-bg: #fff;
    --card-shadow: 0 4px 24px rgba(26,35,126,0.08);
    --border-radius: 12px;
    --btn-primary-bg: var(--accent-color);
    --btn-primary-hover: var(--accent-color-2);
    --btn-secondary-bg: var(--primary-color);
    --btn-secondary-hover: var(--accent-color-2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

a {
    text-decoration: none;
    color: inherit;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--accent-color-2), var(--accent-color));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124,77,255,0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26,35,126,0.12);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-color-2);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124,77,255,0.3);
}

/* --- About Page Styling --- */

/* About Hero Section */
.about-hero {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
}
.about-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18); /* Add subtle shadow for contrast */
}
.about-hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    color: #f5f7fa;
    text-shadow: 0 1px 6px rgba(0,0,0,0.12); /* Add subtle shadow for contrast */
}

/* Mission & Vision Section */
.mission-vision {
    background: var(--background-color);
    padding: 60px 0;
}
.mv-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.mv-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 32px 28px;
    flex: 1 1 320px;
    max-width: 420px;
    text-align: center;
}
.mv-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 18px;
}
.mv-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.mv-card p {
    color: var(--secondary-text);
    font-size: 1.08rem;
    margin-bottom: 10px;
}

/* Our Story Section */
.our-story {
    background: var(--secondary-bg);
    padding: 60px 0;
}
.story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.story-text {
    max-width: 700px;
    text-align: center;
}
.story-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 18px;
}
.story-text p {
    color: var(--secondary-text);
    font-size: 1.08rem;
    margin-bottom: 12px;
}

/* Values Section */
.values {
    background: #fff;
    padding: 60px 0;
}
.values h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 36px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.value-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 28px 22px;
    text-align: center;
}
.value-icon {
    font-size: 2rem;
    color: var(--accent-color-2);
    margin-bottom: 14px;
}
.value-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.value-card p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* Team Section */
.team {
    background: var(--background-color);
    padding: 60px 0;
}
.team h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 36px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    justify-items: center;
}
.team-member {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 28px 22px;
    text-align: center;
    max-width: 320px;
}
.member-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-color-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 2rem;
    color: #fff;
}
.team-member h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.team-member .role {
    color: var(--accent-color);
    font-size: 0.98rem;
    margin-bottom: 10px;
}
.team-member p {
    color: var(--secondary-text);
    font-size: 0.98rem;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}
.about-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.about-cta p {
    font-size: 1.15rem;
    margin-bottom: 24px;
}
.about-cta .btn-primary {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 12px 32px;
    font-size: 1.08rem;
    transition: background 0.2s, color 0.2s;
}
.about-cta .btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Home Page CTA Section: Electric Blue to Violet Gradient --- */
.home-cta {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.home-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.home-cta p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    color: #f5f7fa;
    text-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.home-cta .btn-primary {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 12px 32px;
    font-size: 1.08rem;
    transition: background 0.2s, color 0.2s;
}

.home-cta .btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Header & Navigation */
header {
    background: #18181b;
    color: #fff;
    box-shadow: 0 2px 10px rgba(24,24,27,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #c3c3c9;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    background: #23232a;
    color: var(--accent-color) !important;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Optional: keep or remove SVG overlay for clarity */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #fff;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero .btn {
    padding: 14px 35px;
}

/* Services Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary-text);
}

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

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26,35,126,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(124,77,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-color-2);
    font-size: 2rem;
}

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

.service-details {
    text-align: left;
    margin: 20px 0;
    padding: 20px;
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color-2);
}

.service-details p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.service-details p:last-child {
    margin-bottom: 0;
}

/* How We Help Section */
.how-we-help {
    background-color: var(--secondary-bg);
}

.help-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.help-text {
    flex: 1;
}

.help-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.help-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.automation-flow {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color-2) 100%);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.flow-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,188,212,0.15);
}

.node-1 { top: 50px; left: 50px; }
.node-2 { top: 50px; right: 50px; }
.node-3 { bottom: 50px; left: 50px; }
.node-4 { bottom: 50px; right: 50px; }
.node-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); }

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    text-align: center;
    margin: 0 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--secondary-text);
}

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

.testimonial-role {
    font-size: 0.9rem;
    color: var(--secondary-text);
    opacity: 0.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-bg) 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.hidden {
    display: none;
}

/* Left Side - Value Propositions */
.contact-info h3 {
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.value-props {
    margin-bottom: 40px;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.prop-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color-2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.prop-text h4 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.prop-text p {
    margin: 0;
    color: var(--secondary-text);
    opacity: 0.9;
    line-height: 1.5;
}

/* Trust Signals */
.trust-signals {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color-2);
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.trust-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-item i {
    color: var(--accent-color-2);
    font-size: 1.1rem;
}

.trust-item span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Quick Contact */
.quick-contact h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--card-bg);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: 500;
}

.quick-link:hover {
    border-color: var(--accent-color-2);
    transform: translateX(5px);
    text-decoration: none;
}

.quick-link i {
    color: var(--accent-color-2);
    width: 20px;
}

/* Right Side - Conversion Form */
.contact-form {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(26,35,126,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.form-header p {
    color: var(--secondary-text);
    opacity: 0.8;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e8f0f0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafdfc;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color-2);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(124,77,255,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
}

.btn-large i {
    margin-right: 10px;
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--secondary-text);
    opacity: 0.7;
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 48px 0 24px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #212121;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--accent-color);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 24px;
    padding-top: 16px;
    color: #f5f7fa;
    font-size: 0.95rem;
}

/* Fix: Prevent navbar from turning pale white on scroll */
header,
.navbar {
    background: #18181b !important;
    color: #fff !important;
    transition: background 0.3s;
}

/* For mobile nav dropdown, keep dark background */
@media (max-width: 768px) {
    .nav-links {
        background-color: #18181b !important;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .help-content {
        flex-direction: column;
        text-align: center;
    }
    
    .help-visual {
        margin-top: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #18181b !important;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .value-prop {
        flex-direction: column;
        text-align: center;
    }
    
    .prop-icon {
        align-self: center;
    }
    
    .quick-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .quick-link {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }

    .contact-form {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    .mv-grid, .values-grid, .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-hero-content h1 {
        font-size: 2rem;
    }
}

/* --- Use Electric Blue to Violet Gradient for Top & Bottom Sections --- */

/* Home Page Hero Section */
.hero {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Optional: keep or remove SVG overlay for clarity */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

/* About Page Top & Bottom Gradient */
.about-hero {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
}

/* About CTA Section (already correct) */
.about-cta {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

/* Ensure headings and paragraphs are visible on gradient */
.hero h1,
.about-hero-content h1,
.home-cta h2,
.about-cta h2 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero p,
.about-hero-content p,
.home-cta p,
.about-cta p {
    color: #f5f7fa;
    text-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

/* --- FAQ Page Styling --- */

/* FAQ Hero Section (already styled by .about-hero) */

/* FAQ List Section */
.faq {
    background: var(--background-color);
    padding: 60px 0;
}

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

.faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 28px 22px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.faq-item:hover {
    box-shadow: 0 8px 32px rgba(26,35,126,0.12);
    transform: translateY(-4px);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: var(--secondary-text);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .faq-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .faq-item {
        padding: 20px 10px;
    }
}

/* Add to your CSS for mobile menu styling */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #18181b;
        flex-direction: column;
        width: 220px;
        padding: 24px 0;
        box-shadow: 0 8px 32px rgba(26,35,126,0.12);
        display: none;
        z-index: 999;
    }
    .nav-links.nav-open {
        display: flex;
    }
    .nav-links li {
        margin: 0 0 18px 0;
        text-align: left;
    }
    .mobile-menu {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        margin-left: 18px;
    }
}
@media (min-width: 901px) {
    .nav-links {
        display: flex !important;
        position: static;
        background: none;
        flex-direction: row;
        width: auto;
        padding: 0;
        box-shadow: none;
    }
    .mobile-menu {
        display: none;
    }
}


/* Blog Post Specific Styles */
.blog-post-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color-2) 100%);
    color: #fff;
    padding: 140px 0 60px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #fff;
    font-weight: 500;
}

.blog-post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.blog-post-content {
    padding: 80px 0;
    background: var(--background-color);
}

.content-wrapper {
    background: var(--card-bg);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.blog-intro {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--primary-color);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.stat-card p {
    margin: 0;
    opacity: 0.9;
}

.solution-section {
    margin: 50px 0;
}

.strategy {
    background: var(--secondary-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color-2);
}

.strategy h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-badge {
    display: inline-block;
    background: var(--accent-color-2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.problem-side, .solution-side {
    padding: 25px;
    border-radius: var(--border-radius);
}

.problem-side {
    background: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #f44336;
}

.solution-side {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
}

.result-highlight {
    background: var(--accent-color-2);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 600;
}

.implementation-guide {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 60px 0 30px;
}

.cta-box h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--secondary-bg);
    flex-wrap: wrap;
    gap: 20px;
}

.tags a {
    background: var(--secondary-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary-text);
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.tags a:hover {
    background: var(--accent-color-2);
    color: #fff;
    transform: translateY(-2px);
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--secondary-bg);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 12px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-share a:hover {
    background: var(--accent-color-2);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .content-wrapper {
        padding: 30px 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-solution-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-share {
        margin-top: 20px;
    }
}