@media (max-width: 480px) {
  #title-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .slider-container1 {
    position: static;
    top: 12px;
    padding-top: 2vh;
  }

  #main-title {
    font-size: 2rem;
    position: static;
    margin: 0;
    max-width: 100%;
    margin-bottom: 10px;
  }

  #subtitle {
    font-size: 16px;
    position: static;
    width: 34vh;
    padding-top: 0;
    margin-top: 0;
  }

  #second-page .slide {
    width: 45vw;
    height: 45vh;
    min-height: 350px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  #second-page .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #second-page .slide-content {
    padding: 15px;
    align-items: flex-start;
    justify-content: flex-end;
  }

  #second-page .slide-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    white-space: normal;
    text-align: left;
  }

  #second-page .slide-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    max-width: 90%;
  }

  .slider-controls-container {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: auto;
    margin-top: 0;
  }

  .round-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .headingg {
    font-size: 2rem;
    padding-left: 2vh;
    padding-top: 5vh;
    padding-bottom: 1vh;
  }
}

.top-right-text {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  font-size: 1.5rem;
  color: #000;
  font-weight: 700;
}

:root {
  --primary-color: #2b6cb0;
  --secondary-color: #1a4971;
  --accent-color: #68d391;
  --text-dark: #1a202c;
  --text-light: #f7fafc;
  --background-dark: #1a202c;
  --background-light: #edf2f7;
  --gradient-start: #e2e8f0;
  --gradient-end: #f7fafc;
}

body {
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: #3c3c3c;
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
  background-color: #fff;
}

*,
:after,
:before {
  box-sizing: inherit;
}

.navbar-logo {
  position: relative;
  top: 50%;
  left: 0;
  height: 32px;
  display: flex;
  filter: brightness(0) saturate(100%) hue-rotate(0deg);
  align-items: center;
}

.navbar-logo img {
  height: 100%;
  width: auto;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) hue-rotate(0deg);
}

.navbar-logo img:hover {
  transform: scale(1.05);
}

.logo1 {
  height: 32px;
  position: fixed;
  top: 14px;
  left: 24px;
  display: none;
  z-index: 102;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) hue-rotate(0deg);
}

.logo1:hover {
  transform: scale(1.05);
}

#navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  height: 60px;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  align-items: center;
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#navbar:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#navbar ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  gap: 16px;
}

#navbar li {
  flex: none;
}

#navbar a {
  text-decoration: none;
  color: #181818;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  line-height: 64px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 6px;
  position: relative;
}

#navbar a:hover {
  color: #47a0e9;
  background-color: rgba(190, 170, 170, 0.05);
}

#navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 12px;
  left: 50%;
}

#navbar a:hover::after {
  width: 50%;
  left: 25%;
}

#hamburger {
  display: none;
  position: absolute;
  top: 20px;
  right: 24px;
  width: 28px;
  height: 20px;
  z-index: 1000;
  cursor: pointer;
}

#hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #181818;
  margin: 4px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

#hamburger:hover span {
  background-color: #085fd7;
}

#hamburger.open span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: #085fd7;
}

#hamburger.open span:nth-child(2) {
  opacity: 0;
}

#hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: #085fd7;
}

#electron-video {
  width: 78%;
  padding-top: 9vh;
  height: 110%;
  display: block;
  z-index: 10;
}

.matter-content {
  position: absolute;
  width: 90%;
  height: 100px;
  top: 11%;
  display: flex;
  justify-content: space-between;
  z-index: 30;
}

#title-container {
  position: absolute;
  top: 90px;
  /* left: 20px;
    right: 20px; */
  gap: 78vh;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  z-index: 10;
}

@media (max-width: 1670px) {
  #title-container {
    gap: 50vh;
  }

  #main-title {
    font-size: 3.5rem;
  }

  #subtitle {
    font-size: 30px;
    max-width: 350px;
  }
}

@media (max-width: 1180px) {
  #title-container {
    gap: 16vh;
  }

  #main-title {
    font-size: 3rem;
  }

  #subtitle {
    font-size: 1rem;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  #title-container {
    gap: 0vh;
    display: flex;
    flex-direction: column;
  }

  #main-title {
    font-size: 2.5rem;
  }

  #subtitle {
    font-size: 0.9rem;
    max-width: 250px;
  }
}

@media (max-width: 928px) {
    #title-container {
gap: 0px;
          flex-direction: column;
    }
    
    #subtitle {
          padding-top: 0px;

    }
}

@media (max-width: 480px) {
  #title-container {
    /* flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    position: static;
    padding: 20px; */
    gap: 0vh;
        display: flex
;
        flex-direction: column;
  }

  #main-title {
    font-size: 2rem;
    position: static;
    margin: 0;
    max-width: 100%;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  #subtitle {
    font-size: 16px;
    position: static;
    width: 34vh;
    padding-top: 0;
    margin-top: 0;
    max-width: 100%;
  }
}

#main-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 2.2;
  color: #3c3c3c;
  margin: 0;
  letter-spacing: 2px;
}

#subtitle {
  padding-top: 28px;
  color: #3c3c3c;
  font-size: 30px;
  font-style: italic;
}

@media (max-width: 1670px) {
  #main-title {
    font-size: 3.5rem;
  }

  #subtitle {
    font-size: 30px;
    max-width: 350px;
  }
}

.features-slider-container,
.features-slider-container1 {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0 10px;
  box-sizing: border-box;
}

.features-slider,
.features-slider2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  padding: 0 5px;
  box-sizing: border-box;
  will-change: transform;
}

.feature-slide,
.feature-slide2 {
  flex: 0 0 calc(100% - 20px);
  margin: 0 10px;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  height: auto;
  min-height: 300px;
  box-sizing: border-box;
}

.slider-controls-container,
.slider-controls-container1 {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin-top: 0;
}

@media (min-width: 480px) {

  .feature-slide,
  .feature-slide2 {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (min-width: 768px) {

  .feature-slide,
  .feature-slide2 {
    flex: 0 0 calc(33.33% - 20px);
  }
}

@media (min-width: 1024px) {

  .feature-slide,
  .feature-slide2 {
    flex: 0 0 calc(25% - 30px);
    margin: 0 15px;
    padding: 30px 25px;
  }

  .features-slider,
  .features-slider2 {
    padding: 0 20px;
  }
}

.feature-slide2 {
  background-color: #3b3b3b;
}

.feature-icon2 img {
  width: 80px !important;
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 auto 15px !important;
  display: block !important;
}

@media (max-width: 768px) {
  .feature-title {
    font-size: 1.5rem;
  }

  .feature-title2 {
    font-size: 1.5rem;
  }

  .feature-desc,
  .feature-desc2 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .feature-title {
    font-size: 1.3rem;
  }

  .feature-title2 {
    font-size: 1.3rem;
  }

  .feature-desc,
  .feature-desc2 {
    font-size: 0.9rem;
  }
}

#second-page {
  position: relative;
  height: auto;
  min-height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-bottom: 10px;
  background-color: #fff;
}

.features-slider-container {
  width: 100%;
  position: relative;
  overflow-x: hidden !important;
}

.features-slider2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.feature-slide2 {
  flex: 0 0 calc(25% - 30px);
  margin: 0 15px;
  background-color: #3b3b3b;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 76vh;
}

.feature-icon2 {
  display: flex;
  align-items: center;
}

.feature-icon2 img {
  width: 120px;
  position: relative;
  left: 281px;
  bottom: 33px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.feature-title2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  padding-top: 2vh;
  transition: color 0.3s ease;
}

.feature-slide2:hover .feature-title2 {
  color: #8f9dad;
}

.feature-desc2 {
  font-size: 36px;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .feature-slide2 {
    flex: 0 0 calc(33.33% - 15px);
    min-height: 380px;
  }

  .feature-title2 {
    font-size: 1.3rem;
  }

  .feature-desc2 {
    font-size: 1rem;
  }

  .feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .headingg {
    font-size: 2.5rem;
    padding-left: 2vh;
  }

  .feature-slide2 {
    flex: 0 0 calc(50% - 15px);
    min-height: 350px;
    padding: 25px 20px;
  }

  .feature-icon2 img {
    width: 100px;
  }

  .feature-title2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .headingg {
    font-size: 2rem;
    padding-left: 1vh;
    margin-bottom: 20px;
  }

  #second-page {
    padding: 20px 10px;
  }

  .features-slider2 {
    padding: 0 10px;
    gap: 15px;
  }

  .feature-slide2 {
    flex: 0 0 calc(100% - 15px);
    min-height: 300px;
    padding: 20px 15px;
  }

  .feature-icon2 img {
    position: relative;
    width: 80px;
    left: 224px;
    bottom: 23px;
  }

  .feature-title2 {
    font-size: 1.1rem;
  }

  .feature-desc2 {
    font-size: 0.9rem;
  }

  .slider-controls {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .slider-controls-container {
    bottom: 15px;
    right: 15px;
  }

  .round-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .slider-controls-container {
    bottom: 10px;
    right: 10px;
    transform: translateY(0);
  }

  .round-button {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
  .slider-controls-container {
    bottom: 12px;
    right: 12px;
  }
}

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
  .slider-controls-container {
    bottom: 15px;
    right: 15px;
  }
}

@media only screen and (min-width: 360px) and (max-width: 412px) and (min-device-pixel-ratio: 2) {
  .slider-controls-container {
    bottom: 10px;
    right: 10px;
  }
}

.slider-container {
  position: static;
  height: 100%;
  width: 100%;
  margin-top: 34px;
  overflow: hidden;
}

.slider-container1 {
  position: static;
  margin: 0 auto;
  top: 12px;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slider-controls-container {
  position: absolute;
  bottom: 0;
  right: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 10;
  padding: 0;
  width: auto;
}

.slider-controls-container1 {
  width: 96%;
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  padding-top: 0;
  margin-top: 0;
}

.slider-controls {
  display: flex;
  gap: 15px;
}

.round-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.round-button:hover {
  background-color: #000;
  color: #fff;
}

.headingg {
  padding-left: 3vh;
  font-size: 40px;
  padding-top: 6vh;
  font-weight: 600;
}

.dots-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots-container1 {
  position: absolute;
  top: 507px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #dfdfdf;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.dot.active {
  background-color: #47a0e9;
  transform: scale(1.2);
}

.dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color) 0, transparent 100%);
  opacity: 0;
  border-radius: 50%;
}

.dot.active::after {
  animation: progress 3s linear forwards;
}

@keyframes progress {
  0% {
    opacity: 1;
    transform: scale(0);
  }

  100% {
    opacity: 0;
    transform: scale(2);
  }
}

.heading {
  font-size: 3rem;
  font-weight: 600;
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
  text-align: left;
  z-index: 200;
}

.product-container {
  text-align: center;
  position: relative;
  top: 50px;
}

.product-container h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #666;
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
  text-align: left;
}

.product-logo {
  position: relative;
  bottom: 345px;
  width: 903px;
  height: 550px;
}

.price-section {
  position: inherit;
  margin-top: -420px;
  padding-bottom: 3vh;
}

.price-button {
  background-color: #2b6cb0;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 65px;
  font-size: 1rem;
  margin-right: 10px;
  height: 5.74vh;
  width: 20.46vh;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.price-button:hover {
  background-color: #1a4971;
}

.buy-button {
  background-color: #fff;
  color: #2b6cb0;
  border: 2px solid #2b6cb0;
  padding: 10px 20px;
  border-radius: 65px;
  font-size: 1rem;
  height: 5.74vh;
  width: 20.46vh;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-button:hover {
  background-color: #2b6cb0;
  color: #fff;
}

.specs-container {
  display: flex;
  flex-direction: column;
  margin-top: 49px;
  align-items: center;
  gap: 23px;
}

.spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
}

.spec-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .price-button {
    background-color: #2b6cb0;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 65px;
    font-size: 1rem;
    margin-right: 10px;
    height: 5.74vh;
    width: 19.46vh;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .buy-button {
    background-color: #fff;
    color: #2b6cb0;
    border: 2px solid #2b6cb0;
    padding: 10px 20px;
    border-radius: 65px;
    font-size: 1rem;
    height: 5.74vh;
    width: 19.46vh;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .product-container h2 {
    font-size: 1.5rem;
    left: 10px;
  }

  .product-logo {
    width: 50vh;
    height: 37vh;
    padding-bottom: 11vh;
  }

  .buy-button,
  .price-button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .specs-container {
    flex-direction: column;
    gap: 10px;
  }

  .spec-item {
    gap: 8px;
  }

  .spec-item img {
    width: 40px;
    height: 40px;
  }
}

#fourth-page {
  position: relative;
  height: auto;
  min-height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  box-sizing: border-box;
  margin-bottom: 10px;
  background-color: #fff;
  overflow-x: hidden;
}

.features-slider-container {
  width: 100%;
  position: relative;
  overflow-x: hidden !important;
}

.features-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.feature-slide {
  flex: 0 0 calc(25% - 10px);
  margin: 0 5px;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 28.33vh;
  width: 39.72vh;
  box-sizing: border-box;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 10px;
}

.feature-icon img {
  width: 70px;
  height: 76px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.feature-slide:hover .feature-title {
  color: #19528f;
}

.feature-title {
  font-size: 28px;
  font-weight: 600;
  text-align: left;
  color: #333;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.feature-desc {
  font-size: 20px;
  text-align: left;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.slider-controls-container1 {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  margin-top: 30px;
}

.slider-controls {
  display: flex;
  padding-right: 6vh;
}

@media (max-width: 1024px) {
  .feature-slide {
    flex: 0 0 calc(33.33% - 10px);
    min-height: 250px;
    margin: 0 5px;
  }

  .feature-title {
    font-size: 22px;
  }

  .feature-desc {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .slider-controls {
    display: flex;
    padding-right: 0;
  }

  #fourth-page {
    padding: 30px 0;
  }

  .features-slider {
    padding: 0;
  }

  .feature-slide {
    flex: 0 0 calc(50% - 10px);
    margin: 0 5px;
    min-height: 230px;
    padding: 15px;
  }

  .feature-title {
    font-size: 20px;
  }

  .feature-desc {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #fourth-page {
    padding: 20px 0;
  }

  .features-slider {
    padding: 0;
  }

  .feature-slide {
    flex: 0 0 calc(100% - 10px);
    margin: 0 4px;
    height: 41vh;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .feature-icon img {
    width: 40px;
    height: 40px;
  }

  .feature-title {
    font-size: 20px;
  }

  .feature-desc {
    font-size: 20px;
  }

  .slider-controls-container1 {
    margin-top: 20px;
  }

  .round-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .features-slider-container {
    width: 96%;
    position: relative;
    overflow-x: hidden !important;
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup.active {
  display: flex;
}

.popup-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
  color: #2b6cb0;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.popup-content p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.close-popup {
  background: #2b6cb0;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.close-popup:hover {
  background: #1a4971;
}

#first-page {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

#image-slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: contents;
}

.slider-container {
  width: 59%;
  height: 86%;
  position: relative;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 768px) {
  #first-page {
    height: 70vh;
  }

  #image-slider {
    height: 70vh;
  }
}

@media (max-width: 480px) {
  #first-page {
    height: 60vh;
  }

  #image-slider {
    height: 60vh;
  }
}

.slider img {
  background: #f0f0f0;
  transition: opacity 0.3s ease;
}

.slider img.loaded {
  opacity: 1;
}

#sixth-page {
  width: 100%;
  color: var(--text-light);
  background-color: #181818;
  padding: 64px 24px 32px;
  box-sizing: border-box;
  position: relative;
}

#footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex: 1;
  min-width: 240px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link img {
  width: 24px;
  height: 24px;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link:hover img {
  filter: brightness(1);
}

.link-group {
  flex: 1;
  min-width: 160px;
}

.link-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-light);
}

.link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-group li {
  margin-bottom: 10px;
}

.link-group a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: #47a0e9;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1670px) {
  #main-title {
    font-size: 3rem;
    left: 15px;
    right: auto;
  }

  #subtitle {
    font-size: 30px;
    right: 15px;
    left: auto;
    max-width: 400px;
  }
}

.my-link {
  text-decoration: none;
  color: #fff;
}

.w-full {
  padding-top: 20px;
}

@media (max-width: 1180px) {
  #main-title {
    font-size: 3rem;
  }

  #subtitle {
    font-size: 1rem;
    max-width: 400px;
  }

  #electron-video {
    max-width: 600px;
  }

  #electron-video {
    width: 155%;
    margin-top: -89px;
    max-width: 1254px;
    height: 100vh;
    display: block;
    z-index: 10;
    padding-right: 6vh;
  }

  .slider-container {
    position: static;
    height: 110%;
    width: 100%;
    margin-top: 34px;
    overflow: hidden;
  }

  #second-page {
    position: relative;
    padding-top: 80px;
    height: 72vh;
  }

  .slider-controls {
    display: flex;
    gap: 20px;
    padding-bottom: 1vh;
  }

  #fourth-page {
    height: auto;
  }

  #sixth-page {
    padding: 48px 16px 24px;
  }

  .footer-top {
    gap: 32px;
  }

  .footer-brand {
    min-width: 200px;
  }

  .footer-tagline {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .social-link img {
    width: 22px;
    height: 22px;
  }

  .footer-links {
    gap: 32px;
  }

  .link-group {
    min-width: 140px;
  }

  .link-title {
    font-size: 0.95rem;
  }

  .link-group a {
    font-size: 0.85rem;
  }

  #navbar ul {
    gap: 8px;
  }

  #navbar a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .slide {
    flex: 0 0 33.33%;
  }

  #main-title {
    font-size: 3rem;
    left: 15px;
    right: auto;
  }

  #subtitle {
    font-size: 30px;

  }

  #dots-container {
    bottom: 20px;
  }

  .dots-container {
    display: none;
  }

  .dots-container1 {
    display: none;
  }

  .matter-content {
    position: relative;
    width: 112%;
    height: 100px;
    max-width: 90%;
    top: 3%;
  }
}

@media (max-width: 768px) {
  .slider-controls-container {
    width: 96%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
    margin-top: 2%;
  }

  #main-title {
    font-size: 2.5rem;
  }

  #subtitle {
    font-size: 0.9rem;
    max-width: 250px;
  }

  #electron-video {
    max-width: 135%;
    margin-top: 0;
  }

  .section-header1 h2 {
    font-size: 35px;
    font-weight: 700;
  }

  #sixth-page {
    padding: 40px 12px 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .slider-container1 {
    position: static;
    top: 12px;
    padding-top: 2vh;
  }

  .footer-brand {
    min-width: 100%;
  }

  .footer-tagline {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .link-group {
    min-width: 100%;
    text-align: center;
  }

  .link-title {
    font-size: 0.9rem;
  }

  .link-group a {
    font-size: 0.8rem;
  }

  .social-link img {
    width: 20px;
    height: 20px;
  }

  #navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    box-shadow: none;
    padding-top: 60px;
    z-index: 99;
  }

  .navbar-logo {
    display: none;
  }

  .logo1 {
    display: block;
    position: absolute;
    top: 14px;
    left: 24px;
    height: 32px;
    z-index: 101;
  }

  #hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 24px;
    width: 28px;
    height: 20px;
    z-index: 101;
  }

  #navbar ul {
    position: fixed;
    top: -6px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
    z-index: 100;
    opacity: 1;
  }

  #navbar ul.active {
    max-height: 318px;
    padding: 92px 0;
  }

  #navbar ul {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
  }

  #navbar ul.active {
    max-height: 509px;
    padding: 0 0;
    background-color: #fff;
    opacity: 1;
  }

  #navbar a {
    font-size: 1rem;
    padding: 10px 1px;
    line-height: normal;
    border-bottom: none;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #181818;
  }

  #navbar a:hover {
    color: #47a0e9;
    background-color: rgba(190, 170, 170, 0.05);
  }

  .slide {
    flex: 0 0 50%;
  }

  .next-btn,
  .prev-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  #main-title {
    font-size: 3rem;
    left: 15px;
    right: auto;
  }

  #subtitle {
    font-size: 30px;
    right: 15px;
    left: auto;
    max-width: 300px;
    padding-top: 0px;
    text-align: right;
  }

  .headingg {
    padding-left: 3vh;
    padding-top: 7vh;
    padding-bottom: 1vh;
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .slider-controls-container {
    margin-top: -4%;
  }

  #main-title {
    font-size: 2rem;
  }

  #subtitle {
    font-size: 0.8rem;
    max-width: 300px;
  }

  #electron-video {
    max-width: 163%;
    padding-right: 18px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .slider-container1 {
    position: static;
    top: 12px;
    padding-top: 2vh;
  }

  #main-title {
    font-size: 2rem;
    position: static;
    margin: 0;
    max-width: 100%;
  }

  #subtitle {
    font-size: 30px;
    position: static;
    width: 50vh;
            text-align: center;

    padding-top: 0;
  }

  .matter-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .slide {
    flex: 0 0 100%;
  }

  .slide img {
    height: 567px;
  }

  .next-btn,
  .prev-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  #sixth-page {
    padding: 32px 8px 16px;
  }

  .footer-top {
    gap: 16px;
  }

  .footer-tagline {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .footer-social {
    gap: 12px;
  }

  .social-link img {
    width: 18px;
    height: 18px;
  }

  .footer-links {
    gap: 16px;
  }

  .link-group {
    min-width: 100%;
  }

  .link-title {
    font-size: 0.85rem;
  }

  .link-group a {
    font-size: 0.75rem;
  }

  #sixth-page {
    padding: 32px 8px 16px;
  }

  .footer-top {
    gap: 16px;
  }

  .footer-tagline {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .footer-social {
    gap: 12px;
  }

  .social-link img {
    width: 18px;
    height: 18px;
  }

  .footer-links {
    gap: 16px;
  }

  .link-group {
    min-width: 100%;
  }

  .link-title {
    font-size: 0.85rem;
  }

  .link-group a {
    font-size: 0.75rem;
  }

  #second-page {
    position: relative;
    padding-bottom: 9vh;
    height: 96vh;
  }

  #fourth-page {
    height: auto;
  }
}

#second-page {
  position: relative;
}

.section-header {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 20;
}

.section-header h2 {
  color: #000;
  font-size: 2.5rem;
  font-weight: 700;
  margin: -34px 0 0 25px;
  text-align: right;
}

.section-header1 {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 20;
}

.section-header1 h2 {
  color: #000;
  font-size: 2.5rem;
  font-weight: 700;
  margin: -34px 0 0 25px;
  text-align: right;
}

.buttons-container {
  display: flex;
  gap: 10px;
}

.round-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.round-button:hover {
  background-color: #000;
  color: #fff;
}

.spec-labels {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.spec-label-list {
  list-style: none;
  padding: 0;
  display: flex;
  margin-bottom: -198px;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

.spec-label-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #333;
  margin: 0;
  width: 100%;
}

.spec-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
}

.spec-icon img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: grayscale(100%) brightness(0%);
}

.spec-label {
  font-weight: 500;
  color: #333;
  min-width: 80px;
  font-size: 22px;
  width: 16vh;
}

.spec-desc {
  font-weight: 400;
  color: #666;
  font-size: 16px;
  width: 26vh;
  display: flex;
  justify-content: center;
}

@media (max-width: 480px) {
  .spec-label-list {
    gap: 18px;
  }

  .spec-label-list li {
    font-size: 0.9rem;
  }

  .spec-icon img {
    width: 20px;
    height: 20px;
  }

  .spec-label {
    min-width: 70px;
    text-align: left;
  }

  .spec-desc {
    padding-left: 52px;
    width: 100%;
    text-align: left;
    margin-left: 0;
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup.active {
  display: flex;
}

.popup-content {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.popup-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.popup-content p {
  font-size: 1rem;
  color: #666;
  margin: 0 0 20px 0;
}

.popup-content input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f5f5f5;
  color: #666;
  box-sizing: border-box;
}

.subscribe-button {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-button:hover {
  background-color: #e0e0e0;
  color: #333;
}

@media (max-width: 480px) {
  .popup-content {
    padding: 20px;
    max-width: 300px;
  }

  .popup-content h2 {
    font-size: 1.25rem;
  }

  .popup-content p {
    font-size: 0.9rem;
  }

  .popup-content input[type="email"] {
    padding: 10px;
    font-size: 0.9rem;
  }

  .subscribe-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

#second-page {
  position: relative;
  width: 100%;
  height: 72vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

#second-page * {
  box-sizing: border-box;
}

#second-page .slide {
  width: 357px;
  height: 550px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  z-index: 1;
}

#second-page .slide-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #fff;
  padding: 20px;
  z-index: 2;
  pointer-events: none;
}

#second-page .slide-img {
  object-fit: cover;
}

#second-page .slides-container {
  display: flex;
  transition: transform 0.5s ease;
  gap: 34px;
  height: 57vh;
}

#second-page .slides-wrapper {
  width: 100%;
  position: relative;
  padding: 0 10px;
}

#second-page .navigation {
  position: absolute;
  bottom: 20px;
  right: 53px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

@media (max-width: 1200px) {
  #second-page {
    position: relative;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    height: 54vh;
  }

  #second-page .slides-wrapper {
    width: 100%;
    height: 52vh;
    overflow: hidden;
    padding: 0 10px;
    padding-top: 1vh;
    padding-bottom: 1vh;
  }

  #second-page .slides-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 10px;
    height: 57vh;
  }

  #second-page .slide {
    width: 300px;
    height: 450px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 768px) {
  #second-page .slide {
    width: 45vw;
    height: 400px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  #second-page .slide-content h3 {
    font-size: 1.2rem;
  }

  #second-page .slide-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #second-page .slides-wrapper {
    width: 100%;
    height: 58vh;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
  }

  #second-page {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-top: -4vh;
    height: auto;
  }

  #second-page .slide {
    width: calc(100vw - 40px);
    max-height: 100vh;
    max-width: 72vw;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.15);
  }

  #second-page .slide-content {
    padding: 15px;
  }

  #second-page .slide-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  #second-page .slide-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  #second-page .slides-wrapper {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
  }
}

#second-page .slide-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#second-page .slide-content p {
  font-size: 16px;
  color: #fff;
  line-height: 25px;
  text-align: left;
  margin: 0;
}

#second-page .slide {
  height: 49.07vh;
  width: 20.78vw;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  z-index: 1;
}

@media (max-width: 1200px) {
  #second-page .slide {
    width: 300px;
    height: fit-content;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
  }

  #second-page .slides-container {
    height: 57vh;
  }

  #second-page .slide-content h3 {
    font-size: 1.1rem;
  }

  #second-page .slide-content p {
    font-size: 0.85rem;
    max-width: 85%;
  }
}

@media (max-width: 768px) {
  #second-page .slide {
    width: 45vw;
    height: 400px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  #second-page .slide-content h3 {
    font-size: 1rem;
  }

  #second-page .slide-content p {
    font-size: 0.8rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  #second-page {
    margin-top: -4vh;
    height: auto;
    min-height: 75vh;
  }

  #second-page .slides-wrapper {
    width: 100%;
    height: 67vh;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
    padding-top: 1vh;
    padding-bottom: 1vh;
  }

  #second-page .slide {
    width: calc(100vw - 40px);
    max-width: 72vw;
    height: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.15);
  }

  #second-page .slide-content {
    padding: 15px;
  }

  #second-page .slide-content h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  #second-page .slide-content p {
    font-size: 0.75rem;
    line-height: 25px;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  #second-page .slides-wrapper {
    height: 70vh;
  }

  #second-page .slide-content h3 {
    font-size: 0.9rem;
  }

  #second-page .slide-content p {
    font-size: 0.75rem;
    max-width: 95%;
  }
}

.quote {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a202c;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 63px;
  justify-items: center;
  align-items: center;
  padding: 20px;
}

.logos-grid img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

@media (max-width: 768px) {
  #second-page {
    height: auto;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }

  .quote {
    font-size: 1.5rem;
    padding-top: 27px;
  }
}

/* .compatible-models h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #3c3c3c;
  } */
/* .models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 20px;
  } */
/* .models-grid div {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 35vh;
    max-width: 100%;
  } */
/* @media (max-width: 1280px) {
    .models-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .models-grid div {
      width: 32vh;
    }
  }
  @media (max-width: 1024px) {
    .models-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .models-grid div {
      width: 30vh;
    }
  }
  @media (max-width: 768px) {
    .models-grid {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  @media (max-width: 480px) {
    .models-grid {
      grid-template-columns: repeat(1, 1fr);
      grid-template-rows: repeat(8, 1fr);
    }
    .compatible-models h2 {
      font-size: 1.5rem;
    }
  } */
#third-page {
  position: relative;
  height: auto;
  min-height: 80vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.compatible-models {
  max-width: 1400px;
  width: 100%;
  text-align: center;
}

.compatible-models h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #1a202c;
  position: relative;
}

/* .models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
    padding: 20px;
  }
  .models-grid div {
    background: linear-gradient(145deg, #fff 0, #f7fafc 100%);
    padding: 30px 20px;
    text-align: center;
    border-radius: 16px;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 280px;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
  }
  .models-grid div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2b6cb0 0, #1a4971 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .models-grid div:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(43, 108, 176, 0.15),
      0 4px 15px rgba(0, 0, 0, 0.07);
    border-color: rgba(43, 108, 176, 0.3);
  }
  .models-grid div:hover::before {
    transform: scaleX(1);
  }
  @media (max-width: 1280px) {
    .models-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
    }
  } */
@media (max-width: 1024px) {
  .compatible-models h2 {
    font-size: 2.2rem;
  }

  /* .models-grid {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    } */
}

@media (max-width: 768px) {
  #third-page {
    padding: 60px 15px;
    min-height: 80vh;
  }

  .compatible-models h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  /* .models-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
    }
    .models-grid div {
      padding: 25px 15px;
      font-size: 1rem;
    } */
}

@media (max-width: 480px) {
  #third-page {
    padding: 40px 10px;
  }

  .compatible-models h2 {
    font-size: 1.8rem;
  }

  /* .models-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
    .models-grid div {
      max-width: 100%;
      padding: 20px 15px;
    } */
}

#fifth-page {
  position: relative;
  height: auto;
  min-height: 80vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

.ai-builder-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.ai-builder-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.ai-builder-header p {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 30px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b6cb0 0, #1a4971 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 15px;
  line-height: 1.3;
}

.step-content p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
}

.cta-section {
  margin-top: 20px;
}

.cta-button {
  background: linear-gradient(135deg, #2b6cb0 0, #1a4971 100%);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(43, 108, 176, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(43, 108, 176, 0.4);
}

@media (max-width: 1024px) {
  .steps-container {
    flex-direction: column;
    gap: 30px;
  }

  .step {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* .video-grid-container {
      width: 100%;
      height: 100vh;
      padding: 80px 20px 20px;
      box-sizing: border-box;
      overflow: hidden;
      background: #ffffff;
  } */

/* .video-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 12px;
      height: 100%;
      max-width: 1600px;
      margin: 0 auto;
  } */

/* .video-item {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      background: #111;
  } */

/* .video-item video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  } */

/* .cam-label {
      position: absolute;
      top: 8px;
      left: 8px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      font-size: 0.85rem;
      font-weight: 500;
      padding: 4px 8px;
      border-radius: 4px;
      pointer-events: none;
      z-index: 2;
  } */

/* Responsive: Stack on smaller screens */
/* @media (max-width: 1200px) {
      .video-grid {
          grid-template-columns: repeat(4, 1fr);
          grid-template-rows: repeat(3, 1fr);
      }
  } */

/* @media (max-width: 900px) {
      .video-grid {
          grid-template-columns: repeat(3, 1fr);
          grid-template-rows: repeat(4, 1fr);
      }
  } */

/* @media (max-width: 600px) {
      .video-grid {
          grid-template-columns: 1fr 1fr;
          grid-template-rows: repeat(5, 1fr);
          gap: 8px;
      }
      .video-grid-container { padding: 70px 10px 10px; }
  } */

@media (max-width: 768px) {
  #fifth-page {
    padding: 60px 15px;
  }

  .ai-builder-header h2 {
    font-size: 2rem;
  }

  .ai-builder-header p {
    font-size: 1.1rem;
  }

  .step {
    padding: 25px 15px;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .step-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .ai-builder-header h2 {
    font-size: 1.8rem;
  }

  .ai-builder-header p {
    font-size: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
}


/* Logo Grid with Text Styles */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: start;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-5px);
}

.logos-grid img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-item:hover img {
  transform: scale(1.1);
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
  max-width: 120px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 25px;
  }

  .logos-grid img {
    max-width: 70px;
    max-height: 70px;
  }

  .logo-text {
    font-size: 0.9rem;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 20px;
  }

  .logos-grid img {
    max-width: 60px;
    max-height: 60px;
  }

  .logo-text {
    font-size: 0.85rem;
    max-width: 90px;
  }

  .quote {
    font-size: 1.8rem;
    padding-top: 20px;
  }
}

/* Update existing quote style */
.quote {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a202c;
  position: relative;
}

.quote::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #2b6cb0 0, #1a4971 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Remove all scrollbars from logo sections */
#second-page,
#fourth-page,
.logos-grid {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#second-page::-webkit-scrollbar,
#fourth-page::-webkit-scrollbar,
.logos-grid::-webkit-scrollbar {
  display: none !important;
}



/* Professional spacing for logo groups */
#second-page,
#fourth-page {
  padding: 40px 20px;
  min-height: auto;
  height: auto;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 30px;
  /* Perfect balanced spacing */
  padding: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 15px;
}

.logos-grid img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.3;
}

.quote {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 30px 0 40px 0;
  color: #1a202c;
}

/* Remove unwanted space between sections */
#third-page {
  padding: 40px 20px !important;
  margin: 0 !important;
}

#fifth-page {
  padding: 40px 20px !important;
  margin: 0 !important;
}

/* Professional card effect */
.logo-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Responsive design */
@media (max-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 25px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
    padding: 15px;
  }

  .logos-grid img {
    width: 60px;
    height: 60px;
  }

  .quote {
    font-size: 2rem;
  }
}

/* Fix for same box size - add this only */
.logo-item {
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px 10px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.logo-text {
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Same box size fix for Domains section */
#fourth-page .logo-item {
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px 10px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

#fourth-page .logo-text {
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Fix for same width - add this */
.logo-item {
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
}

/* For Domains section specifically */
#fourth-page .logo-item {
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
}


/* iPad/Tablet */
@media (max-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px 25px !important;
    padding: 25px !important;
  }

  .logo-item,
  #fourth-page .logo-item {
    width: 100% !important;
    max-width: 180px !important;
    min-width: auto !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px 20px !important;
    padding: 20px !important;
  }

  .logo-item,
  #fourth-page .logo-item {
    width: 100% !important;
    max-width: 160px !important;
    min-width: auto !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 28px !important;
    padding: 15px !important;
  }

  .logo-item,
  #fourth-page .logo-item {
    width: 100% !important;
    max-width: 140px !important;
    min-width: auto !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
  }

  .logo-text {
    font-size: 0.9rem !important;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {

  .logo-item,
  #fourth-page .logo-item {
    max-width: 130px !important;
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }

  .logos-grid {
    gap: 15px 25px !important;
    padding: 10px !important;
  }
}




/* COMPATIBLE MODELS - REDUCED HORIZONTAL AND VERTICAL SPACING */
.compatible-models h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a202c;
  position: relative;
}

.compatible-models h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #2b6cb0 0, #1a4971 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 63px;
  /* Reduced: 20px vertical, 15px horizontal */
  justify-items: center;
  align-items: start;
  padding: 20px;
  /* Reduced padding */
  max-width: 835px;
  margin: 0 auto;
}

.model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  /* Reduced gap between logo and text */
  padding: 20px 15px;
  /* Reduced padding */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
    width: 235px;
  /* Slightly smaller */
  height: 150px;
  /* Slightly smaller */
  justify-content: center;
  box-sizing: border-box;
}

.model-item:hover {
  transform: translateY(-3px);
  /* Smaller hover effect */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.model-logo {
  width: 120px;
  /* Slightly smaller */
  height: 80px;
  /* Slightly smaller */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.model-item:hover .model-logo {
  transform: scale(1.1);
}

.model-text {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .models-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
    /* Reduced spacing */
    padding: 15px;
  }

  .model-item {
    width: 150px;
    height: 140px;
  }

  .model-logo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .models-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
    /* Reduced spacing */
    padding: 12px;
  }

  .compatible-models h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .model-item {
    width: 140px;
    height: 130px;
    padding: 15px 10px;
  }

  .model-logo {
    width: 55px;
    height: 55px;
  }

  .model-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 8px;
    /* Reduced spacing */
    padding: 10px;
  }

  .compatible-models h2 {
    font-size: 1.8rem;
  }

  .model-item {
    width: 130px;
    height: 120px;
    padding: 12px 8px;
  }

  .model-logo {
    width: 50px;
    height: 50px;
  }

  .model-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 375px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 6px;
    /* Reduced spacing */
  }

  .model-item {
    width: 120px;
    height: 110px;
  }
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .models-grid {
    max-width: 95%;
    /* Use percentage instead of fixed width */
    padding: 0 1rem;
    /* Add side padding */
  }
}

@media (max-width: 768px) {
  .models-grid {
    max-width: 100%;
    /* Full width on smaller screens */
    padding: 0 1.5rem;
    /* More padding on sides */
  }
}

@media (max-width: 480px) {
  .models-grid {
    padding: 0 1rem;
    /* Adjust padding for very small screens */
  }
}

/* Individual logo sizes in pixels */
.logo-yolo {
  width: 50px;
  height: 50px;
}

.logo-caffe {
  width: 120px;
  height: 120px;
}

.logo-darknet {
  width: 50px;
  height: 50px;
}

.logo-keras {
  width: 130px;
  height: 130px;
}

.logo-onnx {
  width: 115px;
  height: 115px;
}

.logo-pytorch {
  width: 130px;
  height: 130px;
}

.logo-tensorflow {
  width: 65px;
  height: 65px;
}

.logo-tflite {
  width: 140px;
  height: 140px;
}

.model-item {
  position: relative;
    height: 130px;
  /* Same height for all */
}

.model-text {
  position: absolute;
  bottom: 15px;
  /* Fixed distance from bottom */
  left: 0;
  right: 0;
  text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {
  .model-item {
    height: 150px;
    padding-bottom: 35px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .model-item {
    height: 130px;
    padding-bottom: 30px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .model-item {
    height: 120px;
    padding-bottom: 25px;
  }
}

.model-text {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
}





/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* First page - navbar + video */
#first-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Video container - responsive below navbar */
.single-video-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 60px);
  /* Full height minus navbar height */
  margin-top: 60px;
  /* Push below navbar */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

/* Video styling - responsive and full container */
.fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Ensure navbar stays on top */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
}

/* .logo1 {
      position: fixed;
      top: 14px;
      left: 24px;
      z-index: 1001;
  } */

/* #hamburger {
      position: fixed;
      top: 20px;
      right: 24px;
      z-index: 1001;
  } */

/* Responsive adjustments */
@media (max-width: 768px) {
  .single-video-container {
    height: calc(100vh - 60px);
    margin-top: 60px;
  }

  .fullscreen-video {
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .single-video-container {
    height: calc(100vh - 60px);
    margin-top: 60px;
  }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .single-video-container {
    height: calc(100vh - 60px);
  }
}

/* Very small screens */
@media (max-width: 375px) {
  .single-video-container {
    height: calc(100vh - 60px);
    margin-top: 60px;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .single-video-container {
    height: calc(100vh - 60px);
  }

  .fullscreen-video {
    object-fit: cover;
  }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .fullscreen-video {
    object-fit: contain;
    /* Show full video without cropping */
    background: #ffffff;
    /* Black background for letterbox */
  }

  /* Tablet landscape */
  @media (orientation: landscape) {
    .fullscreen-video {
      object-fit: cover;
      /* Use cover in landscape to fill width */
    }
  }
}



/* Mobile (768px and below) */
@media (max-width: 768px) {
  .fullscreen-video {
    object-fit: contain;
    /* Show full video without cropping */
    background: #ffffff;
    /* Black background for letterbox */
  }

  /* Mobile landscape */
  @media (orientation: landscape) {
    .fullscreen-video {
      object-fit: cover;
      /* Use cover in landscape to fill width */
    }
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .fullscreen-video {
    object-fit: contain;
    /* Show full video without cropping */
    background: #ffffff;
  }

  @media (orientation: landscape) {
    .fullscreen-video {
      object-fit: cover;
    }
  }
}



/* Fix white space on mobile and tablet */
@media (max-width: 1024px) {
  .single-video-container {
    height: calc(100vh - 60px) !important;
    margin-top: 60px !important;
  }
}



/* Center the third page for ALL screen sizes */
#third-page {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto !important;
}

.compatible-models {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.compatible-models h2 {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.models-grid {
  margin: 0 auto !important;
  display: grid !important;
  justify-content: center !important;
  align-content: center !important;
  width: fit-content !important;
}

/* Responsive max-width for different screen sizes */
@media (max-width: 480px) {
  .models-grid {
    max-width: 95% !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .models-grid {
    max-width: 90% !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .models-grid {
    max-width: 85% !important;
  }
}

@media (min-width: 1025px) and (max-width: 1367px) {
  .models-grid {
    max-width: 900px !important;
  }
}

@media (min-width: 1368px) and (max-width: 1500px) {
  .models-grid {
    max-width: 1000px !important;
  }
}

@media (min-width: 1501px) and (max-width: 1700px) {
  .models-grid {
    max-width: 1100px !important;
  }
}

@media (min-width: 1701px) {
  .models-grid {
    max-width: 1200px !important;
  }
}




@media (max-width: 480px) {
  .model-item {
    /* Increase padding for more space around logos */
    padding: 20px 15px !important;
    /* First value: top/bottom, Second: left/right */

    /* OR adjust individual sides */
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;

    /* OR adjust gap between logo and text */
    gap: 15px !important;
    /* Space between logo and text */
  }

  /* Adjust grid gaps */
  .models-grid {
    gap: 25px 25px !important;
    /* First: row gap, Second: column gap */
  }
}



/* More space around for 2nd page (Domains) on mobile */
@media (max-width: 480px) {
  #second-page .logo-item {
    padding: 30px 25px !important;
    height: 170px !important;
    gap: 18px !important;
  }

  #second-page .logos-grid {
    gap: 30px 25px !important;
    padding: 25px !important;
  }
}





/* Equal spacing for both 2nd and 3rd pages on mobile */
@media (max-width: 480px) {

  /* For 2nd page (Domains) */
  #second-page .logo-item {
    padding: 30px 25px !important;
    height: 170px !important;
    gap: 18px !important;
  }

  #second-page .logos-grid {
    gap: 30px 25px !important;
    padding: 25px !important;
  }

  /* For 3rd page (Compatible Models) - match the same spacing */
  #third-page .model-item {
    padding: 30px 25px !important;
    height: 170px !important;
    gap: 18px !important;
  }

  #third-page .models-grid {
    gap: 30px 25px !important;
    padding: 25px !important;
  }
}





/* Video Grid Styles */
.video-grid-container {
  width: 100%;
  height: 100vh;
  padding: 80px 20px 20px;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 18vh;

}

.video-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #111;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cam-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding-top: 23vh;

  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
  }

  .video-grid-container {
    padding: 70px 10px 10px;
  }
}

/* First page adjustments */
#first-page {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

/* Ensure navbar stays on top */
#navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* .logo1 {
    position: fixed;
    top: 14px;
    left: 24px;
    z-index: 102;
} */

/* #hamburger {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 102;
} */



/* Fix for mobile white space and full video display */
@media (max-width: 600px) {
  .video-grid-container {
    height: 94vh !important;
    /* Full screen height */
    padding: 60px 10px 10px !important;
    /* Reduced padding */
  }

  .video-grid {
    height: 100% !important;
    /* Use full container height */
    padding-top: 23vh;
  }

  #first-page {
    height: 100vh !important;
    /* Ensure first page is full height */
    overflow: hidden !important;
  }
}

/* For very small phones */
@media (max-width: 375px) {
  .video-grid-container {
    padding: 60px 8px 8px !important;
  }
}