@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

.background-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

/* Navigation */
nav {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 10;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #d1e3ff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px cornflowerblue;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, cornflowerblue, transparent);
  transition: width 0.4s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #d1e3ff;
  margin: 4px 0;
}

/* Responsive Nav */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 70%;
    background-color: rgba(1, 3, 17, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 9;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .hamburger {
    display: flex;
    z-index: 10;
  }

  .nav-active {
    transform: translateX(0%);
  }
}

/* Animation */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
  background-color: cornflowerblue;
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
  background-color: cornflowerblue;
}

/* Info Section */
.info-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  gap: 3em;
  position: relative;
}

.left-image {
  flex: 1;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.left-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.right-content {
  flex: 1.2;
  color: #fff;
  padding: 2rem;
  position: relative;
  min-width: 280px;
}

/* Tablet & Mobile */
@media (max-width: 992px) {
  .info-section {
    flex-direction: column;
    text-align: center;
  }
  .left-image,
  .right-content {
    width: 100%;
  }
}
/* content1 */
.content1{
    padding: 190px;
    font-size: 25px;
    font-weight: 300;
}
/* Preloader Container */
.preloader {
  height: 100vh;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* Loader */
.loader {
  height: 25px;
  width: 25px;
  position: relative;
}

.loader .ball {
  position: absolute;
  height: 25px;
  width: 25px;
  border-radius: 50%;
}

.loader .upper {
  left: 0;
  top: -25px;
  background: #2da2ff;
  animation: upper 1s infinite;
}

@keyframes upper {
  50%, 100% {
    top: 25px;
  }
}

.loader .right {
  bottom: 0;
  right: -25px;
  background: #ff337a;
  animation: right 1s infinite;
}

@keyframes right {
  50%, 100% {
    right: 25px;
  }
}

.loader .lower {
  bottom: -25px;
  right: 0;
  background: #ffff00;
  animation: lower 1s infinite;
}

@keyframes lower {
  50%, 100% {
    bottom: 25px;
  }
}

.loader .left {
  left: -25px;
  bottom: 0;
  background: #00ff00;
  animation: left 1s infinite;
}

@keyframes left {
  50%, 100% {
    left: 25px;
  }
}

/* Main Content (Hidden by Default) */
.main-content {
  display: none;
  padding: 5rem 2rem;
  text-align: center;
  background: #111;
  color: #fff;
  min-height: 100vh;
}

/* Responsive Loader */
@media (max-width: 600px) {
  .loader .ball {
    height: 18px;
    width: 18px;
  }

  .loader {
    height: 18px;
    width: 18px;
  }
}
/* scroll */
/* Logo Carousel Styles */

.logo-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    margin: 40px 0;
    /* optional spacing */
}

.logo-carousel {
    display: flex;
    width: calc(200px * 10);
    /* number of logos times width, adjust if needed */
    animation: scroll 20s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    width: 150px;
    /* same as image width */
    height: 100px;
    /* Added: Set a fixed height for the logo item box */
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
    /* Optional: Add a border to visualize the box */
}

.logo-item img {
    width: 100%;
    height: 100%;
    /* Changed: Allow image to take up 100% of the parent height */
    display: block;
    object-fit: contain;
}


/* Infinite scrolling animation */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}