/* Custom Styling & Design System for Glass & Aluminum Fabrication */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --color-bg-dark: #070d19;
  --color-bg-card: rgba(15, 23, 42, 0.75);
  --color-brand-cyan: #00F2FE;
  --color-brand-blue: #4FACFE;
  --color-brand-accent: #38BDF8;
  --color-glass-border: rgba(255, 255, 255, 0.12);
  --color-glass-hover: rgba(56, 189, 248, 0.25);
  --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.35);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-dark);
  color: #F1F5F9;
  overflow-x: hidden;
}

/* Global Mobile & Tablet Drawer Overlay */
#mobile-menu {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background-color: rgba(7, 13, 25, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  padding: 1.5rem !important;
  overflow-y: auto !important;
}

#mobile-menu.active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
}

.glass-panel-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-nav {
  background: rgba(7, 13, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #BAE6FD 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Video Scroll Section Styling */
.scroll-video-container {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-overlay-gradient {
  background: linear-gradient(180deg, rgba(7, 13, 25, 0.4) 0%, rgba(7, 13, 25, 0.2) 50%, rgba(7, 13, 25, 0.85) 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070d19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Shimmer Button */
.btn-primary-glow {
  position: relative;
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #070D19;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
  filter: brightness(1.1);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

/* Pulsing Badge / Status Dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10B981;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Floating WhatsApp Widget */
.whatsapp-widget-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Active Category Filter Pill */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #070D19;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

/* Modal Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal {
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Image Frame Effect */
.image-frame {
  position: relative;
  overflow: hidden;
}

.image-frame img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame:hover img {
  transform: scale(1.06);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

/* Responsive Viewport Core Constraints */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

section {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Mobile Screen Specific Media Query (Phones: < 768px) */
@media screen and (max-width: 767.98px) {
  /* Section Spacing */
  section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Typography Scaling */
  h1 {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.15rem !important;
  }

  p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* Navbar Compactness & Logo Sizing */
  #main-navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  #main-navbar img {
    height: 38px !important;
    width: auto !important;
  }

  /* Hero Video Container */
  #video-scroll-section {
    min-height: 460px !important;
    height: 75vh !important;
  }

  /* Action Buttons Full-Width Scaling */
  .btn-primary-glow, 
  .btn-secondary-glass {
    width: 100% !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    font-size: 0.825rem !important;
  }

  /* Force 1-Column Layouts for All Grid Cards on Mobile */
  #services .grid,
  #product-grid,
  #projects .grid,
  #why-us .grid,
  #testimonials .grid,
  #quote-section .grid,
  #about .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* About Us Images and Stats Badge */
  #about .image-frame img {
    height: 200px !important;
  }

  /* Services & Product Card Images */
  .product-card .image-frame,
  #services .image-frame {
    height: 200px !important;
  }

  /* Filter Pills Horizontal Scroll Carousel */
  #products .overflow-x-auto {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem !important;
    width: 100% !important;
  }

  .filter-btn {
    flex-shrink: 0 !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.75rem !important;
  }

  /* Floating WhatsApp Popover & Very Small Button on Mobile */
  #whatsapp-chat {
    width: calc(100vw - 2rem) !important;
    right: 1rem !important;
    left: 1rem !important;
    bottom: 4rem !important;
  }

  .whatsapp-widget-btn {
    padding: 0.45rem !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    bottom: 0.75rem !important;
    right: 0.75rem !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
  }

  .whatsapp-widget-btn svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
  }

  /* Product Modal Responsive Popup */
  #product-modal .glass-panel {
    width: 94vw !important;
    max-height: 88vh !important;
    padding: 1rem !important;
  }

  #product-modal .grid {
    grid-template-columns: 1fr !important;
  }

  #modal-img {
    height: 200px !important;
  }
}

/* Tablet Screen Specific Media Query (Tablets / iPads: 768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023.98px) {
  /* Section Spacing */
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Typography */
  h1 {
    font-size: 2.75rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }

  /* Navbar Logo Sizing */
  #main-navbar img {
    height: 48px !important;
  }

  /* Hero Video Container */
  #video-scroll-section {
    min-height: 550px !important;
    height: 65vh !important;
  }

  /* Force 2-Column Layout for Card Grids on Tablet */
  #services .grid,
  #product-grid,
  #projects .grid,
  #why-us .grid,
  #testimonials .grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  /* About Section Grid on Tablet */
  #about .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #about .image-frame img {
    height: 280px !important;
  }

  /* Product Showcase Grid Image Height */
  .product-card .image-frame {
    height: 220px !important;
  }

  /* Product Modal Popup */
  #product-modal .glass-panel {
    max-width: 680px !important;
    width: 88vw !important;
  }
}

/* PC / Desktop Navbar Logo Enlargement (>= 1024px) */
@media screen and (min-width: 1024px) {
  #main-navbar img {
    height: 96px !important;
    max-height: 110px !important;
    width: auto !important;
    filter: none !important;
  }
}

#main-navbar img {
  filter: none !important;
}



