* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 15px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #0066ff;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0066ff;
  transition: width 0.3s ease;
}

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

.contact-btn {
  background: linear-gradient(135deg, #0066ff, #0052cc);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url("../img/main.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 102, 255, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #0066ff;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0066ff, #0052cc);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 15px 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #0066ff;
  transform: translateY(-3px);
}

/* Stats Section */
.stats {
  background: #000;
  padding: 100px 0;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,102,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.4);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #0066ff;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Services Section */
.services {
  background: #e4e8ee;
  padding: 150px 0;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-subtitle {
  color: #0066ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 30px;
background: #313131;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.2rem;
  color: rgba(112, 112, 112, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: rgba(0, 102, 255, 0.5);
  box-shadow: 0 25px 60px rgba(0, 102, 255, 0.2);
}

.service-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 102, 255, 0.8),
    rgba(0, 82, 204, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-icon {
  font-size: 4rem;
  color: rgb(255, 255, 255);
}

.service-content {
  padding: 40px 30px;
  position: relative;
  z-index: 2;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #313131;
}

.service-desc {
  color: rgba(70, 70, 70, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #fff;
  gap: 15px;
}

/* Technology Section */
.technology {
  background: #0f1011;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.tech-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.19), transparent);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.technology-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-text h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #fff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.tech-features {
  margin-top: 40px;
}

.tech-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(0, 102, 255, 0.09);
  border-radius: 10px;
  border-left: 3px solid #0066ff;
  font-size: 1.2em;
}

.tech-feature i {
  color: #0066ff;
  font-size: 1.5rem;
}



.tech-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}

.tech-image {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tech-image:hover {
  transform: scale(1.05);
}

.tech-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Portfolio Section */
.portfolio {
  background: #111;
  padding: 150px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 80px;
}

.portfolio-item {
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
}

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

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 40px 30px 30px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.portfolio-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1608454770647-01dc0f7dd97d?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
      center/cover;
  padding: 150px 0;
  text-align: center;
  position: relative;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #fff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.contact-item {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.5);
  transform: translateY(-10px);
}

.contact-item i {
  font-size: 2.5rem;
  color: #0066ff;
  margin-bottom: 20px;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-subtitle {
    font-size: 1em;
  }

  .section-header {
margin-bottom: 60px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .tech-text h2 {
    font-size: 35px;
    line-height: 1.2;
  }

  .tech-text p {
    font-size: 17px;
  }

  .contact {
    padding: 50px 20px !important;
  }

  .contact h2 {
    font-size: 35px;
  }

  .contact p {
    font-size: 17px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.15em;
  }

  .section-description {
    font-size: 1em;
  }
  .section-description br {
    display: none;
  }

.section-container {
  padding: 0 20px;
}

  section {
    padding: 50px 0 !important;
  }

  .technology-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
