/* ===================================
   SHIFANI HYGIENIC PRODUCT - RESPONSIVE CSS
   Breakpoints:
   - Desktop: 1024px and above (default styles)
   - Tablet: 768px - 1023px
   - Mobile: below 768px
   =================================== */

/* ========== LARGE DESKTOP (1440px+) ========== */
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }

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

    .products-grid {
        gap: var(--space-xl);
    }
}

/* ========== TABLET STYLES (768px - 1023px) ========== */
@media (max-width: 1023px) {
    /* ---------- Navigation Tablet ---------- */
    .header {
        z-index: 1001;
    }

    .navbar {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: auto;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        z-index: 1005;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 22px;
        background: linear-gradient(135deg, #091326 0%, #102142 100%);
        border-bottom: 1px solid rgba(77, 163, 255, 0.15);
        flex-shrink: 0;
    }

    .drawer-logo-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .drawer-logo-img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: contain;
    }

    .drawer-text {
        display: flex;
        flex-direction: column;
    }

    .drawer-title {
        font-weight: 800;
        font-size: 1.1rem;
        color: var(--white);
        letter-spacing: 1px;
        line-height: 1.1;
    }

    .drawer-subtitle {
        font-size: 0.55rem;
        color: var(--blue-light);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 500;
    }

    .drawer-close {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .drawer-close:hover {
        background: rgba(255, 255, 255, 0.18);
        color: var(--white);
        transform: rotate(90deg);
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        width: 290px !important;
        max-width: 82vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #091326 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        gap: 0 !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7) !important;
        border-right: 1px solid rgba(77, 163, 255, 0.18) !important;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 1002 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-link {
        padding: 16px 24px;
        font-size: 0.95rem;
        width: 100%;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 87, 184, 0.25);
        color: var(--white);
        padding-left: 30px;
    }

    .nav-link.active {
        border-right: 3px solid var(--blue-light);
        font-weight: 600;
    }

    .nav-cta {
        display: none;
    }

    .nav-actions {
        margin-right: 8px;
    }

    .nav-btn-login,
    .nav-btn-signup {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    /* ---------- Hero Tablet ---------- */
    .hero {
        padding-top: 90px;
        padding-bottom: var(--space-2xl);
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-float-badge {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* ---------- About Tablet ---------- */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    /* ---------- Products Tablet ---------- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    /* ---------- Features Tablet ---------- */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    /* ---------- Founder Tablet ---------- */
    .founder-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    /* ---------- Stats Tablet ---------- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* ---------- Contact Tablet ---------- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    /* ---------- Footer Tablet ---------- */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

/* ========== MOBILE STYLES (below 768px - BALANCED SCALE) ========== */
@media (max-width: 767px) {
    /* ---------- Global Mobile (Slightly Zoomed In Balanced Scale) ---------- */
    html {
        font-size: 14.5px;
    }

    :root {
        --space-xs: 0.2rem;
        --space-sm: 0.35rem;
        --space-md: 0.65rem;
        --space-lg: 1rem;
        --space-xl: 1.25rem;
        --space-2xl: 1.75rem;
        --space-3xl: 2.25rem;
        --space-4xl: 3rem;
    }

    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(1.45rem, 5.6vw, 1.9rem);
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .section-subtitle {
        font-size: 0.84rem;
        line-height: 1.48;
        max-width: 95%;
    }

    .section-tag {
        font-size: 0.68rem;
        padding: 4px 11px;
        margin-bottom: 8px;
    }

    .tag-pill-light {
        font-size: 0.68rem;
        padding: 4px 11px;
    }

    /* ---------- Navigation Mobile (Slim & Compact Height) ---------- */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        padding: 6px 0;
        background: rgba(15, 27, 61, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 1001;
        overflow: visible;
    }

    .header.scrolled {
        padding: 4px 0;
    }

    .navbar {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        height: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-container {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
        padding: 0 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-right: auto;
        min-width: 0;
        flex-shrink: 1;
    }

    .logo-img {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.68rem;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .logo-title {
        font-size: 0.92rem;
        letter-spacing: 0.4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 1.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hamburger {
        display: flex;
        width: 36px;
        height: 36px;
        padding: 6px;
        margin-left: auto;
        flex-shrink: 0;
        background: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        z-index: 1005;
        align-items: center;
        justify-content: center;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        background: linear-gradient(135deg, #091326 0%, #102142 100%);
        border-bottom: 1px solid rgba(77, 163, 255, 0.15);
        flex-shrink: 0;
    }

    .drawer-logo-wrap {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .drawer-logo-img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: contain;
    }

    .drawer-text {
        display: flex;
        flex-direction: column;
    }

    .drawer-title {
        font-weight: 800;
        font-size: 1rem;
        color: var(--white);
        letter-spacing: 0.8px;
        line-height: 1.1;
    }

    .drawer-subtitle {
        font-size: 0.52rem;
        color: var(--blue-light);
        text-transform: uppercase;
        letter-spacing: 1.4px;
        font-weight: 500;
    }

    .drawer-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .drawer-close:hover {
        background: rgba(255, 255, 255, 0.18);
        color: var(--white);
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -300px !important;
        width: 270px !important;
        max-width: 82vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #091326 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        gap: 0 !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7) !important;
        border-right: 1px solid rgba(77, 163, 255, 0.18) !important;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 1002 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-link {
        padding: 13px 20px;
        font-size: 0.9rem;
        width: 100%;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
        display: flex;
        align-items: center;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 87, 184, 0.25);
        color: var(--white);
        padding-left: 26px;
    }

    .nav-link.active {
        border-right: 3px solid var(--blue-light);
        font-weight: 600;
    }

    .nav-cta {
        display: none;
    }

    /* ---------- Hero Mobile (Bigger Animated Logo Centerpiece) ---------- */
    .hero {
        min-height: auto;
        padding-top: 66px;
        padding-bottom: 26px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 6px;
    }

    /* Bigger, prominent 3D particle logo scene on mobile */
    .hero-image.logo-scene {
        width: 100%;
        max-width: 290px;
        aspect-ratio: 1;
        height: auto;
        margin: 0 auto 12px;
        perspective: 950px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: clamp(1.7rem, 6.8vw, 2.25rem);
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 0.86rem;
        line-height: 1.5;
        margin: 0 auto 14px;
        max-width: 96%;
    }

    .hero-actions {
        justify-content: center;
        gap: 10px;
        margin-bottom: 18px;
    }

    .hero-actions .btn {
        padding: 10px 20px;
        font-size: 0.86rem;
        border-radius: 999px;
    }

    .hero-stats {
        justify-content: center;
        gap: 14px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

    .hero-stat-label {
        font-size: 0.66rem;
    }

    .hero-stat-divider {
        height: 22px;
    }

    .hero-float-badge {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-image img {
        border-radius: var(--radius-md);
    }

    .hero-bubble-1 { width: 160px; height: 160px; }
    .hero-bubble-2 { width: 100px; height: 100px; }
    .hero-bubble-3 { width: 70px; height: 70px; }

    /* ---------- Ticker Mobile ---------- */
    .ticker-section {
        padding: 0;
    }

    .ticker-track {
        padding: 8px 0;
    }

    .ticker-item {
        font-size: 0.76rem;
        padding: 0 10px;
        gap: 6px;
    }

    /* ---------- About Mobile ---------- */
    .about-section {
        padding: 28px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-image-card {
        border-radius: 14px;
        max-height: 220px;
        overflow: hidden;
    }

    .about-image {
        max-height: 220px;
        object-fit: cover;
    }

    .about-experience-badge {
        bottom: 8px;
        right: 8px;
        padding: 7px 12px;
        border-radius: 10px;
    }

    .badge-years {
        font-size: 1.2rem;
    }

    .badge-text {
        font-size: 0.65rem;
    }

    .about-content {
        padding: 0;
    }

    .about-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .about-highlight-item {
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 8px;
        border-radius: 12px;
    }

    .highlight-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .about-highlight-item h4 {
        font-size: 0.85rem;
    }

    .about-highlight-item p {
        font-size: 0.76rem;
        line-height: 1.4;
    }

    /* ---------- Products Mobile (Professional 2-Column Grid) ---------- */
    .products-section {
        padding: 30px 0;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        margin: 0 auto;
    }

    .product-card {
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 4px 14px rgba(10, 55, 83, 0.05);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .product-card:active {
        transform: scale(0.98);
    }

    .product-card-header {
        display: none !important;
    }

    .product-badge {
        display: none !important;
    }

    .product-rating {
        display: none !important;
    }

    .rating-reviews {
        display: none !important;
    }

    .product-image-wrapper {
        min-height: 165px !important;
        max-height: 175px !important;
        height: 170px !important;
        padding: 6px 4px 0 4px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background: radial-gradient(circle at center, #ffffff 40%, #f8fafc 100%);
    }

    .product-spotlight {
        width: 110px !important;
        height: 110px !important;
    }

    .product-image-wrapper img {
        height: 160px !important;
        max-height: 165px !important;
        width: auto !important;
        max-width: 98% !important;
        object-fit: contain;
        border-radius: 8px;
        filter: drop-shadow(0 8px 18px rgba(10, 55, 83, 0.16));
        transition: transform 0.3s ease;
    }

    .product-floating-pill {
        display: none !important;
    }

    .product-info {
        padding: 6px 8px 10px 8px;
        display: flex;
        flex-direction: column;
    }

    .product-cat-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        margin-bottom: 2px;
    }

    .product-category {
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        color: #0284c7;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-pack-badge {
        font-size: 0.55rem;
        padding: 1px 4px;
        border-radius: 4px;
        background: #f1f5f9;
        color: #64748b;
        white-space: nowrap;
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-name {
        font-size: 0.8rem;
        font-weight: 700;
        color: #0f172a;
        margin: 1px 0 6px 0;
        line-height: 1.25;
        min-height: 28px;
        max-height: 28px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        border-top: none;
        margin-top: 4px;
    }

    .btn-product-enquire {
        width: 100%;
        justify-content: center;
        padding: 10px 10px;
        min-height: 40px;
        font-size: 0.82rem;
        font-weight: 700;
        border-radius: 10px;
        gap: 6px;
    }

    .btn-product-enquire::before {
        border-radius: 10px;
        padding: 1.8px;
    }

    .btn-product-enquire::after {
        inset: 1.8px;
        border-radius: 8.2px;
    }

    .btn-product-enquire svg {
        width: 15px;
        height: 15px;
    }

    /* ---------- Features Mobile (Why Choose Shifani - Clean & High Readability Cards) ---------- */
    .features-section {
        padding: 32px 0;
    }

    .features-ambient-glow {
        width: 280px;
        height: 180px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }

    .feature-card {
        background: #ffffff;
        padding: 12px 10px;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(226, 232, 240, 0.9);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 120px;
    }

    .feature-card-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 6px;
    }

    .feature-number {
        display: none !important;
    }

    .feature-badge {
        font-size: 0.65rem;
        padding: 2.5px 8px;
        font-weight: 800;
        letter-spacing: 0.3px;
        border-radius: 999px;
    }

    .feature-icon-wrapper {
        display: none !important;
    }

    .feature-title {
        font-size: 0.88rem;
        font-weight: 800;
        margin-bottom: 4px;
        line-height: 1.25;
        color: #0f172a;
    }

    .feature-desc {
        font-size: 0.74rem;
        line-height: 1.35;
        color: #475569;
    }
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 0;
        color: #334155;
        font-weight: 400;
    }

    .feature-card-footer {
        display: none !important;
    }

    /* ---------- Showcase Mobile ---------- */
    .showcase-section {
        padding: 20px 0;
    }

    .showcase-wrapper {
        border-radius: 12px;
    }

    /* ---------- Founder Mobile ---------- */
    .founder-section {
        padding: 26px 0;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .founder-quote {
        padding: 12px 14px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .founder-quote p {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .founder-name {
        font-size: 1.08rem;
    }

    .founder-designation {
        font-size: 0.74rem;
    }

    .founder-company {
        font-size: 0.7rem;
    }

    .vision-card {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .vision-icon {
        font-size: 1.1rem;
    }

    .vision-card h4 {
        font-size: 0.82rem;
    }

    .vision-card p {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .founder-image-card {
        border-radius: 14px;
        max-height: 380px;
        overflow: hidden;
    }

    .founder-image {
        max-height: 380px;
        object-fit: cover;
    }

    .staff-kit-showcase-wrapper {
        margin-bottom: 20px;
    }

    .staff-kit-banner-card,
    .staff-kit-banner-img {
        border-radius: 12px;
    }

    /* ---------- Stats Mobile ---------- */
    .stats-section {
        padding: 22px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* ---------- CTA Mobile ---------- */
    .cta-section {
        padding: 26px 0;
    }

    .cta-title {
        font-size: clamp(1.25rem, 5vw, 1.55rem);
        margin-bottom: 6px;
    }

    .cta-desc {
        font-size: 0.8rem;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 270px;
        justify-content: center;
        padding: 9px 16px;
        font-size: 0.82rem;
    }

    /* ---------- Contact Mobile (Clean, Attractive & Professional) ---------- */
    .contact-section {
        padding: 30px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .contact-card {
        padding: 10px 11px;
        gap: 10px;
        border-radius: 12px;
        align-items: center;
    }

    #contact-address {
        grid-column: 1 / -1;
    }

    #contact-email {
        grid-column: 1 / -1;
    }

    .contact-card-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .contact-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-badge-sub {
        font-size: 0.58rem;
    }

    .contact-status {
        display: none;
    }

    .contact-card-content h4 {
        font-size: 0.82rem;
        margin-bottom: 1px;
    }

    .contact-link-main {
        font-size: 0.78rem;
        word-break: break-all;
    }

    .contact-card-content p {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    /* Form Mobile */
    .contact-form-wrapper {
        padding: 20px 16px 18px 16px;
        border-radius: 18px;
        box-shadow: 0 10px 28px -6px rgba(8, 61, 95, 0.08);
    }

    .form-header {
        margin-bottom: 14px;
    }

    .form-header-badge {
        font-size: 0.65rem;
        padding: 2.5px 8px;
        margin-bottom: 6px;
    }

    .form-title {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .form-subtitle {
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .contact-form {
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group {
        gap: 4px;
        margin-bottom: 0;
    }

    .form-group label {
        font-size: 0.74rem;
    }

    .input-wrapper input,
    .select-wrapper select {
        padding: 10px 12px 10px 36px;
        font-size: 0.82rem;
        border-radius: 10px;
        min-height: 42px;
    }

    .input-icon {
        left: 11px;
        width: 15px;
        height: 15px;
    }

    .textarea-wrapper textarea {
        padding: 10px 12px;
        font-size: 0.82rem;
        border-radius: 10px;
        min-height: 75px;
    }

    .btn-submit-contact {
        min-height: 44px;
        padding: 11px 18px;
        font-size: 0.86rem;
        border-radius: 10px;
        margin-top: 2px;
    }

    .form-assurance {
        font-size: 0.68rem;
        margin-top: 4px;
    }

    /* ---------- Footer Mobile ---------- */
    .footer {
        padding-top: 28px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 14px;
        padding-bottom: 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

    .footer-tagline {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }

    .footer-desc {
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .footer-links-group {
        grid-column: span 1;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-heading {
        font-size: 0.88rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .footer-heading::after {
        width: 22px;
        height: 2px;
    }

    .footer-links {
        gap: 7px;
    }

    .footer-links a {
        font-size: 0.76rem;
        line-height: 1.4;
    }

    .footer-contact-item {
        margin-bottom: 8px;
        font-size: 0.76rem;
        gap: 8px;
    }

    .footer-contact-item svg {
        width: 15px;
        height: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 0;
        font-size: 0.75rem;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.75rem;
    }

    /* ---------- Floating Buttons Mobile ---------- */
    .back-to-top {
        bottom: 64px;
        right: 14px;
        width: 34px;
        height: 34px;
    }

    .back-to-top svg {
        width: 15px;
        height: 15px;
    }

    .whatsapp-float {
        bottom: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* ========== SMALL MOBILE (below 400px - BALANCED COMPACT) ========== */
@media (max-width: 400px) {
    html {
        font-size: 13.5px;
    }

    .container {
        padding: 0 12px;
    }

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

    /* Enlarge hero logo on small devices as well */
    .hero-image.logo-scene {
        max-width: 250px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat {
        flex: 1;
        min-width: 75px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 100%;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image-wrapper {
        min-height: 145px !important;
        max-height: 155px !important;
        height: 150px !important;
        padding: 4px 4px 0 4px !important;
    }

    .product-image-wrapper img {
        height: 142px !important;
        max-height: 146px !important;
    }

    .product-name {
        font-size: 0.76rem;
        min-height: 26px;
        margin: 1px 0 4px 0;
    }

    .product-card-footer {
        margin-top: 3px;
        padding-top: 0;
        border-top: none;
    }

    .btn-product-enquire {
        min-height: 38px;
        padding: 8px 8px;
        font-size: 0.76rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .feature-card {
        padding: 10px 8px;
    }

    .feature-title {
        font-size: 0.82rem;
    }

    .feature-desc {
        font-size: 0.70rem;
        line-height: 1.3;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .stat-card {
        padding: 10px 6px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 16px 12px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 16px 10px;
    }

    .footer-heading {
        font-size: 0.84rem;
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 0.72rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ========== LANDSCAPE MOBILE ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: var(--space-xl);
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* ========== OPPORTUNITIES & BOTTOMSHEET RESPONSIVE ========== */
@media (max-width: 1023px) {
    .opp-grid {
        gap: 22px;
    }

    .opp-card {
        padding: 30px 24px 26px;
    }

    .bottomsheet-dialog {
        max-width: 620px;
        width: calc(100% - 32px);
    }
}

@media (max-width: 767px) {
    .opportunities-section {
        padding: 55px 0 45px;
    }

    .opp-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 24px;
    }

    .opp-card {
        padding: 26px 20px 22px;
        border-radius: 20px;
    }

    .opp-card-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .opp-icon-box {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .opp-title {
        font-size: 1.22rem;
    }

    .opp-subtitle {
        font-size: 0.78rem;
    }

    .opp-description {
        font-size: 0.84rem;
        margin-bottom: 16px;
    }

    .opp-features-list {
        gap: 10px;
        margin-bottom: 18px;
    }

    .opp-feature-item {
        font-size: 0.82rem;
    }

    .opp-highlight-pill {
        font-size: 0.78rem;
        padding: 8px 12px;
        margin-bottom: 18px;
    }

    .btn-opp-action {
        min-height: 48px;
        font-size: 0.9rem;
        padding: 12px 16px;
        border-radius: 12px;
    }

    /* Mobile Native BottomSheet docking */
    .bottomsheet-dialog {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.35);
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .bottomsheet-dialog.active {
        transform: translateY(0);
    }

    .bottomsheet-header {
        padding: 6px 18px 12px;
    }

    .bottomsheet-title {
        font-size: 1.15rem;
    }

    .bottomsheet-sub {
        font-size: 0.76rem;
    }

    .bottomsheet-tabs {
        margin: 10px 18px 0;
        padding: 4px;
        gap: 6px;
    }

    .bottomsheet-tab {
        padding: 8px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .bottomsheet-body {
        padding: 14px 18px 22px;
    }

    .sheet-form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sheet-pill-checkboxes {
        gap: 5px;
    }

    .sheet-pill-check span {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .btn-sheet-submit {
        min-height: 46px;
        font-size: 0.88rem;
    }

    .btn-sheet-whatsapp {
        min-height: 42px;
        font-size: 0.82rem;
    }

    .btn-success-whatsapp {
        min-height: 46px;
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .bottomsheet-title {
        font-size: 1.05rem;
    }

    .bottomsheet-tab .tab-label {
        font-size: 0.76rem;
    }

    .opp-card-badge-wrap {
        gap: 8px;
    }

    .opp-card-margin-tag {
        font-size: 0.68rem;
    }
}

/* ========== ABOUT COMPANY PAGE RESPONSIVE ========== */
@media (max-width: 1023px) {
    .company-intro-grid,
    .founder-spotlight-grid,
    .network-cards-grid {
        gap: 32px;
    }

    .service-channels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .commitments-strip {
        gap: 18px;
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 95px 0 45px;
    }

    .about-hero-title {
        font-size: 2.05rem;
    }

    .about-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .about-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-stat-box {
        padding: 12px 14px;
        gap: 10px;
    }

    .about-stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    .about-stat-num {
        font-size: 1.15rem;
    }

    .about-stat-label {
        font-size: 0.68rem;
    }

    .company-intro-section,
    .founder-profile-section,
    .vision-mission-section,
    .sales-network-section,
    .customer-service-section {
        padding: 55px 0 45px;
    }

    .company-intro-grid,
    .founder-spotlight-grid,
    .vm-cards-grid,
    .network-cards-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .intro-highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .intro-image-badge {
        position: static;
        margin-top: 12px;
        background: #0f1b3d;
    }

    .founder-card-visual {
        max-width: 440px;
        margin: 0 auto;
    }

    .founder-quote-banner {
        padding: 18px 20px;
    }

    .founder-quote-banner p {
        font-size: 0.95rem;
    }

    .vm-card {
        padding: 26px 20px;
    }

    .vm-card-title {
        font-size: 1.3rem;
    }

    .network-main-card,
    .network-perks-card {
        padding: 26px 20px;
    }

    .service-channels-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .commitments-strip {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 18px;
    }
}

@media (max-width: 767px) {
    /* Mobile Layout & Overflow Containment Protection */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container, 
    .hero, 
    .about-section, 
    .ceo-hero-section, 
    .products-section, 
    .features-section, 
    .showcase-section, 
    .highlights-section, 
    .founder-section, 
    .stats-section, 
    .opportunities-section, 
    .cta-section, 
    .contact-section, 
    .site-index-section, 
    .footer {
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .site-index-section {
        padding: 40px 0 !important;
    }

    .site-index-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }

    .site-index-grid .index-card {
        padding: 13px 11px 12px 11px !important;
        border-radius: 14px !important;
    }

    .site-index-grid .index-card h3 {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
    }

    .site-index-grid .index-card p {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .site-index-grid .index-card a.btn {
        padding: 7px 8px !important;
        font-size: 0.74rem !important;
        min-height: 36px !important;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 1.7rem;
    }

    .about-hero-stats {
        grid-template-columns: 1fr;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .preloader,
    .back-to-top,
    .whatsapp-float,
    .hero-scroll-indicator,
    .ticker-section {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding-top: 0;
    }

    body {
        color: #000;
    }

    .section-title {
        color: #000;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bubble,
    .hero-leaf,
    .hero-sparkle,
    .preloader-bubble,
    .ticker-track,
    .whatsapp-float {
        animation: none !important;
    }
}

/* ========== DESKTOP FOOTER 4-COLUMN ENFORCEMENT ========== */
@media (min-width: 1024px) {
    .footer {
        padding: 60px 0 0 !important;
    }
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1.6fr 1fr 1fr 1.3fr !important;
        gap: 36px !important;
        align-items: start !important;
    }
    .footer-brand,
    .footer-links-group,
    .footer-contact {
        grid-column: auto !important;
    }
    .footer-bottom {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }
}

