/* ===========================
   Global Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Orange Theme */
    --primary-color: #f97316;
    --primary-rgb: 249, 115, 22;
    --primary-700: #c2410c;
    --primary-50: #fff7ed;
    --primary-100: #ffedd5;
    --secondary-color: #475569;
    --accent-color: #f97316;
    --accent-2: #f59e0b;
    --accent-2-rgb: 245, 158, 11;
    --accent-3: #a855f7;
    --dark-color: #111827;
    --light-color: #fffaf5;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --ring-color: rgba(var(--primary-rgb), 0.35);
    --surface-tint: rgba(var(--primary-rgb), 0.08);
    --surface-tint-2: rgba(var(--primary-rgb), 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-2) 100%);
    --gradient-primary-hover: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-color) 55%, var(--accent-2) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 40%, #fff 100%);
    --gradient-cta: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-3) 55%, var(--accent-2) 100%);
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-700);
}

a:focus-visible,
.btn:focus-visible,
.nav-menu li a:focus-visible {
    outline: 3px solid var(--ring-color);
    outline-offset: 2px;
    border-radius: 6px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--primary-color);
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-container {
    padding: 0.75rem 1.5rem;
}

.navbar.scrolled .logo h2 {
    font-size: 1.4rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.5rem;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo h2 {
    font-size: 1.3rem;
    color: var(--dark-color);
    letter-spacing: -0.5px;
    font-weight: 700;
}

.logo h2 a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo span {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    padding: 0.5rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    background: var(--surface-tint);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    transform: scaleX(1);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    top: calc(100% + 0.75rem);
    left: 0;
    padding: 0.75rem 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    pointer-events: none;
    border: 1px solid #e2e8f0;
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0.5rem;
    right: 0;
    height: 0.75rem;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background: var(--surface-tint);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.75rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 14s ease infinite;
    color: var(--dark-color);
    padding: 80px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.18);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title span {
    display: block;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.18);
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.22);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--light-color);
}

/* ===========================
   Sections
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* ===========================
   Stats Banner
   =========================== */
.stats-banner {
    background: var(--gradient-primary);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid .stat-item:last-child {
        grid-column: 1 / -1;
    }
}

/* ===========================
   About Section
   =========================== */
.about-section {
    padding: 80px 0;
    background: var(--light-color);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ===========================
   Services Overview
   =========================== */
.services-overview {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    border-top: 3px solid rgba(var(--primary-rgb), 0.25);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    border-top-color: rgba(6, 182, 212, 0.55);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--accent-2-rgb), 0.14) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--accent-2-rgb), 0.20) 100%);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ===========================
   Custom Software Section
   =========================== */
.custom-software {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.software-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    position: relative;
}

.software-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.software-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.10) 0%, rgba(var(--accent-2-rgb), 0.14) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.software-item h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.software-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.software-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.software-item a:hover {
    color: var(--secondary-color);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-cta);
    background-size: 200% 200%;
    animation: gradientShift 16s ease infinite;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text-color);
    padding: 60px 0 30px;
    border-top: 3px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.footer-column p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info i {
    color: var(--primary-color);
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 6px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.22);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
    font-size: 0.9rem;
    color: var(--text-color);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--primary-700);
}

/* ===========================
   Footer Sitemap (Submenus)
   =========================== */
.footer-sitemap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.footer-sitemap h3 {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.footer-sitemap-col h4 {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-sitemap-col ul {
    list-style: none;
}

.footer-sitemap-col li {
    margin-bottom: 0.5rem;
}

.footer-sitemap-col a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-sitemap-col a:hover {
    color: var(--primary-color);
}

/* ===========================
   Read More / Collapsible Descriptions
   =========================== */
.desc-extra {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.desc-extra.expanded {
    max-height: 3000px;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.4rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
    margin-top: 0.25rem;
    font-family: inherit;
    line-height: 1.5;
}

.read-more-btn:hover {
    color: var(--primary-700);
}

.read-more-btn .rm-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.read-more-btn[aria-expanded="true"] .rm-arrow {
    transform: rotate(180deg);
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    filter: brightness(0.98);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--ring-color);
    outline-offset: 3px;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .nav-container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: white;
        width: 100%;
        padding: 0.75rem 0.75rem;
        gap: 0.25rem;
        border: 1px solid #e2e8f0;
        border-top: none;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .nav-menu.active {
        max-height: calc(100vh - 90px);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li {
        margin: 0;
        display: block;
    }

    .nav-menu li a {
        padding: 0.75rem 0.9rem;
        justify-content: space-between;
        background: transparent;
        border-radius: 8px;
        font-size: 0.95rem;
        width: 100%;
    }

    .nav-menu li a::before {
        display: block;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: var(--surface-tint);
        border-radius: 4px;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: #ffffff;
        margin-top: 0.25rem;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 0.35rem 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        border-left: 3px solid transparent;
        padding: 0.85rem 1.5rem;
        margin: 0;
        border-radius: 0;
        background: white;
        border: none;
    }

    .dropdown-content a:hover {
        background: var(--surface-tint);
        border-left-color: var(--primary-color);
        padding-left: 1.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .software-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* ===========================
   Gallery & Image Section
   =========================== */
.image-gallery {
    padding: 60px 0;
    background: #f8fafc;
}

.image-gallery .section-header {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    background: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    border: 2px dashed var(--border-color);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    text-align: center;
    color: var(--text-color);
    font-size: 0.95rem;
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.6;
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 0.75rem;
    }

    .nav-menu li a {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }

    .logo h2 {
        font-size: 1.2rem;
    }
}

/* ===========================
   Submenu Layout (Two-Column)
   =========================== */
.submenu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.submenu-header {
    margin-bottom: 50px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1e40af;
}

.submenu-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.submenu-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.submenu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

.submenu-left {
    padding-right: 20px;
}

.submenu-left h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.submenu-left p {
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
}

.submenu-left ul {
    list-style: none;
    margin: 25px 0;
}

.submenu-left li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.submenu-left li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.submenu-right {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    border-radius: 12px;
    padding: 40px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(var(--primary-rgb), 0.25);
    position: relative;
}

.submenu-image-area {
    text-align: center;
    width: 100%;
}

.submenu-image-area i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
    display: block;
}

.submenu-image-area p {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.submenu-image-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Content–Image Layout (Global)
   =========================== */
.content-image-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* When the generic page intro block is used inside the two-column layout,
   it should behave like a left column (not centered). */
.content-image-layout .content-intro {
    max-width: none;
    margin: 0;
    text-align: left;
}

.content-image-layout .content-intro ul,
.content-image-layout .content-intro ol {
    text-align: left;
}

.content-image-box {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    border-radius: 12px;
    padding: 32px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(var(--primary-rgb), 0.25);
}

.content-image-placeholder {
    text-align: center;
    width: 100%;
}

.content-image-placeholder i {
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.55;
    margin-bottom: 16px;
    display: block;
}

.content-image-placeholder p {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.content-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 968px) {
    .submenu-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-image-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .submenu-left {
        padding-right: 0;
    }

    .submenu-header h1 {
        font-size: 2rem;
    }

    .submenu-left h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 568px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-section,
    .services-overview,
    .custom-software,
    .cta-section {
        padding: 50px 0;
    }

    .submenu-header h1 {
        font-size: 1.5rem;
    }

    .submenu-left h2 {
        font-size: 1.2rem;
    }

    .submenu-right {
        min-height: 350px;
    }

    .content-image-box {
        min-height: 320px;
        padding: 24px;
    }
}