* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
}

.container {
  width: 100%;
  height: 40vh;
  background-image: url(https://i.ibb.co/KpBxB2n7/Chat-GPT-Image-Nov-12-2025-05-08-36-PM.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: left;
}

.sub-container {
  width: 40%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-heading {
  font-size: 3.3rem;
  color: rgb(255, 255, 255);
}

.h1{
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    margin: 0 0 20px;
    color: #1b1d21;
    font-size: 36px;
}

h2{
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    margin: 0 0 20px;
    color: #f5f6f8;
    font-size: 36px;
}


/* Common Section Layout */
.our-info,
.work-section,
.tech_index-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.info-container,
.work-container,
.tech_index-container {
  width: 45%;
  min-height: 80%;
  margin: 2%;
  border: 0.1px solid transparent;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-sub-container,
.work-sub-container,
.tech-sub-container {
  width: 85%;
  height: 95%;
}

span {
  font-size: 16px;
  font-weight: 800;
  color: #7141b1;
  display: inline-block;
  margin: 10px 0 7px;
  text-transform: uppercase;
}

.info-para p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 17.5px;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.5px;
  margin-top: 5%;
  line-height: 1.6;
}

.info-para2 p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 17.8px;
  font-style: italic;
  font-weight: 650;
  line-height: 1.5;
  color: #333;
  margin-top: 4.5%;
}

.infor-image,
.work-image,
.tech-image {
  width: 45%;
  min-height: 80%;
  margin: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infor-image img,
.work-image img,
.tech-image img {
  width: 90%;
  height: auto;
  object-fit: contain;
}

/* Work Section */
.work-section {
  background-color: #1f1b3f;
}

.work-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  gap: 15px;
}

.icon {
  width: 110px;
  height: 100px;
  border: 1px solid rgba(127, 125, 125, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.icon a {
  font-size: 50px;
  color: rgb(10, 179, 235);
}

.icon:hover {
  background-color: rgb(10, 179, 235);
}

.icon:hover .box-i {
  color: #fff;
}

.work-para {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #ffffff;       /* white text */
  letter-spacing: 0.3px;
  text-align: left;
}

/* Technology Section */
.tech_index-section {
  min-height: 90vh;
}

.tech-para p {
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
  margin: 15px 0;
}

.tech-parameter {
  margin-top: 8%;
}

/* Skill Bar */
.skill {
  margin-bottom: 20px;
  border-bottom: 0.1px solid black;
  padding-bottom: 8px;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.skill-title {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 5px;
}

.bar-container {
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 0%;
  background-color: #4fc3f7;
  transition: width 1.5s ease-in-out;
}

/* ---------- Responsive ---------- */

/* Tablets (landscape & portrait) */
@media screen and (max-width: 1024px) {
  .container {
    height: 40vh;
  }

  .sub-container {
    width: 70%;
  }

  h1 {
    font-size: 2.5rem;
    /* text-align: center; */
  }

  .our-info,
  .work-section,
  .tech_index-section {
    flex-direction: column;
    height: auto;
    padding: 3% 0;
  }

  .info-container,
  .work-container,
  .tech_index-container,
  .infor-image,
  .work-image,
  .tech-image {
    width: 90%;
    margin: 3% auto;
  }

  .info-para p,
  .work-para,
  .tech-para p {
    font-size: 16.5px;
  }

  .icon {
    width: 95px;
    height: 90px;
  }

  .icon a {
    font-size: 40px;
  }
}

/* Mobile Devices (Android, iPhone) */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.4rem;
    /* text-align: center; */
  }

  .sub-container {
    width: 90%;
  }

  span {
    font-size: 14px;
  }

  .info-para p,
  .info-para2 p,
  .work-para,
  .tech-para p {
    font-size: 15.5px;
    text-align: justify;
  }

  .our-info,
  .work-section,
  .tech_index-section {
    flex-direction: column;
    height: auto;
    padding: 4% 0;
  }

  .info-container,
  .work-container,
  .tech_index-container,
  .infor-image,
  .work-image,
  .tech-image {
    width: 95%;
    margin: 2% auto;
  }
  .info-container{
    box-shadow: none;
  }

  .work-container{
    box-shadow: none;
  }

  .icon {
    width: 80px;
    height: 75px;
  }

  .icon a {
    font-size: 30px;
  }

  .skill-title {
    font-size: 14px;
  }
  .work-image{
    display: none;
  }
}

/* Small Phones */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
    background-color: #4fc3f7;
  }
  .work-image{
    display: none;
  }
  .work-container{
    box-shadow: none;
  }

  .info-para p,
  .info-para2 p,
  .work-para,
  .tech-para p {
    font-size: 14px;
  }

  .icon {
    width: 70px;
    height: 65px;
  }

  .icon a {
    font-size: 26px;
  }

  .bar-container {
    height: 8px;
  }
}
