* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0B0F19;
  color: #E2E8F0;
}

/* Animated Background Glow */

body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
  top: -200px;
  left: -200px;
  filter: blur(120px);
  animation: floatGlow 18s infinite alternate ease-in-out;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147,51,234,0.12), transparent 70%);
  bottom: -200px;
  right: -200px;
  filter: blur(120px);
  animation: floatGlow 20s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes floatGlow {
  from {
    transform: translate(0,0);
  }
  to {
    transform: translate(120px,80px);
  }
}

/* NAVBAR */
header {
  background: rgba(11,15,25,0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.container {
  width: 90%;
  margin: auto;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-container img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand {
  font-weight: 700;
  background: linear-gradient(90deg, #3B82F6, #6366F1);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #94A3B8;
  font-weight: 500;
  padding: 8px 0;
  transition: 0.3s ease;
}

/* Simple hover */
nav a:hover {
  color: #E2E8F0;
}

/* ONLY active tab gets pill */
nav a.active {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
}

/* HERO */
.hero {
  padding: 350px 20px 120px;
  text-align: center;
  background:
    linear-gradient(rgba(11,15,25,0.85), rgba(11,15,25,0.95)),
    url("images/ai-bg.png");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  max-width: 650px;
  margin: auto;
  color: #94A3B8;
  font-size: 18px;
}

.hero-buttons {
  margin-top: 35px;
}

.btn-secondary {
  border: 1px solid #334155;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  color: #E2E8F0;
  transition: 0.3s;
}

.btn-secondary:hover {
  border-color: #6366F1;
  color: #6366F1;
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
}

.light {
  background: #0F172A;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.section p {
  color: #94A3B8;
  max-width: 700px;
  margin: auto;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.card {
  background: #111827;
  padding: 30px;
  width: 280px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #6366F1;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #1E293B, #0B0F19);
  padding: 100px 20px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 25px;
}

/* FOOTER */
footer {
  background: #0B0F19;
  padding: 40px 20px;
  text-align: center;
  color: #64748B;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* PAGE HERO */
.page-hero {
  padding: 160px 20px 80px;
  text-align: center;
  background:
    linear-gradient(rgba(11,15,25,0.9), rgba(11,15,25,0.95)),
    url("images/tech-grid.png");
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.page-hero p {
  color: #94A3B8;
  max-width: 600px;
  margin: auto;
}

/* SERVICES GRID */
.services-grid {
  padding: 100px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.services-page-card {
  background: #111827;
  padding: 35px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.service-card p {
  color: #94A3B8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  color: #6366F1;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

/* Hover Interaction */
.service-card:hover {
  transform: translateY(-10px);
  border-color: #6366F1;
  box-shadow: 0 15px 40px rgba(99,102,241,0.15);
}

.service-card:hover .service-link {
  letter-spacing: 1px;
}

/* INTERNSHIP GRID */
.internship-grid {
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.intern-card {
  background: #111827;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
  font-weight: 500;
}

.intern-card:hover {
  transform: translateY(-8px);
  border-color: #6366F1;
  box-shadow: 0 10px 30px rgba(99,102,241,0.15);
}

/* FORM SECTION */
.form-section {
  padding: 100px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.intern-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.intern-form input,
.intern-form select,
.intern-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0F172A;
  color: white;
}

.intern-form button {
  margin-top: 10px;
}

.service-card:hover,
.card:hover,
.impact-card:hover,
.intern-card:hover {
  box-shadow: 0 10px 40px rgba(99,102,241,0.25);
}

/* TEAM SECTION */
.team-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #140c2f, #0b0f19);
}

.team-section h2 {
  font-size: 36px;
  margin-bottom: 60px;
  color: #ffffff;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-card {
  width: 200px;
  transition: 0.3s ease;
}

.team-img {
  width: 160px;
  height: 160px;
  margin: auto;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #6366F1, #9333EA);
}

.team-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card h3 {
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
}

.role {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  color: #94A3B8;
}

.linkedin {
  text-decoration: none;
  color: #6366F1;
  font-size: 14px;
  transition: 0.3s;
}

.linkedin:hover {
  color: #ffffff;
}

.team-card:hover {
  transform: translateY(-8px);
}

/* CONTACT INFO SECTION */

.contact-info-section {
  padding: 80px 5%;
}

.contact-info-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.contact-info-card {
  background: #111827;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
}

.contact-info-card i {
  font-size: 22px;
  color: #6366F1;
  margin-bottom: 15px;
}

.contact-info-card h3 {
  margin-bottom: 10px;
}

.contact-info-card p {
  color: #94A3B8;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: #6366F1;
}


/* CONTACT FORM SECTION */

.contact-form-section {
  padding: 100px 5%;
}

.contact-form-container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.contact-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-image img {
  max-width: 420px;
}

.form-subtext {
  color: #94A3B8;
  margin-top: 10px;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0F172A;
  color: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

.social-icons {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  background: #111827;
  padding: 12px;
  border-radius: 50%;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #6366F1;
}

.services-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 20px;
  border: 1px solid #6366F1;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.services-btn:hover {
  background: #6366F1;
  color: white;
}

/* SERVICE HERO */
.service-hero {
    padding: 140px 5% 120px;  
}

.service-container {
  display: flex;
  align-items: center;   /* important */
  justify-content: space-between;
  gap: 80px;             /* increase spacing */
  max-width: 1200px;
  min-height: 420px;
  margin: 0 auto;
}

.service-content {
  flex: 1;
  min-width: 300px;
}

.service-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.service-content p {
  color: #94A3B8;
  line-height: 1.6;
  max-width: 500px;
}

.service-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-end;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  display: block;
  transition: transform 0.4s ease;
  will-change: transform;
}

.service-image img {
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.service-image img:hover {
  transform: scale(1.03);
}

/* SECTION */
.service-section {
  padding: 100px 5%;
  background: #0b0f19;
  color: white;
}

.service-section h2 {
  margin-bottom: 50px;
  font-size: 28px;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #1a1338;
  padding: 35px;
  border-radius: 16px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card h3 {
  margin-bottom: 15px;
}

/* CTA */
.service-cta {
  padding: 100px 5%;
  background: #1a1338;
  text-align: center;
  color: white;
  border-radius: 20px;
  margin: 80px 5%;
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #6366F1, #9333EA);
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}

.clean-hero {
  padding: 160px 5% 120px;
}

.alt-section {
  padding: 100px 5%;
  background: #12162b;
  color: white;
}

.service-section {
  padding: 100px 5%;
  background: #0b0f19;
  color: white;
}

.service-section h2,
.alt-section h2 {
  font-size: 30px;
  margin-bottom: 50px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.impact-card {
  background: #1a1338;
  padding: 35px;
  border-radius: 14px;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.impact-card h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.impact-card p {
  color: #94A3B8;
  line-height: 1.6;
}

.impact-card:hover {
  transform: translateY(-6px);
  border-color: #6366F1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.process-number {
  font-size: 32px;
  font-weight: 700;
  color: #6366F1;
}

.tech-section {
  padding: 100px 5%;
  background: #0f1328;
  color: white;
  text-align: center;
}

.tech-subtext {
  color: #94A3B8;
  max-width: 600px;
  margin: 15px auto 40px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.tech-stack span {
  background: linear-gradient(135deg, #1a1338, #21164b);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s ease;
}

.tech-stack span:hover {
  transform: translateY(-4px);
  border-color: #6366F1;
}

.form-subtext {
  color: #94A3B8;
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 14px;
}

.file-upload {
  text-align: left;
}

.file-upload label {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 6px;
  display: block;
}

.intern-form input,
.intern-form select,
.intern-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0F172A;
  color: white;
  transition: 0.3s ease;
}

.intern-form input:focus,
.intern-form select:focus,
.intern-form textarea:focus {
  border-color: #6366F1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

.intern-form button {
  margin-top: 20px;
  padding: 14px;
  border-radius: 30px;
}

/* SCROLL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.section h2::after,
.alt-section h2::after,
.service-section h2::after,
.tech-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: linear-gradient(90deg,#6366F1,#9333EA);
  border-radius: 10px;
}

.team-social {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-social a {
  width: 34px;
  height: 34px;
  background: #111827;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6366F1;
  transition: 0.3s;
}

.team-social a:hover {
  background: #6366F1;
  color: white;
  transform: translateY(-3px);
}

.section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent);
  filter: blur(120px);
}





/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 900px) {

  /* NAVBAR */
  nav {
    gap: 15px;
    font-size: 14px;
  }

  .logo-container img {
    height: 55px;
  }

  /* HERO TEXT */
  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  /* SERVICE HERO */
  .service-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .service-image {
    justify-content: center;
  }

  /* IMPACT GRID */
  .impact-grid {
    grid-template-columns: 1fr;
  }

  /* FORM ROW */
  .form-row {
    flex-direction: column;
  }

}

/* SMALL PHONES */

@media (max-width: 600px) {

  .hero {
    padding: 200px 20px 80px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .section h2 {
    font-size: 26px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .team-grid {
    gap: 25px;
  }

}

/* =================================
   TABLET RESPONSIVE
================================= */

@media (max-width: 992px) {

  /* HERO SECTION */
  .hero {
    padding: 220px 20px 100px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

  /* SERVICE HERO */
  .service-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .service-image {
    justify-content: center;
  }

  /* GRIDS */
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .cards {
    justify-content: center;
  }

  /* TEAM */
  .team-grid {
    gap: 30px;
  }

  /* CONTACT FORM */
  .form-row {
    flex-direction: column;
  }

}

/* =================================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 768px) {

  /* NAVBAR */
  .container {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* HERO */
  .hero {
    padding: 180px 20px 80px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  /* PAGE HERO */
  .page-hero {
    padding: 140px 20px 70px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  /* SERVICES GRID */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* SERVICE CARDS */
  .service-grid {
    grid-template-columns: 1fr;
  }

  /* INTERNSHIPS */
  .internship-grid {
    grid-template-columns: 1fr;
  }

  /* TEAM */
  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  /* CONTACT */
  .contact-layout {
    flex-direction: column;
  }

}

/* =================================
   SMALL PHONE OPTIMIZATION
================================= */

@media (max-width: 480px) {

  .hero h1 {
    font-size: 26px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .section h2 {
    font-size: 24px;
  }

  .service-content h1 {
    font-size: 28px;
  }

  .service-image img {
    max-width: 320px;
  }

  .logo-container img {
    height: 50px;
  }

}

