


/* =========================================
   Third Eye Surveillance — Global Styles
   (Full file; responsive + hamburger added)
   ========================================= */

/* General Body & Typography */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@400;700&display=swap');
* {
    box-sizing: border-box;
}
:root {
  --text-color-primary: #111111;   /* Main text (black) */
  --text-color-secondary: #444444; /* Sub text (dark gray) */
  --accent-color: #2563eb;
  --accent-hover: #ffffff;
  --card-bg-color: #ffffff;
  --border-color: #0d0f14;
  --hover-bg: #444649;
  
}
/* Base text */
body {
  color: var(--text-color-primary);
  background-color: #ffffff;
}


/* Headings */
h1, h2, h3, h5, h6 {
  color: var(--text-color-primary) !important;
  text-shadow: none !important; /* remove white glow */
}
h4{
  color: white;
}


/* Paragraphs */
p, span, li, label {
  color: var(--text-color-secondary) !important;
}

/* Links */
a {
  color: var(--accent-color);
}


body {
  /* Remove background-image, background-size, and backdrop-filter from here */
  background-color: #ffffff;
  background-attachment: fixed;
  height: 100%;
  min-height: 100vh;
  display: flex;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--text-color-primary);
  padding: 0;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative; /* Needed for the absolute positioning of the blur overlay */
}

/* === New Blurred Background Overlay === */
#background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place it behind all content */
  background-image: url('/static/images/abstract_wavy_lines_gradient_background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Apply a blur filter directly to this element */
  filter: blur(10px);
  -webkit-filter: blur(30px); /* For Safari support */
  transform: scale(1.02); /* Slight scale to hide blur edges */
}

h1,.logo-text {
  font-family: 'Orbitron', sans-serif;
}


@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {


  animation: gradientMove 15s ease infinite;
}

/* Initial state for fade-in */
body.fade-in { opacity: 0; transition: opacity 0.5s ease-in-out; }
body.fade-in.show { opacity: 1; }

/* Fade out on navigation */
body.fade-out { opacity: 1; transition: opacity 0.5s ease-in-out; }
body.fade-out.hide { opacity: 0; }

#page-content-container {
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.8s ease-in-out;
}


/* =========================================
   Header & Navigation — Clean & Responsive
========================================= */

header {
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  z-index: 10;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.053);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  border-radius: 0 0 12px 12px;
}
/* =========================================
   Logo Text with Blue Glow Animation
========================================= */

.logo-text {
  margin-left: 1rem;
  color: #fff;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  transition: all 0.3s ease;
  position: relative; /* Essential for positioning the glow effect */
  z-index: 1; /* Ensures the text is above the glow */
}

/* Create the glowing pseudo-element behind the text */
.logo-text::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;

  border-radius: 12px;
  opacity: 0; /* Starts hidden */
  transition: opacity 0.3s ease;
  z-index: -1; /* Puts the glow behind the text */
}




.logo-text:hover {
  color: #fff; 
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.245);
}


@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.296), 0 0 10px rgba(0, 191, 255, 0.299);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.538), 0 0 40px rgba(0, 191, 255, 0.438);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.285), 0 0 10px rgba(0, 191, 255, 0.324);
    transform: scale(1);
  }
}

nav {
  flex-grow: 1;
  text-align: right;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: right;
  gap: 15px;
  flex-wrap: wrap;
}

nav ul li a {
  color: var(--text-color-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

nav ul li a:hover,
nav ul li a:focus {
  transform: translateY(-2px);
  color: rgb(0, 0, 0);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Styles for the full-width container at the very top of the page */
.top-offer-banner {
  background: #111; /* A solid background to make the link stand out */
  text-align: center; /* Center the link horizontally */
  padding: 10px 0; /* Add some vertical space */
  width: 100%;
  position: relative; /* Essential if you use it for a fixed header */
  z-index: 1000; /* Ensure it's on top of all other content */
}

/* Styles for the "CCTV Offer Packages!" link itself */
.top-offer-banner a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #FFD933 0%, #FF6B3D 100%);
  color: #111;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 107, 61, 0.7);
  animation: glowPulse 2s infinite ease-in-out;
  text-decoration: none; /* Add this to remove the underline */
}
/* Styles for the phone number container */
.top-offer-banner .phone-number {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  /* Add some padding for better clickability/visual separation */
  padding: 5px 10px;
  border-radius: 5px; /* Slightly rounded corners */
}

/* Styles for the phone number link */
.top-offer-banner .phone-number a {
  color: #FFD933; /* Vibrant yellow for text and icon */
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for the phone number */
.top-offer-banner .phone-number a:hover {
  color: #FF6B3D; /* Change color on hover for interactivity */
}

/* Styles for the icon */
.top-offer-banner .phone-number svg {
  margin-right: 8px; /* Slightly more space for better readability */
  fill: #FFD933; /* Fill color for the SVG icon */
  stroke: #FFD933; /* Stroke color for the SVG icon outline */
  transition: fill 0.3s ease, stroke 0.3s ease; /* Smooth transition for hover */
}

/* Hover effect for the icon */
.top-offer-banner .phone-number a:hover svg {
  fill: #FF6B3D;
  stroke: #FF6B3D;
}

/* Optional: Hide text on smaller screens */
@media (max-width: 768px) {
  .top-offer-banner .phone-number .d-none.d-md-inline {
    display: none !important;
  }
  /* Center the icon if text is hidden on small screens */
  .top-offer-banner .phone-number {
    right: 10px; /* Adjust position for smaller screens */
    padding: 0; /* Remove padding if only icon is shown */
  }
}

/* The existing animation code can stay as is */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 217, 51, 0.5), 0 0 10px rgba(255, 107, 61, 0.5);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 217, 51, 0.8), 0 0 20px rgba(255, 107, 61, 0.8);
  }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 61, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 25px rgba(255, 107, 61, 0.8); transform: scale(1.02); }
}

.search-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin-right: 0.3rem;
}

.search-input {
  padding: 10px 15px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-color-primary);
  font-size: 1.2em;
  transition: width 0.3s ease, opacity 0.3s ease;
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.search-input::placeholder {
  color: var(--text-color-secondary);
}

.search-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 8px rgba(139, 171, 205, 0.5);
}

.search-container.active .search-input {
  width: 250px;
  opacity: 1;
  pointer-events: auto;
  margin-right: 10px;
}

.search-button {
  padding: 10px 15px;
  border-radius: 50%;
  border: none;
  background-color: var(--text-color-primary);
  color: white;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
}

.search-button:hover {
  background-color: #18191b;
  transform: scale(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 15;
  position: absolute;
  right: 20px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color-primary);
  transition: all 0.3s ease;
}

.hamburger.active .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active .line2 { opacity: 0; }
.hamburger.active .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* =========================================
   Dropdown Menu (Desktop)
========================================= */
@media (min-width: 769px) {
  .has-dropdown { position: relative; }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    min-width: 340px;
    border: none;
    padding: 15px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
    display: flex;
    flex-direction: column;
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* =========================================
   Responsive Breakpoints
========================================= */

/* Tablets / iPads */
@media (max-width: 1024px) {
  .navbar-wrapper { padding: 12px 30px; }
  .logo-link img { height: 65px; }
  .logo-text { font-size: 1.8rem; }
  nav ul li a { font-size: 1rem; padding: 8px 15px; }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .navbar-wrapper { flex-direction: column; align-items: flex-start; }
  nav { width: 100%; display: none; flex-direction: column; margin-top: 10px; gap: 10px; }
  nav.active { display: flex; }
  nav ul { flex-direction: column; width: 100%; gap: 10px; }
  nav ul li a { width: 100%; text-align: left; font-size: 1rem; padding: 10px 20px; }
  .hamburger { display: flex; cursor: pointer; margin-top: 10px; }
}

/* Mobile phones */
@media (max-width: 600px) {
  .logo-link img { height: 50px; }
  .logo-text { font-size: 1.5rem; }
  nav ul li a { font-size: 0.95rem; padding: 8px 15px; }
}



.dropdown-menu li {
  width: 83%;
  display: block;
  margin-bottom: 5px;
  transition: width 0.3s ease;
  
}

.dropdown-menu li:hover {
   width: 100%;
   
 }

.dropdown-menu li a {
  display: block;
  border-radius: 100px;
  padding: 12px 20px;
  text-align: center;
  width: 100%;
  color: rgba(10, 10, 12, 0.781);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: #fff8f8bb
}

/* Cool Hover Effect */
.dropdown-menu li a::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(73, 94, 109, 0.211);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
  border-radius: 100px;
  z-index: -1;
}

.dropdown-menu li a:hover::before { transform: scaleX(1); }

.dropdown-menu li a:hover {
  color: #000000;
  transform: translateX(9px);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fc;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  background-color: transparent;
  box-shadow: none;
  margin-top: 3.5rem;
  box-shadow:  20px rgba(0, 0, 0, 0.4);
}

.hero-image-top {
  width: 100%;
  height: 600px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out forwards;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 40vh;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  display: flex;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  height: 100%;
}

/* The key fix: set the slides to relative position */
.slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative; /* This is the critical change */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(73, 69, 69, 0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dots button.active {
  background: #2563eb;
  transform: scale(1.2);
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 768px) {
  .hero-slider {
    width: 95%;
    height: 25vh;
  }
}

/* Hero Content Wrapper */
.hero-content {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  animation: fadeInDown 1s ease-out forwards;
}

/* Page Title (Main Heading) */
.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1e3a8a;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  text-align: center;
}

/* Page Subtitle (Sub-heading) */
.page-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #4b5563;
  margin: 0;
  text-align: center;
}

/* Primary CTA Button */
.cta-button {
  background-color: #2563eb;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  display: inline-block;
}

/* Hover State */
.cta-button:hover {
  background-color: #1e40af;
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.45);
  color: #fff;
}

/* Active (click/press) State */
.cta-button:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

/* CTA overlay styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide:hover .overlay {
    opacity: 1; /* Make overlay visible on hover */
}


/* Service Cards List */
.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

/* Individual Service Card */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  background: rgba(255, 255, 255, 0.08); /* translucent glass */
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);

  padding: 2rem;
  border-radius: 20px;
  width: 240px;
  height: 200px;

  color: #fff;
  text-decoration: none;
  
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hover State */
.service-card:hover,
.service-card:focus {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(96, 165, 250, 0.6); /* subtle blue accent */
}

/* Icon Styling */
.icon-container .material-icons,
.icon-container .fas {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #60a5fa; /* soft blue accent */
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .icon-container .material-icons,
.service-card:hover .icon-container .fas {
  transform: scale(1.15);
  color: #93c5fd;
}

/* Text inside the cards */
.card-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #e5e7eb;
}


/* Small Callout Card */
.small-callout-card {
  background-color: #2b1e81; /* A different, distinct color */
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
  margin-top: 20px; /* Space from the service cards above */
  display: block;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.small-callout-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Keyframe Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* =========================================
   Modern & Professional Main Content Styles
   ========================================= */

   main {
    flex: 1;
    padding: 64px 48px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Wrapper for content below header */
  .main-content {
    padding: 0;
    margin-top: 96px;
  }
  
  /* Info sections */
  .info-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    max-width: 2000px;
    margin-bottom: 96px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    );
    border-radius: 20px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  
  
  .info-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  }
  
  /* Reverse layout for variety */
  .info-section:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  /* Text & Image */
  .section-text {
    flex: 1;
  }
  
  .section-image {
    flex: 1;
    text-align: center;
  }
  
  .image-content {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.35s ease;
  }
  
  .image-content:hover {
    transform: scale(1.025);
  }
  
  /* Typography */
  .section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
  }
  
  .section-paragraph {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #d1d5db;
    margin-bottom: 20px;
    max-width: 650px;
  }

  
  
  /* Feature list */
  .feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 24px;
  }
  
  .feature-item {
    font-size: 1.125rem;
    color: #f3f4f6;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .feature-item strong {
    color: #60a5fa;
  }
  
  /* Link / Button */
  .link-style {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  }
  
  .link-style:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb); /* lighter gradient */
    color: #fff; /* keep text white for contrast */
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .info-section {
      flex-direction: column !important;
      gap: 32px;
      padding: 28px;
    }
  
    .section-image {
      order: -1;
      margin-bottom: 20px;
    }
  
    .section-heading {
      font-size: 2rem;
      text-align: center;
    }
  
    .section-paragraph {
      text-align: center;
      font-size: 1rem;
    }
  
    .section-text {
      text-align: center;
    }
  
    .feature-list {
      text-align: left;
      margin: 0 auto;
      max-width: 300px;
    }
  
    .link-style {
      display: block;
      width: 100%;
      margin-bottom: 16px;
      text-align: center;
    }
  }
  

.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 5px; }
.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.flex-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px; /* space between inputs */
}

.flex-row .form-group {
  display: flex;
  flex-direction: column; /* label on top of input */
}

p {
  font-size: 1.1rem;
  color: var(--text-color-secondary);
  max-width: 800px;
  margin: 20px auto;
}

/* Headings & Links */
h1, h2, h3 {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

a { color: #9da9a9; text-decoration: none; transition: text-decoration 0.25s ease; }
p { color: #ffffff; }
a:hover, a:focus { text-decoration: underline; }

/* Footer */
footer {
  text-align: center;
  padding: 20px 15px;
  background: transparent;
  color: #5c7878;
  font-size: 0.9rem;
  box-shadow: none;
}

/* Forms */
.installation-form, .query-form, .register-form {
  max-width: 100%;
  width: 90vw;
  padding: 40px;
  margin: 30px auto;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(208, 234, 234, 0.622) 0%, rgba(60, 132, 214, 0.479) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.register-form {
  background: linear-gradient(135deg, rgba(16, 38, 53, 0.422) 0%, rgba(28, 49, 73, 0.479) 100%);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}



.form-group { margin-bottom: 20px; position: relative; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
  color: #ffffff;
  font-size: 1.5rem;
}

.form-group-checkbox label {
  margin-bottom: 8px;
  font-weight: 900;
  color: #ffffff;
  font-size: 1.3rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  background: rgba(70, 65, 138, 0.114);
  border: none;
  border-bottom: 1.5px solid #000000;
  padding: 16px 20px;
  font-size: 4.1rem;
  border-radius: 8px;
  color: #000000bb;
  font-size: 1.2rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #a06c72;
  outline: none;
}



.contact-form-container { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }

.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.address-row, .datetime-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.city-postal-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 5px; }
.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(206, 145, 145);
  border-radius: 8px;
  box-sizing: border-box;
}

.radio-group-container { display:flex; gap: 50px; }
.radio-group-container > div { display: flex; align-items: center; white-space: nowrap; }
.radio-group-container label {
  cursor: pointer;
  color: #cf9e8e;
  font-weight: 600;
  user-select: none;
  margin: 0px;
}

@media (max-width: 768px) {
  .contact-row, .address-row, .datetime-row, .city-postal-group {
    grid-template-columns: 1fr;
  }
}

.form-group input[type="radio"] + label,
.form-group input[type="checkbox"] + label {
  cursor: pointer;
  color: #e0e6e6;
  font-weight: 400;
  user-select: none;
  margin-left: 5px;
}

/* Tooltip Styles */
.info-icon-container {
  display: inline-block;
  position: relative;
  cursor: help;
  margin-left: 8px;
  transform: translateY(2px);
}

.info-icon { fill: #FFFFFF; width: 24px; height: 24px; }

.info-icon-container .tooltiptext {
  visibility: hidden;
  width: 250px;
  backdrop-filter: blur(8px);
  color: var(--text-color-primary);
  text-align: left;
  border-radius: 8px;
  padding: 15px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(165, 98, 98, 0.25);
  font-size: 0.9rem;
  line-height: 1.4;
  background-color: rgb(255, 255, 255);
}

.info-icon-container .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--form-bg-alpha) transparent transparent transparent;
}

.info-icon-container:hover .tooltiptext { 
  visibility: visible;
  opacity: 1;
}

.service-sections-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.service-form-section {
  flex: 1 1 45%;
  min-width: 300px;
  padding: 25px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

/* @property is supported in modern browsers */
@property --deg {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

.submit-btn {
  padding: 10px;
  display: grid;
  place-items: center;
  width: 540px;
  margin-left: 850px;
  height: 50px;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  position: relative;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #000000;
  box-shadow: none;
  transition: color 0.3s ease, transform 0.3s ease;
}



.submit-btn::before {
  background: conic-gradient(
    from var(--deg) at center,
    #308f96,
    #1f4d69,
    #216d7d,
    #4a7f95
  );
}

.submit-btn::after {
  background: conic-gradient(
    from var(--deg) at center,
    #2b405d,
    #1b2950,
    #041537,
    #2f3144
  );
  filter: blur(15px);
  opacity: 0.7;
}

.submit-btn:hover, .submit-btn:focus {
  color: #1f4493;
  transform: translateY(-3px);
  box-shadow:
    0 0 15px rgba(82, 191, 224, 0.6),
    0 0 30px rgba(84, 108, 206, 0.5),
    0 0 45px rgba(34, 59, 156, 0.4),
    0 5px 15px rgba(74, 83, 202, 0.3);
  --deg: 0deg;
}



.submit-btn span { position: relative; z-index: 1; }

/* New active state for "press" effect */
.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes borderGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.submit-btn span { position: relative; z-index: 1; }

.address-selection-options { color: white; }

/* Info Sections */
.info-section {
  padding: 20px 25px;
  margin-bottom: 25px;
}
.info-section h2 {
  border-bottom: 2px solid #005f63;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

#price_display_container {
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}
#price_display_container h2 { color: #d2e1e1; margin-bottom: 10px; }
#price_display_container p#estimated_price {
  font-size: 2.5em;
  font-weight: bold;
  color: #32CD32;
}


/* Flash Messages */
.flashes {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.922);
}

.flashes li {
  padding: 15px 30px;
  margin: 10px auto;
  position: relative;
  border-radius: 12px;
  font-weight: 700;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.5s ease-in-out;
}

.flashes li.fade-out { opacity: 0; transform: translateY(-20px); }

.flashes li.success {
  background-color: rgba(255, 255, 255, 0.922);
  color: var(--text-color-primary);
  border: 1px solid rgba(0, 123, 255, 0.6);
}

.flashes li.error {
  background-color: rgba(255, 255, 255, 0.922);
  color: var(--text-color-primary);
  border: 1px solid rgba(201, 59, 59, 0.6);
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 18px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.close-btn:hover { color: #fff; transform: scale(1.2); }

/* Password Toggle Icon */
.toggle-password {
  position: absolute;
  right: 14px;
  top: 38px;
  cursor: pointer;
  color: #de2a2a;
  font-size: 1.8rem;
  transform: scaleX(-1);
  transition: transform 0.3s ease;
  user-select: none;
}

.icon { vertical-align: middle; fill: #c93d3d; width: 18px; height: 18px; }
.btn-icon { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

.reflection {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  top: 6px;
  left: 10px;
  filter: blur(1px);
  pointer-events: none;
  z-index: 3;
}

section h3 { color: #2c3131; }

/* CSS for a simple fade transition */
.barba-container { transition: opacity 0.5s ease; }
.barba-enter { opacity: 0; }
.barba-leave-active { opacity: 0; }

canvas { display: block; }
#info {
  position: fixed; top: 10px; left: 10px; color: #aaf;
  font-family: monospace; font-size: 14px;
  user-select: none;
}

p { font-size: 1.3rem; }

.image-display { margin-top: 20px; text-align: center; }

.model-image-container {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#model-image {
  max-width: 100%;
  max-height: 200px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: opacity 0.5s ease-in-out;
}

.info-section h3 { color: #3d3f3f; margin-top: 25px; margin-bottom: 10px; }
.info-section p { color: #c0c9c9; margin-bottom: 10px; }
.info-section h2 { color: #3d3f3f; }

/* New animated text glow for the hero h1 */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.4), 0 0 10px rgba(0, 123, 255, 0.4), 0 0 15px rgba(0, 123, 255, 0.4);
  }
  100% {
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.8), 0 0 20px rgba(0, 123, 255, 0.8), 0 0 30px rgba(0, 123, 255, 0.8);
  }
}

/* New class for a glowing card effect */
.glowing-card { transition: box-shadow 0.5s ease-in-out; }
.glowing-card:hover {
  box-shadow:
    0 0 15px rgba(74, 144, 226, 0.8),
    inset 0 0 8px rgba(74, 144, 226, 0.6);
}

#cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  max-width: 95%;
  width: fit-content;
  text-align: center;
  z-index: 1000;
  animation: slideUp 0.5s ease-out forwards;
}

#cookie-consent h4 {
  margin: 0 0 16px 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #bdc3c7;
}

#cookie-consent button {
  background-color: #3498db;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#cookie-consent button:hover {
  background-color: #2980b9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.button-container {
  display: flex;
  gap: 12px;
}

.decline-button {
  background-color: transparent !important;
  border: 1px solid #7f8c8d;
  color: #ecf0f1 !important;
}

.decline-button:hover {
  background-color: rgba(127, 140, 141, 0.2) !important;
  border-color: #bdc3c7;
}

@keyframes slideUp {
  from {
      opacity: 0;
      transform: translate(-50%, 30px);
  }
  to {
      opacity: 1;
      transform: translate(-50%, 0);
  }
}



/* Base animation state */
.animated-image, .animated-text {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Image starts off-screen to the left */
.animated-image { transform: translateX(-50px); }
/* Text starts off-screen to the right */
.animated-text { transform: translateX(50px); }

/* Visible state - slide into place */
.animated-image.visible, .animated-text.visible {
  opacity: 1; transform: translateX(0);
}

/* Delay text slightly so it follows the image */
.animated-text.visible { transition-delay: 0.3s; }

.section-image img { width: 55%; }

section h3 {
  color: white;
  font-size: 1.8rem;
}

/* Footer styling */
.main-footer {
  background-color: #121A2A;
  color: #fff;
  padding: 40px 0 20px;
  border-top: 1px solid #333;
  width: 100%;
}

.footer-content-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.footer-section { flex: 1; min-width: 250px; margin: 20px; }

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-section p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: #007bff; }

.social-media { margin-top: 20px; }
.social-media a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}
.social-media a:hover { color: #007bff; }

.newsletter-form { display: flex; margin-top: 15px; }

.newsletter-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #555;
  background-color: #333;
  color: #fff;
  border-radius: 5px 0 0 5px;
  font-size: 0.9rem;
}

.subscribe-btn {
  padding: 10px 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}
.subscribe-btn:hover { background-color: #0056b3; }

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #888;
}

#page-content-container { flex: 1; }

/* Hero Section for Shop Page */
.hero-shop-section { text-align: center; padding: 60px 20px; }
.hero-shop-title { font-size: 3rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.hero-shop-subtitle { font-size: 1.2rem; color: #ccc; max-width: 700px; margin: 0 auto; }

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  /* Using a light, professional gray that doesn't compete with the CTA */
  background-color: #e6f0ff;
  /* Keeping the blur effect as it adds a nice modern touch */
  backdrop-filter: blur(5px);
  /* A subtle border to match the clean design */
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  /* Use a dark, professional color for text for high readability */
  color: #333;
  padding: 30px;


}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: #007bff;
}

/* Special style for clearance packages CTA card */
.category-card.clearance {
  background: linear-gradient(135deg, #FFD700, #FF4500); /* yellow to red gradient */
  color: #fff; /* white text for contrast */
  border: 2px solid #FF8C00; /* darker orange border */
}

.category-card.clearance:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 69, 0, 0.5);
  border-color: #FF6347;
}



.category-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  text-align: center;
}





.card-icon { font-size: 3.5rem; color: #007bff; margin-bottom: 15px; }
.card-title { font-size: 2rem; font-weight: 600; margin-bottom: 10px; }
.card-description { font-size: 0.9rem; color: #ccc; line-height: 1.5; }

/* Call to Action Section */
.cta-shop-section { text-align: center; padding: 50px 20px; }
.cta-shop-text { font-size: 1.2rem; color: #fff; margin-bottom: 20px; }
.cta-shop-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.cta-shop-button:hover { background-color: #0056b3; }

/* Sub-Category Grid adjustments */
.sub-categories-grid {
     max-width: 1800px; 
     margin: 40px auto;
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
     }
 

     /* Example CSS for the new section */
.product-specs {
  margin-top: 20px;
  padding: 15px;
  border-top: 1px solid #ddd;
}

.product-specs h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.product-specs p {
  margin: 5px 0;
}

.product-specs strong {
  color: #333;
}

.btn-wishlist {
  background-color: transparent;
  color: #c0c0c0; /* A soft, secondary text color */
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Space between the heart and the text */
  margin-top: 0.4rem;
}

.btn-wishlist:hover {
  background-color: #ff0000a4; /* A prominent hover color */
  color: #ffffff;
  border-color: #ffffff;
}
/* Back Button Styling */
.back-button-container { text-align: center; margin-top: 40px; }
.back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 0.8rem;
}
.back-link:hover { background-color: rgb(158, 66, 66); }

/* Delivery Page Styles */
.delivery-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
}

.delivery-header {
  text-align: center;
  margin-bottom: 60px;
}

.delivery-title {
  font-size: 4.5rem;
  color: #333;
  margin-bottom: 15px;
}

.delivery-subtitle {
  font-size: 1.6rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

.delivery-sections {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 70px;
  align-items: flex-start;
}

.section-title {
  font-size: 2.8rem;
  color: #007bff;
  margin-bottom: 30px;
}

/* Delivery Info Section */
.delivery-info-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.delivery-info-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

.delivery-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  margin-bottom: 25px;
  background-color: rgba(43, 30, 129, 0.299);
  border-radius: 10px;
}

.delivery-info-icon {
  font-size: 3.5rem;
  color: #007bff;
  margin-right: 30px;
}

.delivery-info-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.delivery-info-card p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .delivery-sections {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .delivery-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .delivery-container {
    padding: 0 20px;
  }

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

  .delivery-subtitle {
    font-size: 1.4rem;
    padding: 0 10px;
  }

  .delivery-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .delivery-info-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .delivery-info-card h3 {
    font-size: 1.4rem;
  }

  .delivery-info-card p {
    font-size: 1rem;
  }
}

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

  .section-title {
    font-size: 2rem;
  }

  .delivery-info-section {
    padding: 20px;
  }

  .delivery-info-card {
    padding: 20px;
  }
}


.contact-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  transition: color 0.3s ease;
}
.contact-link:hover { color: #0056b3; }

/* Tracking Section */
.tracking-section {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #fff;
  border: none;
}

.tracking-section .section-title,
.tracking-section p,
.tracking-form label { color: #fff; }

.tracking-form { display: flex; flex-direction: column; gap: 25px; }
.tracking-form .form-group { text-align: left; }

.tracking-form label { display: block; margin-bottom: 10px; font-size: 1.2rem; }

.tracking-form input {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  font-size: 1.3rem;
  box-sizing: border-box;
}

.track-button {
  width: 100%;
  padding: 18px;
  border: none;
  background-color: #fff;
  color: #007bff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.track-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tracking-result-box { margin-top: 25px; text-align: center; }
.tracking-tip { font-style: italic; color: #eee; font-size: 1.1rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .delivery-sections { grid-template-columns: 1fr; }
}

.mt-4 a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background-color: #ef4444; /* red */
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mt-4 a:hover {
  background-color: #dc2626; /* darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Dashboard */
.dashboard-container { max-width: 1024px; margin: 0 auto; padding: 1rem; font-family: 'Inter', sans-serif; }
.dashboard-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }
.dashboard-welcome { text-align: center; font-size: 1.125rem; margin-bottom: 2rem; }

.dashboard-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}
.dashboard-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

.card-header { font-size: 1.5rem; font-weight: 600; color: #1f2937; margin-bottom: 1rem; }

.card-item {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}
.card-item:hover { background-color: #f3f4f6; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.card-details { display: flex; flex-direction: column; gap: 0.5rem; }
.card-details-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.card-label { font-weight: 600; color: #374151; }
.card-value { font-weight: 500; color: #111827; }

.btn-view {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}
.btn-view:hover { background-color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }

@media (min-width: 768px) {
  .card-item { flex-direction: row; justify-content: space-between; align-items: center; }
  .card-details { flex-direction: row; gap: 2rem; }
  .btn-view { margin-top: 0; }
}

/* ===========================================================
   RESPONSIVE ENHANCEMENTS + HAMBURGER SLIDE-DOWN (ADDED)
   =========================================================== */

/* Breakpoints */
@media (max-width: 1200px) {
  nav { margin-left: 80px; }
  .hero-section { padding: 60px 60px; }
  .page-title { font-size: 3.4rem; }
}

@media (max-width: 992px) {
  nav { margin-left: 40px; }
  .page-title { font-size: 3rem; }
  .service-card { width: 320px; height: 200px; }
  .hero-image-container { max-width: 50%; }
  .footer-content-wrapper { padding: 0 16px; }
  .delivery-sections { gap: 40px; }
}

@media (max-width: 860px) {
  /* ease into mobile before 768 */
  .hero-wrapper { flex-direction: column; gap: 24px; }
  .hero-image-container { max-width: 70%; }
}

/* ====== Mobile/Tablet Navigation Panel (Slide Down) ====== */
@media (max-width: 768px) {
    .navbar-wrapper,
  .navbar-wrapper * {
    box-sizing: border-box;
  }
  .hero-section{
    margin-top: 0.5rem;
  }
  .main-content{
    margin-top: 48px;
  }
  .navbar-wrapper { padding: 0 16px; flex-wrap: wrap; }

  /* Show hamburger */
  .hamburger { display: flex; top: 50%; transform: translateY(-50%); }

  /* Make logo & search align nicely */
  .logo-container { margin-top: 0; }
  .logo-link img { height: 56px; }

  /* Turn nav into a collapsible panel */
  nav, #nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-left: 0;
    width: 100%;
    /* Slide-down animation using max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 14;
  }

  /* Active (opened) state toggled by JS */
  nav.active, #nav-menu.active { max-height: 85vh; }

  /* Vertical list */
  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 8px 12px 16px;
  }

  nav ul li { width: 100%; }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    border-radius: 12px;
    font-size: 1rem;
    background-color: rgba(93, 166, 176, 0.08);
    border: 1px solid transparent;
  }


/* Dropdowns inside the mobile panel */
.has-dropdown {
  position: static;
}

.dropdown-menu {
  /* The core of the transition effect */
  max-height: 0; /* Starts at 0 height to hide content */
  overflow: hidden; /* Hides content that exceeds max-height */
  opacity: 0; /* Also sets initial opacity to 0 */
  padding: 0; /* This is the key fix: Starts with no padding */
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding 0.5s ease-in-out; /* Add padding to the transition */
  background: transparent;
  visibility: hidden; /* Start hidden */
}

/* When the parent is active, expand the dropdown */
.has-dropdown.active .dropdown-menu {
  max-height: 500px; /* Expands to a large value, making the content visible */
  opacity: 1; /* Fades in */
  visibility: visible;
  padding: 6px 16px 12px 16px; /* Add the padding only when active */
}

/* Individual Dropdown Item Styling (no changes) */
.dropdown-menu li {
width: 100%;
margin-bottom: 6px;
}
.dropdown-menu li a {
text-align: left;
border-radius: 10px;
padding: 10px 20px;
background: rgba(255, 255, 255, 0.06);
color: rgb(0, 0, 0);
}

  /* Search moves under the menu */
  .search-container {
    order: 3;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    position: relative;
    z-index: 15; /* above panel edge */
  }

  /* Space for the slide panel so content below doesn't jump */
  header { padding-bottom: 0.5rem; }
}

/* ====== Small Phones ====== */
@media (max-width: 600px) {
  main { padding: 24px; }
  .page-title { font-size: 2.4rem; white-space: normal; text-align: center; }
  .page-subtitle { font-size: 1.2rem; }
  .hero-section { margin-top: 0px; padding: 40px 18px; }
  .service-list { flex-direction: column; align-items: center; }
  .service-card { width: 100%; max-width: 520px; height: auto; padding: 20px; }
  .card-text { font-size: 1.4rem; }
  .hero-image-container { max-width: 90%; }

  /* Grids -> single column */
  .flex-row, .flex-row .flex-row-half { grid-template-columns: 1fr; }
  .contact-row, .address-row, .datetime-row, .city-postal-group { grid-template-columns: 1fr; }

  /* Wide button adjustments */
  .submit-btn {
    width: 100%;
    margin-left: 0;
    height: 56px;
    font-size: 1.2rem;
  }
@media (max-width: 768px) {
  .radio-group-container {
    flex-direction: column; /* stack radio items vertically */
    gap: 10px;              /* space between items */
    width: 20%;            /* fit screen width */
  }

  .radio-group-container > div {
    display: flex;
    align-items: center;    /* keep radio and label aligned */
    gap: 4px;               /* smaller space between radio and label */
    flex-wrap: nowrap;      /* keep label on same line */
  }

  .radio-group-container label {
    white-space: normal;       /* allow label text to wrap naturally */
    overflow-wrap: normal;     /* prevent breaking letters individually */
    word-break: normal;
    margin: 0;
  }
}

  
  
  
  


  .section-image img { width: 100%; }

  .footer-section { margin: 12px 0; min-width: 100%; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 6px; }
  .subscribe-btn { border-radius: 6px; margin-top: 8px; width: 100%; }

  /* Delivery */
  .delivery-container { margin: 40px auto; padding: 0 16px; }
  .delivery-title { font-size: 2.2rem; color: #fff; }
  .delivery-subtitle { font-size: 1.1rem; color: #ddd; }
  .section-title { font-size: 1.6rem; }
  .delivery-info-section { padding: 20px; }
  .delivery-info-card { padding: 16px; gap: 12px; }

  /* Dashboard */
  .dashboard-title { font-size: 2rem; }
}

/* ====== Very Small Phones ====== */
@media (max-width: 400px) {
  .logo-link img { height: 48px; }
  nav ul li a { padding: 12px 12px; font-size: 0.95rem; }
  .search-input { font-size: 1rem; }
  .hero-section { padding: 28px 12px; }
  .page-title { font-size: 2rem; }
}

/* ====== Tablet Landscape Fixes ====== */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-wrapper { gap: 20px; }
  .hero-image-container { max-width: 48%; }
  .service-card { width: 360px; height: 200px; }
  .newsletter-form { max-width: 520px; }
}

/* ====== Prefer-Reduced-Motion ====== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* === Floating Chat Styles === */
#chat-bubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #007BFF;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#chat-bubble:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

#chat-container {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 380px;
  max-width: 95%;
  height: 500px;
  background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  transition: all 0.4s ease-in-out;
}

#chat-header {
  background: rgba(0, 123, 255, 0.9); /* Semi-transparent primary color */
  color: white;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#chat-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#chat-header button:hover {
  transform: rotate(90deg);
}

#messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: transparent;
}

#messages p {
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 20px;
  max-width: 75%;
  word-wrap: break-word;
  line-height: 1.4;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

#messages p:hover {
  transform: translateY(-2px);
}

#messages p.customer {
  background: #eef1f5; /* Lighter background for customer messages */
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

#messages p.agent {
  background: #007BFF;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

#chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.85);
  gap: 10px;
}

#new-message {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 24px;
  font-size: 14px;
  transition: border-color 0.2s;
}

#new-message:focus {
  outline: none;
  border-color: #007BFF;
}

#send-button {
  background: #007BFF;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#send-button:hover {
  background: #0056b3;
  transform: scale(1.02);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #chat-container {
      width: 100%;
      height: 100%;
      bottom: 0;
      right: 0;
      border-radius: 0;
  }
  #chat-bubble {
      bottom: 15px;
      right: 15px;
  }
}