:root {
    --background-color: #ffffff;
    --primary-color: #071A2F;
    /* Deep Space Blue */
    --primary-rgb: 7, 26, 47;
    --secondary-color: #0F3B5A;
    --slate-gray: #708090;
    --accent-color: #00E6D6;
    /* Digital Mint */
    --accent-rgb: 0, 230, 214;
    --button-text: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
    zoom: 0.9;
}

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

/* Hero Section */
.services-hero {
    background: linear-gradient(rgba(25, 29, 54, 0.8), rgba(25, 29, 54, 0.8)), url('../images/photos/IMG_1544.jpg') center/cover no-repeat;
    color: white;
    padding: 150px 0 200px;
    text-align: center;
    border-radius: 10px;
    margin: 30px 0 100px;
    position: relative;
}

.services-hero h6 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #aab2e6;
}

.services-hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.services-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Overlay Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: -100px auto 100px;
    position: relative;
    z-index: 10;
}

.service-card {
    flex: 1;
    background: linear-gradient(180deg, #ffffff, rgba(0, 0, 0, 0.2));
    padding: 36px 28px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(4, 10, 20, 0.06), 0 0 0 1px rgba(7, 26, 47, 0.02) inset;
    text-align: center;
    transition: transform 0.35s cubic-bezier(.2, .9, .3, 1), box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-14px) scale(1.01);
    box-shadow: 0 22px 60px rgba(2, 8, 20, 0.18), 0 0 28px rgba(var(--accent-rgb), 0.07);
}

.service-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    background-color: white;
    border-radius: 4rem;
    padding: 1rem;
    transition: color 0.22s ease, transform 0.18s ease;
}

.service-card a i {
    font-size: 16px;
    margin-left: 5px;
    margin-bottom: 0;
}

.services-image {
    width: 100%;
    height: 15rem;
}

/* Numbers Section */
.numbers-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fc, #fff);
    text-align: center;
    border-radius: 4rem;
}

.numbers-container {
    max-width: 800px;
    margin: 0 auto;
}

.numbers-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.numbers-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 60px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Services Showcase Section */
.services-showcase {
    padding: 100px 0;
}

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

.section-header h6 {
    color: var(--secondary-color);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

/* Base Card Styling */
.service-item {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    padding: 34px;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(6, 12, 24, 0.06);
    transition: transform 0.38s cubic-bezier(.2, .9, .3, 1), box-shadow 0.38s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid rgba(0, 0, 0, 0.03);
}

/* animated data-stream overlay */
.service-item::after {
    content: '';
    position: absolute;
    left: -40%;
    top: -20%;
    width: 180%;
    height: 140%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(var(--accent-rgb), 0.12) 45%, rgba(var(--accent-rgb), 0.06) 50%, transparent 60%);
    transform: translateX(-100%);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.6s cubic-bezier(.2, .9, .3, 1);
}

.service-item:hover::after {
    transform: translateX(20%);
    opacity: 1;
}

/* subtle accent glow on hover */
.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 26px 80px rgba(2, 8, 20, 0.18), 0 0 34px rgba(var(--accent-rgb), 0.08);
}

/* Image Styling */
.service-image {
    width: 100%;
    height: 14.5rem;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.36s ease, filter 0.36s ease;
    box-shadow: 0 8px 30px rgba(2, 8, 20, 0.06) inset;
}

.service-item:hover .service-image {
    transform: scale(1.08) rotate(3deg);
}

/* Individual Card Identities */
.is-app {
    border-top-color: #4A90E2;
}

.is-infra {
    border-top-color: #50E3C2;
}

.is-data {
    border-top-color: #F5A623;
}

.is-ai {
    border-top-color: #BD10E0;
}

.is-ecommerce {
    border-top-color: #FF5252;
}

.is-consulting {
    border-top-color: #417505;
}

/* Unique Hover States - Background Glow (subtle) */
.is-app:hover {
    background: linear-gradient(to bottom, #ffffff, #f0f7ff);
}

.is-infra:hover {
    background: linear-gradient(to bottom, #ffffff, #effffb);
}

.is-data:hover {
    background: linear-gradient(to bottom, #ffffff, #fff9f0);
}

.is-ai:hover {
    background: linear-gradient(to bottom, #ffffff, #fcf0ff);
}

.is-ecommerce:hover {
    background: linear-gradient(to bottom, #ffffff, #fff5f5);
}

.is-consulting:hover {
    background: linear-gradient(to bottom, #ffffff, #f7fff0);
}

/* Replace FontAwesome check icons with inline SVG via CSS pseudo-element */
.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.service-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #123;
    /* will be overridden by section color */
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='currentColor' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.service-features li i {
    display: none;
}

/* Program features lists (training page) reuse the same styled SVG check */
.program-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.program-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='currentColor' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.program-features li i {
    display: none;
}

/* Custom Checkmark Colors per Section */
.is-app .service-features li {
    color: #4A90E2;
}

.is-infra .service-features li {
    color: #50E3C2;
}

.is-data .service-features li {
    color: #F5A623;
}

.is-ai .service-features li {
    color: #BD10E0;
}

.is-ecommerce .service-features li {
    color: #FF5252;
}

.is-consulting .service-features li {
    color: #417505;
}

/* Production Badge for E-commerce */
.is-ecommerce .service-features li:last-child {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9em;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    border-radius: 4rem;
    background: linear-gradient(to bottom, #f8f9fc, #fff);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 60px 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-content p {
    color: #555;
    max-width: 250px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--secondary-color);
    color: white;
    border-radius: 10px;
    margin: 50px 0;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--secondary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 8px;
}

.cta-button:hover {
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.06));
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.08);
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fc, #fff);
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #555;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-detail i {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-color);
}

footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #aab2e6;
}

.footer-section p {
    line-height: 1.6;
    color: #ccc;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {



    .services-hero h1 {
        font-size: 36px;
    }

    .services-grid {
        flex-direction: column;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }

    .contact-container {
        flex-direction: column;
    }

    .stats-container {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .services-card {
        flex-direction: column;
    }

    .content-container {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .overlay-content {
        margin-top: 0;
    }
}