/* GENERAL STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #011019, #000000, #030e15, #000000);
  background-size: 400% 400%;
  color: #fff;
  animation: gradientAnimation 30s ease infinite;
  transition: background 0.5s ease-in-out;
  box-sizing: border-box;
  

}

html{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 25%; }
  25% { background-position: 25% 50%; }
  50% { background-position: 50% 75%; }
  75% { background-position: 75% 100%; }
  100% { background-position: 100% 0; }
}

.bg-image {
  background-image: url('path-to-your-image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

.App, .content {
  text-align: center;
  z-index: 1;
  position: relative;
}

/* NAVIGATION */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.112);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 70px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #f5f1f6;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.nav-links a:hover {
  color: #f3f0f2;
  text-shadow: 0 0 5px #00eeffaa, 0 0 10px #ae4cff9a,
               0 0 15px #0055ffbb, 0 0 20px #009dff,
               0 0 25px #9900ff, 0 0 30px #3c00ff, 0 0 35px #010934;
}

/* Hamburger & mobile menu */
#menu-toggle {
  display: none;
}

.hamburger {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  color: #ffffff;
  margin-right: 2rem;
}

.nav-links.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.501);
  width: 50%;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 10px 10px;
}

#menu-toggle:checked + .hamburger + .nav-links {
  display: flex;
}

/* SECTIONS */
.section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0;
  padding:0;
  top:0;
  object-fit:cover;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: blur(10px);
  animation: videoSpeedControl 1s linear infinite;
}

@keyframes videoSpeedControl {
  0% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* HOME SECTION */
.home .main-text {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeIn 2s, flicker 2.5s infinite alternate;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.typewriter h2 {
  overflow: hidden;
  color: white;
  border-right: 0.15em solid orange;
  white-space: nowrap;
  margin: 0 1rem;
  letter-spacing: 0.15em;
  animation: typing 7s steps(40, end) infinite, blink-caret .75s step-end infinite;
  display: inline-block;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: orange; }
}

/* ABOUT SECTION */
.about {
  padding: 8rem 2rem 10rem 2rem;
  min-height: 130vh;
  text-align: center;
  background: linear-gradient(135deg, #011019, #000000, #030e15, #000000);
  background-size: 400% 400%;
  animation: gradientAnimation 30s ease infinite;
}
.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 3rem;
  text-align: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-item .counter {
  font-size: 3rem;
  font-weight: bold;
  color: #552bff;
  display: block;
  font-family: 'Michroma', sans-serif;
  animation: fadeIn 1s ease-in-out;
}

.stat-item p {
  font-size: 1.1rem;
  color: #fff;
  margin-top: 10px;
  font-family: 'Anta', sans-serif;
}


.about h1 {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeIn 2s, flicker 2s infinite alternate;
  position: relative;
}

.about h1::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.about h1:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.about-details {
  text-align: left;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(97, 96, 96, 0.1);
}

.about-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #3a8adf;
  text-align: center;
  
  font-weight: bold;
  font-family: 'Fira Sans', sans-serif;
  position: relative;
}

.about-details h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #3a8adf;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.about-details h2:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  
}

.about-details p, .about-details ul {
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  
  
}

.about-details ul {
  list-style: none;
  padding: 0;
}

.about-details ul li {
  margin-bottom: 0.5rem;
  font-weight: bold;
  transition: transform 0.3s ease-in-out;
}

.about-details ul li:hover {
  transform: scale(1.05);
  color: #00ffb3;
}

/* SERVICES SECTION */
.services h1 {
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  animation: fadeIn 2s, flicker 2s infinite alternate;
}

.services h1::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -10px;
  left: 0;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.services h1:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.explore-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  border: 2px solid #00f2ff; /* Outline color */
  color: #00f2ff;
  background-color: transparent;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeIn 2s, flicker 2s infinite alternate;
}

.explore-btn:hover {
  background-color: #00f2ff;
  color: #000;
  transform: scale(1.05);
}


.explore-wrapper {
  text-align: center;
  margin-top: 40px;
}


/* Outer layout */
.services {
  background: linear-gradient(135deg, #011a28, #000000, #021d2c, #000000);
  padding: 80px 40px;
}

.content h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

/* Each service block */
.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #31325e51;
  margin-bottom: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  gap: 40px;
}

/* Image */
.service-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Text */
.service-info {
  flex: 1;
}

.service-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: 'Comfortaa', sans-serif;
  color: #3a8adf;
  font-weight: bold;
  position: relative;
  display: inline-block; /* Important to limit the underline to the text width */
}

.service-info h2::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #3a8adf;
  transition: width 0.3s ease-in-out;
}

.service-info h2:hover::after {
  width: 100%;
}

.service-info p {
  font-size: 1.1rem;
  color: #ffffff;
  font-family: 'Comfortaa', sans-serif;
  text-align: center;
}


/* CONTACT SECTION */
.contact h1, .contact h2, .contact h3 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}


.contact h1 {
  font-size: 3rem;
  animation: fadeIn 2s, flicker 2s infinite alternate;
  position: relative;
  display: inline-block; /* To limit the underline to the text width */
}

.contact h1::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #f2e0ec;
  transition: width 0.3s ease-in-out;
}

.contact h1:hover::after {
  width: 100%;
}


.contact h2 {
  font-size: 2rem;
  color: #f2e0ec;
}

.contact h3 {
  font-size: 1rem;
  color: #f2e0ec;
  font-family: 'comfortaa', sans-serif;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: rgb(255, 0, 238);
}
.contact-logo {
  display: flex;
  
  justify-content: center;
  align-items: center;
}

.contact-logo img {
  height: 40px;
}

/* FOOTER */
.footer {
  padding: 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  font-family: 'comfortaa', sans-serif;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .typewriter h2 {
    font-size: 0.8rem;
  }

  .service-boxes {
    flex-direction: column;
    align-items: center;
  }

  .service-card-container {
    height: 5%;
    width: 80%;

  }

  .service-card {
    height: 00px;
  }

  .about h1 {
    font-size: 2rem;
    
  }

  .about-details h2 {
    font-size: 1rem;
  }

  .about-details p, .about-details ul {
    font-size: 0.6rem;
  }

  .services h1 {
    font-size: 2rem;
  }

  .logo img {
    height: 50px;
  }
  .service-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .service-image {
    order: 1;
    margin-bottom: 20px;
  }

  .service-info {
    order: 2;
  }

  .service-info h2 {
    order: 2;
    margin-bottom: 10px;
  }

  .service-info p {
    order: 3;
  }
  .contact h3 {
    font-size:0.8rem;
  }
  .stats {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .stat-item {
    width: 30%;
    padding: 20px;
    font-size: 0.7rem;
  }

  .stat-item .counter {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

}
