/* =========================
   Base / Desktop Styles
========================= */

* {
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  font-family:'Times New Roman', Times, serif;

}

#HOMEHEROPAGE {
  background: linear-gradient(0deg, #b1d5fc, #ffffff);
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.big-text,
h1 {
  font-size: clamp(10rem, 15vw, 18rem);
  letter-spacing: 3vw;
  text-align: center;
  background: linear-gradient(90deg, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
}

.main-hero-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  z-index: 2; /* Lower layer */
  pointer-events: none;
}

.scene {
  height: 100vh;
  position: relative;
}

.hero-text {
  font-size: clamp(6rem, 10vw, 16rem);
  font-weight: 600;
  background: linear-gradient(to right, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-align: center;
  z-index: 2;
}

.tagline {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.4rem;
  word-spacing: 0.6rem;
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 90vw;
  margin: 0 auto;
}

.circle-wave-wrapper {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px; /* Gap between circle and wave */
  z-index: 1;
}

.circle {
  width: clamp(200px, 40vw, 450px);
  height: clamp(200px, 40vw, 450px);
  border-radius: 50%;
  box-shadow: 0px 0 1000px #007bffd2;
  background: radial-gradient(circle, #007bff 10%, transparent 100%);
}

.wave {
  width: 100%;
  height: 20px;
  background: radial-gradient(ellipse at center, #007cff 0%, #ffffff 80%);
  filter: blur(10px);
  opacity: 1;
  z-index: -1;
}

.hrimage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20vw;
  height: 30vw;
  transform: translate(-50%, -60%);
  z-index: 3;
  animation: float 2s ease-in-out infinite;
  animation: fly 2s ease-in-out infinite alternate;
}

.hero-text, .tagline {
  z-index: 0; /* Behind robot */
  position: relative;
}

/* Float Animation */
@keyframes float {
  0% {
    transform: translate(-50%, -60%) translateY(0);
  }
  50% {
    transform: translate(-50%, -60%) translateY(-40px);
  }
  100% {
    transform: translate(-50%, -60%) translateY(0);
  }
}

/* Flying Animation */
@keyframes fly {
  0% {
    transform: translate(-50%, -60%) translateY(0px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -60%) translateY(-40px) rotate(3deg);
  }
}

.hero-text {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.9vw;
  font-size: clamp(6rem, 10vw, 16rem);
  font-weight: 600;
  background: linear-gradient(to right, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: default;
}

/* =========================
   Navigation Bar Styles
========================= */

.navlist {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(255, 255, 255);
  padding: 10px 20px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px #000000;
  transition: all 0.3s ease;
  z-index: 1000;
  width: 90%;
  max-width: 1000px;
}

#navlist.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0);
}

#navlist:hover {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-buttons {
  background-color: transparent;
  display: flex;
  flex-wrap: wrap;
}

.nav-buttons button {
  background-color: transparent;
  border: none;
  color: #000000;
  font-size: 1rem;
  margin: 5px 8px;
  padding: 10px 15px;
  position: relative;
  outline: none;
  font-weight: bold;
  cursor: pointer;
}

.nav-buttons button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #007bff, #58dbff);
  transition: width 0.3s ease;
}

.nav-buttons button:hover::after {
  width: 100%;
}

/* Hamburger button */
.menu-toggle {
  color: #000;
  position: absolute;
  right: 20px;
  top: 26px;
  z-index: 1001;
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navlist {
    flex-direction: row;
  }
  .menu-toggle {
    font-weight: 1000;
    display: block;
  }

  .nav-buttons {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-buttons.active {
    display: flex;
  }

  .nav-buttons button {
    width: 100%;
    text-align: left;
    margin: 5px 0;
    padding: 10px;
  }

  .navlist {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   home Bar Styles
========================= */
.profile-section {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 700px;
  padding: 0 10px;
  gap: clamp(10px, 3vw, 30px);
  box-sizing: border-box;
}

/* Responsive buttons */
.profile-section .btn {
  padding: clamp(8px, 2vw, 16px) clamp(16px, 4vw, 32px);
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.profile-section .btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.profile-section .btn.primary {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
}

.profile-section .btn.primary:hover {
  background: #000000;
  color: #ffffff;
}

.profile-section .btn.outline {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
}

.profile-section .btn.outline:hover {
  background: #007bff;
  color: #ffffff;
  border: none;
}


/* =========================
 home Bar Styles end
========================= */





/* =========================
 project Styles end
========================= */



/* ABOUT*/

#About{
    padding: 40px 20px 80px 20px;
    background: linear-gradient(180deg, #b1d5fc, #ffffff);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}


.projects-section {
  background: transparent;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.projects-heading {
  background: transparent;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.projects-heading span {
  background:transparent;
  color: #007bff;
}

.projects-subheading {
  background: transparent;
  color: #0e0e0e;
  margin-bottom: 30px;
}

.filter-buttons {
  background: transparent;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-buttons button {
  background: white;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-buttons button.active{
  border: #000;
  background: #000000;
  color: #fff;
}
.filter-buttons button:hover {
  border: #000000;
  background: #000000;
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
  align-items: stretch; /* NEW: make children stretch */
  margin: 0 auto;
}


.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 300px;
  background: #f2f2f2;
  border-radius: 15px;
  box-shadow: 0 4px 10px #007cff;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 30px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #007cff;
}

.project-card img {
  background: #f2f2f2;
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.project-info {
  padding: 15px 0px 15px 0px;
  background: #f2f2f2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-info h3 {
      background:transparent;
  margin: 0;
  font-size: 1.2rem;
}

.project-info p {
      background: transparent;
  color: #bbb;
  margin: 5px 0;
}

.project-info span {
      background: transparent;
  color: #007bff;
  font-size: 0.9rem;
}

.view-all {
  background: transparent;
  margin-top: 40px;
}

.view-all button {
  background: #ffffff;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 10px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.view-all button:hover {
  border: #000;
  background: #000000;
  color: #fff;
}


.spacer{
  width: 100%;
  height: 100px;
}









/* =========================
 service Styles 
========================= */
.SERVICES {
    background: linear-gradient(0deg, #b1d5fc, #ffffff);
  color: #000000;
  padding: 80px 20px;
}

.SERVICES h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.SERVICES h2 span {
  color: #007bff;
}

.SERVICES p {
  max-width: 600px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: #000000;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual service card */
.service-card {
  background: #f2f2f2;
  border-radius: 15px;
  box-shadow: 0 4px 10px #007cff;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #007cff;
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
  background: #ffffff;
  border-radius: 50%;
  padding: 10px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #000000;
  margin-bottom: 15px;
}

.service-card a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.service-card a:hover {
  text-decoration: underline;
}










/* =========================
   Tablet Responsive Styles
========================= */

@media (max-width: 1024px) {
  .hero-text {
    font-size: clamp(5.8rem, 8vw, 10rem);
    gap: 0.7vw;
  }

  .Tag-line {
    font-size: 1.5rem;
    letter-spacing: 1rem;
    word-spacing: 1.2rem;
  }

  .circle {
    width: 50vw;
    height: 50vw;
  }

  .wave {
    width: 60vw;
    left: 20%;
  }

  .hrimage {
    width: 30vw;
  }

  .navlist {
    flex-direction: column;
    gap: 10px;
  }
  .tagline-wrapper {
    top: 45%;
    padding: 0 10px;
  }

  .tagline {
    font-size: 1.4rem;
    letter-spacing: 0.6rem;
    word-spacing: 1rem;
    max-width: 500px;
  }
}

/* =========================
   Phone Responsive Styles
========================= */

@media (max-width: 768px) {
  .hero-text {
    font-size: clamp(3.7rem, 6vw, 6rem);
    gap: 0.5vw;
  }

  .Tag-line {
    font-size: 1rem;
    letter-spacing: 0.2rem;
    word-spacing: 0.4rem;
  }

  .circle {
    width: 60vw;
    height: 60vw;
    box-shadow: 0px 0 100px #007bffd2;
    background: radial-gradient(circle, #007bff 21%, transparent 98%);
  }

  .wave {
    width: 75vw;
    left: 12%;
    top: 60%;
  }

  .hrimage {
    width: 40vw;
  }
  .navlist {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }

  .nav-buttons button {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
  .tagline {
    font-size: 1rem;
    letter-spacing: 0.2rem;
    word-spacing: 0.4rem;
    max-width: 200px;
  }
  .main-hero-wrapper {
    padding: 0 10px;
  }
    .profile-section {
    top: 80%;
  }
  .profile-section .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .profile-section {
    flex-direction: column;
    gap: 15px;
    top: 80%;
  }
}

@media (max-width: 425px) {
  .hero-text {
    font-size: clamp(3rem, 6vw, 6rem);
    gap: 0.5vw;
  }
  .circle-wave-wrapper {
    top: 35%;
    left: 50%;
  }
  .circle {
    width: 41vw;
    height: 41vw;
    top: 30%;
    box-shadow: 0px 0 50px #007bffd2;
    background: radial-gradient(circle, #007bff 19%, transparent 100%);
  }

  .wave {
    width: 75vw;
    right: 10%;
    top: 58%;
  }

  .hrimage {
    top: 50%;
    width: 35vw;
  }
  .tagline {
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    word-spacing: 0.1rem;
    max-width: 140px;
  }  
  .hrimage {
  width: 20vw;
  height: 25vw;
}
  .profile-section {
    top: 75%;
  }
  .profile-section .buttons {
    gap: 10px;
  }
  .profile-section .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 375px) {
  .hero-text {
    font-size: clamp(2.7rem, 6vw, 6rem);
    gap: 0.5vw;
  }

  .Tag-line {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    word-spacing: 0.4rem;
  }
  .circle-wave-wrapper {
    top: 35%;
    left: 50%;
  }
  .circle {
    width: 45vw;
    height: 45vw;
    top: 32%;
    background: radial-gradient(circle, #007bff 15%, transparent 100%);
  }

  .wave {
    width: 75vw;
    right: 10%;
    top: 56%;
  }

  .hrimage {
    width: 35vw;
  }

  .tagline {
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
    word-spacing: 0.08rem;
    max-width: 120px;
  }
  .hrimage {
  width: 20vw;
  height: 25vw;
}
.SERVICES{
  padding: 0 20px;
}
.profile-section{
  top: 70%;
}

.profile-section .buttons {
    gap: 10px;
  }

.profile-section .btn {
    font-size: 0.8rem;
    padding: 10px 20px;
  }
}
