* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Raleway", sans-serif; */
  font-family: "Outfit", sans-serif;
}

html,
body {
  /* height: 100vh; */
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  /* height: 100vh; */
  background: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* font-family: "Nunito", sans-serif; */
  padding: 10px 20px;
  background: #8c7bff;
}

nav a img {
  height: 50px;
}

.nav-links {
  margin-top: 3px;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all ease 0.3s;
}

.nav-links a:hover {
  color: #fed201;
}

.menu-icon {
  display: none;
}

.responsive-nav {
  display: none;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

/* From Uiverse.io by KINGFRESS */
.animate-btn {
  /* font-family: "Nunito", sans-serif; */
  font-weight: 500;
  color: rgb(0, 0, 0);
  border-radius: 2rem;
  cursor: pointer;
  width: 150.02px;
  height: 44.66px;
  border: none;
  background-color: #fed201;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

button .span-mother {
  display: flex;
  overflow: hidden;
}

button:hover .span-mother {
  position: absolute;
}

button:hover .span-mother span {
  transform: translateY(1.2em);
}

button .span-mother span:nth-child(1) {
  transition: 0.2s;
}

button .span-mother span:nth-child(2) {
  transition: 0.3s;
}

button .span-mother span:nth-child(3) {
  transition: 0.4s;
}

button .span-mother span:nth-child(4) {
  transition: 0.5s;
}

button .span-mother span:nth-child(5) {
  transition: 0.6s;
}

button .span-mother span:nth-child(6) {
  transition: 0.7s;
}

button .span-mother span:nth-child(7) {
  transition: 0.8s;
}

button .span-mother span:nth-child(8) {
  transition: 0.9s;
}

button .span-mother span:nth-child(9) {
  transition: 0.1s;
}

button .span-mother2 {
  display: flex;
  position: absolute;
  overflow: hidden;
}

button .span-mother2 span {
  transform: translateY(-1.2em);
}

button:hover .span-mother2 span {
  transform: translateY(0);
}

button .span-mother2 span {
  transition: 0.2s;
}

button .span-mother2 span:nth-child(2) {
  transition: 0.3s;
}

button .span-mother2 span:nth-child(3) {
  transition: 0.4s;
}

button .span-mother2 span:nth-child(4) {
  transition: 0.5s;
}

button .span-mother2 span:nth-child(5) {
  transition: 0.6s;
}

button .span-mother2 span:nth-child(6) {
  transition: 0.7s;
}

button .span-mother2 span:nth-child(7) {
  transition: 0.8s;
}

button .span-mother2 span:nth-child(8) {
  transition: 0.9s;
}

button .span-mother2 span:nth-child(9) {
  transition: 0.1s;
}

/* nav bar ends here  */

.hero-section-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  margin-bottom: 50px;
  flex-wrap: wrap-reverse;
}

.hero-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  background: #8c7bff;
  /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
  /* font-family: "Fira Sans", sans-serif; */
}

.left-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.left-section .hero-text h1 {
  color: white;
  font-size: 5rem;
  font-weight: 700;
  line-height: 85px;
}

.hero-text p {
  color: white;
  font-size: 1.2rem;
  line-height: 28px;
}

.right-section img {
  height: 500px;
}

.span-mother span i {
  margin-left: 5px;
}

.span-mother2 span i {
  margin-left: 5px;
}

/* hero section ends here  */

.content-section {
  background-color: white;

  height: auto;
  width: 100%;
}

.stats-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-box {
  height: 250px;
  width: 250px;
  clip-path: polygon(20% 34%, 100% 35%, 84% 73%, 0 73%);
  color: white;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.box1 {
  background-color: #40c9ff;
}

.box2 {
  background: #fed201;
}

.box3 {
  background-color: #7665ff;
}

.box4 {
  background-color: #fe4040;
}

/* stats section end here  */

/* about section starts here  */

.about-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  background: white;
}

.about-section-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  flex-wrap: wrap;
}

.left-image-section img {
  max-width: 100%;
  height: auto;
}

.left-image-section,
.right-content-section {
  flex: 1;
  min-width: 300px;
}

.right-content-section .about-heading h1 {
  font-size: 1rem;
  color: #7665ff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 20px;
  /* margin-bottom: 25px; */
}

.right-content-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-content h1 {
  color: #151924;
  font-size: 3rem;
}

.about-content p {
  color: #8683a1;
  line-height: 24px;
}

.about-expert-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-expert-image {
  height: 65px;
  width: 65px;
  border-radius: 50%;
  background: #4e4e4e;
}

.about-expert-content h1 {
  color: #151924;
  font-size: 1.2rem;
  font-weight: 500;
}

.about-expert-content p {
  color: #8683a1;
}

.about-btn {
  background: #fe4040;
  color: white;
  transition: all ease 0.4s;
}

.about-btn:hover {
  background: white;
  color: #fe4040;
  border: 1px solid #fe4040;
}

/* service section start here  */

.service-section {
  height: auto;
  width: 100%;
  background: #f2f0ff; /* apna service section ka background color */
  padding: 100px 20px;
  clip-path: polygon(0 80px, 50% 0, 100% 80px, 100% 100%, 0% 100%);
}

.service-section-main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.service-heading-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* margin-bottom: 20px; */
}

.service-heading-section h2 {
  font-size: 1rem;
  color: #7665ff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.service-heading-section h1 {
  color: #151924;
  font-size: 3rem;
}

.card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.service-card {
  clip-path: polygon(10% 0, 100% 0, 95% 100%, 0% 100%);
  background: #ffffff;
  height: 350px;
  width: 280px;
  transition: ease 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.service-icon {
  background: #f2f0ff;
  height: 90px;
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: ease 0.4s;
}

.service-icon:hover {
  background: white;
}

.service-icon img {
  height: 50px;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
}

.service-card-content h1 {
  color: #151924;
  font-size: 1.2rem;
}

.service-card-content p {
  color: #8683a1;
}

.service-card:hover {
  background: #7665ff;
  color: white;
}

.service-card:hover h1 {
  color: #fff;
}

.service-card:hover p {
  color: #fff;
}

.service-card-content h1,
.service-card-content p {
  transition: color 0.4s ease;
}

.service-details-btn a {
  background: #7665ff;
  padding: 10px 25px;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* thoda space */
  color: #fff;
  position: relative;
  border-radius: 10rem;
  text-decoration: none;
}

.service-card:hover .service-details-btn a {
  background: #fed201; /* ya jo color tu chaahta hai */
  color: #151924; /* optional: text color change */
}

.services-btn {
  background-color: #40c9ff;
}

/* Slanted section  */
.slanted-section {
  position: relative;
  background: #32c3ff; /* Blue background */
  padding: 100px 100px;
  color: white;
  text-align: left;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slanted-section h1 {
  font-size: 3rem;
  max-width: 600px;
}

.btn {
  display: block;
  /* margin-top: 20px; */
  padding: 18px 40px;
  background: #ffd500; /* Yellow button */
  color: #000;
  font-weight: 500;
  border-radius: 10rem;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #32c3ff;
  border: 2px solid #ffd500;
  color: #ffd500;
}

/* Purple strip on top */
.slanted-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #6c63ff; /* Purple */
  clip-path: polygon(0 0, 100% 80%, 100% 0%, 0% 0);
  z-index: -1;
}

/* Yellow strip at bottom */
.slanted-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #ffd500;
  clip-path: polygon(0 100%, 100% 100%, 100% 20%, 0% 100%);
  z-index: -1;
}

/* slanted section end here  */

.team-section {
  background: #ffffff;
  /* height: 100%; */
  width: 100%;
  padding: 50px 20px; /* add padding instead */
}

.team-section-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  /* align-items: center; */
  align-items: flex-start;
}

.team-section-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: 50px 20px;
}

.team-info-model {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-main-heading h1 {
  font-size: 1rem;
  color: #7665ff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-secondary-heading h1 {
  font-size: 3rem;
  color: #151924;
}

.team-secondary-heading p {
  font-size: 1rem;
  color: #8683a1;
}

.team-model-1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.join-us-btn {
  padding: 30px 0px;
}

.join-us-btn a {
  text-decoration: none;
  background: #fed201;
  color: #151924;
  padding: 15px 30px;
  border-radius: 10rem;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all ease 0.4s;
}

.join-us-btn a:hover {
  background: white;
  border: 1px solid #fed201;
  color: #fed201;
}

/* team member details  */

.team-member {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: #7765ffeb;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
  gap: 20px;
}

.team-member:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0;
  font-size: 1.5rem;
  transition: all ease 0.4s;
}

.overlay h3:hover {
  color: #ffd500;
}

.overlay p {
  margin: 3px 0 8px;
  font-size: 1rem;
  opacity: 0.8;
}

.member-linkedIn a,
.member-linkedIn a i {
  text-decoration: none;
}

.member-linkedIn i {
  text-decoration: none;
  color: white;
  font-size: 2rem;
  border: 2px solid white;
  padding: 10px;
  border-radius: 10rem;
  transition: all ease 0.4s;
}

.member-linkedIn i:hover {
  background: #ffd500;
  border: 2px solid #ffd500;
  color: #151924;
  transition: all ease 0.4s;
}

/* Team members grid (Right Side) */
.team-members-main-wrapper {
  padding: 80px 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Exactly 2 per row on desktop */
  gap: 30px;
  justify-items: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .team-members-main-wrapper {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }
}

/* Responsive: Center both sections when stacked */

/* project section starts here  */

.project-section {
  height: auto;
  width: 100%;
  background: #f2f0ff; /* apna service section ka background color */
  padding: 100px 20px;
  clip-path: polygon(0 80px, 50% 0, 100% 80px, 100% 100%, 0% 100%);
}

.project-cards {
  clip-path: polygon(5% 0, 100% 6%, 100% 100%, 0% 100%);
  background-color: rgb(255, 255, 255);
  height: 400px;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-shrink: 0;
}

.project-image img {
  height: 200px;
}

.project-details {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  background: #e6e3ff;
  height: 80px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  transition: all ease 0.4s;
}

.project-details:hover {
  background: #40c9ff;
}

.project-details:hover a {
  color: #fff; /* turns text white when parent is hovered */
}

.project-details a:hover {
  color: #ffd500;
}

.project-details a {
  color: #151924;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  transition: all ease 0.4s;
}

.project-card-wrapper {
  padding: 50px 0px 50px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  flex-wrap: nowrap; /* ❌ prevent wrapping */
}

.left-right-btn {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.left-right-btn button {
  background: #ffffff;
  border: none;
  color: #ffd500;
  font-size: 1.5rem;
  padding: 10px 12px;
  border-radius: 10rem;
  cursor: pointer;
  border: 1px solid #ffd500;
  transition: all ease 0.4s;
}

.left-right-btn button:hover {
  background: #ffd500;
  color: #151924;
  transition: all ease 0.4s;
}

.carousel-container {
  overflow: hidden;
  width: 1140px; /* Show only 3 cards (3 × 340px + 2 × 30px gap ≈ 1100px) */
  margin: auto;
  position: relative;
}

.project-card-wrapper {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

/* blog section stats here  */

.blog-section {
  padding-top: 50px 10px;
  /* height: 100vh; */
  width: 100%;
  background: #ffffff;
}

.blog-section-warpper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card-warpper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-secondary-heading p {
  line-height: 30px;
}

.blog-subscribe-btn a {
  background: #32c3ff;
}

.blog-card {
  clip-path: polygon(0 0, 91% 7%, 100% 100%, 6% 100%);
  height: 500px;
  width: 300px;
  background: #f6f4ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  gap: 20px;
}

.blog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.blog-date p {
  text-align: center;
  font-size: 0.9rem;
  color: #7665ff;
  font-weight: 500;
}

.blog-tittle h1 {
  text-align: center;
  font-size: 1.5rem;
  color: #151924;
}

.blog-read-more-btn {
  padding-top: 10px;
}

.blog-read-more-btn a {
  text-decoration: none;
  color: #151924;
  font: 1.5rem;
  padding: 15px 30px;
  border: 1px solid #151924;
  border-radius: 10rem;
  transition: all ease 0.4s;
}

.blog-read-more-btn a:hover {
  background: #151924;
  color: white;
  transition: all ease 0.4s;
}

/* footer section start here  */

.slanted-section-footer {
  background: #7665ff;
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0% 100%);
  width: 100%;
  height: "";
  padding: 50px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.content-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  width: 20%;
}

.content-1 img {
  height: 50px;
}

.content-1 p {
  color: white;
  line-height: 30px;
}

.footer-social-links a {
  padding: 10px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  margin-right: 15px;
  transition: all ease 0.4s;
}

.footer-social-links a:hover {
  background: #ffd500;
  border: 1px solid #ffd500;
  color: #ffffff;
  transition: all ease 0.4s;
}

.footer-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.content-1 h1 {
  color: white;
}

.quick-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.quick-links a {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  transition: all ease 0.4s;
}

.quick-links a:hover {
  color: #ffd500;
  transition: all ease 0.4s;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.input-container {
  position: relative;
  width: 300px;
}

.input-container input {
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 91%);
  width: 100%;
  height: 70px;
  padding: 12px 50px 12px 15px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  box-sizing: border-box;
}

.input-container button {
  clip-path: polygon(4% 0, 87% 12%, 99% 92%, 0 100%);
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fed201; /* Yellow button color */
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}

.input-container button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-container button i {
  font-size: 1.2rem;
  color: #ffffff;
  margin-right: 2px;
}

.footer-copyright {
  text-align: center;
  color: white;
  margin-top: 30px;
  font-size: 0.9rem;
}

/* contact pages starts here  */

.contact-section {
  height: 100%;
  width: 100%;
}

.contact-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
}

.contact-cards-wrapper {
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.contact-cards {
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  height: 250px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
}

.contact-cards i {
  font-size: 2rem;
  color: #8683a1;
  padding: 15px;
  background: #e4e4e4;
  border-radius: 10rem;
}

.contact-cards h1 {
  color: #151924;
  font-weight: 500;
}

.contact-cards p {
  color: #8683a1;
  font-weight: 500;
  font-size: 0.8rem;
}

/* form style  */

.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  padding: 20px;
  text-align: center;
}

.form-section h2 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111;
}

.form-section p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* allow wrapping on smaller screens */
}

.form-group {
  flex: 1;
  min-width: 200px; /* ensures a minimum width for inputs */
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #333;
}

textarea {
  resize: none;
  height: 120px;
}

.submit-btn {
  margin-top: 10px;
  background: transparent;
  border: 1px solid #fed201;
  color: #111;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #fed201;
  border-color: #fed201;
  color: #fff;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablets */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-section h2 {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .contact-form {
    padding: 25px;
  }

  .form-section h2 {
    font-size: 20px;
  }

  .form-section p {
    font-size: 13px;
  }

  .submit-btn {
    width: 100%;
    padding: 12px;
  }
}
