html {
  scroll-behavior: smooth;
  --scroll-duration: 2s; /* افزایش زمان به 2 ثانیه */
  scroll-timeline-duration: var(--scroll-duration);
}
html, body {
  overflow-x: hidden;
}

/**
 * http://applemusic.tumblr.com/
 */

 @font-face {
  font-family: 'Lato';
  src: url('path-to-your-fonts/Lato-Regular.ttf') format('truetype');
  /* Add additional src lines for other font formats if available */
}

@font-face {
  font-family: 'Noto Sans';
  src: url('/fonts/NotoSans-Regular.woff2') format('woff2'),
       url('/fonts/NotoSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('/fonts/NotoSans-Bold.woff2') format('woff2'),
       url('/fonts/NotoSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
/** Ultra Light */
@font-face {
  font-family: "San Francisco";
  font-weight: 100;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff");
}

/** Thin */
@font-face {
  font-family: "San Francisco";
  font-weight: 200;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-thin-webfont.woff");
}

/** Regular */
@font-face {
  font-family: "San Francisco";
  font-weight: 400;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}

/** Medium */
@font-face {
  font-family: "San Francisco";
  font-weight: 500;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-medium-webfont.woff");
}

/** Semi Bold */
@font-face {
  font-family: "San Francisco";
  font-weight: 600;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-semibold-webfont.woff");
}

/** Bold */ 
@font-face {
  font-family: "San Francisco";
  font-weight: 700;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff");
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }
p { font-weight: 400; }
p.thin { font-weight: 300; }
p.ultralight { font-weight: 300; }
 /* Animation for moving metal-like effect */
 @keyframes movingMetal {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
body{
  font-family: 'Lato', sans-serif !important;
  font-weight: 300;
}
nav li{
  margin-left: 45px !important;
}
nav li ul li{
  margin-left: 0px !important;
}
/* General Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.centraltxt{
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Slide Styles */
.slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
}
/* LAYER COLOR (OUTSIDE CONTENT) */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1;
}

/* Content inside Slide */
.content {
  position: relative;
  z-index: 10;
}

/* Text Styles */
.slide .w-2/5 {
  z-index: 10;
}

/* Slick Navigation */
.slick-prev, .slick-next {
  /* Navigation styles */
}
.scroll-indicator-container{
  position: absolute;
  bottom: -3%;
  left: 45%;
}
.scroll-indicator {
  cursor: pointer;
  position: relative;
  z-index: 20;
}

.scroll-indicator svg {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
  transition: all 0.3s ease;
  width: 200px !important;
  height: 200px !important;
}

.scroll-indicator:hover svg {
  transform: translateY(5px);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.moving-metal {
  animation: movingMetal 6s linear infinite;
  background-size: 200% 100%;
}
 .first-pattern{
  background-image: url('../images/Solidarea.svg');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
 }
 /* General Styles for Product Text Section */
  .text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 1;
    transform: none;
  }

  .text-section h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
  }

  .text-section p {
    font-size: 1.25rem;
    margin-bottom: 5px;
    line-height: 1.7;
  }
  .slider-btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 32px;
    font-size: 22px;
    font-weight: 600;
  }
  .slider-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
  }
  .pdiscover{
    padding: 150px 10px !important;
  }
  .product-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }

  .product-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
  }

  /* General Styles for Product Image Section */
  .image-section {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0px;
  }

  /* Image styling with border and motion effect */
  .product-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid transparent;
    padding: 5px;
    position: relative;
    transition: transform 0.3s ease-in-out;
  }

  /* Adding moving metal-like border effect */
  .product-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 12px;
    background: linear-gradient(90deg, #c0c0c0, #fff, #c0c0c0);
    background-size: 200% 100%;
    animation: borderAnimation 5s linear infinite;
    filter: blur(3px); /* Adding blur to border */
    z-index: -1;
  }

  /* Border animation to create movement effect */
  @keyframes borderAnimation {
    0% {
      background-position: 100% 50%;
    }
    50% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }


  /* Responsive adjustments for smaller screens */
  @media (max-width: 768px) {
    .grid {
      grid-template-columns: 1fr; /* Stack the sections vertically on small screens */
    }
  }
 /* General Styles for the Title */
 h2 {
    position: relative;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    transition: filter 0.3s ease-in-out;  /* Smooth transition for filter */
    cursor: default;
  }

  /* Curved Line Under the Title */
  .curve-line {
    display: block;
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
  }

  /* Gradient Animation */
@keyframes gradientMove {
    0% {
      background-position: 100% 50%;
    }
    50% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

  /* Section with moving gradient background */
  .animate-gradient {
    background-size: 400% 100%;
    animation: gradientMove 6s ease infinite;
  }

  /* Styling for the images container */
  .image-container {
    position: relative;
    display: inline-block;
    width: 370px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin: 5px 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 1px;
  }

  /* Image styling */
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 2;
  }


  /* Border styling with animated effect */
  .image-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: linear-gradient(45deg, #c0c0c0, #fff, #c0c0c0);
    background-size: 200% 200%;
    animation: borderAnimation 3s linear infinite, borderBlur 3s ease infinite;
    filter: blur(3px);
    z-index: 1; /* Make sure the border is below the image */
  }

  /* Animation for moving the border's gradient */
  @keyframes borderAnimation {
    0% {
      background-position: 100% 50%;
    }
    50% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

  /* Optional blur effect animation */
  @keyframes borderBlur {
    0%, 100% {
      filter: blur(4px);
    }
    50% {
      filter: blur(2px);
    }
  }

  /* Animation for moving the border */
  @keyframes borderAnimation {
    0% {
      background-position: 100% 50%;
    }
    50% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

  /* Keep image hover effect after focus */
  .image-container:focus-within {
    transform: scale(1.05);  /* Ensure focus keeps effect */
    outline: none;
  }

  /* Optional: Keep the border effect even after hover */
  .image-container:focus-within::before {
    animation: borderAnimation 3s ease infinite;
  }
/* Animating gradient */
@keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .animate-gradient {
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
  }
/* General Link Styling */
.nav-link {
    position: relative;
    display: inline-block;
    color: #1e1e1e;
    font-weight: 400;
    padding-bottom: 6px; /* Extra padding for the line */
    text-decoration: none;
    transition: color 0.2s ease; /* Smooth color transition */
}

/* Create the line under each nav item */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; /* Start from the left side */
    width: 0; /* Start with 0 width */
    height: 2px; /* Line thickness */
    background: #fff; /* Silver gradient color */
    border-radius: 2px; /* Slight curve for a softer look */
    filter: blur(0px); /* Increased blur effect */
    transition: width 0.5s ease, background 0.5s ease, filter 0.5s ease; /* Faster transition for width, background, and blur */
}
.border-active::after {
  width: 8px;  
  height: 8px;
  border-radius: 50%;
  margin: 2px auto;
  position: relative;
  top: 5px;
  display: block;
  text-align: center;
  background: #fff;
  box-shadow: 
    0 0 5px #fff,    
    0 0 10px #fff,   
    0 0 15px #fff;   
  animation: glowDot 2s ease-in-out infinite;
  transition: all 0.3s ease; /* اضافه کردن transition برای تغییر سایز نرم */
}
.bg-active{
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px;
}
nav li{
  padding: 0px 0px;
}
.border-active:hover::after {
  width: 10px;  /* سایز بزرگتر در حالت هاور */
  height: 10px;
  box-shadow: 
    0 0 8px #fff,
    0 0 15px #fff,
    0 0 20px #fff; /* نور بیشتر در حالت هاور */
    border:none !important;
}

@keyframes glowDot {
  0%, 100% {
    box-shadow: 
      0 0 5px #fff,
      0 0 10px #fff,
      0 0 15px #fff;
  }
  50% {
    box-shadow: 
      0 0 8px #fff,
      0 0 15px #fff,
      0 0 20px #fff;
  }
}

/* On hover: line grows from left to right */
.nav-link:hover::after {
    width: 100%; /* Reduced width (centered) */
    background: #fff; /* Slight shimmer effect with gradient */
    filter: blur(0px); /* Slight blur left at the end */
}

/* Hover effect for the link text color */
.nav-link:hover {
    color: #686868; /* Silver text color */
}
.line-curve {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.line-curve::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: shimmer 2s ease-out forwards;
  animation-iteration-count: 1;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

.slide {
  height: 100vh;
  width: 100%;
}

/* Background Image and Overlay */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  backdrop-filter: blur(5px);
}

/* Content Container */
.slide .container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.slide .grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem;
}

/* Content Styles */
.slide-content {
  padding-right: 2rem;
}

.slide-content h2 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInLeft 1s ease-out;
}

.slide-content p {
  margin-bottom: 2rem;
  font-size: 2rem;
  line-height: 1.4;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInLeft 1s ease-out 0.3s;
}

.slide-content button {
  animation: fadeInUp 1s ease-out 0.6s;
}

/* Image Styles */
.slide-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  transition: none;
}

.slide-image img:hover {
  transform: none;
}

/* Slider Navigation */
.hero-slider .slick-dots {
  bottom: 30px;
  z-index: 10;
}

.hero-slider .slick-dots li button:before {
  color: white;
  font-size: 12px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.hero-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  transform: scale(1.2);
}

.hero-slider .slick-prev,
.hero-slider .slick-next {
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-slider .slick-prev {
  left: 30px;
}

.hero-slider .slick-next {
  right: 30px;
}

/* Animation Keyframes */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .slide .container {
    padding: 1rem;
  }

  .slide .grid {
    padding: 2rem;
  }

  .slide-content {
    padding-right: 0;
    padding-bottom: 2rem;
    text-align: center;
  }

  .slide-content h2 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }

  .slide-image img {
    width: 300px;
    height: 300px;
  }

  .hero-slider .slick-prev,
  .hero-slider .slick-next {
    width: 40px;
    height: 40px;
  }

  .hero-slider .slick-prev {
    left: 15px;
  }

  .hero-slider .slick-next {
    right: 15px;
  }
}

@media (max-width: 640px) {
  .slide .grid {
    padding: 1.5rem;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 20px;
    margin-bottom: 20px !important;
  }

  .slide-image img {
    width: 250px;
    height: 250px;
  }

  .hero-slider .slick-dots {
    bottom: 20px;
  }
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  #nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 95%;
    margin: 17px auto;
    border-radius: 18px;
  }

  #nav-menu.menu-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    padding: 2rem 1rem !important;
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  #nav-menu ul li a {
    display: block;
    padding: 0.75rem 0;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #nav-menu ul li:last-child a {
    border-bottom: none;
  }
}

/* Highlights Section Background */
.py-16.bg-gray-100 {
  background: linear-gradient(
    -45deg,
    #e2e8f0,
    #f8fafc,
    #cbd5e1,
    #f1f5f9
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  position: relative;
  overflow: hidden;
}

/* Moving gradient animation */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Add shimmer effect */
.py-16.bg-gray-100::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  animation: rotateBG 20s linear infinite;
}

@keyframes rotateBG {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* سایه برای آیکون */
.highlight-item i {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.3)); /* سایه آبی برای آیکون */
}

/* سایه برای عنوان */
.highlight-item h3 {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 600;
}

/* سایه برای متن */
.highlight-item p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* افکت هاور برای کل آیتم */
.highlight-item {
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
}
/* Highlight Items */
.highlight-item {
  border-radius: 30px;
  overflow: hidden;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  isolation: isolate;
  transition: transform 0.3s ease;
}

/* Animation keyframes for slide animations */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Individual item animations */
.highlight-item:nth-child(1) {
  animation: slideInLeft 1s ease-out forwards;
}

.highlight-item:nth-child(2) {
  animation: slideInLeft 1s ease-out 0.3s forwards;
}

.highlight-item:nth-child(3) {
  animation: slideInRight 1s ease-out 0.6s forwards;
}

.highlight-item:nth-child(4) {
  animation: slideInRight 1s ease-out 0.9s forwards;
}

/* Update text colors for better contrast */
.highlight-item .text-center {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: white;
}

.highlight-item h3 {
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.highlight-item p {
  color: #e5e7eb; /* Light gray for better readability */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.highlight-item i {
  color: #fff; /* Lighter blue for icons */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.3)); /* سایه آبی برای آیکون */
}

/* Hover effects */
.highlight-item:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(147, 197, 253, 0.3); /* Enhanced blue glow */
  transition: all 0.3s ease;
}

/* Silver shimmer effect */
.highlight-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 60%,
    transparent 70%,
    transparent 100%
  );
  animation: shimmerEffect 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 1;
}

@keyframes shimmerEffect {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

/* Individual shimmer delays with longer intervals */
.highlight-item:nth-child(1)::before {
  animation-delay: 0s;
}

.highlight-item:nth-child(2)::before {
  animation-delay: 1.25s;
}

.highlight-item:nth-child(3)::before {
  animation-delay: 2.5s;
}

.highlight-item:nth-child(4)::before {
  animation-delay: 3.75s;
}

/* Enhanced hover effect */
.highlight-item:hover::before {
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 70%,
    transparent 100%
  );
  animation-duration: 4s;
}

/* Highlights Section Title */
.py-16.bg-gray-100 h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1f2937;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 1s ease-out forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Line curve animation for title */
.py-16.bg-gray-100 .line-curve {
  margin-top: 1rem;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Override Slick Slider default margin */
.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

/* Adjust dots position if needed */
.hero-slider .slick-dots {
  bottom: 30px;
  z-index: 10;
  margin: 0;
}

/* Products & Services Section Background */
.bg-gray-800.py-16 {
  background: linear-gradient(
    -45deg,
    #1f2937,
    #374151,
    #1f2937,
    #111827
  );
  background-size: 400% 400%;
  animation: productGradientBG 15s ease infinite;
  position: relative;
  overflow: hidden;
}

/* Background animation */
@keyframes productGradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Silver movement overlay */
.bg-gray-800.py-16::before {
  content: '';
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 60%,
    transparent 70%
  );
  animation: productShimmer 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes productShimmer {
  0% {
    transform: translateY(0%) rotate(45deg);
  }
  100% {
    transform: translateY(-50%) rotate(45deg);
  }
}

/* Product Section Styles */
.product-section {
  display: inline-block;
  margin: 5px 0px;
  min-height: 700px;
  border-radius: 40px;
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.text-section h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00b2a4;
}

.text-section p {
  font-size: 22px;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-weight: 500;
}

.product-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(0,178,164,0.1);
  color: white;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  #nav-menu ul li a{
    padding: 7px 0;
  }
  #nav-menu.menu-open {
    padding: 20px 1rem !important;
  }
  .product-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-section {
    text-align: left;
    padding: 1rem 3rem;
  }
}

.image-section {
  position: relative;
  width: 100%;
  height: 370px;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
}

.circular-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
  transition: transform 0.5s ease;
}

.product-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 35px;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (max-width: 768px) {
  .slide .container {
    backdrop-filter: unset !important;
  }
  .slide-bg::after {
    background: unset !important;
    backdrop-filter: unset !important;
  }
  .image-section {
    height: 300px;
    margin-bottom: 1.5rem;
  }
}

/* Text Section Animation */
.text-section {
  opacity: 1;
  transform: none;
}

.text-section h3 {
  position: relative;
  padding-bottom: 2px;
}


/* Animation Keyframes */
@keyframes slideInImage {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60px;
    opacity: 1;
  }
}

@keyframes shimmerProduct {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

/* Moving Glow Point */
.glow-point {
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at center, 
    rgba(255,255,255,0.95), 
    rgba(255,255,255,0.3) 50%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(2px);
  animation: moveGlowOnCircle 8s linear infinite;
  z-index: 2;
}

@keyframes moveGlowOnCircle {
  0% {
    transform: rotate(0deg) translateX(200px) translateY(0);
  }
  100% {
    transform: rotate(360deg) translateX(200px) translateY(0);
  }
}

/* Add subtle ring effect */
.circular-image-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(
    45deg,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.2),
    rgba(255,255,255,0.1)
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Professional Button Styles */
.product-btn {
  position: relative;
  padding: 12px 32px;
  background: #272C66;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  width: fit-content;
}

.product-btn:hover {
  background: #2a085c !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.product-btn-glow {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  animation: btnGlow 3s normal;
}

@keyframes btnGlow {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .circular-image-container {
    width: 350px;
    height: 350px;
  }
  
  .glow-point {
    width: 12px;
    height: 12px;
    transform-origin: 175px center;
  }
}

@media (max-width: 768px) {
  .circular-image-container {
    width: 300px;
    height: 300px;
  }
  
  .glow-point {
    width: 10px;
    height: 10px;
    transform-origin: 150px center;
  }
}

@media (max-width: 480px) {
  nav li{
    margin-left: 0px !important;
  }
  .centraltxt{
    top: 90% !important;
  }
  .pdiscover{
    padding: 60px 10px !important;
  }
  .circular-image-container {
    width: 250px;
    height: 250px;
  }
  .slide-image {
    display: none !important;
  }
  .product-section{
    min-height: 600px;
  }
  #mobile-menu-button{
    position: relative;
    right: 20px;
  }
  .glow-point {
    width: 8px;
    height: 8px;
    transform-origin: 125px center;
  }
  /* Button container styles */
  .relative.z-10.h-full {
    flex-direction: column;
    min-height: 150px;
    gap: 1rem !important;
  }

  /* Button styles */
  .relative.z-10.h-full a {
    width: 90%;
    margin: 0.5rem auto;
    text-align: center;
    font-size: 1rem !important;
  }
}

/* Professional Section Transitions */
.fade-section {
  position: relative;
  z-index: 1;
}

/* Modern Section Connector */
.section-connector {
  position: relative;
  height: 20px;
  margin: -10px 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

/* Main Connector Gradient */
.connector-gradient {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Innovation Section */
#innovation {
  position: relative;
  background: transparent;
  padding-top: 10px;
}

/* Video Background */
#innovation video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient Overlay */
#innovation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Content Container */
#innovation .max-w-screen-xl {
  position: relative;
  z-index: 15;
  padding-top: 50px;
}

/* Title Styles */
#innovation h2 {
  position: relative;
  z-index: 3;
  margin-bottom: 2rem;
  color: white;
}

#innovation p {
  color: rgba(255, 255, 255, 0.9);
}

/* Innovation Section Images */
.innovation-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 1.5rem;
}

.innovation-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  width: 100%;
}

.innovation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Image Hover Effects */
.innovation-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.innovation-image:hover img {
  transform: scale(1.1);
}

/* Overlay for Images */
.innovation-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.2)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.innovation-image:hover::after {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .innovation-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 0 1.25rem;
  }
}

@media (max-width: 768px) {
  .innovation-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0;
  }

  .innovation-image {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
  }

  .innovation-image img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .innovation-images {
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0 0.75rem;
  }

  .innovation-image {
    max-width: 100%;
    aspect-ratio: 16/9;
  }
}

/* Make sure parent container is responsive */
#innovation .max-w-screen-xl {
  width: 100%;
  padding: 0;
  padding-top: 50px;
}

/* Adjust content padding */
@media (max-width: 768px) {
  #innovation .max-w-screen-xl {
    padding: 0;
    width: 100vw;
  }
  
  #innovation h2,
  #innovation p {
    padding: 0 1rem;
  }
}

/* Image Container Base Styles */
.image-container {
  position: relative;
  display: inline-block;
  width: 370px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin: 5px 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  padding: 2px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .image-container {
    width: 320px;
    height: 260px;
    margin: 5px;
  }
}

@media (max-width: 768px) {
  .image-container {
    width: 90%;
    height: 280px;
    margin: 10px auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .image-container {
    width: 90%;
    height: 250px;
    margin: 13px auto;
    padding: 5px;
    border-radius: 8px;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Make sure images inside container are responsive */
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
  position: relative;
  z-index: 2;
}

.image-container:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-out;
}

.image-container::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(45deg, #c0c0c0, #fff, #c0c0c0);
  background-size: 200% 200%;
  animation: borderAnimation 3s linear infinite, borderBlur 3s ease infinite;
  filter: blur(3px);
  z-index: 1;
}

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

@keyframes borderBlur {
  0%, 100% {
    filter: blur(4px);
  }
  50% {
    filter: blur(2px);
  }
}

.motiontxt {
  display: inline-block;
  animation: textMotion 4s cubic-bezier(0.4, 0, 0.2, 1)  ;
  position: relative;
}

@keyframes textMotion {
  0%, 100% {
    transform: translate(0, 0);
    filter: blur(0px);
    animation-timing-function: ease-out;
  }
  
  10% {
    transform: translate(-1px, 0.5px);
    filter: blur(0.5px);
    animation-timing-function: ease-in;
  }
  
  20% {
    transform: translate(1px, -0.5px);
    filter: blur(1px);
    animation-timing-function: linear;
  }
  
  30% {
    transform: translate(-0.5px, 0.2px);
    filter: blur(1.5px);
    animation-timing-function: ease-in-out;
  }
  
  50% {
    transform: translate(0, 0);
    filter: blur(0.3px);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  60% {
    transform: translate(0.8px, -0.3px);
    filter: blur(1px);
    animation-timing-function: ease-out;
  }
  
  80% {
    transform: translate(-0.8px, 0.3px);
    filter: blur(1.2px);
    animation-timing-function: ease-in;
  }
}

/* Nav Menu Styles */
.nav-link {
  position: relative;
  color: white;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: white;
}

/* Active state */
.border-active {
  position: relative;
}

.border-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

@media (max-width: 768px) {
  .hero-slider .slide {
    min-height: 100vh;
    padding-top: 80px;
  }
  
  .hero-slider .slide-content {
    padding-bottom: 2rem;
  }
  
  .slider-btn {
    margin-top: 1rem;
  }

  .slide-bg {
    background: rgba(0,0,0,0.4) !important;
  }

  /* Button container styles */
  .relative.z-10.h-full {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  /* Button styles */
  .relative.z-10.h-full a {
    margin: 0.5rem 0;
    width: 80%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Disable default slider styles for mobile */
  .slide-content {
    margin-top: 0 !important;
  }
  
  .slide-content h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .slide-content p {
    font-size: 1.25rem !important;
    padding-top: 0.5rem !important;
  }
  
  .slider-btn {
    margin: 1rem auto !important;
  }
  
  /* Reduce spacing for product sections on mobile */
  .product-section {
    padding: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .slide-bg {
    height: 100% !important;
  }
  
  .slide-content {
    padding: 1rem !important;
  }
  
  .slide-content h2 {
    font-size: 1.75rem !important;
  }
}

/* Desktop First (Large Screens) */
@media (min-width: 1280px) {
  .hero-section h1 {
    font-size: 4rem;
    line-height: 1.2;
  }
  
  .hero-section p {
    font-size: 1.875rem;
    max-width: 48rem;
  }
}

/* Laptop and Small Desktop */
@media (max-width: 1024px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .hero-section p {
    font-size: 1.5rem;
  }

  .bg-bg-nav2 {
    padding: 4rem 3rem !important;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero-section p {
    font-size: 1.25rem;
  }

  .line-curve {
    width: 80%;
  }

  /* API Excellence Section */
  .my-20.px-4 {
    margin: 3rem 0 !important;
    padding: 0 1rem !important;
  }

  .bg-bg-nav2 {
    padding: 2.5rem 2rem !important;
    border-radius: 1.5rem !important;
  }

  .bg-bg-nav2 h2 {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center;
  }

  .bg-bg-nav2 p {
    font-size: 1.5rem !important;
    line-height: 1.6 !important;
    text-align: center;
  }

  /* Search and Table Section */
  #api-search {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
  }

  table th {
    font-size: 1.25rem !important;
  }

  table td {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }

  .hero-section h1 {
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem;
  }

  .hero-section p {
    font-size: 1.25rem !important;
    margin-top: 1rem !important;
  }

  .line-curve {
    margin: 1rem auto !important;
  }

  /* API Excellence Section */
  .my-20.px-4 {
    margin: 2rem 0 !important;
  }

  .bg-bg-nav2 {
    padding: 2rem 1.5rem !important;
  }

  .bg-bg-nav2 h2 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }

  .bg-bg-nav2 p {
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 500;
  }

  /* Search and Table Section */
  #api-search {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }

  table th {
    font-size: 1.125rem !important;
    padding: 0.75rem !important;
  }

  table td {
    font-size: 0.875rem !important;
    padding: 0.625rem 0.75rem !important;
  }

  /* Buttons */
  .relative.z-10.h-full {
    flex-direction: column;
    min-height: 150px;
    gap: 1rem !important;
  }

  .relative.z-10.h-full a {
    width: 90%;
    margin: 0.5rem auto;
    text-align: center;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .bg-bg-nav2 h2 {
    font-size: 1.5rem !important;
  }

  .bg-bg-nav2 p {
    font-size: 16px !important;
  }

  table th, table td {
    padding: 0.5rem !important;
  }
}

.bg-bg-nav2 h2 {
  font-size: 38px !important;
  margin-bottom: 30px !important;
}

.bg-bg-nav2 p {
  font-size: 1.3rem !important;
  line-height: 1.4 !important;
  font-weight: 300;
}

/* Tablet */
@media (max-width: 768px) {
  .bg-bg-nav2 {
    padding: 2.5rem 2rem !important;
    border-radius: 3.5rem !important;
  }

  .bg-bg-nav2 h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    text-align: center;
  }

  .bg-bg-nav2 p {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .bg-bg-nav2 {
    padding: 0.5rem 0rem !important;
  }
  
  /* Container padding */
  .my-20.px-4.md\:px-8.lg\:px-16 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  
  /* Inner content padding */
  .relative.z-10.w-11\/12.mx-auto {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* Form elements padding */
  .w-full.px-6.py-5 {
    padding: 1.25rem 1.5rem !important;
  }
}

/* API Excellence and Quality Standards Sections */
.bg-bg-nav2.api-section {
  padding: 3rem 2rem !important;
}

.bg-bg-nav2.api-section h2 {
  font-size: 38px !important;
  margin-bottom: 40px !important;
}

.bg-bg-nav2.api-section p {
  font-size: 22px !important;
  line-height: 28px !important;
  font-weight: 300;
}

@media (max-width: 768px) {
  .bg-bg-nav2.api-section {
    padding: 2.5rem 2rem !important;
    border-radius: 1.5rem !important;
  }

  .bg-bg-nav2.api-section h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    text-align: center;
  }

  .bg-bg-nav2.api-section p {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bg-bg-nav2.api-section {
    padding: 2rem 1.5rem !important;
  }

  .bg-bg-nav2.api-section h2 {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .bg-bg-nav2.api-section h3 {
    font-size: 25px !important;
  }

  .bg-bg-nav2.api-section p {
    font-size: 20px !important;
    line-height: 1.5 !important;
    font-weight: 500;
  }
}

/* Typography System */
/* Desktop (Large Screens) */
:root {
  /* Headings */
  --h1-size-desktop: 3.5rem;    /* 56px */
  --h2-size-desktop: 2.5rem;    /* 40px */
  --h3-size-desktop: 2rem;      /* 32px */
  --h4-size-desktop: 1.75rem;   /* 28px */
  
  /* Body Text */
  --text-xl: 1.375rem;          /* 22px */
  --text-lg: 1.25rem;           /* 20px */
  --text-base: 1.125rem;        /* 18px */
  --text-sm: 1rem;              /* 16px */
  
  /* Spacing */
  --section-padding: 6rem 4rem;
  --content-padding: 2rem;
}

/* Standard Text Styles */
.heading-primary {
  font-size: var(--h1-size-desktop);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.heading-secondary {
  font-size: var(--h2-size-desktop);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.heading-tertiary {
  font-size: var(--h3-size-desktop);
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-body-large {
  font-size: var(--text-xl);
  line-height: 1.6;
  font-weight: 500;
}

.text-body {
  font-size: var(--text-lg);
  line-height: 1.6;
  font-weight: 400;
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --h1-size-desktop: 3rem;     /* 48px */
    --h2-size-desktop: 2.25rem;  /* 36px */
    --h3-size-desktop: 1.75rem;  /* 28px */
    --h4-size-desktop: 1.5rem;   /* 24px */
    
    --text-xl: 1.25rem;          /* 20px */
    --text-lg: 1.125rem;         /* 18px */
    --text-base: 1rem;           /* 16px */
    
    --section-padding: 4rem 2rem;
    --content-padding: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --h1-size-desktop: 2.5rem;   /* 40px */
    --h2-size-desktop: 2rem;     /* 32px */
    --h3-size-desktop: 1.5rem;   /* 24px */
    --h4-size-desktop: 1.25rem;  /* 20px */
    
    --text-xl: 1.125rem;         /* 18px */
    --text-lg: 1rem;             /* 16px */
    --text-base: 0.938rem;       /* 15px */
    
    --section-padding: 3rem 1.5rem;
    --content-padding: 1rem;
  }
}

/* Contact Page Sections */
.bg-bg-nav2.contact-section {
  padding: 4rem 1rem !important;
}

@media (max-width: 1024px) {
  .bg-bg-nav2.contact-section {
    padding: 3rem 2rem !important;
  }
}

@media (max-width: 768px) {
  .bg-bg-nav2.contact-section {
    padding: 2.5rem 1.5rem !important;
  }
  
  /* Container padding */
  .my-20.px-4.md\:px-8.lg\:px-16 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .bg-bg-nav2.contact-section {
    padding: 2rem 0rem !important;
  }
  
  /* Inner content padding */
  .relative.z-10.w-11\/12.mx-auto {
    width: 95% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Form elements padding */
  .w-full.px-6.py-5 {
    padding: 1rem !important;
  }
}

/* Hero Section Responsive Spacing */
.hero-section {
  padding-top: 12rem;
  padding-bottom: 13rem;
  height: 100vh;
}

/* Enhanced Silver Metal Text Effect with More Glow */
.slide-content h2 {
  color: transparent;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #e0e0e0 20%, 
    #b8b8b8 30%, 
    #d6d6d6 40%,
    #f5f5f5 50%, 
    #d6d6d6 60%, 
    #b8b8b8 70%, 
    #e0e0e0 80%, 
    #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 
    0 0 2px rgba(255, 255, 255, 0.8),
    0 0 4px rgba(255, 255, 255, 0.6),
    0 0 6px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(200, 200, 200, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.3);
  animation: silverTextShine 6s linear infinite;
  position: relative;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Add a subtle glow effect behind the text */
.slide-content h2::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: rgba(255, 255, 255, 0.1);
  filter: blur(8px);
}

/* Make sure the text content is available as data attribute */
.slide-content h2 {
  data-text: "Illuminating the Path to Innovation—One Molecule at a Time.";
}

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

@media (max-width: 1024px) {
  .hero-section {
    padding-top: 11rem;
    padding-bottom: 11rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
    height: 300px;
  }
  
  .hero-section h1 {
    font-size: 2.5rem !important;
  }
  
  .hero-section p {
    font-size: 1.25rem !important;
    margin-top: 1rem !important;
  }
  
  .line-curve {
    margin: 1rem auto !important;
  }
}

/* Purple Gradient Animation for Header Nav (All Pages) */
/* :root {
  --gradient: linear-gradient(45deg, #100315, #451571, #2a0134, #100315);
}

#nav-bg, .bg-bg-nav2 {
  background-image: var(--gradient) !important;
  background-size: 400%;
  animation: bg-animation 4s infinite alternate;
  -webkit-animation: bg-animation 4s infinite alternate;
}

.bg-gradient-purple, .bg-bgheader {
  background-image: var(--gradient) !important;
  background-size: 400%;
  animation: bg-animation 4s infinite alternate;
  -webkit-animation: bg-animation 4s infinite alternate;
  opacity: 0.85;
}

@keyframes bg-animation {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
} */

