body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
    background: #f8fafc;
    color: #2d3748;
    padding-top: 100px; /* Account for fixed navbar */
    min-height: 100vh;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0 20px;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 36px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #718096;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2d3748;
    background-color: #f7fafc;
}

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

header {
    text-align: left;
    margin-bottom: 32px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2d3748;
}

.subtitle {
    color: #718096;
    font-size: 1.2rem;
    margin-bottom: 0;
    margin-top: 0;
}

section {
    margin-bottom: 32px;
}

.project {
    border-left: 4px solid #4299e1;
    padding-left: 20px;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* List Styles */
.services-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.services-list-container {
    flex: 1;
}

.services-demo-container {
    flex: 1;
    background-color: #ffffff;
    border-radius: 2px;
    padding: 20px;
    border: 0.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    color: #718096;
    text-align: center;
    height: fit-content;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Ensure demo takes about half the width of the row */
.services-list-container { flex: 1; }
.services-demo-container { flex: 1; min-width: 0; }

/* Demo carousel: show one card at a time, half page width */
.demo-carousel { display: flex; align-items: center; gap: 12px; }
.demo-scroll-container {
    flex: 1;
    overflow: hidden; /* hide overflow to show only one card */
}
.demo-track {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
}
.demo-card {
    flex: 0 0 100%; /* one card fills the demo container width */
    background: #ffffff;
    border: 0.5px solid #e2e8f0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
}
.demo-image-placeholder {
    height: 160px;
    background: #f7fafc;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}
.demo-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #e2e8f0;
}
.demo-caption { padding: 2px 12px; color: #2d3748; font-weight: 600; }

/* Demo video styling */
.demo-video {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    border-bottom: 0px solid #e2e8f0;
    background: #000; /* avoid white bars before first frame */
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background-color: #ffffff;
    border-left: 4px solid #4299e1;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.125rem;
    color: #2d3748;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.services-list li:hover {
    background-color: #f7fafc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

ul li:last-child {
    border-bottom: none;
}

/* Highlighted feature list (Why Choose Us) */
.highlight-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr; /* full-width cards */
    gap: 16px;
}

.highlight-list li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px 18px 52px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    position: relative;
    color: #2d3748;
    line-height: 1.6;
}

.highlight-list li::before {
    content: "✓";
    font-size: 18px;
    color: #4299e1;
    font-weight: 700;
    position: absolute;
    left: 20px;
    top: 20px;
}

.highlight-list li strong {
    display: block;
    color: #1a202c;
    margin-bottom: 6px;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-item h3 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #2d3748;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
}

.submit-btn {
    background: #4299e1;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #3182ce;
}

/* Project Highlights Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #4299e1;
}

.project-image-placeholder {
    height: 200px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Actual project image styling */
.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #e2e8f0;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-content p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

footer {
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
    margin-top: 0;
    padding: 0px 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}

/* Footer contact layout */
.footer-content .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.footer-contact {
    text-align: left;
}
.footer-contact div { margin: 2px 0; }
.footer-contact a { color: #4299e1; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { text-align: right; }
.footer-logo {
    height: 80px; /* reduced from 64px to make footer more compact */
    width: auto;
    display: block;
    object-fit: contain;
    margin: 0 0 8px 0;
}

/* Customer Section */
.customers-section {
    background-color: #ffffff;
    padding: 30px 40px;
    margin-top: 0;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.customers-intro {
    text-align: left;
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 20px;
    max-width: none;
    margin-left: 0;
    margin-right: auto;
    font-weight: 500;
}

/* Customer Carousel */
.customer-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #718096;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    border-color: #4299e1;
    color: #4299e1;
    background: #f7fafc;
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.customer-scroll-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.customer-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.customer-grid {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 10px 0;
    width: fit-content;
}

.customer-item {
    background: transparent;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 70px;
    width: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    flex-shrink: 0;
}

.customer-item:hover {
    transform: translateY(-2px);
    opacity: 1;
    border-color: #4299e1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.customer-item h3 {
    display: none;
}

.customer-item p {
    display: none;
}

/* Customer Logo Styling */
.customer-logo {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.customer-logo-small {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.customer-item:hover .customer-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Placeholder styling for companies without logos */
.customer-placeholder {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-align: center;
}

.customer-item:hover .customer-placeholder {
    color: #4299e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    body {
        padding-top: 140px;
    }
    
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .services-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-demo-container {
        min-height: 200px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        margin: 0 10px;
    }

    /* Keep footer logo modest on small screens */
    .footer-logo { height: 40px; }

    /* Stack footer content on small screens */
    .footer-content .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-contact, .footer-copy { text-align: center; }
}