/* ========================================
   Mobile Optimized Styles
   Enhanced Responsive Design for All Pages
   ======================================== */

/* ===== Navigation Improvements ===== */
@media (max-width: 768px) {
    /* Better Navbar Spacing */
    .navbar {
        padding: 0;
    }
    
    .nav-container {
        padding: 12px 20px;
        gap: 15px;
    }
    
    /* Logo Size Optimization */
    .nav-logo .logo-img {
        height: 55px;
        transition: all 0.3s ease;
    }
    
    /* Improved Nav Actions Layout */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    /* Language Switcher - Icon Only Mode */
    .lang-btn {
        min-width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .lang-btn .fa-globe {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .lang-btn #currentLang,
    .lang-btn .fa-chevron-down {
        display: none;
    }
    
    /* Improved Language Menu */
    .lang-menu {
        right: 0;
        left: auto;
        min-width: 160px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .lang-menu li {
        padding: 0;
    }
    
    .lang-menu li a {
        padding: 12px 20px;
        display: block;
        font-size: 0.95rem;
    }
    
    /* WhatsApp Button Optimization */
    .btn-whatsapp {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    
    .btn-whatsapp i {
        font-size: 1.2rem;
        margin: 0;
    }
    
    /* Nav Toggle Button */
    .nav-toggle {
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* Mobile Menu Improvements */
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: linear-gradient(180deg, #1A2332 0%, #2C3E50 100%);
        backdrop-filter: blur(20px);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-list {
        padding: 30px 0;
    }
    
    .nav-link {
        padding: 18px 25px;
        font-size: 1.15rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 107, 53, 0.1);
        padding-left: 35px;
    }
}

/* ===== Hero Section Optimization ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-title .highlight {
        display: block;
        margin-top: 10px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .hero-scroll {
        margin-top: 40px;
    }
}

/* ===== Service Cards Optimization ===== */
@media (max-width: 768px) {
    .service-hub-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .service-hub-card {
        padding: 35px 25px;
    }
    
    .service-hub-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }
    
    .service-hub-icon img {
        width: 80%;
        height: 80%;
    }
    
    .service-hub-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    /* Service Tags Optimization */
    .service-tags {
        gap: 10px;
        justify-content: center;
    }
    
    .service-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}

/* ===== Badge Glass Effect Optimization ===== */
@media (max-width: 768px) {
    .one-stop-badge-glass {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .badge-item {
        padding: 20px 15px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .badge-item i {
        font-size: 1.6rem;
        min-width: 35px;
    }
    
    .badge-item span {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* ===== Scenario Cards Optimization ===== */
@media (max-width: 768px) {
    .scenario-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .scenario-card {
        border-radius: 20px;
    }
    
    .scenario-image {
        height: 220px;
    }
    
    .scenario-icon {
        font-size: 2.5rem;
        top: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .scenario-content {
        padding: 25px 20px;
    }
    
    .scenario-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    /* Service Tags in Scenarios */
    .service-tags-list {
        gap: 8px;
    }
    
    .service-tag-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .scenario-cta {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* ===== Kaleidoscope Visual Optimization ===== */
@media (max-width: 768px) {
    .kaleidoscope-visual-section {
        padding: 60px 0;
    }
    
    .kalei-visual-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .kalei-visual-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .kalei-visual-header p {
        font-size: 1rem;
    }
    
    .kalei-visual-flow {
        padding: 0 15px;
    }
    
    .kalei-stage {
        padding: 35px 25px;
        border-radius: 16px;
    }
    
    .kalei-stage-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .kalei-stage-desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Simplified Shapes for Mobile */
    .simple-shapes {
        gap: 15px;
        padding: 20px 0;
    }
    
    .shape-element {
        width: 70px;
        height: 70px;
    }
    
    .mix-animation {
        height: 120px;
        gap: 12px;
    }
    
    .kaleidoscope-result {
        width: 160px;
        height: 160px;
    }
}

/* ===== Portfolio Showcase Optimization ===== */
@media (max-width: 768px) {
    .portfolio-preview {
        padding: 60px 0;
    }
    
    .section-header {
        padding: 0 20px;
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .portfolio-note {
        margin: 0 15px 35px;
        padding: 18px 20px;
    }
    
    .portfolio-note p {
        font-size: 0.9rem;
    }
    
    .portfolio-showcase-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .showcase-card {
        border-radius: 16px;
    }
    
    .showcase-image {
        height: 200px;
    }
    
    .showcase-content {
        padding: 20px;
    }
    
    .showcase-content h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .showcase-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Slider Controls */
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

/* ===== Why Choose Us Optimization ===== */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .why-card {
        padding: 30px 25px;
    }
    
    .why-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .why-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .why-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ===== Contact Form Optimization ===== */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .contact-form-block,
    .contact-info-block {
        padding: 30px 20px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 14px;
        border-radius: 8px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    /* Better Select Dropdown for Mobile */
    .form-group select {
        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='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 35px;
    }
    
    /* Textarea Optimization */
    textarea {
        min-height: 150px;
        resize: vertical;
    }
    
    .submit-btn,
    .btn-block {
        width: 100%;
        padding: 16px;
        font-size: 1.05rem;
        border-radius: 10px;
    }
    
    .form-note {
        font-size: 0.85rem;
        margin-top: 15px;
        line-height: 1.6;
    }
    
    /* Contact Info Cards */
    .info-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 15px;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .info-card p {
        font-size: 0.95rem;
    }
}

/* ===== Mobile Input Focus Improvements ===== */
@media (max-width: 768px) {
    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: var(--primary-color, #FF6B35);
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
        transform: scale(1.01);
        transition: all 0.2s ease;
    }
    
    /* Prevent Zoom on Focus (iOS) */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ===== Scroll to Top Button Optimization ===== */
@media (max-width: 768px) {
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
        border: none;
        z-index: 999;
    }
    
    .scroll-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    }
    
    .scroll-top:active {
        transform: translateY(-1px);
    }
}

/* ===== Loading States for Mobile ===== */
@media (max-width: 768px) {
    /* Skeleton Loading for Images */
    .service-hub-icon,
    .scenario-image,
    .showcase-image {
        background: linear-gradient(
            90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%
        );
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% {
            background-position: 200% 0;
        }
        100% {
            background-position: -200% 0;
        }
    }
    
    /* Remove skeleton when image loads */
    .service-hub-icon img:not([src=""]),
    .scenario-image img:not([src=""]),
    .showcase-image img:not([src=""]) {
        animation: none;
    }
}

/* ===== WhatsApp Floating Button (Mobile Specific) ===== */
@media (max-width: 768px) {
    /* Style for fixed WhatsApp button if added */
    .whatsapp-float {
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        background: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
        z-index: 998;
        transition: all 0.3s ease;
    }
    
    .whatsapp-float i {
        font-size: 1.8rem;
        color: white;
    }
    
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    }
}

/* ===== Safe Area for Notched Devices ===== */
@media (max-width: 768px) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    .footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}

/* ===== Improved Button Tap Feedback ===== */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .scenario-cta,
    .accordion-header {
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
        tap-highlight-color: rgba(255, 107, 53, 0.2);
    }
    
    .btn:active,
    .scenario-cta:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* ===== Modal and Overlay Improvements ===== */
@media (max-width: 768px) {
    .modal,
    .overlay {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 450px;
        border-radius: 16px;
        padding: 25px 20px;
    }
    
    .modal-header {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* ===== Game Demo Section Mobile ===== */
@media (max-width: 768px) {
    .game-demo-section {
        padding: 60px 0;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .game-card {
        border-radius: 16px;
    }
    
    .game-thumbnail {
        height: 220px;
    }
    
    .game-info {
        padding: 20px;
    }
    
    .game-info h3 {
        font-size: 1.25rem;
    }
    
    .play-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* ===== Utility Classes for Mobile ===== */
@media (max-width: 768px) {
    /* Show/Hide on Mobile */
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* Spacing Utilities */
    .mt-mobile {
        margin-top: 20px;
    }
    
    .mb-mobile {
        margin-bottom: 20px;
    }
    
    .py-mobile {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    /* Text Alignment */
    .text-center-mobile {
        text-align: center;
    }
    
    /* Full Width on Mobile */
    .full-width-mobile {
        width: 100% !important;
    }
}

/* ===== Print Styles (for mobile devices) ===== */
@media print {
    .navbar,
    .nav-toggle,
    .scroll-top,
    .whatsapp-float,
    .btn-whatsapp {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 20pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ===== Dark Mode Support (if implemented) ===== */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    /* Basic dark mode styles for mobile */
    .service-hub-card,
    .scenario-card,
    .showcase-card,
    .badge-item {
        background: rgba(42, 42, 42, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .service-tag,
    .service-tag-item {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.9);
    }
}

/* ===== Accessibility Improvements for Mobile ===== */
@media (max-width: 768px) {
    /* Focus Visible for Keyboard Navigation */
    *:focus-visible {
        outline: 3px solid #FF6B35;
        outline-offset: 2px;
    }
    
    /* Skip to Content Link */
    .skip-to-content {
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        background: #FF6B35;
        color: white;
        padding: 12px 24px;
        border-radius: 8px;
        z-index: 9999;
        transition: top 0.3s ease;
    }
    
    .skip-to-content:focus {
        top: 10px;
    }
    
    /* Better Color Contrast */
    .text-muted {
        color: #666 !important;
    }
    
    /* Larger Touch Targets for Accessibility */
    button,
    a,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
}


/* ===== Footer Optimization ===== */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 20px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo .footer-logo-img {
        height: 45px;
        margin: 0 auto 15px;
    }
    
    .footer-col h4 {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }
    
    .footer-col ul li {
        margin-bottom: 10px;
    }
    
    .footer-col a {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        padding: 20px;
        text-align: center;
    }
}

/* ===== Services Page Optimization ===== */
@media (max-width: 768px) {
    .services-hero {
        min-height: 75vh;
        padding: 90px 0 50px;
    }
    
    .services-hero .hero-title {
        font-size: 2rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .usp-flow {
        flex-direction: column;
        gap: 25px;
    }
    
    .usp-card {
        padding: 25px 20px;
    }
    
    .flow-connector {
        transform: rotate(90deg);
        width: 40px;
        margin: 0 auto;
    }
    
    /* Service Section Improvements */
    .service-section {
        padding: 60px 20px;
    }
    
    .service-section-header h2 {
        font-size: 2rem;
    }
    
    /* Accordion Improvements */
    .service-accordion {
        margin: 0;
    }
    
    .accordion-item {
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .accordion-header {
        padding: 18px 15px;
        gap: 12px;
    }
    
    .accordion-title {
        font-size: 1.1rem;
    }
    
    .accordion-icon {
        font-size: 1.3rem;
        min-width: 30px;
    }
    
    .accordion-inner {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .accordion-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
        border-radius: 10px;
    }
    
    .accordion-text {
        width: 100%;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding: 12px 0;
    }
}

/* ===== Extra Small Devices (<480px) ===== */
@media (max-width: 480px) {
    .nav-logo .logo-img {
        height: 50px;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .lang-btn,
    .nav-toggle {
        min-width: 36px;
        height: 36px;
    }
    
    .btn-whatsapp {
        padding: 0 10px;
        font-size: 0.85rem;
    }
    
    .btn-whatsapp i {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-hub-card,
    .scenario-card,
    .why-card {
        padding: 25px 20px;
    }
    
    .one-stop-badge-glass {
        padding: 25px 15px;
    }
    
    .badge-item {
        padding: 15px 12px;
    }
    
    .portfolio-note {
        padding: 15px 18px;
        margin: 0 10px 30px;
    }
}

/* ===== Touch-Friendly Improvements ===== */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for touch devices */
    .nav-link,
    .lang-menu li a,
    .btn,
    .service-tag,
    .accordion-header {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .service-hub-card:hover,
    .scenario-card:hover,
    .showcase-card:hover {
        transform: none;
    }
    
    /* Enhance active states for better feedback */
    .nav-link:active,
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* ===== Landscape Orientation Fixes ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .kalei-stage {
        padding: 25px 20px;
    }
}

/* ===== Image Optimization for Mobile ===== */
@media (max-width: 768px) {
    /* Ensure all images are responsive */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Service Hub Icons */
    .service-hub-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* Scenario Images */
    .scenario-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Showcase Images */
    .showcase-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Logo Images */
    .logo-img,
    .footer-logo-img {
        max-width: 100%;
        height: auto;
    }
    
    /* Game Images */
    .game-thumbnail img,
    .game-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Accordion Images */
    .accordion-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* Background Images */
    .hero-background,
    .services-hero .hero-background {
        background-size: cover;
        background-position: center;
    }
    
    /* Lazy Loading Support */
    img[loading="lazy"] {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    img[loading="lazy"].loaded {
        opacity: 1;
    }
}

/* ===== Text Readability Improvements ===== */
@media (max-width: 768px) {
    /* Better Line Heights for Mobile */
    p,
    .hero-desc,
    .section-subtitle,
    .service-hub-card p,
    .scenario-content p {
        line-height: 1.7;
        font-size: 1rem;
    }
    
    /* Ensure Text Doesn't Overflow */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Better Spacing for Lists */
    ul, ol {
        padding-left: 20px;
    }
    
    li {
        margin-bottom: 8px;
        line-height: 1.6;
    }
}

/* ===== Smooth Scrolling for Mobile ===== */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Prevent Horizontal Scroll */
    * {
        max-width: 100%;
    }
    
    .container {
        overflow-x: hidden;
    }
}

/* ===== Performance Optimizations ===== */
@media (max-width: 768px) {
    /* Reduce Animation Complexity on Mobile */
    .animate-on-scroll,
    .animate-fade-in {
        animation-duration: 0.4s !important;
    }
    
    /* Simplify Box Shadows */
    .service-hub-card,
    .scenario-card,
    .showcase-card,
    .why-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .service-hub-card:hover,
    .scenario-card:hover,
    .showcase-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Reduce Blur Effects */
    .lang-btn,
    .nav-toggle,
    .badge-item {
        backdrop-filter: blur(5px);
    }
}
