* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, li {
  list-style: none;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #060d1f;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.heading{
  text-align: center;
  color: #00f7e7;
  font-size: 30px;
  margin-bottom: 30px;
}

.heading-paragraph{
  font-size: 20px;
  line-height: 2;
  color: #D1D1D1;  
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  width: 100vw;    
  max-width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: #0b1a33;
}

.hero h1 {
  font-size: 2rem;
  z-index: 2;
  position: relative;
}

.typing {
  font-size: 1.5rem;
  color: #9efef6;
  margin-top: 20px;
  z-index: 2;
  position: relative;
}

/* Background Animation */
canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* ✅ Responsiveness */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .typing {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }
  .typing {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .typing {
    font-size: 0.9rem;
  }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b1a33;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-div {
  display: flex;
  align-items: center;
}

.logo-pic {
  height: 100px;
  width: auto;
  margin-right: 10px;
}

.logo-link {
  text-decoration: none;  /* removes underline */
  color: inherit;         /* keeps your original text color */
  display: inline-block;  /* ensures div stays clickable */
}

.name {
  font-size: 30px;
  color: #00f7e7;
  font-family: 'Montserrat', sans-serif;
}

/* Nav */
nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
}

nav a {
  color: #00f7e7;
  text-decoration: none;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 15px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  background-color: #03131f;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 201, 177, 0.3);
  color: #2df6ff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #082d3e;
  top: 100%;
  left: 0;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 201, 177, 0.15);
  min-width: 200px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: #9efef6;
  padding: 10px 15px;
  font-size: 15px;
  text-decoration: none;
  display: block;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #00c9b125;
  color: #00fff7;
  box-shadow: 0 0 10px #00c9b1, 0 0 15px #00e6d4;
}

.banner {
  position: relative;
  height: auto;
}

.banner img {
  width: 100%;
  height: 150px;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;           /* Center vertically */
  left: 50%;          /* Center horizontally */
  transform: translate(-50%, -50%);
  font-size: clamp(25px, 5vw, 40px); /* Responsive text */
  color: #00fff7;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif
}

/* Tablet */
@media (max-width: 1024px) {
  img {
    height: 200px;  /* Slightly smaller on tablets */
  }
}

/* Mobile */
@media (max-width: 768px) {
  img {
    height: 190px;  /* Smaller height for mobile */
  }
}

section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

.DOTS{
  color:#00f7e7;
}

section p, section ul {
  font-size: 20px;
  color: #D1D1D1;
  line-height: 1.7;
}


/* Contact */
#contact {
  background-color: #0b1a33;
  color: #F0F4F8;
  padding: 30px;
  max-width: 1900px;
}

.contact {
  font-size: 24px;
  color: #00e6d4;
  text-align: left;
  margin-bottom: 10px;           /* centers the heading */
  border-bottom: 2px solid #0077B5; /* adds a blue line below */
  display: inline-block;           /* makes the line match the text width */
  padding-bottom: 5px;
}

.contact-details p {
  font-size: 16px;
  margin-bottom: 3px;
  color: #F0F4F8;
}

#follow {
  background-color: #0b1a33;
  color: #F0F4F8;
  padding: 30px;
  max-width: 1900px;
}

.follow {
  font-size: 24px;
  color: #00e6d4;
  text-align: center;              /* centers the heading */
  border-bottom: 2px solid #0077B5; /* adds a blue line below */
  display: inline-block;           /* makes the line match the text width */
  padding-bottom: 5px;             /* adds little space between text and line */
}

.follow-icons {
  display: flex;             /* enables flex layout */
  gap: 13px;                 /* creates space between icons */
  margin-top: 15px;
}

.follow-icons a {
  color: #333;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.follow-icons a:hover {
  transform: scale(1.2);
}

.fa-instagram{
  font-size: 30px;
  background: linear-gradient(45deg, #FCAF45, #F77737, #E1306C, #833AB4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-whatsapp {
  color: #25D366;
  font-size: 28px;
  transition: transform 0.3s;
}

.fa-whatsapp:hover {
  transform: scale(1.1);
}

.fa-x-twitter {
  font-size: 28px;   /* adjust size if needed */
  color: #000;       /* pure black */
  transition: 0.3s;
}

.fa-x-twitter:hover {
  color: #000;       /* stays black on hover (optional) */
  transform: scale(1.1); /* optional hover effect */
}


/* AI Sections (Types, How it Works, Interactive) */

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00f7e7;
  text-shadow: 0 0 10px rgba(0,247,231,0.6), 0 0 20px rgba(0,247,231,0.3);
}

/* ===================== AI Components Section ===================== */
.ai-components {
  padding: 30px;
  width: 100%;
  margin: auto;
  background-color: #D1D1D1;
  border-radius: 10px;
}

.heading-component{
  text-align: center;
  color: #0b1a33;
  font-size: 35px;
  margin-bottom: 30px;
  background-color: #00C9B1;
  border-radius: 10px;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 per row */
  gap: 25px;
  justify-items: center;
}

.component-card img{
  width: 120px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;      /* makes the image a block element */
  margin-left: auto;   /* centers horizontally */
  margin-right: auto;  /* centers horizontally */
  transition: transform 0.3s ease;
}

.component-card img:hover {
  transform: scale(1.1); /* slight zoom effect on hover */
  cursor: pointer;
}

/* Responsive fix for smaller screens */
@media (max-width: 900px) {
  .components-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .components-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}

.component-card {
  background: #0b1a33;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  color: #D1D1D1;
  transition: transform 0.3s ease; /* only movement */
}

.component-card:hover {
  transform: translateY(-12px); /* smooth upward movement */
}

.component-card h3 {
  color: #00f7e7;
  margin: 10px 0;
}

.component-card .icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 12px;
}

/* Steps Section */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  background: #0b1a33;
  padding: 20px;
  border-left: 6px solid #00f7e7;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 201, 177, 0.15);
  color: #D1D1D1;
}

.step h3 {
  color: #00f7e7;
}

.step img{
  width: 120px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;      /* makes the image a block element */
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Interactive Section */
.ai-interactive{
  width: 90%;
  margin-bottom: 26px;
  margin-top: 0;
  background-color: #D1D1D1;
  border-radius: 10px;
  padding: 30px;
}

.interactive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  text-align: center;
  background-color: #D1D1D1;
}

.interactive-item {
  background-color: #D1D1D1;
  padding: 25px;
  border-radius: 15px;
  color: #00C9B1;
  transition: 0.3s ease;
  background-color: #0b1a33;
}

.interactive-item:hover {
  transform: scale(1.05);
}

.interactive-item button {
  background: transparent;
  border: 2px solid #00f7e7;
  color: #00f7e7;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hover effect */
.interactive-item button:hover {
  background: #00f7e7;
  color: #03131f;
  box-shadow: 0 0 15px #00f7e7, 0 0 30px rgba(0, 247, 231, 0.6);
  transform: translateY(-2px);
}

/* Click (active) effect */
.interactive-item button:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px #00f7e7 inset;
}

/* Animations */
.intro-animate {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.intro-animate.show {
  opacity: 1;
  transform: translateX(0);
}

.service-card-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.service-card-animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background-color: #0b1a33;
  color: #F0F4F8;
  text-align: center;
  padding: 15px 30px;
}

/* Responsiveness */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  section, #contact {
    padding: 40px 20px;
  }

  .banner-div {
    height: 200px;
  }
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #00C9B1;
  cursor: pointer;
  margin-left: auto;
  margin-top: 10px;
  z-index: 1001;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  padding: 10px;          /* ensures a bigger square area */
  border-radius: 8px;     /* rounded square */
}

.nav-toggle:hover {
  transform: scale(1.1);
  background-color: rgba(0, 201, 177, 0.2); /* glowing square hover */
  color: #00fff7;                          /* brighter icon color */
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;      /* Stack items vertically */
    align-items: flex-start;     /* Align items to left */
    padding: 15px 20px;
  }

  .logo-div {
    order: 1;
    width: 100%;
    margin-bottom: 10px;         /* Space below logo */
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;              /* Remove left auto margin */
    margin-top: 0;
    align-self: flex-start;      /* Align hamburger left */
    font-size: 32px;             /* Slightly bigger hamburger */
    cursor: pointer;
  }

  nav {
    order: 3;
    width: 100%;
    display: none;
    background-color: #0b1a33;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    width: 100%;
    text-align: left;
  }

  /* Dropdown styling for mobile */
  .dropdown-menu {
    position: static;
    display: none;
    background-color: #082d3e;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}


@media (max-width: 768px) {
  /* Disable hover dropdown menu */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Show dropdown only when open */
  .dropdown.open .dropdown-menu {
    display: block;
    position: static;       /* Make submenu flow naturally below */
    border-radius: 10px;
    margin-top: 5px;        /* Space above submenu */
    padding-left: 15px;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav a {
    font-size: 23px;
    display: block;
  }

  /* Add margin between submenu list items */
  .dropdown-menu li {
    margin-bottom: 10px;
  }

  .dropdown-menu li:last-child {
    margin-bottom: 0;
  }

  .dropdown-menu li a {
    font-size: 18px;
    margin-top: 5px;
    padding-top: 20px;
    padding-bottom: 25px;
  }
}

@media (max-width: 768px) {

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}