@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --brand-primary: #4f46e5;
    --brand-secondary: #06b6d4;
    --dark-bg: #0f172a;
    --light-bg: #dbeafe;
    --white: #ffffff;
    --text-main: #1e293b;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--light-bg);
    color: var(--text-main);
    position: relative;
}

a {
    text-decoration: none;
}

header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.2rem 2%;
    position: fixed;
    top: 0; /* Added to fix empty space */
    left: 0; /* Added to fix empty space */
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.8rem 2%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(45deg, var(--brand-secondary), var(--brand-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-links li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

/* Added Hover Color Change */
.nav-links li a:hover {
    color: var(--brand-secondary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--brand-secondary);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Active nav link to show current page */
.nav-links li a.active {
    color: var(--brand-secondary);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1100; /* Increased to stay above mobile menu */
}

.burger div {
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 6px;
    transition: var(--transition);
    border-radius: 5px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    /* removed `fixed` to improve mobile performance */
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&q=80&w=2000') center/cover;
    padding: 0 5%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(45deg, var(--brand-secondary), var(--brand-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    margin: 0 auto 3rem;
    opacity: 0.9;
    font-weight: 300;
}

section {
    padding: 8rem 5%;
    background-color: var(--light-bg);
}

section[style*="background: var(--white)"] {
    background-color: #bfdbfe !important;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 4rem;
    font-weight: 800;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: stretch;
}

.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(79, 70, 229, 0.15);
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card i {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.card h3 {
    color: var(--dark-bg);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.case-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-link {
    color: var(--brand-primary);
    font-weight: 800;
    margin-top: 1rem;
    display: inline-block;
}

.explore-link {
    text-align: center;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.explore-link a {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border: 2px solid var(--brand-primary);
    border-radius: 50px;
    transition: var(--transition);
}

.explore-link a:hover {
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transform: translateY(-3px);
}

/* Utility for Hero Smaller */
.hero-sm {
    min-height: 60vh !important;
}

/* Check Icons */
.check-list {
    list-style: none;
    line-height: 2;
}

.check-list li i {
    color: var(--brand-secondary);
    margin-right: 10px;
    font-size: 1rem; /* Adjust if needed */
}

.title-left {
    text-align: left !important;
    font-size: 2.3rem !important;
    margin-bottom: 1.5rem !important;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Services Page Utilities */
.process-container {
    max-width: 800px;
    margin: auto;
}

.industries-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact Page Utilities */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: auto;
}

.contact-info {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-info i {
    color: var(--brand-primary);
    width: 30px;
}

.form-title {
    margin-bottom: 2rem;
}

.full-width-btn {
    width: 100%;
}

.map-section {
    align-items: center;
}

.map-iframe {
    border: 0;
    border-radius: 16px;
}

/* Form Styling */
.form-input {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* FAQ Styling */
details {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

summary {
    padding: 1.5rem;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark-bg);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-primary);
    transition: var(--transition);
}

details[open] summary::after {
    transform: rotate(180deg);
}

details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-main);
    line-height: 1.7;
}

.title-sm {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.title-sm-sub {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-p-sm {
    margin-bottom: 1.5rem;
}

.hours-text {
    color: var(--brand-secondary);
    font-weight: 600;
}

.hours-text i {
    margin-right: 8px;
}

.max-width-900 {
    max-width: 900px;
    margin: 0 auto;
}

.title-faq {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.faq-details {
    margin-bottom: 1rem;
}

/* Pricing Page Utilities */
.pricing-card-enterprise {
    background: var(--dark-bg) !important;
    color: var(--white) !important;
    border: 2px solid var(--brand-secondary) !important;
}

.price-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin: 1.5rem 0;
}

.pricing-card-enterprise .price-text {
    color: var(--brand-secondary);
}

.price-sub {
    font-size: 1.2rem;
    color: var(--text-main);
}

.pricing-card-enterprise .price-sub {
    color: #ccc;
}

.table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead {
    background: #e5e7eb;
}

.comparison-table th {
    text-align: left;
    padding: 1rem 1.5rem;
}

.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table td {
    padding: 0.9rem 1.5rem;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.bg-gray-light {
    background: #f9fafb;
}

/* Team Page Utilities */
.team-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--light-bg);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    color: var(--brand-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Blog & Projects Utilities */
.category-tag {
    color: var(--brand-secondary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.read-more-btn {
    padding: 0.9rem 2.2rem !important;
}

.responsive-img-feature {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-title-sm {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.card-title-xs {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sub-input {
    flex: 1;
    padding: 1rem;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

.sub-btn {
    border-radius: 5px !important;
}

.text-center {
    text-align: center !important;
}

.title-faq {
    font-size: 2.2rem !important;
    margin-bottom: 2.5rem !important;
}

.stats-wrapper {
    background: var(--dark-bg);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.stat-item h2 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--brand-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer Utility */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 5%;
    border-top: 4px solid var(--brand-primary);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: auto;
    text-align: left;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.footer-links {
    list-style: none;
    line-height: 2;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-secondary);
}

.footer-contact-p {
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.footer-contact-p i {
    color: var(--brand-secondary);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Process Steps */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Shared layout helpers */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    width: 100%;
}

.three-column-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
}

.horizontal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.subscribe-row {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
}

.project-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.filter-label {
    font-weight: 700;
}

.filter-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-filter {
    padding: 0.5rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: #eff6ff;
    color: var(--brand-primary);
    cursor: pointer;
    transition: var(--transition);
}

.project-filter.active {
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.project-card[hidden] {
    display: none !important;
}

@media (max-width: 1150px) {
    .hero h1 { font-size: 4rem; }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Center links horizontally */
        background: rgba(15, 23, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        z-index: 1050; /* Ensure links are above sections */
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.5rem 0; } /* Spacing for mobile */
    .nav-links li a { font-size: 1.5rem; } /* Larger links for mobile */

    .burger { display: block; }
    .burger.toggle .line1 { transform: rotate(-45deg) translate(-6px, 6px); }
    .burger.toggle .line2 { opacity: 0; }
    .burger.toggle .line3 { transform: rotate(45deg) translate(-6px, -6px); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    section { padding: 5rem 5%; }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .three-column-metrics {
        grid-template-columns: 1fr;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .horizontal-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscribe-row {
        flex-direction: column;
    }

    /* Process steps in services.html */
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .step-number {
        margin-bottom: 0.5rem;
    }

    /* Team cards image size */
    .card div[style*="width: 150px"] {
        width: 120px !important;
        height: 120px !important;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 0.8rem;
    }

    .nav-links li a {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .card {
        padding: 2.5rem 1.5rem;
    }

    .contact-strip-container {
        flex-direction: column;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 5rem 5%;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .three-column-metrics {
        grid-template-columns: 1fr;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .horizontal-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscribe-row {
        flex-direction: column;
    }

    /* Process steps in services.html */
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .step-number {
        margin-bottom: 0.5rem;
    }

    /* Team cards image size */
    .card div[style*="width: 150px"] {
        width: 120px !important;
        height: 120px !important;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-input {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .title-sm {
        font-size: 2rem !important;
    }

    .cta-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item h2 {
        font-size: 3rem;
    }

    .responsive-img {
        max-width: 100%;
        height: auto;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.7rem 1rem;
    }

    .hero a.btn-primary {
        margin: 0.5rem;
        width: auto;
    }
}

@media (max-width: 480px) {
    html, body {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .title-sm {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    section {
        padding: 3rem 4%;
    }

    .btn-primary {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        display: block;
        margin-bottom: 0.8rem;
    }

    .hero-btn {
        width: 100%;
        margin-bottom: 1rem !important;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    .card i {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .three-column-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .footer-h4 {
        font-size: 1rem;
    }

    .form-input {
        padding: 0.9rem;
        font-size: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .form-input:focus {
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    }

    .process-step {
        gap: 1rem;
        text-align: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .subscribe-row {
        flex-direction: column;
        gap: 0.8rem;
    }

    .sub-input {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .contact-strip {
        padding: 3rem 4%;
    }

    .contact-strip-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .strip-item {
        text-align: center;
    }

    .strip-label {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .strip-value {
        font-size: 1rem;
    }

    .responsive-img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.8rem;
    }

    .comparison-table th {
        font-size: 0.8rem;
    }

    .project-filter-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .filter-label {
        font-size: 0.95rem;
    }

    .filter-btns {
        width: 100%;
        justify-content: center;
    }

    .project-filter {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 3rem 4%;
    }

    .cta-content {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    details {
        margin-bottom: 1rem;
    }

    summary {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    details p {
        padding: 0 1.2rem 1rem;
        font-size: 0.95rem;
    }

    .job-card {
        padding: 1.5rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .horizontal-row {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links li a {
        font-size: 1.3rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    header {
        padding: 1rem 2%;
    }
}

/* Extra Small Devices (Below 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    section {
        padding: 2.5rem 3%;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .card {
        padding: 1.2rem 0.8rem;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.95rem;
    }

    .title-sm {
        font-size: 1.4rem !important;
    }

    .logo {
        font-size: 1.2rem;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .footer-p {
        font-size: 0.85rem;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    details p {
        font-size: 0.9rem;
        padding: 0 1rem 0.8rem;
    }

    summary {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    .card-img {
        height: 180px;
    }

    .contact-strip-container {
        gap: 1rem;
    }

    .strip-label {
        font-size: 0.8rem;
    }

    .strip-value {
        font-size: 0.9rem;
    }
}

/* Tablet Landscape (1024px - 768px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .card {
        padding: 2.2rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    section {
        padding: 6rem 4%;
    }

    .card-img {
        height: 220px;
    }

    .btn-primary {
        padding: 1rem 2.2rem;
        font-size: 0.95rem;
    }
}

/* Small Tablets (600px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    section {
        padding: 4.5rem 4%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 2.5rem;
    }

    .card {
        padding: 1.8rem 1.4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-strip-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .strip-item {
        flex: 1;
        min-width: 150px;
    }
}

/* Responsive Images */
.responsive-img,
.card-img,
.responsive-img-feature {
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu improvements */
@media (max-width: 1150px) {
    .nav-links {
        padding: 2rem 0;
    }

    .nav-links li a {
        display: block;
        padding: 0.8rem 2rem;
    }

    .nav-links li a:hover::after {
        display: none;
    }
}

/* CTA Section Responsiveness */
.cta-section {
    padding: 4rem 5%;
    background: var(--light-bg);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.cta-content h2 {
    color: var(--dark-bg);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 4%;
        background: var(--light-bg);
    }

    .cta-content {
        padding: 0;
    }

    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 2rem 3%;
        background: var(--light-bg);
    }

    .cta-content {
        padding: 0;
        text-align: left;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* Contact Strip Responsiveness */
.contact-strip {
    padding: 4rem 5%;
}

.contact-strip-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.strip-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.strip-item i {
    color: var(--brand-secondary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.strip-label {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.strip-value {
    color: var(--dark-bg);
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-strip {
        padding: 3rem 4%;
    }

    .contact-strip-container {
        gap: 2rem;
    }

    .strip-item {
        min-width: 160px;
    }

    .strip-item i {
        font-size: 1.8rem;
    }

    .strip-label {
        font-size: 0.9rem;
    }

    .strip-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-strip {
        padding: 2rem 3%;
    }

    .contact-strip-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .strip-item {
        min-width: auto;
    }
}

/* Enhanced Form Responsiveness */
.form-input {
    width: 100%;
    box-sizing: border-box;
}

.form-input::placeholder {
    opacity: 0.7;
}

@media (max-width: 480px) {
    .form-input {
        font-size: 16px;
    }
}

/* Pricing Table Responsiveness */
@media (max-width: 768px) {
    .table-container {
        margin: 0 -5%;
        padding: 0 5%;
        border-radius: 0;
    }

    .comparison-table {
        border-radius: 0;
    }
}

/* Ensure proper padding on all sections */
@media (max-width: 768px) {
    section {
        padding: 4rem 4%;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 3%;
    }
}

/* Blog and Article Cards Responsiveness */
.card[style*="padding: 0"] {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .card[style*="padding: 0"] {
        margin-bottom: 1rem;
    }
}

/* Ensure buttons stack on mobile */
@media (max-width: 480px) {
    .hero-btn + .hero-btn {
        width: 100%;
    }

    .btn-primary {
        display: block;
    }
}

/* Two-column layouts responsiveness */
.about-preview {
    align-items: center;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    padding: 0 3%;
}

.about-preview .responsive-img {
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    width: 100%;
    display: block;
}

@media (max-width: 1024px) {
    .about-preview {
        gap: 4rem;
        padding: 0 1%;
    }
}

@media (max-width: 768px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0;
    }
    .about-preview .responsive-img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .about-preview .responsive-img {
        height: 220px;
    }
}

/* Team Cards Responsiveness */
@media (max-width: 768px) {
    .team-img-wrapper {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .team-img-wrapper {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
}

/* Project Cards Responsiveness */
.project-card {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .project-card {
        margin-bottom: 1.5rem;
    }
}

/* Video/Embedded Content Responsiveness */
.map-iframe {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .map-iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .map-iframe {
        height: 300px;
    }
}

/* Typography Improvements for Mobile */
@media (max-width: 480px) {
    h1 {
        word-break: break-word;
    }

    h2 {
        word-break: break-word;
    }

    h3 {
        word-break: break-word;
    }

    p {
        word-break: break-word;
    }
}

/* Navigation spacing improvements */
@media (max-width: 1150px) {
    .nav-links li {
        margin: 1.2rem 0;
    }
}

/* Ensure smooth scrolling on mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
}

/* Additional mobile menu fixes */
@media (max-width: 1150px) {
    .burger {
        z-index: 1100;
    }

    .nav-links {
        z-index: 1050;
    }
}