/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improve tap highlight on mobile */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

a, button {
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text size adjustment on iOS */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo .logo {
    height: 62.5px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, #00167a 0%, #001a99 100%);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #737373;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 0.8s ease;
    order: -1; /* Show image first on mobile */
}

@media (min-width: 769px) {
    .hero-image {
        order: 0; /* Reset order on desktop */
    }
}

.skytab-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    max-width: 100%;
    display: block;
}

/* EPOS image with info bubble overlay */
.epos-image-wrap {
    position: relative;
}

.info-bubble {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: #1e3a5f;
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    max-width: 90%;
}

.info-bubble-intro {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.info-bubble-cost {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-bubble-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.info-bubble-words {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
}

.info-bubble-extra {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

/* On mobile/tablet: move info bubble below image so it doesn't cover the image */
@media (max-width: 768px) {
    .epos-image-wrap {
        display: flex;
        flex-direction: column;
    }
    .info-bubble {
        position: static;
        margin-top: 1rem;
        margin-right: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .info-bubble {
        padding: 1rem 1.25rem;
    }
    .info-bubble-intro {
        font-size: 1rem;
    }
    .info-bubble-amount {
        font-size: 2rem;
    }
    .info-bubble-words {
        font-size: 1rem;
    }
    .info-bubble-extra {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
}

/* Image optimization for mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    touch-action: manipulation; /* Improve touch responsiveness */
    user-select: none; /* Prevent text selection on tap */
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-full {
    width: 100%;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.75rem;
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.solution-features {
    list-style: none;
    margin-top: 1rem;
}

.solution-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-features i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* SkyTab POS pricing block (screenshot style) */
.skytab-pos-pricing {
    background-color: #0f0f0f;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 0.75rem 0 0;
    width: fit-content;
    max-width: 100%;
}

.skytab-pos-price-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.skytab-pos-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.skytab-pos-label {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.skytab-pos-includes {
    font-size: 0.75rem;
    color: #e5e5e5;
    margin: 0.5rem 0 0.15rem;
}

.skytab-pos-disclaimer {
    font-size: 0.65rem;
    color: #a3a3a3;
    margin: 0;
}

.skytab-pos-turnover {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.skytab-pos-min {
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
}

/* Additional Accessories (EPOS section) */
.accessories-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.accessories-heading {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.accessories-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.accessory-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.accessory-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.accessory-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.accessory-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 1rem 1rem 0.25rem;
}

.accessory-card .accessory-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 1rem 0.5rem !important;
}

.accessory-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 1rem 1rem;
    line-height: 1.45;
}

.solution-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.solution-card-link:hover .solution-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.solution-link:hover {
    color: var(--primary-color);
}

.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   Business Funding Section
   ======================================== */
.funding-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.funding-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.funding-subheading {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.funding-key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.funding-key-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem !important;
}

.funding-key-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

.funding-key-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.funding-businesses-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.funding-businesses-col h3 {
    margin-bottom: 0.75rem;
}

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

.funding-list li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    padding-left: 1.25rem;
    position: relative;
}

.funding-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.funding-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.funding-contact p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.funding-contact a {
    color: var(--primary-color);
    text-decoration: none;
}

.funding-contact a:hover {
    text-decoration: underline;
}

.funding-contact .fas {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-light);
}

/* ========================================
   Industries Section
   ======================================== */
.industries {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.industry-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-features i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.about-features span {
    font-weight: 600;
    color: var(--text-dark);
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.about-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.stat p {
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-logo .logo {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

/* Ensure the caption under the footer logo sits flush with the image */
.footer-logo p {
    margin-top: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.contact-info-footer i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-image {
        margin-bottom: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Improve touch target size */
    .nav-toggle {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        min-height: 44px;
        font-size: 1rem;
    }

    .solutions,
    .services,
    .industries,
    .about,
    .contact {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 1rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .industry-item {
        padding: 1.5rem 1rem;
    }

    .industry-item i {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Optimize solution cards for mobile */
    .solution-card {
        padding: 1.5rem;
    }

    .solution-card h3 {
        font-size: 1.25rem;
    }

    /* Optimize service items */
    .service-item {
        padding: 1.5rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    /* Contact form optimization */
    .contact-content {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }

    /* About section mobile optimization */
    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .stat {
        padding: 1.5rem;
        min-width: auto;
    }

    .stat h3 {
        font-size: 2rem;
    }

    /* Contact methods mobile optimization */
    .contact-method {
        padding: 1.25rem;
    }

    .contact-method i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 0.9375rem;
    }

    .solutions,
    .services,
    .industries,
    .about,
    .contact {
        padding: 2.5rem 0;
    }

    .about-stats,
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .solution-card {
        padding: 1.25rem;
    }

    .service-item {
        padding: 1.25rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .stat {
        padding: 1.25rem;
    }

    .stat h3 {
        font-size: 1.75rem;
    }

    /* Footer mobile optimization */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-section h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .footer-logo .logo {
        height: 50px;
    }
}

/* ========================================
   Hardware Page Specific Styles
   ======================================== */
.hardware-showcase {
    margin-bottom: 6rem;
}

.hardware-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hardware-showcase.alternate .hardware-detail {
    direction: ltr;
}

.hardware-image {
    position: relative;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.hardware-info h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hardware-subtitle {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hardware-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.hardware-info p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
    font-size: 1.0625rem;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.hardware-card-image {
    overflow: hidden;
    border-radius: 0.5rem;
}

.hardware-card-image img {
    transition: transform 0.3s ease;
}

.solution-card:hover .hardware-card-image img {
    transform: scale(1.05);
}

/* ========================================
   Comparison Table
   ======================================== */
.comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin: 0 -1rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.comparison-table th {
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: var(--bg-light);
}

.comparison-table td {
    padding: 1.25rem;
    color: var(--text-dark);
    font-size: 1rem;
    white-space: nowrap;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.text-success {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ========================================
   Responsive Hardware Styles
   ======================================== */
@media (max-width: 968px) {
    .hardware-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hardware-showcase.alternate .hardware-detail {
        direction: ltr;
    }

    .hardware-info h2 {
        font-size: 1.875rem;
    }

    .hardware-info h3 {
        font-size: 1.25rem;
    }

    .hardware-info p {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .comparison-table {
        padding: 1rem;
        margin: 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 640px) {
    .hardware-showcase {
        margin-bottom: 3rem;
    }

    .hardware-info h2 {
        font-size: 1.5rem;
    }

    .hardware-info h3 {
        font-size: 1.125rem;
    }

    .hardware-info p {
        font-size: 0.9375rem;
    }

    .feature-list li {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }

    .comparison-table {
        padding: 0.75rem;
        margin: 0 -1rem;
        border-radius: 0.5rem;
    }

    .comparison-table table {
        min-width: 500px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.625rem 0.5rem;
        font-size: 0.875rem;
    }

    .comparison-table th {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hardware-showcase {
        margin-bottom: 2.5rem;
    }

    .hardware-info h2 {
        font-size: 1.375rem;
    }

    .comparison-table {
        padding: 0.5rem;
    }

    .comparison-table table {
        min-width: 450px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.375rem;
        font-size: 0.8125rem;
    }
}

