* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* overflow-y: hidden; */
}

body {
  font-family: 'Outfit';
}

/* navbar section */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 15px 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 80px;
}

.logo img {
  width: 20%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: #2f2f2f;
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s ease;
}
.heading-line {
  position: relative;
  background-color: #9c2500;
  height: 5px;
  width: 90px;
  border-radius: 30px;
  margin: 25px auto;
}

.heading-line:before {
  background-color: #ba3108;
  content: '';
  position: absolute;
  left: 0;
  top: -2.7px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
  -webkit-animation-direction: alternate-reverse;
  -webkit-animation-name: watermark-animate;
  animation-name: watermark-animate;
}

/* Keyframes to animate the movement from left to right */
@-webkit-keyframes watermark-animate {
  0% {
    left: 0;
  }
  100% {
    left: 80px; 
    /* Moving to the right end (width - width of the circle) */
  }
}

@keyframes watermark-animate {
  0% {
    left: 0;
  }
  100% {
    left: 80px; 
    /* Moving to the right end (width - width of the circle) */
  }
}

.nav-links a:hover {
  color: #9c2500;
}

/* Toggle button for mobile */
.toggle-button {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.toggle-button span {
  height: 3px;
  width: 25px;
  background-color: #9c2500;  ;
  margin: 4px 0;
  transition: 0.4s;
}

/* Checkbox hidden */
.toggle-checkbox {
  display: none;
}

.toggle-checkbox:checked + .toggle-button span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  
}


.toggle-checkbox:checked + .toggle-button span:nth-child(2) {
  opacity: 0;
}

.toggle-checkbox:checked + .toggle-button span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.toggle-checkbox:checked ~ .nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #9c2500; 
  width: 100%;
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 1;
}

.toggle-checkbox:checked ~ .nav-links li {
  margin: 15px 0;
}

.toggle-checkbox:checked ~ .nav-links a {
  color: white;
}


/* home section */

.home-section {
  display: flex;
  position: relative;
}
.home-text {
  width: 50%;
}
.home-image {
  width: 50%;
}
.home-icon {
  width: 40px;
  height: 200px;
}

.hero-section {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  position: relative;
}

.content {
  padding: 20px 20px 20px 50px;
  width: 50%;
  text-align: end;
}

.content h1 {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.content h1 span {
  color: black;
  font-weight: bold;
}

.content p {
  font-size: 18px;
  color: #888;
  margin: 20px 0;
}
.link {
  text-decoration: none;
  list-style: none;
  color: white;
}


.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 50%;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column */
  width: 70%; /* Full width */
  height: 100vh; /* Full height of the viewport */
}

.item4 {
  background-image: url("assets/businessman.jpg"); /* Your image URL */
  background-size: cover; /* Image covers the full area */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent image repeat */
  width: 100%; /* Full width */
  height: 100vh; /* Full height of the viewport */
}
.home-v-icon{
  margin-top: -5px;
}

.grid-last {
  position: relative;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translate3d(-50%, 0, 0);
}

/* service section */
.services-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f4f4f4;
  margin-top: -11px;
}

.services-section h2 {
  font-size: 30px;
  margin-bottom: 10px;
  color: #333;
  position: relative;
}

.blue-bar {
  width: 100px;
  height: 4px;
  background-color: #3b82f6;
  margin: 0 auto 40px auto;
  position: relative; /* Ensure positioning for pseudo-element */
}

.blue-bar:before {
  content: ""; /* Required for pseudo-elements */
  position: absolute; /* Position relative to the parent */
  background-color: #03228f;
  height: 5px;
  width: 90px;
  border-radius: 30px;
  top: -10px; /* Adjust to position above the blue bar */
  left: 50%;
  transform: translateX(-50%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three cards in a row */
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  width: 300px;
  text-align: left;
  /* height: 325px; */
  padding: 40px 20px 70px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.icon1 {
  width: 75px;
}
.icon2 {
  width: 95px;
  height: 74px;
}
.icon3 {
  width: 75px;
}
.icon4 {
  width: 75px;
}
.icon5 {
  width: 75px;
}
.icon6 {
  width: 75px;
}
h3 {
  font-size: 18px;
  color: #333;
  margin-top: 10px;
}

p {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

/* contact css */

.contact-container {
  display: flex;
  justify-content: space-between;
  padding: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  width: 40%;
}
.info {
  margin-left: 20px;
}

.contact-form {
  width: 50%;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.info-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.icon {
  font-size: 20px;
  margin-right: 10px;
}

.info strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.info p {
  font-size: 14px;
  margin-bottom: 5px;
}

form {
  display: flex;
  flex-direction: column;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: none;
  background-color: #f5f5f5;
  /* border-radius: 5px; */
  font-size: 14px;
  color: #333;
}

textarea {
  height: 150px;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
  font-size: 14px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-info p,
.contact-info strong {
  font-family: "Arial", sans-serif;
  font-size: 16px;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(211, 47, 47, 0.5);
}
button {
  background-color: #9c2500; /* Red background */
  color: #fff; /* White text */
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  border-radius: 0; /* No rounded edges */
  font-size: 14px;
  margin-right: 30px;

  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-right: 40px; /* Space for the arrow on the right */
}

button :before {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 20px solid #9c2500; /* Arrow on the right */
}

button:hover {
  background-color: #9c2500; /* Darker red on hover */
}

button:hover:before {
  border-left-color: #9c2500; /* Darker red arrow on hover */
}

.contact-form-button {
  background-color: #9c2500; /* Red background */
  color: #fff; /* White text */
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  border-radius: 0; /* No rounded edges */
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-right: 40px; /* Space for the arrow on the right */
}

.contact-form-button:before {
  content: "";
  position: absolute;
  
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 20px solid #9c2500; /* Arrow on the right */
}

.contact-form-button:hover {
  background-color: #9c2500; /* Darker red on hover */
}

.contact-form-button:hover:before {
  border-left-color: #9c2500; /* Darker red arrow on hover */
}
.contact-form-button:before {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 21px solid #9c2500;
}


/* footer */
.footer-container {
  background-color: #4d4e50;
  color: #ffffff;
  padding: 40px 20px;
  margin-top: -10px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 7.5%;
}
.footer-section {
  width: 50%;
}
.footer-section img {
  width: 40%;
}
.footer-section p {
  margin-top: 20px;
  color: white;
}
.footer-section h3 {
  color: white;
}
.footer-section ul {
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b5b5b5;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #b5b5b5;
}



/* Responsive design for smaller screens */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* Two cards in a row */
  }
  .hero-section {
    display: grid;
    align-items: center;
    background-color: #f9f9f9;
    position: relative;}
    .image-grid {
      display: grid;
      grid-template-columns: 1fr;
      width: 100%;
      height: 100vh;
  }
  
  
  .contact-container {
    display: grid;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-content {
  display: grid;
  text-align: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 7.5%;
}
.content {
  padding: 20px 20px 20px 50px;
  /* height: 120px; */
  width: 100%;
  text-align: center;
}
.v-shape{
  display: none;
}
.contact-info {
  width: 100%;
}
.contact-form {
  width: 100%;
}
.footer-section {
  width: 100%;
}
.service-card {
  background-color: white;
  border-radius: 8px;
  width:100% ;
  text-align: center;
  height: 325px;
  padding: 40px 20px 70px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
button :before {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 21px solid #9c2500;
}
.nav-links {
  display: none;
}

.toggle-button {
  display: flex;
}

.logo img {
  width: 45%;
}
.nav-links {
  flex-direction: column;
  gap: 20px;
}

.toggle-checkbox:checked ~ .nav-links {
  display: flex;
  text-align: center;
  background-color: #9c2500;
}
.home-v-icon{
  margin-top: -1px;
}
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* One card in a row for mobile */
  }
}
