@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  font-family: 'Poppins', sans-serif;
}

body {
  /* background-color: black; */
}

.header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  padding: 7px 100px;
  background: linear-gradient(135deg, #0a0f1c, #1a1f2f);
  /* New gradient */
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  /*border-radius: 60px 120px 60px 120px;*/
  /*border-radius: 60px 120px 60px 120px;*/
  /*box-shadow: 0 0 17px #7EFCFC;*/
  z-index: 100;
  box-sizing: border-box;

}






.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  transition: .5s;
}

.header:hover::before {
  left: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}



.logo-img {
  width: 5rem;
  height: auto;
  filter:
    drop-shadow(0 0 3px #7EFCFC) drop-shadow(2px 2px 2px rgba(0, 255, 255, 0.15));
  transform: scale(1);
}

.logo-name {
  color: #7EFCFC;
  font-size: 1.6rem;
  margin-left: 10px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  align-items: center;
}




.navbar a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  margin-left: 40px;
  transition: .3s;
}

.navbar a:hover {
  color: #7EFCFC;
}

#menu-icon {
  cursor: pointer;
  display: none;
  transition: transform 0.3s ease;
}

#menu-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #7EFCFC);
}

/* #menu-icon{
    font-size: 36px;
    color: #fff;
    display: none;
} */

@media (max-width: 992px) {
  .header {
    padding: 1.25rem 4%;
  }
}

@media (max-width: 768px) {

  .header {
    padding-top: 0;
    padding-bottom: 10px;
  }

  #menu-icon {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0.5rem 4%;
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    margin: 1.5rem 0;
  }

  .nav-bg {
    position: fixed;
    top: 8.5%;
    left: 0;
    width: 100%;
    height: 370px;
    background-color: black;
    background: rgba(255, 255, 255, .1);
    border-bottom: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    z-index: 99;
    display: none;
    /*  */

  }

  .nav-bg.active {
    display: block;

    background: linear-gradient(135deg, #0a0f1c, #1a1f2f);
    /* New gradient */
  }


  .logo-name {
    font-size: 1rem;
  }

}

/* ********************** */
/* NAV BAR END */
/* ********************* */


/* Base Styles */
/* body {
  margin: 0;
  font-family: Arial, sans-serif;
} */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('img/hero img.png');
  filter: blur(10px);
  z-index: -1;
  animation: backgroundMovement 10s linear infinite;
}

@keyframes backgroundMovement {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.hero .content {
  flex: 1;
  color: white;
  padding: 40px;
  z-index: 10;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 15px;
  max-width: 500px;
  line-height: 1.6;
}

.cta-button {
  background-color: #0ff;
  color: #000;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 30px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #fff;
  color: #0ff;
  transform: scale(1.1);
}

/* Robot Wrapper */
.hero .robot-wrapper {
  width: 350px;
  transition: transform 1s ease, filter 0.5s ease;
  z-index: 5;
}

.hero .robot-wrapper:hover {
  transform: rotateY(360deg);
  filter: drop-shadow(0 0 20px #0ff) brightness(1.2);
}

#robo-svg {
  width: 100%;
  height: auto;
  stroke: #0ff;
  stroke-width: 2;
  fill: none;
  transition: transform 1s ease;
}

.eye {
  animation: blink 4s infinite;
  transform-origin: center;
}

@keyframes blink {

  0%,
  90%,
  100% {
    r: 5;
  }

  95% {
    r: 0.5;
  }
}

.right-arm {
  transform-origin: 130px 80px;
  transition: transform 0.3s ease;
}

.robot-wrapper:hover .right-arm {
  animation: wave 1s ease-in-out infinite;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-30deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* === Responsive Design === */
@media (max-width: 1020px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
  }
   .hero{
    padding-bottom: 230px;
  }

  .hero .content {
    padding: 40px;
    margin-top: 20rem;

  }

  .hero .robot-wrapper {
    width: 300px;
    margin-top: 30px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
   .hero{
    padding-bottom: 170px;
  }

  .hero .content {
    padding: 40px;
    margin-top: 17rem;

  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero .robot-wrapper {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero{
    padding-bottom: 90px;
  }
  .hero .content {
    padding: 40px;
    margin-top: 9.2rem;

  }

  .cta-button {
    padding: 10px 18px;
    font-size: 13px;
  }

  .hero .robot-wrapper {
    width: 200px;
  }
}


/* ********************** */
/* FOOTER SECTION  */
/* ******************** */
.ai-footer {
  margin-top: 15px;
  background: #e0e7ff;
  color: #1e293b;
  padding: 80px 20px 40px;
  border-top-left-radius: 100px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 200px;
}

.ai-avatar {
  margin: 0 auto 10px;
  width: 90px;
  height: 90px;
  background: #dbeafe;
  border-radius: 50%;
  position: relative;
  box-shadow: 6px 6px 12px #cbd5e1, -6px -6px 12px #ffffff;
  animation: float 3s ease-in-out infinite;
}

.face .eye {
  width: 10px;
  height: 10px;
  background: #1e40af;
  border-radius: 50%;
  position: absolute;
  top: 30px;
}

.eye.left { left: 22px; }
.eye.right { right: 22px; }

.mouth {
  width: 26px;
  height: 4px;
  background: #1e40af;
  border-radius: 2px;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.typing-text {
  display: block;
  text-align: center;
  font-size: 15px;
  color: #3b82f6;
  margin-bottom: 10px;
}

.footer-col h3, .footer-col h2 {
  color: #1e3a8a;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #334155;
}

.email-id {
  border-bottom: 1px solid #94a3b8;
  padding-bottom: 4px;
}

.footer-col ul {
  padding: 0;
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #3b82f6;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons a {
  font-size: 18px;
  background: #f1f5f9;
  color: #1e293b;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.social-icons a:hover {
  background: #3b82f6;
  color: #ffffff;
}

hr {
  border: none;
  border-top: 1px solid #cbd5e1;
  margin: 40px 0 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.typing-text {
  display: inline-block;
  font-size: 16px;
  color: #3b82f6;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
  max-width: 100%;
  width: 0;
}

/* Triggered animation */
.typing-active {
  animation: typing 4s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
  border-right: 2px solid #3b82f6;
  width: auto;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  50% { border-color: transparent; }
}










/* ------------------ */

/* Why Choose MayoAI Section */
.why-mayo {
  padding: 80px 20px;
  background: linear-gradient(135deg, #eef2ff, #e0f7ff);
  color: #333;
  font-family: 'Poppins', sans-serif;
}
.why-mayo h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.why-mayo p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}
.why-mayo .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.why-mayo .grid div {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.why-mayo .grid div:hover {
  transform: translateY(-8px);
}
.why-mayo i {
  color: #4f46e5;
  margin-bottom: 15px;
}

/* Stats Counter Section */
.stats-section {
  background-color: #111827;
  color: white;
  padding: 50px 20px;
  text-align: center;
}
.stats-section h2 {
  margin-bottom: 50px;
}
.stats-section div {
  font-size: 1.2rem;
}
.stats-section span {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
  color: #60a5fa;
}

/* How We Work Section */
.how-we-work {
  background: #f0f4ff;
  padding: 80px 20px;
}
.how-we-work h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.how-we-work p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}
.how-we-work .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.how-we-work .grid div {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transition: 0.3s ease-in-out;
}
.how-we-work .grid div:hover {
  transform: translateY(-6px);
}
.how-we-work i {
  color: #6366f1;
  font-size: 2rem;
  margin-bottom: 10px;
}

/* --------------- */
/* Floating Robot Assistant */
.floating-robot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chat-bubble {
  background-color: #fff;
  color: #333;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 20px;
  margin-top: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ....................chatbot */
#chatbot {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999;
  font-family: 'Poppins', sans-serif;
}

#chatbot-icon {
  background: linear-gradient(135deg, #0a0f1c, #1a1f2f);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

#chatbot-icon img {
  width:50px;
  height: 60px;
}

#chat-window {
  width: 300px;
  height: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: absolute;
  bottom: 80px;
  right: 0;
  display: none;
  flex-direction: column;
}

#chat-header {
  background: #00e0ff;
  color: #fff;
  /* padding: 12px; */
  font-weight: 600;
  text-align: center;
}

#chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #eee;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#send-btn {
  background: #00e0ff;
  color: #fff;
  border: none;
  padding: 0 15px;
  cursor: pointer;
}

.bot-msg, .user-msg {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
}

.bot-msg {
  background: #f1f1f1;
  align-self: flex-start;
}

.user-msg {
  background: #00e0ff;
  color: white;
  align-self: flex-end;
  margin-left: auto;
}
