/* ===================================
   Global Reset & Typography
   =================================== */
   @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

   :root {
     --primary: #00bcd4;    /* Turquoise */
     --secondary: #fceabb;  /* Sand, luminous beige */
     --dark: #0a3d62;       /* Deep ocean blue */
     --light: #f7f9fb;      /* Off-white */
     --transition: 0.3s ease;
   }
   
   * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   
   /* General Page Styling */
   body {
     font-family: 'Montserrat', sans-serif;
     background-color: var(--light);
     color: #333;
     overflow-x: hidden;
   }

   /* Centering text inside the parallax section */
  .parallax-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;  /* Centers content */
  }
   
   /* ===================================
      Navbar Styles
      =================================== */
   .navbar {
     background-color: white;
     padding: 0.5rem 2rem;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     transition: background-color var(--transition);
   }
   
   .navbar a.nav-link {
     color: var(--dark);
     position: relative;
     padding: 0.5rem;
     transition: color var(--transition);
   }
   
   .navbar a.nav-link:hover {
     color: var(--primary);
   }
   
   .logo {
     max-height: 70px;
     width: auto;
     display: block;
   }
   
   /* ===================================
      Hero Section (Header with Video)
      =================================== */
   .hero {
     position: relative;
     height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
   }
   
   #bg-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
   }
   
   .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.4);
     z-index: 1;
     pointer-events: none;
   }
   
   .hero-content {
     position: relative;
     z-index: 2;
     text-align: center;
     color: #fff;
     animation: fadeInUp 1s forwards;
     margin-top: 30%;
   }
   
   .hero h1 {
     font-size: 4rem;
     margin-bottom: 1rem;
     text-shadow: 0 2px 4px rgba(0,0,0,0.3);
   }
   
   .hero p {
     font-size: 1.25rem;
     margin-bottom: 2rem;
     text-shadow: 0 1px 3px rgba(0,0,0,0.3);
   }
   
   /* ===================================
      Buttons
      =================================== */
   .btn-primary {
     background-color: var(--primary);
     border: none;
     padding: 0.75rem 2rem;
     font-size: 1.1rem;
     transition: transform var(--transition);
   }
   
   .btn-primary:hover {
     transform: translateY(-3px);
   }
   
   /* ===================================
      Carousel (Demos Section)
      =================================== */
   #demos {
     padding: 60px 0;
     background-color: var(--light);
   }
   
   .carousel-item {
     position: relative;
     text-align: center;
   }
   
   .carousel-item img {
     max-height: 1800px;
     object-fit: contain;
     width: 100%;
   }
   
   /* Demo Caption Box */
   .demo-caption {
     margin-bottom: 10px;
     color: #000;
     background-color: #fff;
     padding: 10px;
     border-radius: 4px;
   }
   
   .demo-caption h5 {
     margin: 0;
     font-size: 1.5rem;
   }
   
   .demo-caption p {
     margin: 0;
     font-size: 1rem;
   }
   
/* Styling the carousel arrows inside the title */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%; /* Align with title */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

/* Adjusting left and right arrow positions */
.carousel-control-prev {
  left: 5%;
}
.carousel-control-next {
  right: 5%;
}

/* Styling the icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* White icons */
  width: 20px;
  height: 20px;
}

/* Ensure the demo title section has proper spacing */
.demo-caption {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Add hover effect on buttons */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
   
/* 🛠 Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 28px; /* Smaller buttons on mobile */
    height: 28px;
    top: 45%; /* Slightly lower for better alignment */
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 12px;
    height: 12px;
  }

  .demo-caption {
    padding: 10px;
    margin-bottom: 10px;
  }
}
   
   /* ===================================
      Features Section
      =================================== */
   .feature-box {
     background: #fff;
     border-radius: 8px;
     padding: 2rem;
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
     transition: transform 0.3s ease;
     text-align: center;
   }
   
   .feature-box:hover {
     transform: translateY(-5px);
   }
   
   .feature-box i {
     font-size: 3rem;
     margin-bottom: 1rem;
     color: var(--primary);
   }
   
   /* ===================================
      Footer
      =================================== */
   footer {
     background-color: var(--dark);
     color: #fff;
     padding: 20px 0;
     text-align: center;
   }
   
   /* Social Media Icons in Footer */
   .footer-social a {
     color: var(--primary);
     font-size: 1.8rem;
     margin: 0 10px;
     display: inline-block;
     transition: color var(--transition);
   }
   
   .footer-social a:hover {
     color: var(--secondary);
   }
   
   /* ===================================
      Animations
      =================================== */
   @keyframes fadeInUp {
     from {
       opacity: 0;
       transform: translateY(20px);
     }
     to {
       opacity: 1;
       transform: translateY(0);
     }
   }
   
   @keyframes waveAnimation {
     0% { transform: translateX(0); }
     100% { transform: translateX(-50%); }
   }
   
   /* ===================================
      Responsive Styles
      =================================== */
   @media (max-width: 768px) {
     .hero h1 {
       font-size: 3rem;
     }
     .hero p {
       font-size: 1rem;
     }
   }