* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
}
/* Navbar CSS - Dark Theme */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 1) 0%,
    rgba(15, 15, 15, 1) 50%,
    rgb(1, 1, 1) 100%
  );
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  transition: all 0.3s ease;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links li {
  list-style: none;
}

.talk-btn a {
  background: linear-gradient(
    90deg,
    rgba(26, 26, 28, 0.87) 0%,
    rgba(13, 15, 15, 1) 37%,
    rgba(10, 10, 10, 1) 100%
  );
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.talk-btn a:hover {
  background: linear-gradient(
    90deg,
    rgba(36, 36, 38, 0.87) 0%,
    rgba(23, 25, 25, 1) 37%,
    rgba(20, 20, 20, 1) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger i {
  font-size: 1.8rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.hamburger:hover i {
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .nav-links.active {
    max-height: 100vh;
    opacity: 1;
  }

  .nav-links a {
    width: 80%;
    text-align: center;
    padding: 1.5rem;
    margin: 0.5rem 0;
    font-size: 1.2rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .hamburger {
    display: block;
  }

  .talk-btn {
    margin-left: auto;
    margin-right: 1rem;
  }
}

@media (max-width: 576px) {
  nav {
    padding: 1rem;
  }

  .logo img {
    height: 45px;
  }

  .talk-btn a {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .nav-links a {
    width: 90%;
    padding: 1.2rem;
    font-size: 1rem;
  }
}
/* Main container styles */
.main_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  margin-top: 10px;
}
main section {
  width: 80vw;
  height: 40vh;
  /* border: 2px solid #fff; */
}
.arrow-img {
  width: 100px;
  height: 100px;
  mix-blend-mode: multiply;
}
.icon {
  display: flex;
  gap: 2px;
  align-self: flex-end;
}
i {
  color: #fff;
  align-items: right;
  margin-right: 10px;
  right: 0;
}

.section1 {
  display: flex;
  /* flex: 1; */
  gap: 20px;
}
.sub-section1_1 {
  width: 50%;
  height: 100%;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  overflow: hidden; /* Ensures border-radius applies */
}
.sub-section1_1 .image {
  width: 50%;
  height: 100%;
  padding: 1rem;
  overflow: hidden; /* Clip the overflowing part */
  border-radius: 2rem 0 2rem 0; /* Apply rounded corners */
}

.sub-section1_1 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the area */
  border-radius: inherit; /* Inherit border-radius from parent */
}

.sub-section1_1 .content-sub-1 {
  width: 50%;
  height: 100%;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.sub-section1_1 .content-sub-1 h3 {
  font-size: 0.9rem;
  color: gray;
  margin-bottom: 20px;
}
.sub-section1_1 .content-sub-1 h2 {
  font-size: 2rem;
}
.sub-section1_1 .content-sub-1 h4 {
  font-size: 0.7rem;
  color: gray;
  margin-bottom: 20px;
}
.sub-section1_2 {
  width: 50%;
  height: 100%;
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.sub-details-box {
  display: flex;
  gap: 20px;
}
.credentails,
.porfolios {
  width: 50%;
  height: 100%;
  overflow: hidden;
  padding: 20px;
  padding: 10px;
}
.image-porfolio,
.image-credentails {
  position: relative;
  width: 100%;
  display: flex;
  padding: 7px;
  justify-content: center;
  align-items: center;
  height: 100px;
}
.image-credentails img,
.image-porfolio img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.porfolios {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.image-porfolio::after {
  content: "My Work";
  position: absolute;
  letter-spacing: 1px;
  top: -14%;
  left: 28%;
  font-size: 25px;
  font-weight: bolder;
  color: gray;
  z-index: -1;
}
.image-porfolio::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 2%;
  border-radius: 10px;
  background-color: #f0f0f0;
  bottom: 0%;
  /* left: 24%; */
  font-size: 25px;
  font-weight: bolder;
  color: gray;
  z-index: -1;
}

.section2 {
  display: flex;
  gap: 20px;
  height: fit-content;
}
.sub-section2_1,
.sub-section2_3 {
  width: 25%;
  height: 100%;
  display: flex;
  /* gap: 20px; */
  flex-direction: column;
}
.sub-section2_3 {
  gap: 2rem;
}
.sub-section2_2 {
  width: 50%;
  height: 100%;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}
/* 
.resume_img {
  width: 100%;
  height: 80%;
  border-radius: 20px 0px 20px;
  object-fit: cover;
  padding: 10px;
} */

.social-icon {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  /* border: 2px solid #fff; */
  /* background: rgb(26,26,28); */
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 28, 0.87) 0%,
    rgba(13, 15, 15, 1) 37%,
    rgba(10, 10, 10, 1) 100%
  );
}

.social-icon a {
  color: #fff;
  text-decoration: none;
}
.social-icon a i {
  font-size: 3rem;
}
.box {
  height: 60%;
}
.logo_section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo_section img:hover {
  color: #000;
}

.services-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.service {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}
.deatails-credenatild {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.deatails-credenatild h4 {
  font-size: 1.5rem;
}

/* Section 3 */
.section3 {
  display: flex;
  gap: 20px;
}
.sub-section3_1 {
  display: flex;
  gap: 20px;
  width: 50%;
  justify-content: center;
  align-items: center;
  /* flex-direction: column; */
}
.cards {
  display: flex;
  gap: 20px;
  width: 100%;
}
.card {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-number {
  display: flex;
  justify-content: center;
  align-items: center;
  font: 400;
  font-size: 2rem;
}
.card-content {
  padding: 1remc;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  justify-content: center;
  align-items: center;
}
.card-content h3 {
  font-size: 1rem;
  color: gray;
}
.card-arrow {
  margin-top: 5rem;
}

.sub-section3_2 {
  display: flex;
  gap: 20px;
  width: 50%;
  flex-direction: column;
}
.sub-section3_2 .star-icon {
  position: absolute;
  left: 30px;
  top: 0;
  opacity: 0.5;
  margin: 0;
}

/* .join_us{
  display: flex;
  gap: 10px;
  flex-direction: column;
  font-size: 1.5rem;
  } */
.join_us span {
  color: #5b78f6;
}

.join_us_arrow {
  margin-top: 2rem;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5rem;

  /* margin-top: 3rem; */
}
/* Comman css */

.credentails,
.porfolios,
.sub-marque,
.sub-section1_1,
.box,
.card {
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 1) 0%,
    rgba(15, 15, 15, 1) 50%,
    rgb(1, 1, 1) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  padding: 20px;
  color: #e0e0e0;
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

/* Existing CSS remains the same until the end */

/* Responsive Design */
@media (max-width: 1200px) {
  .main_container {
    gap: 1.5rem;
  }

  main section {
    width: 90vw;
  }

  .sub-section1_1 {
    padding: 30px;
  }

  .sub-section1_1 .content-sub-1 h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .section1,
  .section2,
  .section3 {
    flex-direction: column;
    height: auto;
  }

  .sub-section1_1,
  .sub-section1_2,
  .sub-section2_1,
  .sub-section2_2,
  .sub-section2_3,
  .sub-section3_1,
  .sub-section3_2 {
    width: 100%;
  }

  .sub-details-box {
    flex-direction: column;
  }

  .credentails,
  .porfolios {
    width: 100%;
  }

  .card-arrow {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .sub-section1_1 {
    flex-direction: column;
    padding: 20px;
  }

  .sub-section1_1 .image,
  .sub-section1_1 .content-sub-1 {
    width: 100%;
  }

  .cards {
    flex-direction: column;
  }

  .social-icon a i {
    font-size: 2.5rem;
  }

  .service {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 50px;
  }

  .sub-section1_1 .content-sub-1 h2 {
    font-size: 1.5rem;
  }

  .sub-section1_1 .content-sub-1 h3 {
    font-size: 0.8rem;
  }

  .sub-section1_1 .content-sub-1 h4 {
    font-size: 0.6rem;
  }

  .social-icon {
    /* flex-direction: column; */
    gap: 10px;
  }

  .join_us,
  .join_us_arrow {
    font-size: 1.2rem;
  }

  .credentails,
  .porfolios,
  .sub-marque,
  .sub-section1_1,
  .box,
  .card {
    padding: 15px;
    border-radius: 1.5rem;
  }
}

/* For very small devices */
@media (max-width: 400px) {
  .talk-btn {
    padding: 8px 15px;
    height: 40px;
  }

  .sub-section1_1 .content-sub-1 h2 {
    font-size: 1.3rem;
  }

  .deatails-credenatild h4 {
    font-size: 1.2rem;
  }

  .card-number {
    font-size: 1.5rem;
  }

  .card-content h3 {
    font-size: 0.9rem;
  }
}
