/**
 * Main Stylesheet
 * Ujaala ElectroHub - Electronics Shop
 * Color Theme: Blue (#0066CC), White (#FFFFFF), Yellow (#FFD700)
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-color: #0066CC;
    --primary-dark: #0052A3;
    --primary-light: #3385D6;
    --secondary-color: #FFD700;
    --secondary-dark: #E6C200;
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --gray-900: #212529;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Bootstrap Overrides
   ======================================== */
/* Custom CTA Theme: Amber & Black */
.btn-primary {
    background-color: #FFC107;
    /* Amber CTA */
    border-color: #FFC107;
    color: #000000;
    /* Black Text */
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #FFB300;
    /* Darker Amber on Hover */
    border-color: #FFB300;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.bg-warning {
    background-color: var(--secondary-color) !important;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color) !important;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-800) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-section h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 500;
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

/* ========================================
   Product Cards
   ======================================== */
.product-card {
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.product-card img {
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.05);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

/* ========================================
   Mobile Bottom Navigation (PWA Style)
   ======================================== */
/* Mobile Bottom Nav (PWA Style) - Deep Blue Theme */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0D47A1;
    /* Deep Blue Theme */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 12px rgba(13, 71, 161, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    /* Muted White */
    font-size: 0.75rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 60px;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

/* Active state */
.mobile-nav-item.active {
    color: #FFD600;
    /* Gold Active */
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0 0 3px 3px;
}

/* Hover/Touch effect */
.mobile-nav-item:active {
    transform: scale(0.95);
    background: rgba(0, 102, 204, 0.1);
}

/* Call button special styling */
.mobile-nav-call {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transform: translateY(-10px);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 0;
}

.mobile-nav-call i {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.mobile-nav-call span {
    position: absolute;
    bottom: -18px;
    font-size: 0.65rem;
    white-space: nowrap;
}

.mobile-nav-call:active {
    transform: translateY(-10px) scale(0.95);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Add bottom padding to body when mobile nav is visible */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px;
    }

    /* Adjust WhatsApp button position on mobile */
    .whatsapp-float {
        bottom: 110px !important;
        right: 20px !important;
    }
}

/* iOS safe area support */
@supports (padding: max(0px)) {
    .mobile-bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .mobile-bottom-nav {
        background: rgba(33, 37, 41, 0.95);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-item {
        color: rgba(255, 255, 255, 0.7);
    }

    .mobile-nav-item.active {
        color: var(--primary-light);
    }
}


/* ========================================
   Footer
   ======================================== */
footer {
    background-color: #0D47A1;
    /* Deep Blue Theme */
    color: #FFFFFF;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--secondary-color) !important;
}

/* ========================================
   Forms
   ======================================== */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

/* ========================================
   Badges
   ======================================== */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* ========================================
   Shadows
   ======================================== */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   Rounded Corners
   ======================================== */
.rounded-4 {
    border-radius: 1rem !important;
}

/* ========================================
   Advanced Animations & Effects
   ======================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-animate {
    background: linear-gradient(270deg, var(--primary-color), var(--primary-light), var(--secondary-color));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

/* Shimmer Effect (for loading) */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 12px;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* Floating Animation */
@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate {
    animation: rotate 2s linear infinite;
}

/* Glow Effect */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* Typewriter Effect */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40) 1s 1 normal both, blink 0.75s step-end infinite;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
    transition-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Progress Bar */
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Counter Animation */
.counter {
    transition: all 0.5s ease;
}

/* Image Zoom on Hover */
.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover img {
    transition: transform 0.5s ease;
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

/* Flip Card Effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Loading Spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Dots Loading */
@keyframes dotPulse {

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

.dots-loading span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.dots-loading span:nth-child(1) {
    animation-delay: -0.32s;
}

.dots-loading span:nth-child(2) {
    animation-delay: -0.16s;
}

/* Text Gradient Animation */
.text-gradient-animate {
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color), var(--primary-light));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* Underline Animation */
.underline-animate {
    position: relative;
    display: inline-block;
}

.underline-animate::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.underline-animate:hover::after {
    width: 100%;
}

/* Button Animations */
.btn-animate {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-animate:hover::before {
    left: 100%;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s ease;
}


/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Tablet and below (991px) */
@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background-color: var(--white);
        border-radius: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    /* Make cards stack better on tablet */
    .service-card,
    .product-card {
        margin-bottom: 1rem;
    }
}

/* Mobile devices (767px and below) */
@media (max-width: 767px) {

    /* Typography adjustments */
    .hero-section h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Page header adjustments */
    .page-header {
        padding: 2.5rem 0 !important;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }

    .page-header .lead {
        font-size: 1rem !important;
    }

    /* Hero section mobile */
    .hero-section {
        padding: 2rem 0;
    }

    .min-vh-75 {
        min-height: auto;
        padding: 2rem 0;
    }

    /* Buttons - Make touch-friendly */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Navigation mobile */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand img {
        height: 30px !important;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    /* Cards - Full width on mobile */
    .card {
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    /* Product cards */
    .product-card img {
        height: 180px !important;
    }

    /* Service cards */
    .service-card {
        margin-bottom: 1.5rem;
    }

    /* Forms - Better mobile experience */
    .form-control,
    .form-select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 0.75rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    /* Spacing adjustments */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    /* Footer mobile */
    footer {
        text-align: center;
    }

    footer .row>div {
        margin-bottom: 2rem;
    }

    /* WhatsApp button mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }

    /* Table responsive */
    .table {
        font-size: 0.875rem;
    }

    /* Modal mobile */
    .modal-dialog {
        margin: 0.5rem;
    }

    /* Badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Text alignment mobile */
    .text-lg-start,
    .text-lg-end {
        text-align: center !important;
    }

    /* Flex direction mobile */
    .d-flex.flex-wrap {
        justify-content: center;
    }

    /* Gap adjustments */
    .gap-3 {
        gap: 0.75rem !important;
    }

    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Small mobile devices (575px and below) */
@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 1.75rem !important;
    }

    .btn-group-vertical .btn,
    .d-grid .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Stack buttons vertically */
    .d-flex.gap-3 {
        flex-direction: column;
        width: 100%;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }

    /* Product grid - 1 column on very small screens */
    .col-lg-3.col-md-4.col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Trust indicators */
    .hero-section .row.mt-5 .col-4 {
        flex: 0 0 33.333%;
        padding: 0 0.25rem;
    }

    .hero-section .row.mt-5 h3 {
        font-size: 1.25rem;
    }

    .hero-section .row.mt-5 p {
        font-size: 0.75rem;
    }
}

/* Landscape mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .page-header {
        padding: 2rem 0 !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .product-card:hover,
    .hover-lift:hover {
        transform: none;
    }

    /* Tap highlight */
    a,
    button,
    .btn {
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.2);
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Mobile-specific utilities */
.mobile-center {
    text-align: center;
}

@media (min-width: 768px) {
    .mobile-center {
        text-align: left;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {

    .navbar,
    footer,
    .whatsapp-float,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 18pt;
    }
}