:root {
    --primary-blue: #1E3A8A;
    --primary-green: #10B981;
    --secondary-blue: #3B82F6;
    --light-blue: #EFF6FF;
    --dark-blue: #1E293B;
    --gray-light: #F9FAFB;
    --gray-medium: #E5E7EB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --dark-navy: #051118;
    --light-green: #A7F3D0;
    --light-purple: #C4B5FD;
    --error-red: #EF4444;
    --success-green: #10B981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--gray-light);
    line-height: 1.6;
    font-weight: 400;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.25rem;
    font-weight: 800;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: 12px auto;
    border-radius: 2px;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.5rem 0.75rem 0;
    background: var(--white);
    color: #000000;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    max-height: 84px;
}

.logo-image {
    height: 84px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-size: 2.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #000000;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.sub-title {
    font-size: 0.75rem;
    font-style: italic;
    color: #000000;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

nav a:hover, nav a.active {
    color: var(--dark-navy);
    transform: scale(1.1);
}

nav a:hover::after, nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--dark-navy);
    bottom: 0;
    left: 0;
}

.cta {
    background: var(--primary-green);
    color: #000000;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta:hover {
    background: var(--dark-navy);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--dark-navy);
    color: var(--white);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-width: calc(100% - 2rem);
    margin: 2rem auto;
}

.hero .container {
    max-width: 1200px;
    padding: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    color: var(--white);
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.25rem;
    font-weight: 300;
    opacity: 0.95;
    color: var(--white);
}

.hero .cta {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-purple) 100%);
    color: var(--dark-navy);
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
}

/* ==================== CHARTS ==================== */
.charts-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.chart-card {
    flex: 1;
    min-width: 320px;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-medium);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.chart-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Chart loading states */
.chart-card.loading::before {
    content: 'Loading chart data...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-style: italic;
    z-index: 2;
}

.chart-card.loading canvas {
    opacity: 0.3;
}

.chart-error {
    text-align: center;
    color: var(--error-red);
    padding: 2rem;
    font-style: italic;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--gray-light) 100%);
    padding: 1rem;
    border-radius: 8px;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.chart-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chart-filters button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 60px;
}

.chart-filters button:hover, .chart-filters button.active {
    background: var(--primary-green);
    transform: scale(1.05);
}

/* ==================== SERVICES ==================== */
.services {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--gray-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--gray-medium);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: var(--light-blue);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== CASE STUDIES ==================== */
.case-studies {
    padding: 6rem 2rem;
    background: var(--white);
    text-align: center;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.case-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-medium);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: var(--light-blue);
}

.case-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

/* ==================== COMPANIES CAROUSEL ==================== */
.companies {
    padding: 4rem 2rem;
    background: var(--gray-light);
    text-align: center;
    overflow: hidden;
}

.companies .section-title {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.carousel-track {
    display: flex;
    animation: scroll 25s linear infinite;
    width: max-content;
    gap: 1.5rem;
    align-items: center;
}

.carousel-track img {
    height: 14px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.2);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.companies:hover .carousel-track {
    animation-play-state: paused;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonial-track {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    width: 20%;
    padding: 0 1rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

.testimonial-card span {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.95rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: var(--gray-light);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: var(--primary-green);
}

/* ==================== FAQ ==================== */
.faq {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-medium);
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1rem;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 400px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==================== CONTACT FORM VALIDATION ==================== */
.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact input, .contact textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
    border: 1px solid var(--gray-medium);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact textarea {
    height: 120px;
    resize: vertical;
}

.error-message {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

/* ==================== FOOTER ==================== */
footer {
    padding: 3rem 2rem;
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto 1.5rem;
    gap: 1.5rem;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    text-align: left;
}

.footer-section h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 0.95rem;
}

.newsletter input::placeholder {
    color: var(--gray-light);
}

.copyright {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-light);
    font-size: 0.85rem;
}

/* ==================== CHATBOT ==================== */
.chatbot-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
}

.chatbot-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.chatbot-button:hover {
    transform: scale(1.05);
    background: #059669;
}

.chatbot-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 340px;
    height: 480px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--gray-medium);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.chatbot-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    max-width: 80%;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message {
    align-self: flex-end;
    background: var(--primary-green);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.bot-message {
    align-self: flex-start;
    background: var(--gray-light);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--gray-medium);
}

.chatbot-input input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--gray-medium);
    border-radius: 6px;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.send-button {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.send-button:hover {
    background: #059669;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* ==================== ANIMATIONS ==================== */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== SERVICE PAGES STYLES ==================== */

/* Service Hero Sections */
.service-hero {
    padding: 6rem 2rem;
    color: var(--white);
}

.service-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.service-hero-visual {
    text-align: center;
}

.service-hero-visual i {
    font-size: 8rem;
    opacity: 0.8;
}

/* Problem Section */
.service-problem {
    padding: 5rem 2rem;
    background: var(--gray-light);
}

.problem-content h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.problem-content > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.problem-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Service Features */
.service-features {
    padding: 5rem 2rem;
    background: var(--white);
}

.service-features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
    text-align: left;
}

.feature-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.feature-card li:last-child {
    border-bottom: none;
}

/* Technology Stack */
.technology-stack {
    padding: 5rem 2rem;
    background: var(--gray-light);
}

.technology-stack h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Service Case Study */
.service-case-study {
    padding: 5rem 2rem;
    background: var(--white);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.case-study-text > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.results {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.result-item {
    text-align: center;
}

.result-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.result-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.case-study-visual {
    text-align: center;
}

.visual-placeholder {
    background: linear-gradient(135deg, var(--light-blue), var(--gray-light));
    padding: 3rem;
    border-radius: 12px;
    border: 2px dashed var(--gray-medium);
}

.visual-placeholder i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Service CTA */
.service-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta.secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* ==================== ENHANCED SERVICES PAGE STYLES ==================== */

.services-hero {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
}

.services-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.services-hero-content > p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.services-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.service-stat {
    text-align: center;
}

.service-stat strong {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-stat span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Enhanced Services Grid */
.main-services {
    padding: 6rem 2rem;
    background: var(--white);
}

.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-enhanced {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card-header {
    padding: 2.5rem 2rem;
    color: var(--white);
    text-align: center;
}

.service-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.service-card-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.service-card-body {
    padding: 2.5rem 2rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features-list {
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.service-feature:last-child {
    border-bottom: none;
}

.service-feature i {
    color: var(--primary-green);
    margin-right: 1rem;
    font-size: 0.9rem;
}

.service-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.service-stats .stat {
    text-align: center;
    flex: 1;
}

.service-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.service-stats .stat span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.service-actions .cta {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1rem;
}

/* Services Process */
.services-process {
    padding: 5rem 2rem;
    background: var(--gray-light);
}

.services-process h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step-enhanced {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step-enhanced h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.process-step-enhanced p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
    color: var(--white);
    text-align: center;
}

.cta-content-enhanced h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content-enhanced > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== MODERN CONTACT PAGE STYLES ==================== */

.contact-hero {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-hero-content > p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.contact-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-stat {
    text-align: center;
}

.contact-stat strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-stat span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Main Grid */
.contact-main {
    padding: 6rem 2rem;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Modern Contact Form */
.contact-form-section h2 {
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.modern-contact-form {
    background: var(--white);
    padding: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 2rem;
}

.form-submit .cta.large {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--gray-light) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-info-card h3 {
    margin-bottom: 2rem;
    color: var(--primary-blue);
    text-align: center;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-details p {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.social-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
}

.social-contact h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Contact FAQ Preview */
.contact-faq-preview {
    padding: 5rem 2rem;
    background: var(--gray-light);
}

.contact-faq-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.faq-preview-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-preview-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.faq-preview-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
}

/* ==================== ADDITIONAL SERVICE PAGE COMPONENTS ==================== */

/* Market Coverage */
.market-coverage {
    padding: 5rem 2rem;
    background: var(--white);
}

.market-coverage h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.market-coverage > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.market-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
    text-align: center;
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.market-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.market-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.market-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.market-stats span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* BI Services */
.bi-services {
    padding: 5rem 2rem;
    background: var(--gray-light);
}

.bi-services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-item ul {
    list-style: none;
    text-align: left;
}

.service-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.service-item li:last-child {
    border-bottom: none;
}

/* Data Sources */
.data-sources {
    padding: 5rem 2rem;
    background: var(--white);
}

.data-sources h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.source-item {
    text-align: center;
    padding: 2rem 1rem;
}

.source-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.source-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.source-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Solutions Overview */
.solutions-overview {
    padding: 5rem 2rem;
    background: var(--white);
}

.solutions-overview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.solutions-overview > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
    text-align: center;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--white);
}

.solution-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.solution-card ul {
    list-style: none;
    text-align: left;
}

.solution-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.solution-card li:last-child {
    border-bottom: none;
}

/* Industries Served */
.industries-served {
    padding: 5rem 2rem;
    background: var(--gray-light);
}

.industries-served h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.industry-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.industry-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Development Process */
.development-process {
    padding: 5rem 2rem;
    background: var(--white);
}

.development-process h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        min-height: unset;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .hero {
        padding: 4rem 1.5rem;
        max-width: 100%;
        margin: 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .chart-card {
        min-width: 100%;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .chart-title {
        text-align: center;
    }
    
    .chart-filters button {
        padding: 0.8rem 1rem;
        min-width: 70px;
        font-size: 0.85rem;
    }
    
    .chatbot-window {
        width: 300px;
        right: -8px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .service-grid, .case-grid {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .testimonial-track {
        width: 100%;
    }
    
    .testimonial-slide {
        width: 100%;
    }
    
    .carousel-track img {
        height: 12px;
    }
    
    .carousel-track {
        gap: 1rem;
    }
    
    .newsletter {
        flex-direction: column;
    }

    /* Service Pages Mobile */
    .service-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .service-hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-hero-visual i {
        font-size: 5rem;
    }

    .case-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .results {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .service-actions {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-stats,
    .services-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .cta {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-card-enhanced {
        margin: 0 1rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }
}