/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Top Query Bar */
.top-bar {
  background-color: #3f88c5;
  color: white;
  padding: 1% 5%; /* Use percentage for padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
}

.top-bar i {
  margin-right: 5px;
}

/* Navigation Bar */
.navbar {
  background-color: white;
  color: black;
  padding: 1% 5%; /* Use percentage padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 0.9em;
}

.logo {
  font-size: 1.8rem; /* Use rem for scalable font size */
  font-weight: bold;
  color: #3f88c5;
}

.logo span {
  color: red;
}

.nav-links a {
  text-decoration: none;
  color: black;
  margin-left: 3vw; /* Relative margin for spacing */
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #3f88c5;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh; /* Use viewport height */
  background: url("../images/home1.jpg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  height: 85vh;
  margin-bottom: 75px;
}

.hero h1 {
  font-size: 6vw; /* Responsive font size based on viewport width */
  font-weight: bold;
  margin-bottom: 2%;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: white;
}

.hero p {
  font-size: 1.2vw; /* Responsive paragraph text */
  margin-bottom: 2%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: white;
}

/* Button */
.btn {
  display: inline-block;
  background-color: #3f88c5;
  color: white;
  padding: 0.5% 0.5%; /* Use percentages for padding */
  border-radius: 10px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2c6f9f;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links a {
    margin: 10px 0; /* Add space between links */
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 8vw; /* Adjust font size for smaller screens */
  }

  .hero p {
    font-size: 3vw;
  }

  .btn {
    font-size: 1rem;
    padding: 3% 8%;
  }
} /* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Heading */
h1 {
  text-align: center;
  margin: 20px 0;
  font-size: 2rem;
  color: #333;
}

/* Container for Service Boxes */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Individual Service Box */
.service-box {
  position: relative;
  width: 300px;
  height: 200px;
  background-color: #ddd;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

/* Service Box Image */
.service-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: all 0.3s ease;
}

/* Hover Effect */
.service-box:hover img {
  filter: brightness(0.8);
  transform: scale(1.05);
}

/* Text Overlay */
.btn1 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  text-transform: capitalize;
  transition: font-size 0.3s ease; /* Smooth transition on font resize */
  display: inline-block;
  background-color: #3f88c5;
  color: white;
  padding: 4% 4%;
  padding-top: 2%;
  padding-bottom: 2%;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn1:hover {
  background-color: #2c6f9f;
}

.service-box h6:hover {
  background-color: #2c6f9f;
}

/* Responsive Design: Tablet */
@media (max-width: 768px) {
  .service-box {
    width: 45%; /* Adjust width for tablets */
    height: 180px;
  }

  h1 {
    font-size: 1.8rem; /* Smaller heading */
  }

  .service-box h3 {
    font-size: 1rem; /* Slightly smaller text overlay for tablets */
  }
}

/* Responsive Design: Mobile Devices */
@media (max-width: 480px) {
  .container {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
  }

  .service-box {
    width: 90%; /* Full width for mobile */
    height: 160px;
  }

  h1 {
    font-size: 1.5rem; /* Smaller heading for mobile */
    margin: 15px 0;
  }

  .service-box h3 {
    font-size: 1rem; /* Smaller text overlay for mobile */
  }
}
/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Section Title */
.section-title {
  text-align: center;
  margin: 20px 10px;
  font-size: 2rem;
  color: #000;
}

/* Main container for cards */
.services-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  padding-top: 2.5%;
}

/* Individual card styling */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px;
  width: 250px;
  cursor: pointer;
}

/* Card hover effect */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Card content */
.card img {
  width: 150px;
  height: 100px;
  margin-bottom: 15px;
}

.card h3 {
  margin: 10px 0;
  font-size: 1.2em;
  color: #333;
}

.card p {
  color: #777;
  font-size: 0.9em;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%; /* Full width with margins */
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.8rem;
  }
}
/* General Body Styling */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #fff;
}

/* Section Header */
.staffing-header {
  font-size: 36px;
  font-weight: bold;
  color: #000;
  margin: 20px 0;
  padding-top: 3%;
  padding-bottom: 2%;
}

.staffing-header::before {
  content: "| ";
  color: #0078ff;
}

/* Content Layout */
.staffing-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 2.5%;
  max-width: 1200px;
  padding-bottom: 5%;
}

/* Individual Items */
.staffing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* Circular Background for Images */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: #e0f0ff; /* Light Blue Background */
  border-radius: 50%; /* Makes it circular */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background-color 0.3s ease; /* Smooth hover transition */
}

.icon-circle img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease; /* Smooth image zoom effect */
}

/* Hover Effect for Icons */
.icon-circle:hover {
  background-color: #0078ff;
}

.icon-circle:hover img {
  transform: scale(1.2); /* Slight zoom on hover */
}

/* Text Styles */
.staffing-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 5px 0;
}

.staffing-desc {
  font-size: 14px;
  color: #666;
  max-width: 180px;
}

/* Responsive Design for Mobile */
@media screen and (max-width: 768px) {
  .staffing-container {
    grid-template-columns: 1fr; /* Stack in one column */
    gap: 15px;
  }

  .staffing-header {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle img {
    width: 30px;
    height: 30px;
  }

  .staffing-title {
    font-size: 16px;
  }

  .staffing-desc {
    font-size: 12px;
  }
}
/* Carousel Container */
.carousel-container {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  padding-top: 1%;
}

/* Carousel Track */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Carousel Group (for 3 slides in a row) */
.carousel-group {
  display: flex;
  min-width: 100%;
}

/* Individual Carousel Slide */
.carousel-slide {
  flex: 1;
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
}

.carousel-slide img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.carousel-slide h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #333;
}

.carousel-slide p {
  font-size: 1rem;
  color: #555;
}

/* Navigation Dots */
.dots-container {
  text-align: center;
  margin-top: 4%;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

/* Responsive Design */

/* For Tablets */
@media screen and (max-width: 768px) {
  .carousel-slide {
    margin: 0 5px;
  }

  .carousel-container {
    width: 95%;
  }
}

/* For Mobile Devices */
@media screen and (max-width: 480px) {
  .carousel-group {
    flex-wrap: wrap; /* Stack slides on smaller devices */
  }

  .carousel-slide {
    width: 100%;
    margin-bottom: 10px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}
/* Carousel Wrapper */
.carousel-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  padding: 20px;
  padding-top: 5%;
  padding-bottom: 5%;
}

/* Carousel Content */
.carousel-content {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Carousel Rows */
.carousel-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  flex: 0 0 100%;
}

/* Carousel Items */
.carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 18%;
}

.carousel-item img {
  width: 150px;
  height: auto;
}

/* Navigation Dots */
.navigation-dots {
  text-align: center;
  margin-top: 4%;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

/* Scroll-to-Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #333;
  text-align: left;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 calc(25% - 20px);
  margin: 10px;
}

.footer-column h4 {
  font-size: 18px;
  color: #000;
  margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  line-height: 1.6;
}

.footer-column a:hover {
  color: #007bff;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: white;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 26px;
}

.footer-social-icons a {
  color: black;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
  color: #777;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 20px;
  }
}
