:root {
    --color--primary: #dc2626;
    --color--secondary: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav1 h1 {
    font-size: 28px;
    font-weight: 700;
}

.nav2 .navbar-brand {
    font-size: 24px;
    font-weight: 600;
    color: var(--color--primary);
}

@media (max-width: 900px) {
    .nav1 h1 {
        font-size: 22px;
    }

    .nav2 .navbar-brand {
        font-size: 20px;
    }
}

.hero-section h1 {
    color: var(--color--primary);
    font-weight: 600;
}

.hero-section h3 {
    color: var(--color--primary);
}

.hero-section a {
    background-color: var(--color--secondary);
    text-decoration: none;
    color: white;
    padding: 10px 20px;
}

.hero-section a:hover {
    background-color: var(--color--primary);
    transition: all 0.3s ease;
}

.it_consult {
    width: 100%;
    height: 555px !important;
    object-fit: cover;
    position: relative;
    filter: brightness(0.6);
    
}

@media (max-width: 900px) {
    .it_consult {
        height: 500px !important;
    }
}

/* footer section */
footer {
    background-color: #000;
    color: white;
}

footer h1 {
    font-size: 24px;
    font-weight: 600;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
}

footer li {
    margin-bottom: 10px;
}

.line {
    width: 100%;
    height: 1px;
    background-color: var(--color--primary);
}

.re-span span {
    color: var(--color--primary);
    font-weight: 600;
}

/* care section */
.care-section {
    background-color: var(--color--primary);
    font-weight: 600;
}

.care-section h1 {
    color: white;
    font-weight: 800;
    font-size: 40px;
}

.care-section p {
    color: white;
    font-size: 26px; 
}

@media (max-width: 900px) {
    .care-section h1 {
        font-size: 20px;
    }
    .care-section p {
        font-size: 16px; 
    }
}

/* about us section */
.about p {
    font-size: 18px;
}

@media (max-width: 900px) {
    .about p {
        font-size: 16px;
    } 
  }

.holder {
    position: relative;
    width: 100%;
    height: auto;

}

.img img{
    position: relative;
    width: 60%;
    height: 60% !important;
    z-index: 100;
}

.red-box {
    background-color: var(--color--primary);
    height: 500px;
    position: absolute;
    top: 100px;
    left: 180px;
    width: 250px;
}
/* ======box1======= */

.image-wrapper1 {
  position: relative;
  max-width: 500px;
}

.image-wrapper1 img {
  width: 100%;
  position: relative;
  z-index: 2;
  border-radius: 4px;
}

/* Red background block */
.red-box1 {
  position: absolute;
  bottom: -30px;
  left: 30px;
  width: 100%;
  height: 100%;
  background: #dc2626;
  z-index: 1;
}

@media (max-width: 900px) {
  /* .work-content {
    grid-template-columns: 1fr;
  } */

  .image-wrapper {
    margin: 0 auto;
  }

  .red-box1 {
    left: 10px;
    bottom: -10px;
  }
}

/* ====box end======= */

/* values section */
.values-box {
    background-color: var(--color--primary);
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    color: white;
}

.values-box h3 {
    font-size: 130px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* services section */
.services {
    background-image: url('images/bg_img6.jpg');
    background-size: cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.services h1 {
    color: white;
    z-index: 10;
}

.service-box {
    background-color: var(--color--primary);
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    color: white;
    z-index: 10;
    background: #e41e1e !important;
    color: white !important;
}

.service-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* staffing section */
.learn-btn {
    display: inline-block;
    margin-top: 15px;
    background-color: var(--color--primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    justify-self: center;
}

.learn-btn:hover {
    background-color: var(--color--secondary);
    transition: all 0.3s ease;
}

.staffing ul {
    list-style-type: disc;
    padding-left: 20px;
}

.img2 img{
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
}

@media (max-width: 900px) {
  .img2 img {
    height: 300px !important;
    margin-bottom: 20px;
  }
}

/* why choose us section */
.why-sec img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.why-col {
    background-color: var(--color--primary);
    color: white;
}

.why-col ul {
    list-style-type: none;
    padding-left: 0;
}

.why-col ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

@media (max-width: 900px) {
  .why-sec img {
    height: 300px !important;
  }
}

/* ====work==== */
.work-with-us {
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 500;
}

.work-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image styling */
.image-wrapper {
  position: relative;
  max-width: 500px;
}

.image-wrapper img {
  width: 100%;
  position: relative;
  z-index: 2;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .image-wrapper {
    max-width: 100%;
  }
  .section-title {
    font-size: 32px;
  }
}

/* Red background block */
.red-box {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100%;
  height: 80%;
  background: #dc2626;
  z-index: 1;
}

/* Text styling */
.text-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.text-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

.text-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.text-content li {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .work-content {
    grid-template-columns: 1fr;
  }

  .image-wrapper {
    margin: 0 auto;
  }

  .red-box {
    position: absolute;
    left: -20px;
    bottom: 30px;
  }
}

/* staff toolkit */
.staff-toolkits-col {
    background-color: var(--color--primary);
}

/* contact us */
.contact-title {
  font-size: 42px;
  font-weight: 500;
  color: var(--color--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--color--primary);
  font-size: 17px;
}

.contact-item i {
  font-size: 22px;
}

.object-fit-cover {
  object-fit: cover;
}

@media (max-width: 900px) {
  .image-wrapper {
    max-width: 100%;
  }
  .contact-title {
    font-size: 32px;
  }
}

/* trusted partners */
.trusted {
  background-color: var(--color--primary);
  padding: 50px 0;
}

.trusted h3 {
  font-size: 44px;
  margin-bottom: 20px;
  color: white;
}

.trusted img {
  width: 100%;
  max-width: 200px;
}

@media (max-width: 900px) {
  .trusted h3 {
    font-size: 32px;
  }
}

/* socials */
.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: var(--color--primary);
  font-size: 36px;
  transition: 0.3s ease;
}

.whatsapp:hover {
    color: #25D366 !important;
}

.facebook:hover {
    color: #3b5998 !important;
}

.linkedin:hover {
    color: #0077b5 !important;
}

/* back to top button */
.back2top-btn {
    position: relative !important;
    background-color: var(--color--primary) !important; 
    color: white !important;
    z-index: 10000 !important;
}

.back2top-btn:hover {
    background-color: var(--color--secondary) !important;
    transition: all 0.3s ease;
}