/* Base Styles */
:root {
  --primary-color: #0061c9;
  --secondary-color: #0062d1;
  --accent-color: #2e5bf0;
  --text-color: #333;
  --light-text: #fff;
  --background-color: #f9f9f9;
  --card-bg: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #030a16;
  background-image: url('./img/officai testl.png');
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-color);
  overflow-x: hidden;
  background-position: 0% 0%;
  animation: slideBackground 60s linear infinite;
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Scroll Fade Animation */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideBackground {
  0% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}

/* Section Header Styles */
#about h1,
#services h1,
.Product h1,
.products h1,
.contact h2[data-aos="fade-up"] {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

#about h1 {
  color: #1D0274;
}

#services h1 {
  color: #ffffff;
}

.Product h1 {
  color: #230685;
}

.products h1 {
  color: var(--light-text);
}

.contact h2[data-aos="fade-up"] {
  color: white;
}

#about h1::after,
#services h1::after,
.Product h1::after,
.products h1::after,
.contact h2[data-aos="fade-up"]::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 15px auto 0;
}

/* Page Transition */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 70px;
  /* Reverted to standard height */
  padding: 0 30px;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  color: var(--light-text);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
  height: 60px;
  /* Reverted to standard height */
}

.logo img {
  width: auto;
  height: 125px;
  /* Increased to 2.5x bigger (broken-out look) */
  /* Uniform height for navbar */
  max-width: 500px;
  /* Increased from 220px to maintain aspect ratio capability */
  object-fit: contain;
  /* Prevents stretching */
  transition: var(--transition);
  margin-top: 10px;
  /* Adjust to sit well if overflowing */
}

nav.scrolled .logo img {
  height: 100px;
  /* Remains large but slightly less prominent on scroll */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 2000;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: var(--transition);
}

/* Sidebar Close Button (Mobile Mode) */
.close-sidebar {
  display: none;
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 1.8rem;
  color: #ff4d4d;
  /* High-visibility Red */
  cursor: pointer;
  z-index: 2005;
  transition: all 0.3s ease;
}

.close-sidebar:hover {
  transform: scale(1.1);
  color: #ff0000;
}

@media (max-width: 768px) {
  .close-sidebar {
    display: block;
  }
}

/* Modal Close Hover Effect */
.modal-close:hover,
.modal-close-custom:hover,
#closeEnquiryBtn:hover,
#closeRequestBtn:hover {
  color: #ff4d4d !important;
  background: rgba(255, 77, 77, 0.1) !important;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: var(--light-text);
  text-decoration: none;
  padding: 10px 20px;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--light-text);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--light-text);
  transition: var(--transition);
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Mobile Sidebar Backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.icons i {
  color: var(--light-text);
  font-size: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.icons i:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* Home Section */
#home {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light-text);
  padding-top: 70px;
  position: relative;
}

.content h1 {
  font-size: 5rem;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  animation: zoomIn 1.5s ease-out forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Explore Deeper Button */
.btn1 {
  width: 180px;
  height: 65px;
  background: linear-gradient(135deg, rgba(0, 21, 76, 1) 0%, rgba(20, 49, 94, 1) 50%, rgba(0, 86, 179, 1) 100%);
  color: #fff;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn1:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.btn1 span {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-text-one {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #ffffff;
}

.btn-text-two {
  position: absolute;
  width: 100%;
  top: 150%;
  left: 0;
  transform: translateY(-50%);
  color: #8ab4f8;
}

.btn1:hover .btn-text-one {
  top: -100%;
}

.btn1:hover .btn-text-two {
  top: 50%;
}

/* Floating Images */
.images img {
  position: absolute;
  width: 350px;
  height: auto;
  transition: var(--transition);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.random-image:nth-child(1) {
  top: 10%;
  left: 10%;
  width: 150px;
}

.random-image:nth-child(2) {
  top: 10%;
  right: 15%;
  width: 140px;
}

.random-image:nth-child(3) {
  bottom: 6.5%;
  left: 2%;
  width: 230px;
}

.random-image:nth-child(4) {
  bottom: 1%;
  right: 5%;
  width: 200px;
}

.random-image:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 10px 20px rgba(0, 123, 255, 0.5));
}

/* About Section */
#about {
  padding: 100px 20px;
  background-color: rgba(255, 255, 255, 0.9);
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.dia1 {
  flex: 1;
  min-width: 300px;
  margin: 20px;
  position: relative;
}

.dia1 img:first-child {
  width: 100%;
  height: auto;
  max-width: 2000px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.dia1 .zoom-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: auto;
  transition: var(--transition);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.dia1:hover .zoom-image {
  transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}

.cont1 {
  flex: 1;
  min-width: 300px;
  margin: 20px;
  padding: 20px;
}

.cont1 h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.cont1 p {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.input-button-container {
  display: flex;
  gap: 10px;
  max-width: 500px;
}

.email-input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 30px;
  font-size: 1rem;
  transition: var(--transition);
}

.email-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px rgba(0, 86, 179, 0.2);
}

.subscribe-button {
  padding: 12px 25px;
  background: linear-gradient(135deg, rgba(0, 21, 76, 1) 0%, rgba(20, 49, 94, 1) 50%, rgba(0, 86, 179, 1) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

.subscribe-button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

#errorMessage {
  margin-top: 10px;
  font-size: 0.9rem;
  color: red;
  display: none;
}

.fill-form {
  display: flex;
  /* Changed from inline-flex to flex for easier centering */
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 260px;
  /* Slightly wider for the longer text */
  margin: 50px auto;
  /* Centered with margin auto */
  padding: 15px 35px;
  background: linear-gradient(135deg, rgba(0, 21, 76, 1) 0%, rgba(20, 49, 94, 1) 50%, rgba(0, 86, 179, 1) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.2);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.fill-form:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 87, 179, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

/* Products Section */
.Product {
  background-color: #ffffffcb;
}

/* Services Section */
#services {
  padding: 60px 20px 40px;
  background-color: #1a1a1a00;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.205);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(53, 52, 52, 0.096);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(230, 234, 255, 0.15);
  background: rgba(26, 25, 25, 0.315);
}

.service-card:hover::before {
  height: 6px;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(250, 250, 250, 0.808);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--light-text);
}

.service-card p {
  color: rgba(255, 255, 255, 0.897);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Products Section */
.products {
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #0a1a30 0%, #14315e 100%);
}

.products h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.products h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.slider-track {
  display: flex;
  gap: 25px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  padding: 20px 0;
}

.product-card {
  background-color: #14315e;
  min-width: 280px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 86, 179, 0.9), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 50%;
}

.product-btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 85%;
  max-width: 190px;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.product-card:hover img {
  transform: scale(1.1);
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

.product-btn:hover {
  background: linear-gradient(135deg, rgba(0, 21, 76, 1) 0%, rgba(20, 49, 94, 1) 50%, rgba(0, 86, 179, 1) 100%);
  color: white;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
}

.slider-arrow:hover {
  background: var(--primary-color);
  transform: scale(1.15);
  opacity: 1;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

.observe-btn {
  background: linear-gradient(135deg, rgba(0, 21, 76, 1) 0%, rgba(20, 49, 94, 1) 50%, rgba(0, 86, 179, 1) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 45px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.1rem;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
}

.observe-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.observe-btn:active {
  transform: translateY(1px) scale(0.98);
}

.observe-btn::after {
  content: '👓';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.observe-btn:hover::after {
  transform: translateY(-50%) rotate(15deg) scale(1.3);
  right: 15px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .product-card {
    min-width: 220px;
    height: 300px;
  }

  .slider-container {
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(3, 10, 22, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 80px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a::after {
    display: none;
    /* No underlines on mobile links */
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.4rem;
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

  .logo img {
    width: 180px;
  }

  .product-card {
    min-width: 180px;
    height: 250px;
  }

  .slider-container {
    padding: 0 40px;
  }

  .product-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products h1 {
    font-size: 2rem;
  }

  .product-card {
    min-width: 160px;
    height: 220px;
  }

  .slider-container {
    padding: 0 30px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .observe-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Observe mode styles */
.products.observe-mode .slider-track {
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  transform: none !important;
  transition: none;
  max-height: 0;
  overflow: hidden;
  animation: dropDown 1s ease-out forwards;
}

.products.observe-mode .product-card {
  transform: translateY(-50px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: calc(var(--order) * 0.1s);
  margin: 10px;
  flex: 1 1 calc(33.333% - 40px);
  min-width: 0;
  max-width: 300px;
}

/* Subscription Notification Popup */
.subscription-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  border-left: 5px solid var(--primary-color);
  max-width: 400px;
}

.subscription-notification.hidden {
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
}

.subscription-notification.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.subscription-notification.warning {
  border-left-color: #f59e0b;
  /* Amber */
}

.subscription-notification.warning .notification-icon {
  color: #f59e0b;
}

.subscription-notification.error {
  border-left-color: #ef4444;
  /* Red */
}

.subscription-notification.error .notification-icon {
  color: #ef4444;
}

.subscription-notification-content {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.notification-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

#subNotificationText {
  flex-grow: 1;
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1rem;
  padding: 5px;
  transition: color 0.3s;
}

.notification-close:hover {
  color: #333;
}

.products.observe-mode .slider-controls,
.products.observe-mode .slider-dots {
  display: none;
}

.products.observe-mode .observe-btn {
  animation: pulse 2s infinite;
}

@keyframes dropDown {
  to {
    max-height: 2000px;
  }
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
  }
}

/* ═══════════════════════════════════════
   PREMIUM CONTACT SECTION
═══════════════════════════════════════ */
.contact-premium {
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  max-width: 700px;
}

.contact-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.contact-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Glassmorphism Cards */
.contact-info-card, .contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 45px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Info Sidebar Styles */
.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 25px;
}

.info-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #00d4ff 0%, #0086b3 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.info-text p, .info-text a {
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.info-text a:hover {
  color: #00d4ff;
}

/* Form Styles */
.premium-webform {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.premium-webform .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.premium-webform .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium-webform label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.5px;
  padding-left: 5px;
}

.premium-webform input, 
.premium-webform textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.premium-webform input:focus, 
.premium-webform textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.premium-webform textarea {
  resize: none;
  min-height: 150px;
}

.premium-submit-btn {
  background: linear-gradient(90deg, #004e92 0%, #000428 100%);
  border: none;
  border-radius: 50px;
  padding: 18px 30px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.premium-submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 78, 146, 0.4);
  background: linear-gradient(90deg, #005bb5 0%, #00084d 100%);
}

.premium-submit-btn i {
  font-size: 1rem;
  transition: transform 0.4s ease;
}

.premium-submit-btn:hover i {
  transform: translate(5px, -5px);
}

/* Base Styles Update for Section Headers */
#about h1,
#services h1,
.Product h1,
.products h1,
.contact-premium h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.contact-premium h1::after {
  display: none; /* Removed underline for the new header style */
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .contact-header h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .contact-premium {
    padding: 60px 15px;
  }
  
  .contact-info-card, .contact-form-card {
    padding: 30px 20px;
  }
  
  .premium-webform .form-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: var(--light-text);
  padding: 60px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.slogan {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.contact-details p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.contact-details i {
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Popup Form */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

.popup {
  position: fixed;
  background-color: #00000067;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.form-popup {
  background-color: rgba(255, 255, 255, 0.829);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgb(0, 0, 0);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.popup.active .form-popup {
  transform: translateY(0);
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-button:hover {
  color: #ff0000;
  background-color: #f5f5f5;
}

.form-popup h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

select,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px rgba(0, 86, 179, 0.2);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
}

.submit-btn:hover {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .content h1 {
    font-size: 4rem;
  }

  .content h2 {
    font-size: 1.8rem;
  }

  .random-image:nth-child(1) {
    width: 120px;
  }

  .random-image:nth-child(2) {
    width: 150px;
  }

  .random-image:nth-child(3) {
    width: 180px;
  }

  .random-image:nth-child(4) {
    width: 160px;
  }

  .product-card {
    min-width: 240px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
    flex-direction: column;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .content h1 {
    font-size: 3rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  .random-image:nth-child(1) {
    width: 100px;
  }

  .random-image:nth-child(2) {
    width: 120px;
  }

  .random-image:nth-child(3) {
    width: 150px;
  }

  .random-image:nth-child(4) {
    width: 130px;
  }

  .about-container {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .social-icons {
    justify-content: center;
  }

  .slider-container {
    padding: 0 20px;
  }

  .product-card {
    min-width: 200px;
    height: 250px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  #services {
    padding: 50px 20px 30px;
  }

  #services h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 2.5rem;
  }

  .content h2 {
    font-size: 1.2rem;
  }

  .btn1 {
    width: 140px;
    height: 50px;
  }

  .random-image:nth-child(1) {
    width: 80px;
  }

  .random-image:nth-child(2) {
    width: 100px;
  }

  .random-image:nth-child(3) {
    width: 120px;
  }

  .random-image:nth-child(4) {
    width: 100px;
  }

  .input-button-container {
    flex-direction: column;
  }

  .subscribe-button {
    width: 100%;
  }

  .form-popup {
    padding: 20px;
  }

  .products {
    padding: 40px 10px;
  }

  .products h1 {
    font-size: 2rem;
  }

  .product-card {
    min-width: 180px;
    height: 220px;
  }

  .product-overlay {
    padding: 10px;
  }

  .product-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  #services {
    padding: 40px 15px 25px;
  }

  #services h1 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

/* Product Info Trigger and Modal Styles */
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 45, 0.7);
  /* Deeper darker blue */
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  border-radius: 15px;
}

.product-card:hover::after {
  opacity: 1;
}

.product-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  z-index: 5;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.product-card:hover .product-title-overlay {
  transform: translateY(0);
  opacity: 1;
}

.product-title-overlay h3 {
  margin: 0;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-overlay {
  z-index: 4;
  /* Ensure buttons are above the deep blue overlay but below title */
}

.product-info-trigger {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-card:hover .product-info-trigger {
  opacity: 1;
  transform: scale(1);
}

.product-info-trigger:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--primary-color);
  border-color: transparent;
  color: white;
}

.product-info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

.product-info-modal.active {
  opacity: 1;
  pointer-events: all;
}

.product-info-content {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 86, 179, 0.1);
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.product-info-modal.active .product-info-content {
  transform: scale(1) translateY(0);
}

.info-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.info-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: rotate(90deg);
  border-color: rgba(239, 68, 68, 0.3);
}

.product-info-content h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.info-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 30px;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--primary-color);
}

#modalProductDescription {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: left;
}

.modal-footer {
  display: flex;
  justify-content: center;
}

.visit-site-btn {
  background: var(--primary-color);
  color: white;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
  display: inline-block;
}

.visit-site-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 86, 179, 0.5);
  background: white;
  color: var(--primary-color);
}