:root {
            --primary-rgb: 0, 102, 204;
            --secondary-rgb: 255, 107, 107;
            --accent-rgb: 46, 125, 50;
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
            --text-primary: #ffffff;
            --text-secondary: rgba(255, 255, 255, 0.8);
            --bg-dark: #edf5ff;
            --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #5b74d1 0%, #4c5dbf 35%, #5b74d1 65%, #4c5dbf 100%);
            color: var(--text-primary);
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* Animated Background Elements */
        .bg-particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.6), rgba(var(--secondary-rgb), 0.4));
            border-radius: 50%;
            animation: float 20s infinite linear;
        }

        @keyframes float {
            0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
        }

        /* Glassmorphism */
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            box-shadow: var(--card-shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            border-color: rgba(var(--primary-rgb), 0.5);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 0 5%;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 700;
            background: linear-gradient(135deg, rgba(60, 60, 60, 1), rgba(var(--secondary-rgb), 1));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
        }

        .hero .btn-modern {
            background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9), rgba(var(--secondary-rgb), 0.7));
            border: none;
            border-radius: 16px;
            padding: 16px 32px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .btn-modern:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
        }

        /* Mobile view adjustments */
@media (max-width: 576px) {
    .hero-image-card {
        width: 90%;                
        max-width: 350px;          
        margin: 20px auto 20px auto; 
        padding: 3rem 1rem 2rem 1rem; 
        box-sizing: border-box;    
    }

    .hero-image-card .hero-image {
        width: 100%;               
        height: auto;
        border-radius: 12px;       
        display: block;
        margin: 0 auto;
    }

    #about .btn {
        margin-bottom: 15px;
    }
}


        /* Sections */
        .section {
            padding: 100px 5%;
            position: relative;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 4rem;
            background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Services Grid */
        .service-card {
            text-align: center;
            padding: 2.5rem 1.5rem;
            height: 100%;
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.2));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: peachpuff;
        }

        /* Product Cards */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        @keyframes productBlink {
  0% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 22px rgba(255,255,255,0.45);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
  }
}

/* All Product Modals - Blunt corners */
#assembleProduct,
#thermalProduct,
#laserProduct,
#inkjetProduct,
#labelProduct,
#barcodeProduct,
#billingsMachine,
#posProduct,
#softwareProduct,
#accessoriesProduct {
}

#assembleProduct .modal-content,
#thermalProduct .modal-content,
#laserProduct .modal-content,
#inkjetProduct .modal-content,
#labelProduct .modal-content,
#barcodeProduct .modal-content,
#billingsMachine .modal-content,
#posProduct .modal-content,
#softwareProduct .modal-content,
#accessoriesProduct .modal-content {
    pointer-events: auto !important;
    border-radius: 24px !important; 
    overflow: hidden;               
}

/* Header and footer rounded corners */
#assembleProduct .modal-header,
#thermalProduct .modal-header,
#laserProduct .modal-header,
#inkjetProduct .modal-header,
#labelProduct .modal-header,
#barcodeProduct .modal-header,
#billingsMachine .modal-header,
#posProduct .modal-header,
#softwareProduct .modal-header,
#accessoriesProduct .modal-header {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

#assembleProduct .modal-footer,
#thermalProduct .modal-footer,
#laserProduct .modal-footer,
#inkjetProduct .modal-footer,
#labelProduct .modal-footer,
#barcodeProduct .modal-footer,
#billingsMachine .modal-footer,
#posProduct .modal-footer,
#softwareProduct .modal-footer,
#accessoriesProduct .modal-footer {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

/* Images or carousel inside modal follow the radius */
#assembleProduct .modal-content img,
#thermalProduct .modal-content img,
#laserProduct .modal-content img,
#inkjetProduct .modal-content img,
#labelProduct .modal-content img,
#barcodeProduct .modal-content img,
#billingsMachine .modal-content img,
#posProduct .modal-content img,
#softwareProduct .modal-content img,
#accessoriesProduct .modal-content img,
#assembleProduct .carousel-inner,
#thermalProduct .carousel-inner,
#laserProduct .carousel-inner,
#inkjetProduct .carousel-inner,
#labelProduct .carousel-inner,
#barcodeProduct .carousel-inner,
#billingsMachine .carousel-inner,
#posProduct .carousel-inner,
#softwareProduct .carousel-inner,
#accessoriesProduct .carousel-inner {
    border-radius: 24px;
    object-fit: cover;
    width: 100%;
}

/* Hide close button on desktop */
#assembleProduct .modal-close,
#thermalProduct .modal-close,
#laserProduct .modal-close,
#inkjetProduct .modal-close,
#labelProduct .modal-close,
#barcodeProduct .modal-close,
#billingsMachine .modal-close,
#posProduct .modal-close,
#softwareProduct .modal-close,
#accessoriesProduct .modal-close {
    display: none;
}

/* Mobile overrides */
@media (max-width: 576px) {
    #assembleProduct .modal-content,
    #thermalProduct .modal-content,
    #laserProduct .modal-content,
    #inkjetProduct .modal-content,
    #labelProduct .modal-content,
    #barcodeProduct .modal-content,
    #billingsMachine .modal-content,
    #posProduct .modal-content,
    #softwareProduct .modal-content,
    #accessoriesProduct .modal-content {
        border-radius: 20px !important;
    }

    #assembleProduct .modal-header,
    #thermalProduct .modal-header,
    #laserProduct .modal-header,
    #inkjetProduct .modal-header,
    #labelProduct .modal-header,
    #barcodeProduct .modal-header,
    #billingsMachine .modal-header,
    #posProduct .modal-header,
    #softwareProduct .modal-header,
    #accessoriesProduct .modal-header,
    #assembleProduct .modal-footer,
    #thermalProduct .modal-footer,
    #laserProduct .modal-footer,
    #inkjetProduct .modal-footer,
    #labelProduct .modal-footer,
    #barcodeProduct .modal-footer,
    #billingsMachine .modal-footer,
    #posProduct .modal-footer,
    #softwareProduct .modal-footer,
    #accessoriesProduct .modal-footer,
    #assembleProduct .modal-content img,
    #thermalProduct .modal-content img,
    #laserProduct .modal-content img,
    #inkjetProduct .modal-content img,
    #labelProduct .modal-content img,
    #barcodeProduct .modal-content img,
    #billingsMachine .modal-content img,
    #posProduct .modal-content img,
    #softwareProduct .modal-content img,
    #accessoriesProduct .modal-content img,
    #assembleProduct .carousel-inner,
    #thermalProduct .carousel-inner,
    #laserProduct .carousel-inner,
    #inkjetProduct .carousel-inner,
    #labelProduct .carousel-inner,
    #barcodeProduct .carousel-inner,
    #billingsMachine .carousel-inner,
    #posProduct .carousel-inner,
    #softwareProduct .carousel-inner,
    #accessoriesProduct .carousel-inner {
        border-radius: 20px;
    }

    /* Show close button on mobile */
    #assembleProduct .modal-close,
    #thermalProduct .modal-close,
    #laserProduct .modal-close,
    #inkjetProduct .modal-close,
    #labelProduct .modal-close,
    #barcodeProduct .modal-close,
    #billingsMachine .modal-close,
    #posProduct .modal-close,
    #softwareProduct .modal-close,
    #accessoriesProduct .modal-close {
        display: block;
    }
}



        /* Glass Card */
.glass-card{
  cursor: pointer;
  transition: .3s;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}

.glass-card::before,
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glass-card p,
.glass-card h1,
.glass-card h2,
.glass-card h3,
.glass-card h4,
.glass-card h5,
.glass-card span {
  pointer-events: none;
}

.glass-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

/* FIX */
.glass-card::before,
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

button.glass-card {
  background: none;
  border: none;
  width: 100%;
  text-align: center;
}

/* Icon glow */
.service-icon{
  text-shadow: 0 0 15px rgba(13,110,253,.8);
}

/* Carousel caption */
.carousel-caption-custom{
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 15px;
}

/* Icon base */
.service-icon {
  animation: blinkGlow 1.8s infinite ease-in-out;
}

/* Fully custom black carousel arrows */
#assembledCarousel .carousel-control-prev,
#assembledCarousel .carousel-control-next {
    width: 50px;      
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;       
}

#assembledCarousel .carousel-control-prev-icon,
#assembledCarousel .carousel-control-next-icon {
    background-image: none;  
    display: inline-block;
    width: 20px;
    height: 20px;
    border-left: 3px solid white;   
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    margin: auto;
}

#assembledCarousel .carousel-control-next-icon {
    border-left: none;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
}

.modal-content {
    overflow: visible !important;
}


/* Blink + glow animation */
@keyframes blinkGlow {
  0% {
    opacity: 1;
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor;
  }
  50% {
    opacity: 0.4;
    text-shadow: 
      0 0 20px currentColor,
      0 0 40px currentColor;
  }
  100% {
    opacity: 1;
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor;
  }
}
.glass-card:hover .service-icon {
  animation-duration: 0.9s;
  transform: scale(1.1);
}


        /* Why Choose Us */
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.8), rgba(var(--primary-rgb), 0.6));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 1.5rem;
        }

        /* Reviews */
        .review-card {
            background: rgba(var(--primary-rgb), 0.1);
            border: 1px solid rgba(var(--primary-rgb), 0.3);
        }

        .stars {
            color: #ffd700;
        }
        /* Hero Image */
        .hero-image-card {
            max-width: 680px;
        }
        
        .hero-image {
            width: 100%;
            max-width: 520px;
            height: auto;
            opacity: 0.9;
            transition: transform 0.4s ease;
        }
        
        .hero-image-card:hover .hero-image,
        .hero-image-card:active .hero-image {
            transform: rotate(1.5deg);
        }
        
        .hero-image {
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%   { transform: translateY(0); }
            50%  { transform: translateY(-10px); }
            100% { transform: translateY(0); }
        }
        
        .hero-image {
            filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
        }
        
        @media (max-width: 768px) {
            .hero-image-card {
                max-width: 100%;
                padding: 2.5rem;
            }
            
            .hero-image {
                max-width: 360px;
            }
        }

        /* Gallery */
        .gallery-card {
            padding: 0;
            overflow: hidden;
            cursor: pointer;
            transition: box-shadow 0.3s ease;
        }
        
        .gallery-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
            border-radius: 18px;
            transition: filter 0.3s ease;
        }
        
        .gallery-card:hover {
            animation: soft-shake 0.4s ease-in-out;
        }
        
        .gallery-card:active {
            animation: soft-shake 0.4s ease-in-out;
        }
        
        .gallery-card:hover img,
        .gallery-card:active img {
            filter: brightness(1.05);
        }
        
        @keyframes soft-shake {
            0%   { transform: rotate(0deg); }
            20%  { transform: rotate(1deg); }
            40%  { transform: rotate(-1deg); }
            60%  { transform: rotate(1deg); }
            80%  { transform: rotate(-1deg); }
            100% { transform: rotate(0deg); }
        }
        
        @media (max-width: 576px) {
            .gallery-card img {
                height: 160px;
            }
        }

        /* Client Logos */
        .logo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .logo-placeholder {
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        /* FAQ */
        .faq-item {
            margin-bottom: 1.5rem;
        }

        .faq-question {
            cursor: pointer;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s ease;
            padding: 0 1.5rem;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 1.5rem;
        }

        /* Mobile Bottom Nav */
        .mobile-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid var(--glass-border);
            z-index: 1000;
            padding: 1rem 0;
            display: none;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-secondary);
            text-decoration: none;
            padding: 0.5rem;
            transition: all 0.3s ease;
        }

        .nav-item.active,
        .nav-item:hover {
            color: rgba(var(--primary-rgb), 1);
        }

        .nav-item i {
            font-size: 1.5rem;
            margin-bottom: 0.25rem;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .mobile-nav {
                display: block;
            }
            
            .hero {
                text-align: center;
                padding: 0 5%;
            }
            
            .section {
                padding: 60px 5%;
            }
            
            .section-title {
                margin-bottom: 2rem;
            }
        }

        /* Scroll to sections */
        .nav-item[href^="#"] {
            scroll-margin-top: 80px;
        }

        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Contact Form */
        .contact-form input,
        .contact-form textarea {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: var(--text-primary);
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: var(--text-secondary);
        }
      /* Top Glass Navbar */
.glass-nav {
    background: radial-gradient(circle at top left,
        rgba(var(--primary-rgb), 0.25),
        rgba(10, 10, 10, 0.9));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 100px;
  right: 10px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  color: white;
}

.whatsapp-enquiry {
  pointer-events: auto !important;
  touch-action: manipulation;
  z-index: 9999;
}

.call-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;            
  right: 10px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.call-float {
  transform: translateZ(0) !important;
}

.call-float i {
  transform: rotate(0deg) scaleX(1) !important;
}


.call-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  color: white;
}


.navbar-dark .navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
}

.brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    /* background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1),
        rgba(var(--secondary-rgb), 1)); */
    color: #fff;
    font-size: 1rem;
}

/* compensate for fixed navbar height */
.hero {
    padding-top: 96px;
}
      
      .site-footer {
    background: radial-gradient(circle at bottom,
        rgba(var(--primary-rgb), 0.25),
        rgba(5, 5, 15, 0.95));
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    margin-bottom: 70px; /* space for bottom mobile nav */
}

.footer-links a,
.text-footer,
.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-social a i {
    font-size: 1.1rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.modal-content.glass-card {
  pointer-events: auto !important;
}

/* Hide modal close by default (desktop) */
.modal-close {
    display: none;
}

.modal-content {
    border-radius: 24px !important; 
    overflow: hidden; 
}

/* Header and footer rounded corners */
.modal-header {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.modal-footer {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.modal-content img{
  border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    object-fit: cover;
    width: 100%;

}
.modal-content .carousel-inner {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    object-fit: cover;
    width: 100%;
}

/* Mobile override for smaller screens */
@media (max-width: 576px) {
    .modal-content {
        border-radius: 20px !important;
    }

    .modal-header,
    .modal-footer,
    .modal-content img,
    .modal-content .carousel-inner {
        border-radius: 20px;
    }
}


/* Show modal close only on mobile screens */
@media (max-width: 576px) {
    .modal-close {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 28px;
        color: white;
        background: transparent;
        border: none;
        z-index: 1050;
        cursor: pointer;
    }

    .modal-close:hover {
        color: #ff0000; 
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(1) brightness(0) !important;
}

/* Enquiry Icon Button */
.whatsapp-enquiry {
  position: absolute;
  top: 70px;
  right: 15px;

  width: 44px;
  height: 44px;

  color: #ffffff;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  text-decoration: none;

  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

/* Hover Effect */
.whatsapp-enquiry:hover {
  background: #084298;          
  color: #ffffff;
  transform: scale(1.12);
}

/* Icon behavior */
.whatsapp-enquiry i {
  pointer-events: none;
}

/* Required for absolute positioning */
.carousel-item {
  position: relative;
}

.whatsapp-enquiry::after {
  content: "Enquire";
  position: absolute;
  right: 55px;
  background: #000;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  white-space: nowrap;
  transition: .2s;
}

.whatsapp-enquiry:hover::after {
  opacity: 1;
}

.whatsapp-enquiry {
  background: #dc3545; 
}

/* MOBILE VIEW – move enquiry to bottom */
@media (max-width: 576px) {
  .whatsapp-enquiry {
    position: absolute;
    top: auto;
    bottom: 20px;          
    left: 70%;
    right: auto;
    transform: translateX(-50%);

    width: 46px;
    height: 46px;
    font-size: 20px;

    z-index: 60;
  }

  /* Disable tooltip on mobile */
  .whatsapp-enquiry::after {
    display: none;
  }

  /* Remove hover scale jump on mobile */
  .whatsapp-enquiry:hover {
    transform: translateX(-50%);
  }
}

/*  carousel arrows  */
@media (max-width: 576px) {

  .carousel {
    position: relative;
  }

  .carousel-inner {
    position: relative;
  }

  .carousel-control-prev,
  .carousel-control-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 40px;
    height: 40px;

    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50%;
    color: #fff;

    z-index: 9999;
    opacity: 1 !important;
  }

  .carousel-control-prev {
    left: 10px !important;
  }

  .carousel-control-next {
    right: 10px !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: invert(1);
  }
}


/* ===============================
   MOBILE OVERRIDES
   =============================== */
@media (max-width: 768px) {

  /* Root tweaks for mobile */
  :root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
  }

  body {
    overflow-x: hidden;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  /* SECTION SPACING */
  .section {
    padding: 50px 5%;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
  }

  /* GLASS CARDS */
  .glass-card {
    border-radius: 18px;
    transform: none !important;
  }

  .glass-card:hover {
    transform: none;
    box-shadow: var(--card-shadow);
  }

  /* PRODUCT GRID */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* SERVICE ICON */
  .service-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }

  /* CAROUSEL IMAGES */
  .carousel-item img {
    height: 300px !important;
    object-fit: cover;
  }

  /* CAROUSEL CAPTION */
  .carousel-caption-custom {
    font-size: 0.8rem;
    padding: 12px;
  }

  .carousel-caption-custom h5 {
    font-size: 0.95rem;
  }

  /* CAROUSEL ARROWS (EASIER TOUCH) */
  .carousel-control-prev,
  .carousel-control-next {
    width: 44px;
    height: 44px;
  }

  /* ENQUIRY ICON (MOBILE FIX) */
  .whatsapp-enquiry {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  /* Disable tooltip on mobile */
  .whatsapp-enquiry::after {
    display: none;
  }

  /* GALLERY */
  .gallery-card img {
    height: 150px;
  }

  /* FEATURE LIST */
  .feature-item {
    gap: 0.75rem;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* FOOTER */
  .site-footer {
    margin-bottom: 90px;
    text-align: center;
  }

  /* NAVBAR */
  .navbar-dark .navbar-nav .nav-link {
    font-size: 0.9rem;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 576px) {

  .hero h1 {
    font-size: 1.9rem;
  }

  .carousel-item img {
    height: 260px !important;
  }

  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 26px;
    bottom: 90px;
  }
}

@media (max-width: 768px) {

  /* FIX CAROUSEL ARROWS */
  .carousel-control-prev,
  .carousel-control-next {
    top: 45%;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
  }

  .carousel-control-prev { left: 8px; }
  .carousel-control-next { right: 8px; }

  /* FIX ENQUIRY ICON */
  .whatsapp-enquiry {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .whatsapp-enquiry::after {
    display: none;
  }
}

/* FIX MODAL EXIT */
.modal {
  pointer-events: auto;
}

.modal-dialog {
  pointer-events: auto;
}

.modal-backdrop {
  pointer-events: auto;
}

.modal-close-mobile {
  position: absolute;
  top: 5px;
  left: 10px;
  z-index: 2000;
  background-color: #fff;
  border-radius: 50%;
  padding: 6px;
}
/* Blunt all modal edges */
.modal-content {
  border-radius: 20px !important;
  overflow: hidden;
}

/* Header & footer follow same radius */
.modal-header {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.modal-footer {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}


/* MOBILE FIX */
@media (max-width: 768px) {
    .whatsapp-float {
    top: 500px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .whatsapp-float::after {
    display: none;
  }
  .modal-dialog {
    margin: 12px;
  }

  .modal-content {
    border-radius: 18px !important;
  }
}

.modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 50;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.carousel-caption-custom {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  padding: 14px;
  text-align: left;
}

.carousel-item {
  position: relative;
}
.carousel-item img {
  object-fit: cover;
}

@media (max-width: 576px) {
  .carousel-item img {
    height: 220px !important;
  }

}

/* Ensure map stays below navbar */
.glass-card iframe {
    position: relative;
    z-index: 1;
}

/* Navbar always above map */
header,
.navbar {
    position: relative;
    z-index: 9999;
}

/* Blink pulse animation without box-shadow */
@keyframes blinkPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

/* Product card blinking */
#products .glass-card {
  position: relative;
  animation: blinkPulse 2.6s ease-in-out infinite;
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Icon blink (slightly faster) */
#products .glass-card i {
  animation: blinkPulse 2s ease-in-out infinite;
}

/* BLUE HOVER EFFECT */
#products .glass-card:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(0, 0, 0, 0.7);
  box-shadow:
    0 0 0 1px rgba(5, 8, 12, 0.4),
    0 18px 45px rgba(4, 8, 14, 0.45);
}

/* Icon glow on hover */
#products .glass-card:hover i {
  animation-play-state: paused;
  color: #000000;
  text-shadow: 0 0 14px rgba(3, 3, 4, 0.7);
}

@media (max-width: 576px) {
  #products .glass-card {
    animation-duration: 3s;
  }

  #products .glass-card:hover {
    transform: scale(1.03);
  }

  #products .glass-card {
    position: relative;
    animation: blinkPulse 2.6s ease-in-out infinite;
    transition: transform 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }

  #products .glass-card i {
    animation: blinkPulse 2s ease-in-out infinite;
  }

  /* Disable hover behavior on mobile */
  #products .glass-card:hover,
  #products .glass-card:hover i {
    animation-play-state: running;
    transform: none;
    box-shadow: none;
  }

  /* Tap effect instead of hover */
  #products .glass-card:active {
    transform: scale(1.03);
    border-color: rgba(0, 0, 0, 0.5);
  }
  
}
