/* Color Variables from Logo */
:root {
    --primary-purple: #5E40B7;
    --secondary-red: #E74C3C;
    --accent-purple: #8C6AD3;
    --accent-red: #EF887F;
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --light-bg: #F8F8F8;
    --white-bg: #FFFFFF;
    --border-color: #E0E0E0;
    --gradient-bg: linear-gradient(90deg, var(--primary-purple) 0%, var(--secondary-red) 100%);
    --button-hover-gradient: linear-gradient(90deg, #4d339e 0%, #c93e31 100%);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white-bg);
}

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

a {
    text-decoration: none;
    color: var(--primary-purple);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    margin-bottom: 15px;
}

h1 { font-size: 2.8em; line-height: 1.2; }
h2 { font-size: 2.2em; line-height: 1.3; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-bg);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--button-hover-gradient);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: var(--light-text); /* Keep color white on hover */
}

.btn-secondary {
    background-color: var(--white-bg);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--light-text);
}

/* Header & Navigation */
header {
    background-color: var(--white-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px; /* Adjust as needed */
    width: auto;
    max-width: 200px;
}
/* Ensure you have a version of your logo that looks good on dark backgrounds for the footer */
.footer-logo {
    height: 40px; /* Adjust as needed */
    filter: brightness(0) invert(1); /* Makes the logo white for dark footer */
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    position: relative; /* For dropdown */
}

nav ul li a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

nav ul li a:not(.btn):hover::after,
nav ul li a.active:not(.btn)::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-bg);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-top: 3px solid var(--primary-purple);
    padding: 10px 0;
    left: 0; /* Align dropdown with parent */
}

.dropdown-content a {
    color: var(--dark-text);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap; /* Prevent wrapping */
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary-purple);
}
.dropdown-content a::after { /* Remove underline for dropdown items */
    display: none;
}


.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: var(--dark-text);
    margin-bottom: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        position: absolute;
        top: 80px; /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--white-bg);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        display: none; /* Hidden by default */
        transition: all 0.3s ease;
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        padding: 10px 0;
        display: block;
    }

    nav ul li a:not(.btn)::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .dropdown-content {
        position: static; /* Stack dropdown items normally */
        box-shadow: none;
        border-top: none;
        background-color: var(--light-bg); /* Slightly different background for sub-menu */
        width: 100%;
        padding: 0;
        display: none; /* Controlled by JS for mobile */
        border-radius: 0;
        overflow: hidden; /* For smooth height transition */
        max-height: 0;
        transition: max-height 0.3s ease-out;
    }

    .dropdown-content.active {
        display: block;
        max-height: 500px; /* Sufficiently large for all items */
    }

    .dropdown-content a {
        padding: 10px 30px; /* Indent sub-items */
        border-bottom: 1px solid var(--border-color);
    }
    .dropdown-content a:last-child {
        border-bottom: none;
    }
}

/* Sections General Styling */
section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-intro h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-intro h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-bg);
    border-radius: 5px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}
.text-primary-purple {
    color: var(--primary-purple);
}
.text-secondary-red {
    color: var(--secondary-red);
}
.highlight-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* To apply gradient to text */
}
.icon {
    color: var(--primary-purple);
    font-size: 2em;
    margin-bottom: 15px;
}
.icon-red {
    color: var(--secondary-red);
}

/* Footer */
footer {
    background-color: var(--dark-text); /* Using dark text for footer background */
    color: var(--light-text);
    padding: 60px 0 20px 0;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-col h3 {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.3em;
    position: relative;
}

footer .footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: var(--gradient-bg);
    border-radius: 5px;
}

footer .footer-col p {
    font-size: 0.95em;
    line-height: 1.8;
    margin-bottom: 20px;
}

footer .footer-col ul {
    padding: 0;
}

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

footer .footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

footer .footer-col ul li a:hover {
    color: var(--primary-purple);
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

.footer-legal-links a:hover {
    color: var(--primary-purple);
}

@media (max-width: 992px) {
    footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-col.about-col {
        grid-column: span 2;
    }
    .footer-col h3 {
        text-align: left; /* Adjust for smaller screens */
    }
}

@media (max-width: 600px) {
    footer .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col.about-col {
        grid-column: span 1;
    }
    footer .footer-col {
        text-align: center;
    }
    footer .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        text-align: center;
    }
}

/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    background-color: var(--white-bg);
    padding: 100px 0;
    text-align: left;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
}
.hero-content p {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}
.btn-primary-outline:hover {
    background-color: var(--primary-purple);
    color: var(--light-text);
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 3em;
    }
}
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-section {
        padding: 80px 0 50px 0;
    }
}

/* Quick Stats Section */
.quick-stats-section {
    background-color: var(--primary-purple); /* Or a lighter variant */
    background: var(--gradient-bg);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

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

.stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item .stat-number {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

/* Why Choose Us & Highlights Sections (shared styles) */
.features-grid, .highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item, .highlight-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover, .highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item h3, .highlight-item h3 {
    font-size: 1.4em;
    margin-top: 10px;
}

.feature-item p, .highlight-item p {
    font-size: 0.95em;
    color: #666;
}

.icon.icon-purple { color: var(--primary-purple); }
.icon.icon-red { color: var(--secondary-red); }

/* Testimonials Section */
.testimonials-section {
    text-align: center;
    overflow: hidden; /* For future slider implementation */
}

.testimonials-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    max-width: 500px; /* Adjust as needed */
    flex: 1;
    min-width: 300px;
    text-align: left;
    position: relative;
    padding-top: 60px; /* Space for quote icon */
}

.testimonial-card .quote-icon {
    font-size: 3.5em;
    color: var(--primary-purple);
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.2;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05em;
    color: #555;
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--primary-purple);
    object-fit: cover;
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 1.1em;
    color: var(--dark-text);
}

.client-info span {
    font-size: 0.9em;
    color: #777;
}

.client-logos {
    margin-top: 50px;
}
.client-logos h3 {
    font-size: 1.8em;
    color: var(--dark-text);
    margin-bottom: 30px;
}

.logo-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.logo-carousel img {
    max-height: 50px;
    width: auto;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.logo-carousel img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Latest Blog Section */
.latest-blog-section {
    background-color: var(--light-bg);
}

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

.blog-post-card {
    background-color: var(--white-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-post-card .card-content {
    padding: 25px;
}

.blog-post-card h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.blog-post-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.blog-post-card .read-more {
    color: var(--primary-purple);
    font-weight: 600;
    display: inline-block;
}

.blog-post-card .read-more i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.blog-post-card .read-more:hover i {
    margin-left: 12px;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    color: var(--light-text);
    background: var(--gradient-bg);
}

.cta-banner h2 {
    color: var(--light-text);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-secondary-inverted {
    background-color: var(--light-text);
    color: var(--primary-purple);
    border: 2px solid var(--light-text);
}

.btn-secondary-inverted:hover {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.cta-section {
    margin-top: 60px;
}

/* Specific media queries for general responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }
    section { padding: 60px 0; }
    .section-intro { margin-bottom: 40px; }
    .btn { padding: 10px 20px; font-size: 0.9em; }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    .testimonial-card {
        padding: 30px 20px;
        padding-top: 50px;
    }
    .testimonial-card .quote-icon {
        font-size: 3em;
        top: 15px;
        left: 15px;
    }
    .logo-carousel {
        gap: 20px;
    }
    .cta-banner h2 { font-size: 2.2em; }
    .cta-banner p { font-size: 1em; }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .features-grid, .highlights-grid, .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        min-width: unset;
    }
}

/* Services Section */
.core-services-section {
    padding-bottom: 30px; /* Adjust if needed due to specific sections */
}

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

.service-card {
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 4px solid transparent; /* For hover effect */
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-purple); /* Highlight on hover */
}
.service-card:nth-child(even):hover { /* Alternate hover color */
    border-color: var(--secondary-red);
}


.service-card h3 {
    font-size: 1.6em;
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.service-card ul {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
    list-style: none; /* Remove default bullet */
    padding-left: 20px;
}

.service-card ul li {
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #555;
}

.service-card ul li::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-purple); /* Or primary-purple */
    position: absolute;
    left: 0;
    top: 0;
}
.service-card:nth-child(even) ul li::before {
    color: var(--accent-red); /* Alternate checkmark color */
}

.service-card .btn {
    margin-top: 20px;
}

/* Industries Section */
.industries-we-serve-section {
    background-color: var(--white-bg);
}

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

.industry-card {
    background-color: var(--white-bg);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top 0.3s ease;
    border-top: 4px solid transparent; /* For hover effect */
}
.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.industry-card:nth-child(odd):hover {
    border-top-color: var(--primary-purple);
}
.industry-card:nth-child(even):hover {
    border-top-color: var(--secondary-red);
}

.industry-card h3 {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 15px;
}
.industry-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 25px;
}
.industry-card p strong {
    color: var(--dark-text);
}

.industry-card .read-more {
    font-weight: 600;
    color: var(--primary-purple);
}
.industry-card .read-more:hover {
    color: var(--secondary-red);
}
.industry-card .read-more i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}
.industry-card .read-more:hover i {
    margin-left: 12px;
}

.industry-cta-section {
    padding: 80px 0;
}
.industry-cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
}
.industry-cta-section p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

/* Portfolio Section */
.featured-projects-section {
    background-color: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--white-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 280px; /* Fixed height for image consistency */
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 30px;
    flex-grow: 1; /* Allow content to push button to bottom */
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.project-info .project-tagline {
    font-style: italic;
    font-size: 0.95em;
    color: #888;
    margin-bottom: 20px;
}

.project-info .project-details {
    margin-bottom: 25px;
    text-align: left;
    font-size: 0.92em;
    color: #555;
    list-style: disc; /* Use bullets for details */
    padding-left: 20px;
}
.project-info .project-details li {
    margin-bottom: 8px;
}
.project-info .project-details li strong {
    color: var(--primary-purple);
    font-weight: 600;
}

.project-info .btn-primary-small {
    margin-top: auto; /* Pushes button to bottom */
    padding: 10px 20px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Process Section */
/* Process Section */
.workflow-section {
    background-color: var(--white-bg);
    padding-bottom: 50px; /* Adjusted for better spacing below last step */
}

.process-steps-container {
    margin-top: 40px;
    position: relative;
    padding-left: 100px; /* Increased padding-left to give more room for the line and circle */
}

/* The Vertical Line */
.process-steps-container::before {
    content: '';
    position: absolute;
    left: 48px; /* Adjusted to be centered within the new padding-left */
    top: 0;
    bottom: 0; /* Ensures the line extends fully */
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-purple), var(--secondary-red));
    border-radius: 5px;
    z-index: 1; /* Ensure line is behind circles */
}

.process-step {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    margin-bottom: 60px; /* Increased space between steps */
    position: relative; /* For step-icon positioning */
}
.process-step:last-child {
    margin-bottom: 0;
}

/* The Step Icon/Number Circle */
.process-step .step-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    flex-shrink: 0; /* Prevent shrinking */
    z-index: 2; /* Ensure circle is above the line */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* Positioning relative to the line and content */
    position: absolute; /* Relative to .process-step */
    left: -75px; /* Adjusted: (padding-left of container - width of icon / 2) - half of line width */
    top: 0; /* Align top of circle with top of step content */
    transform: translateY(-20%); /* Slightly lift the circle to align with text start */
}


/* The Step Content Box */
.process-step .step-content {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    flex-grow: 1;
    margin-left: 30px; /* Space from the circle */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.process-step .step-content h3 {
    margin-top: 0;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.process-step .step-content p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
}
.process-step .step-content p strong {
    color: var(--dark-text);
}

/* Responsive adjustments for Process Section */
@media (max-width: 768px) {
    .process-steps-container {
        padding-left: 60px; /* Adjust padding for smaller screens */
    }
    .process-steps-container::before {
        left: 28px; /* Adjust line position for smaller screens */
    }
    .process-step .step-icon {
        left: -20px; /* Adjust icon position for smaller screens */
        width: 45px;
        height: 45px;
        font-size: 1.4em;
    }
    .process-step .step-content {
        margin-left: 20px; /* Adjust content margin */
        padding: 20px;
    }
    .process-step .step-content h3 {
        font-size: 1.3em;
    }
    .process-step {
        margin-bottom: 40px; /* Reduce margin between steps */
    }
}

@media (max-width: 480px) {
    .process-steps-container {
        padding-left: 40px;
    }
    .process-steps-container::before {
        left: 18px;
    }
    .process-step .step-icon {
        left: -15px; /* Further adjust icon for very small screens */
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    .process-step .step-content {
        margin-left: 15px;
        padding: 15px;
    }
}


/* Agile Advantage Section (reusing features-grid styling) */
.agile-advantage-section .advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.agile-advantage-section .advantage-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.agile-advantage-section .advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.agile-advantage-section .advantage-item h3 {
    font-size: 1.4em;
    margin-top: 10px;
}
.agile-advantage-section .advantage-item p {
    font-size: 0.95em;
    color: #666;
}
/* AI & ML Sections */
.ai-capabilities-section {
    background-color: var(--white-bg);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.capability-card {
    background-color: var(--light-bg); /* Lighter background for capability cards */
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.capability-card h3 {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 15px;
}
.capability-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 10px;
}
.capability-card p strong {
    color: var(--dark-text);
    font-size: 0.9em; /* Smaller impact text */
}

/* Use Cases Section */
.use-cases-section .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.use-case-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.use-case-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.use-case-item h3 {
    font-size: 1.4em;
    margin-top: 10px;
}
.use-case-item p {
    font-size: 0.95em;
    color: #666;
}

/* Careers Sections */
.why-work-with-us-section {
    background-color: var(--white-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: var(--light-bg);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.benefit-card h3 {
    font-size: 1.4em;
    margin-top: 15px;
    margin-bottom: 10px;
}
.benefit-card p {
    font-size: 0.95em;
    color: #666;
}

/* Open Positions */
.open-positions-section {
    background-color: var(--light-bg);
}
.positions-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.position-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.position-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--primary-purple);
}
.position-item p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}
.position-item .btn-primary-small {
    padding: 8px 18px;
    font-size: 0.85em;
}

/* How We Hire */
.hiring-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.hiring-step-card {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    padding-top: 70px; /* Space for circle */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hiring-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number-circle {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--gradient-bg);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.hiring-step-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    margin-top: 0;
}
.hiring-step-card p {
    font-size: 0.9em;
    color: #666;
}

@media (max-width: 768px) {
    .position-item {
        align-items: center;
        text-align: center;
    }
}

/* Blog Archive Section */
.blog-posts-archive {
    background-color: var(--white-bg);
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}
.blog-filters .filter-group {
    flex: 1;
    min-width: 280px;
}

.blog-filters h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.blog-filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.blog-filters ul li a {
    display: block;
    padding: 8px 18px;
    border-radius: 20px;
    background-color: var(--light-bg);
    color: #666;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.blog-filters ul li a:hover {
    background-color: var(--primary-purple);
    color: var(--light-text);
    border-color: var(--primary-purple);
}
.blog-filters ul li a.active {
    background: var(--gradient-bg);
    color: var(--light-text);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-filters .search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    flex-grow: 2; /* Allow search to take more space */
    max-width: 400px;
}
.blog-filters .search-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
}
.blog-filters .search-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(94, 64, 183, 0.2);
}
.blog-filters .btn-primary-small {
    padding: 10px 20px;
    font-size: 0.9em;
}


.blog-posts-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post-card { /* Reusing styles from home, but with more detail */
    background-color: var(--white-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.blog-post-card img {
    width: 100%;
    height: 220px; /* Consistent image height */
    object-fit: cover;
    display: block;
}
.blog-post-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-post-card .blog-category {
    display: inline-block;
    background-color: var(--accent-purple);
    color: var(--light-text);
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}
.blog-post-card h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--dark-text);
}
.blog-post-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes read more button to bottom */
}
.blog-post-card .read-more {
    color: var(--primary-purple);
    font-weight: 600;
    display: inline-block;
    margin-top: 15px; /* Space from description */
}
.blog-post-card .read-more i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}
.blog-post-card .read-more:hover i {
    margin-left: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 10px;
}
.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    transition: all 0.3s ease;
    font-weight: 600;
}
.pagination a:hover {
    background-color: var(--light-bg);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}
.pagination a.active {
    background: var(--gradient-bg);
    color: var(--light-text);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .blog-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .blog-filters .filter-group {
        width: 100%;
        min-width: unset;
    }
    .blog-filters ul {
        justify-content: center;
    }
    .blog-filters .search-group {
        width: 100%;
        max-width: unset;
    }
}

/* Contact Page */
.contact-info-section {
    background-color: var(--white-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr; /* Contact details take less space than form */
    gap: 60px;
    align-items: flex-start;
}

.contact-details {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.contact-details h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}
.contact-details p {
    font-size: 1em;
    margin-bottom: 30px;
    color: #555;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.info-item .icon {
    font-size: 1.8em;
    margin-right: 20px;
    flex-shrink: 0;
}
.info-item h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
}
.info-item p {
    margin: 0;
    font-size: 1em;
    color: #444;
}
.info-item p a {
    color: #444;
}
.info-item p a:hover {
    color: var(--primary-purple);
}

.social-connect {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}
.social-connect h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
}
.social-connect .social-icons a {
    font-size: 1.8em;
    color: var(--dark-text);
    margin-right: 20px;
}
.social-connect .social-icons a:hover {
    color: var(--primary-purple);
}


.contact-form-wrapper {
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}
.contact-form-wrapper h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
    font-size: 0.95em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(94, 64, 183, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: auto;
    padding: 15px 35px;
    font-size: 1.1em;
    border-radius: 8px;
    margin-top: 15px;
}

/* Map Section */
.map-section {
    background-color: var(--light-bg);
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 40px;
}

.map-embed {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.map-embed iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-details, .contact-form-wrapper {
        padding: 30px;
    }
    .map-embed iframe {
        height: 350px;
    }
}
@media (max-width: 600px) {
    .contact-details h2, .contact-form-wrapper h2 {
        font-size: 2em;
    }
    .map-embed iframe {
        height: 250px;
    }
}

/* Legal Content Section (Shared for Privacy Policy & Terms) */
.legal-content-section {
    padding: 80px 0;
}
.legal-content-section h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: var(--primary-purple);
    border-bottom: 2px solid var(--accent-purple);
    padding-bottom: 10px;
    margin-top: 40px;
}
.legal-content-section h2:first-child {
    margin-top: 0;
}
.legal-content-section h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--dark-text);
}
.legal-content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}
.legal-content-section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444;
}
.legal-content-section ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.legal-content-section .effective-date {
    font-size: 0.9em;
    color: #777;
    margin-top: 40px;
    text-align: right;
}

/* Page Hero (Shared style for internal pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    color: var(--light-text);
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before { /* Decorative overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/abstract-bg.png") no-repeat center center/cover; /* Placeholder for an abstract background image */
    opacity: 0.1;
    z-index: 1;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5em;
    color: var(--light-text);
    margin-bottom: 15px;
}

.page-hero .hero-subtext {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px 0;
    }
    .page-hero h1 {
        font-size: 2.8em;
    }
    .page-hero .hero-subtext {
        font-size: 1.1em;
    }
}
@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2.2em;
    }
}

/* Who We Are Section */
.who-we-are-section {
    background-color: var(--white-bg);
}
.section-content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}
.section-content-grid .content-text {
    flex: 1;
}
.section-content-grid .content-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.section-content-grid .content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .section-content-grid {
        flex-direction: column;
    }
    .section-content-grid .content-text,
    .section-content-grid .content-image {
        flex: none;
        width: 100%;
    }
}

/* Vision & Mission Section */
.vission-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vission-mission-card {
    background-color: var(--white-bg);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vission-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.vission-mission-card h3 {
    margin-top: 15px;
}
.vission-mission-card p {
    font-size: 0.95em;
    color: #666;
}

/* Our Team Section (similar to features grid) */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.team-member-card {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.team-member-card h3 {
    font-size: 1.3em;
    margin-top: 10px;
}
.team-member-card p {
    font-size: 0.9em;
    color: #666;
}

/* Our Values Section (similar to features grid) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.value-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.value-item h3 {
    font-size: 1.4em;
    margin-top: 10px;
}
.value-item p {
    font-size: 0.95em;
    color: #666;
}

/* Service Detail Pages Specific Styles */

.service-detail-overview {
    background-color: var(--white-bg);
}

.service-detail-overview .section-content-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}
.service-detail-overview .section-content-grid.reverse-order {
    flex-direction: row-reverse; /* For alternating image/text layout */
}

.service-detail-overview .content-text {
    flex: 1;
}
.service-detail-overview .content-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.service-detail-overview .content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-detail-overview h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
}
.service-detail-overview p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}
.service-detail-overview h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--primary-purple);
}
.service-detail-overview ul {
    list-style: none;
    padding: 0;
}
.service-detail-overview ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1em;
    color: #444;
}
.service-detail-overview ul li::before {
    content: "\f058"; /* Font Awesome check-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2em;
}

@media (max-width: 992px) {
    .service-detail-overview .section-content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .service-detail-overview .section-content-grid.reverse-order {
        flex-direction: column; /* On small screens, keep content-text first */
    }
}

/* Service Detail Features (reusing features-grid but with smaller cards) */
.service-detail-features {
    background-color: var(--white-bg); /* Can be light-bg */
}
.features-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.features-grid-small .feature-item {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-grid-small .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.features-grid-small .feature-item h3 {
    font-size: 1.4em;
    margin-top: 10px;
}
.features-grid-small .feature-item p {
    font-size: 0.95em;
    color: #666;
}

/* Service Detail Tech Stack */
.service-detail-tech {
    background-color: var(--light-bg); /* Or white-bg */
}
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjusted for tech icons */
    gap: 25px;
    margin-top: 40px;
    text-align: center;
}
.tech-item {
    background-color: var(--white-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.tech-item .icon-colored {
    font-size: 3.5em;
    margin-bottom: 10px;
    /* Specific colors for common tech icons (adjust as needed) */
    color: #4CAF50; /* Default green, override for specific brands */
}
.tech-item span {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-text);
}

/* Specific icon colors (add more as needed) */
.tech-item .fa-apple { color: #555; }
.tech-item .fa-android { color: #3DDC84; }
.tech-item .fa-flutter { color: #02569B; }
.tech-item .fa-react { color: #61DAFB; }
.tech-item .fa-node-js { color: #68A063; }
.tech-item .fa-python { color: #3776AB; }
.tech-item .fa-java { color: #007396; }
.tech-item .fa-angular { color: #DD0031; }
.tech-item .fa-vuejs { color: #4FC08D; }
.tech-item .fa-microsoft { color: #0078D4; }
.tech-item .fa-php { color: #777BB4; }
.tech-item .fa-aws { color: #FF9900; }
.tech-item .fa-google { color: #4285F4; }
.tech-item .fa-docker { color: #2496ED; }
.tech-item .fa-kubernetes { color: #326CE5; }
.tech-item .fa-jenkins { color: #D24939; }
/* Add more icon color definitions for specific brands */


/* Service Detail CTA */
.service-detail-cta {
    background-color: var(--white-bg);
    padding: 80px 0;
    text-align: center;
}
.service-detail-cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.service-detail-cta p {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

/* Update for services overview page service-card */
.core-services-section .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Pushes learn more link to bottom */
    text-align: center;
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 4px solid transparent; /* For hover effect */
}
.core-services-section .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-purple); /* Highlight on hover */
}
.core-services-section .service-card:nth-child(even):hover { /* Alternate hover color */
    border-color: var(--secondary-red);
}

.core-services-section .service-card h3 {
    font-size: 1.6em;
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--dark-text); /* Ensure heading color */
}

.core-services-section .service-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take space */
}

.core-services-section .service-card .learn-more-link {
    color: var(--primary-purple);
    font-weight: 600;
    display: inline-block;
    margin-top: 15px; /* Space from description */
}

.core-services-section .service-card .learn-more-link i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.core-services-section .service-card .learn-more-link:hover i {
    margin-left: 12px;
}


/* Service Estimated Pricing Section */
.service-pricing-estimate {
    background-color: var(--white-bg); /* Or var(--light-bg) */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 60px; /* Space from previous section */
    margin-bottom: 60px; /* Space to next section */
    border: 1px solid var(--border-color); /* Subtle border */
}

.service-pricing-estimate h3 {
    font-size: 1.8em;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.service-pricing-estimate .price-range {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--secondary-red);
    margin-bottom: 10px;
    display: block;
}

.service-pricing-estimate p {
    font-size: 1em;
    color: #666;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-pricing-estimate p strong {
    color: var(--dark-text);
}

@media (max-width: 768px) {
    .service-pricing-estimate {
        padding: 30px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .service-pricing-estimate h3 {
        font-size: 1.6em;
    }
    .service-pricing-estimate .price-range {
        font-size: 1.8em;
    }
}