@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: #030812;
  color: #fff;
  overflow-x: hidden;
}

canvas#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  z-index: -1;
}

.hero {
  min-height: 100vh;
  padding: 80px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.9), transparent);
}
.hero-logo {
  max-width: 480px;
  width: 90%;
  margin-bottom: 30px;
  border-radius: 20px;
  filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.25));
  animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
  0% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.2)); }
  100% { filter: drop-shadow(0 0 35px rgba(0, 255, 255, 0.5)); }
}
.hero h2 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #00ffff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px #00ffff66;
}
.hero p { margin-top: 10px; color: #ccc; font-size: 1.3rem; }
.btn {
  margin-top: 25px;
  padding: 12px 32px;
  background: linear-gradient(90deg, #00ffff, #0077ff);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 25px #00ffff55;
}
.btn:hover { transform: scale(1.05); box-shadow: 0 0 35px #00ffffaa; }

section {
  padding: 100px 10%;
  text-align: center;
}

.services, .pain-points, .why-me, .projects, .contact {
  background: transparent;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.services h2, .pain-points h2, .why-me h2, .projects h2, .contact h2 {
  color: #00e6ff;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.cards, .points, .reasons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card, .point, .reason {
  background: rgba(10, 19, 37, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover, .point:hover, .reason:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.5);
}

.compare {
  background: transparent;
  padding: 100px 10%;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.compare h2 {
  color: #00e6ff;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.compare .lead {
  color: #bbb;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.comparison-table {
   width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 19, 37, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px #00ffff33;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #00ffff22;
  text-align: left;
}

.comparison-table th {
  background: linear-gradient(90deg, #00ffff44, #0077ff33);
  font-weight: 700;
  color: #00ffff;
  text-transform: uppercase;
}

.comparison-table tr:hover {
  background: #00ffff11;
}

.comparison-table td:first-child {
  color: #00ccff;
  font-weight: 600;
}

/* Scroll Animation Styles */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   CONTACT SECTION
===================== */
.contact {
  background: transparent;
  padding: 100px 10%;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.contact h2 {
  color: #00e6ff;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.contact .lead {
  color: #bbb;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 550px;
  background: rgba(10, 19, 37, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 20px #00ffff33;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #00e6ff;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #040914;
  border: 1px solid #00ffff44;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00ffff;
  box-shadow: 0 0 8px #00ffff55;
}

.contact .btn {
  background: linear-gradient(90deg, #00ffff, #0077ff);
  border: none;
  padding: 14px 40px;
  font-size: 1.1rem;
  color: #000;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00ffff99;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
  color: #ccc;
}

.contact-info h3 {
  color: #00ffff;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-info a {
  color: #00e6ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links a {
  color: #00ffff;
  margin-right: 15px;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social-links a:hover {
  color: #0077ff;
  transform: scale(1.2);
}

/* Responsive layout */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form, .contact-info {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 100px; /* Extra space for mobile status bars/notches */
    justify-content: flex-start;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero-logo {
    max-width: 320px;
  }
  
  section {
    padding: 60px 5%;
  }
  
  .services h2, .pain-points h2, .why-me h2, .projects h2, .contact h2, .compare h2 {
    font-size: 2rem;
  }
}

