/* 
 * VSHARE Premium Mobile Responsive CSS
 * High-end mobile experience with glassmorphism and smooth transitions.
 */

/* Breakpoints */
:root {
    --mobile-padding: 15px;
    --tablet-padding: 40px;
}

/* Base resets for mobile */
@media (max-width: 991px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
    }
    /* --- General Layout --- */
    section {
        padding: 80px var(--mobile-padding) !important;
    }

    /* --- Hero Section --- */
    #hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px !important;
    }

    .hero-content {
        padding: 0 !important;
        min-height: auto !important;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
        margin-bottom: 20px !important;
    }

    .hero-desc {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
        max-width: 100% !important;
    }

    .v-values {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        perspective: 1000px;
    }

    .v-box {
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 5px !important;
        border-radius: 12px !important;
        background: linear-gradient(45deg, rgba(0, 102, 255, 0.2), rgba(255, 51, 51, 0.2)) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        transition: transform 0.3s ease !important;
        animation: none !important;
    }

    .v-box span {
        font-size: 1.2rem !important;
    }

    .v-box p {
        font-size: 0.6rem !important;
    }

    .v-hyphen {
        display: none !important;
    }

    .slide-bg {
        width: 160vw !important;
        opacity: 0.15 !important;
    }

    .slides-wrapper {
        min-height: 380px !important;
        margin-top: 10px !important;
    }

    /* --- Trust Panel --- */
    #trust-panel {
        padding: 60px var(--mobile-padding) !important;
    }

    .trust-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .trust-main {
        padding: 30px !important;
    }

    .booking-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .booking-form {
        grid-template-columns: 1fr !important;
    }

    /* --- Stats Metrics Banner --- */
    .stats-metrics-banner {
        flex-direction: column !important;
        padding: 40px var(--mobile-padding) !important;
        margin-bottom: 60px !important;
        text-align: center !important;
    }

    .stats-metrics-banner > div:first-of-type {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-right: 0 !important;
        padding-bottom: 30px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
    }

    .stats-metrics-banner > div:last-of-type {
        flex-direction: column !important;
        gap: 35px !important;
        padding-left: 0 !important;
        width: 100% !important;
    }

    .stats-metrics-banner h3 {
        font-size: 1.4rem !important;
    }

    /* --- Enterprise Services --- */
    #enterprise-services {
        padding: 80px var(--mobile-padding) !important;
    }

    .enterprise-header h2 {
        font-size: 2.2rem !important;
    }

    .service-tabs {
        display: flex !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .service-tabs::-webkit-scrollbar {
        display: none;
    }

    .service-tab-btn {
        white-space: nowrap !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    .service-content-panel {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 30px !important;
        border-radius: 20px !important;
    }

    .service-info-box h3 {
        font-size: 1.6rem !important;
    }

    .client-cases-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .case-item {
        flex-direction: column !important;
        text-align: center !important;
    }

    .case-logo {
        width: 100% !important;
        max-width: 200px !important;
        margin: 0 auto !important;
    }

    /* --- Expertise/Industry Solutions --- */
    #expertise {
        padding: 80px var(--mobile-padding) !important;
    }

    .expertise-tabs {
        display: flex !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 15px !important;
        margin-bottom: 30px !important;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        white-space: nowrap !important;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }

    .expertise-card-active {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 40px 30px !important;
        border-radius: 12px !important;
        min-height: auto !important;
    }

    .expertise-text h3 {
        font-size: 1.8rem !important;
        letter-spacing: -1px !important;
    }

    .tech-specs {
        grid-template-columns: 1fr !important;
    }

    .portal-container {
        height: 250px !important;
        margin-top: 20px !important;
    }

    .orbital-system {
        width: 200px !important;
        height: 200px !important;
    }

    .orbital-core {
        width: 120px !important;
        height: 120px !important;
    }

    .orbital-core i {
        font-size: 3rem !important;
    }

    .orbit-1 { width: 180px !important; height: 180px !important; }
    .orbit-2 { width: 240px !important; height: 240px !important; }

    /* --- Growth Ecosystem --- */
    #growth {
        padding: 80px var(--mobile-padding) !important;
    }

    .growth-container {
        grid-template-columns: 1fr !important;
    }

    .growth-sidebar {
        position: relative !important;
        top: 0 !important;
        padding: 20px !important;
    }

    .growth-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
    }

    .growth-tab-btn {
        white-space: nowrap !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    .feature-card {
        padding: 25px !important;
    }

    /* --- Industry Showcase --- */
    .showcase-display {
        width: 100% !important;
    }

    .showcase-header h2 {
        font-size: 1.8rem !important;
    }

    .panel-inner {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .showcase-info {
        padding: 40px 30px !important;
    }

    .showcase-info h3 {
        font-size: 1.8rem !important;
    }

    .showcase-mockup {
        padding: 30px !important;
    }

    .showcase-stats {
        gap: 30px !important;
    }

    .showcase-stat h4 {
        font-size: 1.8rem !important;
    }

    /* --- Service Coverage Map --- */
    #section-map {
        padding: 60px var(--mobile-padding) !important;
    }

    .service-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* --- Insights Section --- */
    #section-insights {
        padding: 80px var(--mobile-padding) !important;
    }

    #section-insights h2 {
        font-size: 1.8rem !important;
    }

    section[style*="display:flex; align-items:center; background:var(--glass)"] {
        flex-direction: column !important;
        padding: 40px 25px !important;
    }

    div[style*="display:flex; align-items:center; background:var(--glass)"] {
        flex-direction: column !important;
        padding: 40px 25px !important;
    }

    div[style*="border-right:1px solid rgba(255,255,255,0.1)"] {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-right: 0 !important;
        padding-bottom: 30px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    div[style*="flex:1.5; display:flex; justify-content:space-around"] {
        flex-direction: column !important;
        gap: 40px !important;
        padding-left: 0 !important;
        width: 100% !important;
    }

    .insights-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .insight-card {
        margin-bottom: 10px !important;
    }

    .insight-content {
        padding: 25px !important;
    }

    .insight-category {
        font-size: 1.25rem !important;
    }

    /* --- Footer --- */
    .footer-bottom {
        padding: 40px var(--mobile-padding) !important;
    }

    .physics-title h2 {
        font-size: 3rem !important;
    }

    /* --- Custom Cursor Hide on Mobile --- */
    #cursor {
        display: none !important;
    }
}

/* Portrait vs Landscape Fixes */
@media (max-width: 991px) and (orientation: landscape) {
    #hero { min-height: 120vh; }
    .v-values { grid-template-columns: repeat(6, 1fr) !important; }
}

/* Specific Smaller Phone Adjustments */
@media (max-width: 480px) {
    section {
        padding: 50px var(--mobile-padding) !important;
    }

    .v-values {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .v-box span {
        font-size: 1.1rem !important;
    }

    .hero-content h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        padding: 0 10px !important;
    }

    .expertise-text h3 {
        font-size: 1.4rem !important;
    }

    .showcase-info h3 {
        font-size: 1.5rem !important;
    }

    /* Scaling down ultra-large stats for mobile */
    .stats-metrics-banner h3 {
        font-size: 1.25rem !important;
        margin-bottom: 20px !important;
    }

    .stats-metrics-banner div[style*="font-size:3.5rem"] {
        font-size: 2.5rem !important;
    }

    .stats-metrics-banner div[style*="font-size:1.5rem"] {
        font-size: 1rem !important;
    }

    .stats-metrics-banner div[style*="font-size:1rem"] {
        font-size: 0.85rem !important;
    }

    /* Insights Section Heading */
    #section-insights h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }

    div[style*="font-size:2.8rem"] {
        font-size: 1.6rem !important;
        margin-bottom: 30px !important;
    }

    .insight-card {
        border-radius: 15px !important;
    }
}
