* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Smooth scrolling */
html {scroll-behavior: smooth;}
body, html {
            margin: 0;
            padding: 0;
            height: 100%;
        }
/* Section styling */
section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.about-us,.employer-services,.current-services,.testimonials,.contact-us{padding: 40px 0px !important;}
.employer-services{padding:0px 0px !important;}
.contact-us{padding-bottom: 0px !important;}
ul, li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

/* Top Bar styles */

.top-bar {
            background-color: #CCA18E;
            color: white;
            font-size: 14px;
            padding: 10px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1001;
            transition: top 0.3s;
        }

.social-links a{
    color: #fff;
    margin-right: 12px;
}
.top-bar .me-auto, .top-bar .me-auto a{
  color: #fff;
  font-size:0.825rem;
}
.top-bar .me-auto a{text-decoration: none;}
.top-bar .me-auto a i,.top-bar .me-auto i{margin-right: 8px;}
.rounded-bottom{
  border-bottom-left-radius:50px !important;
  border-bottom-right-radius:50px !important;
}
/* Navbar custom styles */
.navbar-custom {
            background-color: #fff;
            position: fixed; /* Keep the navbar fixed */
            top: 40px; /* Position below the top-bar */
            width: 100%;
            z-index: 1000;
            transition: top 0.3s, background-color 0.3s;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Adding shadow for effect */
        }

.navbar-custom .nav-link {
    color: #1B264F !important;
    text-decoration: none;
            transition: background-color 0.3s;
}
.navbar button{border:1px solid #dee2e6;}
.navbar button svg{color: #6c757d;}
.navbar-brand img{width: 70px;}
/* General Navbar Styling */
.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navbar-nav li {
    margin-right:24px; /* Space between menu items */
    position: relative; /* For underline effect */
}

.navbar-nav a {
    font-size: 16px;
    font-weight: 600;
    color: #333; /* Default text color */
    text-decoration: none; /* Remove underline */
    display: block;
    transition: color 0.3s ease-in-out;
    position: relative;
}

/* Hover State Styling */
.navbar-nav a:hover {
    color: #203061; /* Change text color on hover (primary brand color) */
}

/* Active State Styling */
.navbar-nav a.active {
    color: #D42C27; /* Active state text color (secondary brand color) */
    border-bottom: 3px solid #D42C27; /* Underline for active state */
}

/* Underline hover effect */
.navbar-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -26px;
    height: 3px;
    width: 0;
    background-color: #203061; /* Primary brand color */
    transition: width 0.3s ease-in-out;
}

.navbar-nav a:hover::before {
    width: 100%; /* Full underline on hover */
}

/* Active state underline remains visible */
.navbar-nav a.active::before {
    width: 100%; /* Keep underline for active link */
    background-color: #D42C27; /* Secondary brand color */
}

/* Additional Styling for Menu */
.navbar-nav li:last-child {
    margin-right: 0; /* Remove margin on the last menu item */
}
.navbar-collapse {
    display: none;
}

.navbar-collapse.show {
    display: block;
    transition: all 500ms ease;
}


/* Hero section styles */

.hero {
  position: relative;
  height: 80vh; /* Full screen height */
  width: 100%;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgb(7,20,34);
  background: linear-gradient(90deg, rgba(7,20,34,0.8) 40%, rgba(7,20,34,0.8) 100%), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  animation: zoom 10s infinite alternate;
}
/* Animation Keyframes */
        @keyframes zoom {
            0% {
                transform: scale(1); /* Original size */
            }
            50% {
                transform: scale(1.1); /* Zoom in slightly */
            }
            100% {
                transform: scale(1); /* Zoom out back to original */
            }
        }
.hero h1{
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    color: #ffffff;
}
.hero h1 span{
    color: #CCA18E;
}
.hero .btn {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
}


.fade-in {
    animation: fadeIn 2s ease-in-out; /* Example fade-in animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.text-green {
    color: #28a745; /* Green color for the text */
}


/* About Us Section */
.about-us {
    background-color: #fff;
}

.about-us .row {
    display: flex;
    flex-wrap: wrap;
}
.about-image {
    position: relative;
}
.about-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
}
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.service-card {
    border-radius: 12px;
    background: white;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    padding: 16px;
}
.service-card img,.info-card img{width: 100%; border-radius: 12px;}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.info-card {
    border-radius: 10px;
    background: #fff;
    transition: 0.3s;
}
.info-card:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}
.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
}
.testimonial-card {
    background: white;
    color: black;
    padding: 24px;
    min-height: 240px;
    border-radius: 10px;
    flex: 0 0 300px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}
blockquote {
    font-size: 1.2rem;
    font-style: italic;
}

.py-6{padding: 80px 0px;}
.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #003f80);
}

.professional-staffing {
    position: relative;
    background: url('../images/Permanent-Staffing.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 160px 0px 40px;
}

.professional-staffing .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.professional-staffing .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
}


.services-grid {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.services-grid .service-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.services-grid .service-card:hover {
    transform: translateY(-5px);
}

.services-grid .service-card .service-title {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
}

.services-grid .service-card .service-title h4 {
    margin: 0;
    position: relative;
    z-index: 2;
}

.services-grid .service-card .service-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay */
    z-index: 1;
}

.services-grid .service-card .service-content {
    padding: 20px;
    text-align: center;
}

.industry-hiring {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.industry-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-title {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
}

.industry-title h3 {
    margin: 0;
    position: relative;
    z-index: 2;
}

.industry-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.it-recruitment .industry-title {
    background-image: url('it-recruitment.jpg');
}

.bpo-recruitment .industry-title {
    background-image: url('bpo-recruitment.jpg');
}

.industry-content {
    padding: 20px;
    text-align: left;
}

/* Footer styles */
footer {
    background-color:#f8f9fa; /* Background color as shown in the image */
    color: white;
    padding: 40px 0;
    color: #333333;
    border-top: 1px solid #ddd;
}
footer h5{color: #1B264F;}
footer .list-unstyled li a, .links a{color: #333333; text-decoration: none;}
footer .list-unstyled li a:hover, .links a:hover{color: #203061;}
footer img{width: 70px;}
.bg-primary {
    background-color: #006eb6 !important; /* Use Bootstrap bg-primary or customize */
}

.bg-dark {
    background-color: #203061 !important; /* Darker background for the footer bottom */
}
.f-social-links a{
    color: #333333;
    margin-right: 12px;
}
.f-social-links a:hover{
    color: #203061;
  }
/* Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn ease 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Custom button style */
.btn-custom {
    background-color: #203061;
    color: white;
    padding: 12px 24px;
}

.btn-custom:hover {
    background-color: #203061;
    color: white;
}
.btn-custom i{margin-left: 8px;}

/* Back to Top button styles */
#back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: none; /* Hidden by default */
            background-color: #CCA18E;
            color: white;
            border: none;
            padding: 24px 24px;
            font-size:14px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 1002;
        }

        #back-to-top:hover {
            background-color: #333;
        }

        /* Responsive for smaller screens */
        @media (max-width: 768px) {
          .about-us, .current-services, .testimonials, .contact-us {padding: 32px 0px !important;}
          .employer-services{padding:0px !important;}
            .navbar-nav {flex-direction: column;}
            .navbar-nav li {margin-bottom: 0.938rem;}
            .top-bar {display: none !important;}
            .navbar-nav li {margin-right:0px !important;}
            .navbar-custom{top:0px !important;}
            .navbar-nav a::before {content: "";position: absolute;bottom: -8px;height: 2px;}
            .navbar-nav li:last-child {margin-bottom: 1.5rem;}
            .hero h1 {font-size: 3rem;}
            .hero p {font-size: 1.25rem;}
            .btn-custom {width: 100%;}
            .services-grid {grid-template-columns:1fr !important;}
            .ps-item, .ts-item {padding: 1rem !important;}
            .about-us .p-5 {padding: 1rem 1rem 0px !important;}
            .main-title {font-size: 1.5rem;}
            .testimonials .pe-5 {padding-right:0rem !important;}
            .contact-us .p-5 {padding: 2rem !important;}
            footer .pe-5 {padding-right: 1rem !important;}
            footer .ps-5 {padding-left: 1rem !important;}
            footer .col {flex: 0 0 100%; max-width: 100%;}
        }
