:root {
  --primary-color: #4a90e2;
  --secondary-color: #f39c12;
  --accent-color: #25d366;
  --text-color: #333;
  --bg-color: #f4f4f4;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
    max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  max-width: 100%;
}
/* Tech Header and Navbar Styles */
.tech-header {
  background: rgba(10, 10, 46, 0.95); /* Increased opacity for better visibility */
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  top: 0; /* Ensure it sticks to the top */
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
}

.tech-header.scrolled {
  background: rgba(10, 10, 46, 1); /* Fully opaque when scrolled */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.tech-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  transition: width 0.3s ease;
}

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

.login-dropdown {
  position: relative;
}

.login-dropdown-content {
  display: none;
  position: absolute;
  background: rgba(10, 10, 46, 0.9);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}

.login-dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.login-dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.login-dropdown:hover .login-dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border: none;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.4s;
}

/* Updated Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a2e, #1a1a4a);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: calc(8rem + 70px) 0 4rem; /* Add extra padding to account for fixed header */
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #a0a0c0;
}

.hero .cta-button {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.hero .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 500px;
}

.tech-circle {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icons i {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
  animation: float 6s infinite ease-in-out;
}

.floating-icons i:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.floating-icons i:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}
.floating-icons i:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: 2s;
}
.floating-icons i:nth-child(4) {
  top: 40%;
  left: 60%;
  animation-delay: 3s;
}
.floating-icons i:nth-child(5) {
  top: 30%;
  left: 90%;
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.data-stream {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.data-particle {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, rgba(52, 152, 219, 0), rgba(52, 152, 219, 1));
  animation: dataFlow 8s infinite linear;
}

.data-particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}
.data-particle:nth-child(2) {
  left: 50%;
  animation-delay: 4s;
}
.data-particle:nth-child(3) {
  left: 80%;
  animation-delay: 2s;
}

@keyframes dataFlow {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-card {
  background-color: none;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

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

.service-card:hover {
  transform: translateY(-10px);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* WhatsApp Section */
.whatsapp-section {
  background: linear-gradient(135deg, #1e0b4d, #4a0bab);
  color: #fff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.whatsapp-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.whatsapp-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.whatsapp-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.whatsapp-features {
  list-style: none;
  margin: 2rem 0;
}

.whatsapp-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.whatsapp-features li i {
  color: #25d366;
  margin-right: 1rem;
}

.whatsapp-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Testimonials Section */
.testimonials {
  background-color: #fff;
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
  padding: 2rem 0;
}

.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 10px;
  margin-right: 2rem;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

.testimonial-card:last-child {
  margin-right: 0;
}

.testimonial-card.active {
  transform: scale(1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

/* Interactive Features */
.cursor-glow {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.3);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: 70px; /* Adjust based on your header height */
    right: -100%;
    height: 100vh;
    width: 100%;
    background: rgba(10, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    transition: right 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 2.5rem 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1000;
  }

  .whatsapp-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp-features li {
    justify-content: center;
  }

  .hero-content .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-visual {
    flex: none;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    height: 300px;
    margin-top: 2rem;
  }

  .tech-circle {
    width: 250px;
    height: 250px;
  }
  .cta-button {
    display: none;
    cursor: pointer;
  }
}

