:root {
    --primary-color: #4B0082;
    /* Purple from the image */
    --secondary-color: #ffffff;
    --text-color: #2C3E50;
    --accent-color: #6a1ba6;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header and Navigation Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Add margin-top to first section of each page to account for fixed header */
.page-hero,
.hero {
    margin-top: 80px;
    /* Adjust based on your header height */
    padding-top: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') center/cover;
    padding: 0 5%;
    margin-bottom: 0;
    /* Remove bottom margin as hero takes full height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(75, 0, 130, 0.3), rgba(75, 0, 130, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Enhanced Button Styles */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: var(--gradient);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(75, 0, 130, 0.4);
}

.btn.secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn.secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Services Preview */
.services-preview {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
}

.services-preview h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover * {
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 6rem 5% 2rem;
    margin-top: -2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(rgba(75, 0, 130, 0.3), rgba(75, 0, 130, 0.3)),
        url('../images/about-bg.jpg') center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 60px;
}

/* About Content Styles */
.about-content {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
}

.about-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    padding: 2rem;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    text-align: center;
}

.team-section h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member .position {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Mission & Vision Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.mission-card,
.vision-card {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f5ff 0%, #fff 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(75, 0, 130, 0.08);
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(75, 0, 130, 0.15);
}

.mission-card i,
.vision-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.mission-card h3,
.vision-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Certifications Section */
.certifications-section {
    margin: 5rem 0;
    text-align: center;
}

.certifications-section h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.12);
}

.cert-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cert-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.cert-card p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
}



/* Services Page Styles */
.services-content {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
    max-width: 1400px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(75, 0, 130, 0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(75, 0, 130, 0.15);
    border-left-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

.service-details h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.service-details>p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature:hover {
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.12);
    border-color: var(--primary-color);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature h3 i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.feature p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Approved Brands Styling */
.approved-brands {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f5ff 0%, #fff 100%);
    border-radius: 10px;
    border: 2px dashed var(--primary-color);
}

.approved-brands strong {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.approved-brands {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

/* Responsive adjustments for services page */
@media screen and (max-width: 1024px) {
    .service-features {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .service-icon {
        margin-bottom: 1rem;
        font-size: 3rem;
    }

    .service-details h2 {
        font-size: 1.5rem;
    }

    .service-features {
        gap: 1rem;
    }
}


/* Projects Page Styles */
.projects-content {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 0, 130, 0.3);
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-category {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-details {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.project-details p {
    margin-bottom: 0.5rem;
}

/* Project Status Badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge.ongoing {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}


/* Responsive adjustments for projects page */
@media screen and (max-width: 768px) {
    .project-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Information Styles */
.contact-info {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-links-contact {
    margin-top: 3rem;
}

.social-links-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Contact Form Styles */
.contact-form {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Responsive adjustments for contact page */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Page-specific hero backgrounds */
.about .page-hero {
    background-image: linear-gradient(rgba(75, 0, 130, 0.3), rgba(75, 0, 130, 0.3)),
        url('../images/about-bg.jpg');
}

.services .page-hero {
    background-image: linear-gradient(rgba(75, 0, 130, 0.3), rgba(75, 0, 130, 0.3)),
        url('../images/services-bg.jpg');
}

.projects .page-hero {
    background-image: linear-gradient(rgba(75, 0, 130, 0.3), rgba(75, 0, 130, 0.3)),
        url('../images/projects-bg.jpg');
}

.contact .page-hero {
    background-image: linear-gradient(rgba(75, 0, 130, 0.3), rgba(75, 0, 130, 0.3)),
        url('../images/contact-bg.jpg');
}

/* New Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header.light {
    color: var(--secondary-color);
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Key Features Section */
.key-features {
    padding: 8rem 5%;
    background: var(--light-bg);
    margin-top: -2rem;
    /* Overlap with hero section */
}

.feature-card {
    background: var(--secondary-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(106, 27, 166, 0.3);
}

/* Services Overview */
.services-overview {
    padding: 6rem 5%;
    background: var(--secondary-color);
}

.service-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
    transition: all 0.4s ease;
}

.service-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--secondary-color);
    transform: translateY(60%);
    transition: transform 0.4s ease;
}

.service-box:hover .service-content {
    transform: translateY(0);
}

.service-box:hover img {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    margin: 1.5rem 0;
}

.service-content ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.service-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-stats span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Project Showcase */
.project-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    padding: 0 5%;
}

.project-highlight {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
}

/* Add more styles for other sections... */

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 5%;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Latest Projects Showcase */
.latest-projects {
    padding: 6rem 5%;
    background-color: var(--secondary-color);
}

.projects-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.project-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.project-box.large {
    height: 100%;
}

.project-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-box:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--secondary-color);
}

.project-box-grid {
    display: grid;
    gap: 2rem;
}

/* Partners Section */
.partners-section {
    padding: 8rem 5%;
    background-color: var(--light-bg);
    margin-top: -2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    align-items: center;
}

.partner-logo {
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

/* Clients Section Styles */
.clients-section {
    padding: 6rem 5%;
    background: var(--light-bg);
}

/* Statistics Counter */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(75, 0, 130, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 4rem auto 0;
}

.client-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.15);
    border-color: var(--primary-color);
}

.client-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f8f5ff 0%, #fff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

.client-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

.client-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.client-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Enhanced Partners Section */
.partners-container {
    max-width: 1400px;
    margin: 3rem auto 0;
}

.partner-category {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.partner-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-category h3 i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
}

.partner-item {
    padding: 1.2rem;
    background: white;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #444;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.partner-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.1);
}

/* Industries Section */
.industries-section {
    padding: 6rem 5%;
    background: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.industry-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.industry-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.industry-card:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.industry-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    color: #666;
    font-size: 0.9rem;
}


/* Call to Action Section */
.cta-section {
    padding: 8rem 5%;
    background: var(--gradient);
    text-align: center;
    color: var(--secondary-color);
    margin-top: -2rem;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact preview */
.contact-preview {
    padding: 6rem 5%;
    background: var(--secondary-color);
}

.contact-preview-content {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--light-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Enhanced Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .projects-showcase {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {

    /* Enhanced Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu {
        display: block;
    }

    /* Responsive Section Adjustments */
    .section-header h2 {
        font-size: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        padding: 2rem 1rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: 4rem 5%;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .solution-category {
        margin-bottom: 4rem;
    }

    .process-grid,
    .solution-cards,
    .showcase-grid {
        gap: 2rem;
        margin-top: 3rem;
    }

    .footer-content {
        gap: 3rem;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* New Section Styles */
.process-section {
    padding: 8rem 5%;
    margin-top: -2rem;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-card {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-icon {
    position: relative;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(106, 27, 166, 0.3);
}

.icon-circle i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.step-number {
    position: absolute;
    top: -10px;
    right: 30%;
    background: var(--accent-color);
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.process-content {
    text-align: center;
    padding: 2rem;
}

.process-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.process-details {
    text-align: left;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.process-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.process-details ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.process-details ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.process-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.process-stats span {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 1.5rem;
    }
}

/* Industry Expertise Styles */
.industry-expertise {
    padding: 8rem 5%;
    background: var(--secondary-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.expertise-card {
    padding: 3rem 2.5rem;
    background: var(--light-bg);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(106, 27, 166, 0.3);
}

.expertise-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.expertise-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.expertise-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.expertise-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
}

.expertise-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.expertise-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
}

.expertise-stats span {
    font-weight: 600;
    color: var(--primary-color);
}

/* News Section Styles */
.news-section {
    padding: 6rem 5%;
    background: var(--light-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-image {
    position: relative;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
}

.news-content {
    padding: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* Add new Project Showcase styles */
.project-showcase-section {
    padding: 8rem 5%;
    margin-top: -2rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.showcase-item.large {
    grid-column: span 2;
    height: 400px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--secondary-color);
}

.showcase-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.showcase-content .btn {
    margin-top: 1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-item.large {
        grid-column: auto;
        height: 300px;
    }
}

/* Enhanced Service Styles */
.service-category {
    margin-bottom: 4rem;
}

.service-category h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-box {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Detailed Service Page Styles */
.service-category-detailed {
    padding: 4rem 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5%;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced Solutions Section Styles */
.solutions-section {
    padding: 8rem 5%;
    margin-top: -2rem;
    background: var(--light-bg);
}

.solutions-grid {
    display: grid;
    gap: 4rem;
    margin-top: 3rem;
}

.solution-category {
    margin-bottom: 6rem;
    /* Increased space between categories */
}

.solution-category:last-child {
    margin-bottom: 0;
}

.solution-category h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.solution-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.solution-content {
    padding: 2.5rem;
    position: relative;
}

.solution-icon {
    position: absolute;
    top: -35px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(106, 27, 166, 0.3);
}

.solution-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.solution-content h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.solution-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.solution-content ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.solution-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.solution-stats span {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .solution-cards {
        grid-template-columns: 1fr;
    }

    .solution-image {
        height: 200px;
    }
}

/* =========================================
   Redesigned Elements for Polish
   ========================================= */

/* Reduce Section Spacing Globally */
section,
.partners-section,
.clients-section,
.industries-section,
.key-features,
.process-section,
.solutions-section {
    padding: 4rem 5% !important;
}

/* Enhanced Partner Items (Logo Card Effect) */
.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    max-height: 120px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-weight: 700;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
}

.partner-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.partner-name {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(75, 0, 130, 0.15);
    border-color: var(--primary-color);
    background: #fff;
}

/* Redesigned Solution Cards (Text-Only Clean Look) */
.solution-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(75, 0, 130, 0.12);
    border-color: var(--accent-color);
}

.solution-content {
    padding: 2.5rem;
    position: relative;
    background: transparent;
    color: var(--text-color);
    transform: translateY(0) !important;
    /* Override previous animation */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.1) 0%, rgba(106, 27, 166, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    background: var(--gradient);
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon i {
    color: white;
}

.solution-content h4 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.solution-content ul {
    list-style: none;
    margin-bottom: auto;
    /* Push stats to bottom */
    padding: 0;
}

.solution-content ul li {
    margin-bottom: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.solution-content ul li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.solution-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.solution-stats span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(75, 0, 130, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Adjust Section Headers Spacing */
.section-header {
    margin-bottom: 3rem !important;
}

/* =========================================
   EMERGENCY DESIGN RESCUE - FINAL OVERRIDES
   ========================================= */

/* 1. Core Capabilities Grid Fix */
.solutions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align left */
    text-align: left;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(75, 0, 130, 0.1);
    border-color: var(--primary-color);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.1) 0%, rgba(106, 27, 166, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    /* Reset absolute positioning if any */
    position: static !important;
    top: auto;
    right: auto;
    box-shadow: none;
}

.solution-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.solution-content {
    width: 100%;
    padding: 0 !important;
    /* Remove inner padding as card has it */
    transform: none !important;
    /* Disable hover animation that moves content */
    background: none !important;
    position: static !important;
}

.solution-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.solution-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. Featured Projects Grid Fix */
.showcase-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem;
}

.showcase-item {
    height: 400px !important;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Reset any span */
    grid-column: auto !important;
}

.showcase-item.large {
    grid-column: auto !important;
    /* Force single column */
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 60%;
    /* Taller gradient overlay */
    transform: none !important;
}

.showcase-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white !important;
}

.showcase-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Fix Button Visibility */
.showcase-content .btn {
    margin-top: auto;
}

/* Mobile Responsive */
@media screen and (max-width: 900px) {

    .solutions-grid,
    .showcase-grid {
        grid-template-columns: 1fr !important;
    }

    .showcase-item {
        height: 350px !important;
    }
}