:root {
    --primary-color: #2563eb;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --text-color: #334155;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: sans-serif; color: var(--text-color); background-color: var(--light-bg); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 1rem 0; }
.flex-header { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--primary-color); }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; }

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    height: 60vh; display: flex; align-items: center; justify-content: center; color: white; text-align: center;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }

/* Button */
.btn {
    display: inline-block; background: var(--primary-color); color: white; padding: 12px 25px;
    text-decoration: none; border-radius: 5px; margin-top: 20px; font-weight: bold;
}

/* Services Section */
.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* Chatbot Styles */
#chat-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000;}
.hidden { display: none !important; }
#chat-box { 
    width: 300px; height: 350px; background: white; border-radius: 10px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); margin-bottom: 15px; 
    display: flex; flex-direction: column; overflow: hidden;
}
.chat-header { background: var(--primary-color); color: white; padding: 15px; font-weight: bold; }
#chat-content { flex: 1; padding: 15px; overflow-y: auto; font-size: 14px; }
#chat-input { border: none; border-top: 1px solid #ccc; padding: 15px; width: 100%; outline: none; }
#chat-btn { 
    background: var(--primary-color); color: white; border: none; 
    width: 60px; height: 60px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* --- ABOUT PAGE STYLES --- */
.about-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

.text-center { text-align: center; }
.bg-light { background-color: #e2e8f0; }

/* Stats Section */
.stats-section { background-color: var(--dark-bg); color: white; padding: 40px 0; }
.stat-item h3 { font-size: 3rem; color: var(--primary-color); margin-bottom: 5px; }
.stat-item p { font-size: 1.1rem; font-weight: 500; }

/* Team Section */
.team-card { text-align: center; padding: 20px; }
.team-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--primary-color); }
.team-card h3 { margin-bottom: 5px; }
.team-card p { color: #64748b; font-size: 0.9rem; }

/* CTA Banner */
.cta-banner { background-color: var(--primary-color); color: white; padding: 60px 0; }
.cta-banner .btn { background-color: white; color: var(--primary-color); }

/* --- SERVICES PAGE STYLES --- */
.services-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* Process Cards */
.process-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.process-step { font-size: 2rem; color: #cbd5e1; font-weight: bold; margin-bottom: 10px; }

/* Industry Tags */
.industry-tag {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 12px 25px;
    margin: 10px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

/* --- CONTACT PAGE STYLES --- */
.contact-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Form Styles */
.contact-form-container { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

/* Info & Map Styles */
.contact-info-container h2 { margin-bottom: 20px; }
.contact-info-container p { margin-bottom: 15px; }
.mock-map {
    width: 100%;
    height: 250px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-top: 20px;
    color: #64748b;
    font-weight: bold;
}

/* FAQ Styles */
.faq-card { background: white; padding: 20px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.faq-card h4 { color: var(--primary-color); margin-bottom: 10px; }

/* Responsive adjustments for Contact page */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* --- PRICING PAGE STYLES --- */
.pricing-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

.pricing-card {
    background: white;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price { font-size: 2.5rem; font-weight: bold; color: var(--dark-bg); margin: 20px 0; }
.price span { font-size: 1rem; color: #64748b; font-weight: normal; }

.pricing-features { list-style: none; padding: 0; margin-bottom: 30px; }
.pricing-features li { margin-bottom: 10px; color: #64748b; }

/* --- TEAM PAGE STYLES --- */
.team-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* --- FAQ PAGE STYLES --- */
.faq-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1557425955-df376b5903c8?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* --- CAREERS PAGE STYLES --- */
.careers-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* Job List Card */
.job-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.job-card:hover {
    transform: translateX(5px);
}

.job-info h3 { margin-bottom: 5px; color: var(--dark-bg); }
.job-info p { color: #64748b; font-size: 0.9rem; }

.job-tags { margin-top: 10px; }
.job-tags span {
    background: #e2e8f0;
    color: #334155;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    font-weight: 500;
}

/* Responsive adjustment for job cards on mobile */
@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* --- PROJECTS PAGE STYLES --- */
.projects-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* Filter Buttons */
.filter-container { margin-bottom: 30px; }
.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover { transform: translateY(-5px); }

.project-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--primary-color); }
.project-content { padding: 20px; }
.project-category { color: var(--primary-color); font-size: 0.8rem; font-weight: bold; text-transform: uppercase; margin-bottom: 5px; }
.project-title { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark-bg); }
.project-link { display: inline-block; margin-top: 15px; color: var(--primary-color); text-decoration: none; font-weight: bold; }
.project-link:hover { text-decoration: underline; }

/* --- BLOG PAGE STYLES --- */
.blog-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.8), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* Featured Post */
.featured-post {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}
.featured-img { width: 50%; object-fit: cover; }
.featured-content { padding: 40px; width: 50%; display: flex; flex-direction: column; justify-content: center; }
.blog-meta { color: #64748b; font-size: 0.9rem; margin-bottom: 10px; }

/* Blog Grid Cards */
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 20px; }
.blog-card-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--dark-bg); }

/* Responsive Featured Post */
@media (max-width: 768px) {
    .featured-post { flex-direction: column; }
    .featured-img, .featured-content { width: 100%; }
}
/* --- BLOG ARTICLE STYLES --- */
.article-hero {
    height: 35vh;
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

.article-meta {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.article-layout {
    max-width: 800px; /* Keeps text readable */
    margin: 0 auto;
}

.article-main-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-content p { font-size: 1.1rem; margin-bottom: 20px; line-height: 1.8; color: #475569; }
.article-content h3 { margin: 30px 0 15px 0; color: var(--dark-bg); font-size: 1.5rem; }

.article-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    color: var(--dark-bg);
    background: #f8fafc;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* Share & Author Box */
.share-buttons { margin: 40px 0; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }

.author-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}
.author-img { width: 80px; height: 80px; border-radius: 50%; margin-right: 20px; }
.author-info h4 { margin-bottom: 5px; color: var(--dark-bg); }
.author-info p { margin-bottom: 0; font-size: 0.95rem; }

@media (max-width: 768px) {
    .author-box { flex-direction: column; text-align: center; }
    .author-img { margin-right: 0; margin-bottom: 15px; }
}
/* --- PROJECT DETAILS PAGE STYLES --- */
.project-details-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* Summary Split Layout */
.project-summary-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.project-description p { font-size: 1.1rem; line-height: 1.8; color: #475569; margin-top: 15px; }

.project-meta-sidebar {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.project-meta-sidebar h3 { margin-bottom: 20px; color: var(--dark-bg); border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block;}
.meta-list { list-style: none; padding: 0; margin-bottom: 25px; }
.meta-list li { margin-bottom: 15px; border-bottom: 1px solid #cbd5e1; padding-bottom: 10px; color: #475569;}
.meta-list strong { color: var(--dark-bg); display: block; margin-bottom: 3px;}

/* Timeline */
.timeline-container { border-left: 3px solid var(--primary-color); padding-left: 20px; margin-left: 10px;}
.timeline-step { margin-bottom: 30px; position: relative; }
.timeline-step::before {
    content: ''; position: absolute; left: -29px; top: 0;
    width: 15px; height: 15px; background: white; border: 3px solid var(--primary-color); border-radius: 50%;
}
.timeline-step h4 { color: var(--primary-color); margin-bottom: 5px; }

/* Testimonial & Gallery */
.gallery-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.client-quote { font-size: 1.5rem; font-style: italic; color: var(--dark-bg); margin-bottom: 20px; }
.client-name { font-weight: bold; color: var(--primary-color); }

@media (max-width: 768px) {
    .project-summary-grid { grid-template-columns: 1fr; }
}

/* --- SERVICE DETAILS PAGE STYLES --- */
.service-details-hero {
    height: 40vh;
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
}

/* --- CHATBOT SUGGESTION CHIPS --- */
.chat-suggestions {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    overflow-x: auto;
}

.chat-chip {
    background: #e2e8f0;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-weight: bold;
}

.chat-chip:hover {
    background: var(--primary-color);
    color: white;
}