* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  width: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  height: 100vh;
  background: url('./images/banner-img7.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 64, 125, 0.9);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.left {
  flex: 1;
}

.left img {
  width: 600px;
  margin-top: 12%;
  margin-right: 12%;
  max-width: 100%;
}


.left p {
  margin-top: 15px;
  font-size: 18px;
}

.right {
  flex: 1;
}

.right h1 {
  font-size: 4.2rem;
  margin-bottom: 15px;
  font-weight: 900;
}

.right p {
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  margin-bottom: 8rem;
  background: #E74A3E;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.2rem;
}

.btn:hover{
    background: #cf2e2e;
}

.cards {
  position: absolute;
  bottom: -120px;
  right: 8%;
  display: flex;
  gap: 20px;
  z-index: 3;
}

.card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card.vertical {
  width: 300px;
  height: 320px; 
  display: flex;
  padding: 2rem;
  color: #fff;
  background-color: #E74A3E;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(40px); 
}

.card.horizontal {
  margin-top: 10%;
  padding: 50px;
  width: 450px;
  height: 240px;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #fff;
}

.card.horizontal img{
  width: 75px;
}

.card.horizontal p{
  font-size: 20px;
}

.card img {
  width: 55px;
}

.card .button {
  text-align: center;
  text-decoration: none;
    margin-top: 10px;
  padding: 18px 18px;
  border: none;
  font-size: 18px;
  background: #18407C;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
}


.info-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10%;
  margin-top: 4rem;
  background: #f7f9fc;
}

.images {
  flex: 1;
  position: relative;
  display: flex;
  height: 550px;
  justify-content: center;
}

.img {
  width: 280px;
  height: 480px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  position: absolute;
}

.img1 {
  left: 0;
  transform: translateY(-10px);
  z-index: 2;
}

.img2 {
  left: 300px;
  transform: translateY(40px);
  z-index: 1;
}

.content {
  flex: 1;
}

.content .icon {
  width: 150px;
  margin-bottom: 20px;
}

.content h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
  margin-bottom: 20px;
}

.content ul {
  list-style: none;
  padding: 0;
}

.content ul li {
  font-size: 24px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333;
}

.content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #18407C;
  font-weight: bold;
}

.content ul li strong{
  color: #E74A3E;
}

.category-section {
  padding: 50px 10%;
  background: #ffffff;
  text-align: center;
}

.category-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.category-icon {
  width: 120px;
  margin-bottom: 15px;
}

.category-header h2 {
  font-size: 2.8rem;
  color: #18407C;
  margin-bottom: 15px;
}

.category-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.category-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: nowrap; 
}

.category-card {
  background: #f7f9fc;
  width: 23%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.category-card p {
  font-size: 15px;
  color: #555;
  padding: 0 15px 20px;
  line-height: 1.5;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-card h3 {
  font-size: 20px;
  color: #18407C;
  padding: 15px;
}

.feature-section {
  padding: 100px 10%;
  position: relative;
  background: url("./images/Staffing.png") no-repeat center center/cover;
  text-align: center;
  overflow: hidden;
}

.feature-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 64, 125, 0.9);
  z-index: 0;
}

.section-heading,
.feature-container {
  position: relative;
  z-index: 1;
}

.section-heading {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 40px;
}

.feature-container {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 20px;
}

.feature-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-left img {
  width: 450px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  

  max-width: 100%;
  width: 450px;
}

.feature-right {
    background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
}

.feature-right p {
color: #eaeaea;
  font-size: 18px;
  line-height: 1.5;
  max-width: 700px;
  text-align: left;
}

.feature-right b {
  font-weight: bold;
  color: #fff;
}

.feature-right h3{
  margin: 15px;
  color: #fff;
  font-size: 24px;
}

.services-section {
  padding: 20px 10%;
  background: #f7f9fc;
  text-align: center;
}

.services-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.services-icon {
  width: 150px;
  margin-bottom: 15px;
}

.services-header h2 {
  font-size: 2.8rem;
  color: #18407C;
  margin-bottom: 15px;
}

.services-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 25px;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin: 20px 0 10px;
  color: #18407C;
}

.service-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
}

.growth-section {
  padding: 50px 10%;
  background: #f7f9fc;
  display: flex;
  justify-content: center;
}

.growth-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.growth-left {
  flex: 1;
  text-align: left;
}

.growth-icon {
  width: 150px;
  margin-bottom: 20px;
}

.growth-left h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #18407C;
}

.growth-left p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.growth-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.img-box img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


.review-section {
  padding: 100px 10%;
  background: #f5f7fae7; 
  position: relative;
  text-align: center;
}


.review-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.review-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 auto;
  width: 300px; 
  background: #ffffff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 300px; 
}

.review-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.review-icon {
  width: 150px;
  margin-bottom: 15px;
}

.review-header h2 {
  font-size: 2.8rem;
  color: #18407C;
  margin-bottom: 15px;
}

.review-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stars {
  color: #E74A3E;
  font-size: 18px;
  margin-bottom: 10px;
}

.review-text {
  flex-grow: 1; 
  font-size: 16px;
  color: #555;
  line-height: 1.5;
   display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.client-name {
  font-weight: bold;
  color: #18407C;
}

.review-footer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #E74A3E;
}

.arrow {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 15px 25px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 10;
}

.arrow.left {
  left: 5%;
}

.arrow.right {
  right: 5%;
}

.arrow:hover {
  background: #18407C;
  color: #fff;
}

.footer {
  background: #18407C;
  color: #fff;
  padding-top: 70px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 10% 40px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 26px;
}

.footer-col p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #ddd;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 10%;
  font-size: 14px;
  color: #ccc;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .review-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .review-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .growth-container {
    flex-direction: column;
    text-align: center;
  }

  .growth-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .feature-container {
    flex-direction: column;
    text-align: center;
  }

  .feature-right p {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .info-section {
    flex-direction: column;
    text-align: center;
  }

  .images {
    height: 320px;
  }

  .img1, .img2 {
    position: relative;
    transform: none;
    left: auto;
  }

  .images {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: auto;
    padding: 80px 0;
    display: block;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;
  }
}


@media (max-width: 1024px) {

   .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

  }

   .left,
  .right {
    width: 100%;
  }
  .left img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero .right h1 {
    margin: 0 1.3rem;
    font-size: 2.5rem;
    width: 100%;
    text-align: center;
  }

  .hero .right p {
    margin: 1rem 1.3rem;
    width: 100%;
    text-align: center;
    font-size: 16px;
  }


  .hero .right .btn {
    margin-left: 35px;
    padding: 20px 35px;
  font-size: 20px;
    margin-bottom: 20px;
  }
  .cards {
    position: relative;  
    bottom: auto;
    right: auto;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  
  }

  .card {
    width: 90%;
    max-width: 400px;
  }

  .card.vertical {
    transform: none;
    height: auto;
  }

  .card.horizontal {
    width: 90%;
    height: auto;
    margin-top: 0;
  }
}


@media (max-width: 992px) {
  .category-cards {
    flex-wrap: wrap;
  }

  .category-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .category-card {
    width: 100%;
  }
}


@media (max-width: 600px) {

  .right h1 {
    font-size: 2rem;
  }

  .right p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .left img {
    width: 100%;
  }

  .card {
    width: 100%;
  }

  .cards {
    gap: 15px;
  }
}

@media (max-width: 900px) {

  .info-section {
    flex-direction: column;
    padding: 80px 5%;
  }

  .images {
    height: auto;
    flex-direction: column;
    align-items: center;
  }

  .img {
    position: relative;
    width: 90%;
    height: auto;
  }

  .img2 {
    margin-top: 20px;
  }

  .content{
    margin-top: 25px;
  }

  .content h2 {
    font-size: 2rem;
  }

  .content p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {

  .feature-container {
    flex-direction: column;
    gap: 30px;
  }

  .feature-left img {
    width: 100%;
  }

  .section-heading {
    font-size: 2rem;
  }

  .feature-right p {
    text-align: center;
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 900px) {

  .growth-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .growth-right {
    grid-template-columns: 1fr;
  }

  .growth-left h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {

  .review-slider {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .review-card {
    width: 260px;
    height: 280px;
  }

  .arrow {
    display: none; /* hide arrows on mobile */
  }
}

@media (max-width: 768px) {

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h3 {
    font-size: 20px;
  }

  .footer-col p {
    font-size: 14px;
  }
}