:root {
    --primary-blue: #0057B3;     /* Primary brand blue */
    --secondary-blue: #4A90E2;   /* Complementary lighter blue */
    --accent-green: #20B573;     /* Professional accent green */
    --background-light: #F8F9FA; /* Soft light background */
    --text-dark: #333333;        /* Dark text for readability */
    --white: #FFFFFF;            /* Pure white */
}

/* Global Resets and Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* General Button Styles */
.btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    border: none;
    color: var(--white);
    font-weight: bold;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-success:hover {
    opacity: 0.9;
}

/* Square Buttons */
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

/* Hero Section */
.main-banner-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-align: center; /* Added for mobile responsiveness */
}

.main-banner-section .fw-bold {
    color: #FFFFFF; /* Set the heading text color to white */
}

.main-banner-section p {
    color: #F0F0F0; /* Set the paragraph text color to a light gray/white */
}
/* Service Boxes */
.service-box {
    background-color: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 87, 179, 0.1);
}

.service-box h3 {
    color: var(--primary-blue);
}

/* Client Boxes */
.client-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.client-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Additional Global Styles */
.section-light {
    background-color: var(--background-light);
}

.section-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
}

/* Navbar */
.navbar {
    min-height: 80px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: 0.5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 80px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 15px 10px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-light.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar-brand img {
    max-height: 50px; /* Adjusted for responsiveness */
    width: auto;
}

/* Dropdown Menu */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

/* Header */
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}

.header-carousel .container::before,
.page-header .container::before,
.header-carousel .container::after,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary);
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .main-banner-section {
        text-align: center;
    }

    .highlight-text {
        font-size: 2rem;
    }

    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(/static/job_portal/img/hrmscover7.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*--------------------------------------------------------------
    # Clients Section
    --------------------------------------------------------------*/
.clients {
    padding:  0 0 30px 0;
    overflow: hidden;
    display: block;
    box-sizing: border-box;
}

.clients .swiper-slide img {
    width:100%;
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(0);
}

.clients .swiper-slide img:hover {
    filter: none;
    opacity: 1;
}

.swiper-pointer-events {
    touch-action: pan-y;
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    display: flex; /* Ensure all slides are in a row */
}

/* .swiper-slide {
    width: auto !important; Ensure each slide occupies its own space
} */
.clients-slider {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    margin-right: 0px; /* Adjust the space between slides as needed */
    /* width:auto !important; */
    height:20% !important;
}

    

/* Contact Section
--------------------------------*/
/* #contact {
    background: #fff;
  } */
  
  #contact .info {
    color: #222;
  }
  
  #contact .info i {
    font-size: 32px;
    color: #71c55d;
    float: left;
    line-height: 0;
  }
  
  #contact .info p {
    padding: 0 0 10px 50px;
    margin-bottom: 20px;
    line-height: 22px;
    font-size: 14px;
  }
  
  #contact .info .email p {
    padding-top: 5px;
  }
  
  #contact .social-links {
    padding: 20px 0;
  }
  
  #contact .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #71c55d;
    color: #fff;
    line-height: 1;
    padding: 6px 0 8px 0;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #contact .social-links a:hover {
    background: #55b03f;
    color: #fff;
  }
  
  #contact .php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
  }
  
  #contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
  }
  
  #contact .php-email-form .error-message br+br {
    margin-top: 25px;
  }
  
  #contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    /* background: #18d26e; */
    text-align: center;
    padding: 15px;
    font-weight: 600;
  }
  
  #contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
  }
  
  #contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
  }
  
  #contact .php-email-form input,
  #contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
  }
  
  #contact .php-email-form input:focus,
  #contact .php-email-form textarea:focus {
    border-color: #71c55d;
  }
  
  #contact .php-email-form input {
    padding: 10px 15px;
  }
  
  #contact .php-email-form textarea {
    padding: 12px 15px;
  }
  
  #contact .php-email-form button[type=submit] {
    /* background: #71c55d; */
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
  }
  
  #contact .php-email-form button[type=submit]:hover {
    background: #92d283;
  }


/* Team Section
--------------------------------*/
/* #team {
    background-color: #e5efe9;
  } */
  #team .team-block {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
    height: 254px;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  
  @media (max-width: 991px) {
    #team .team-block {
      margin-bottom: 30px;
    }
  }
  
  #team .team-block img {
    width: 100%;
    height: 100%;
  }
  
  #team .team-block .team-content {
    background: #fff none repeat scroll 0 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.19);
    bottom: -115px;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    transition: all 0.5s ease-in-out 0s;
  }
  
  
  #team .team-block .team-content ul {
    display: block;
    width: 100%;
  }
  
  #team .team-block .team-content ul li {
    display: inline-block;
  }
  
  #team .team-block .team-content ul li a {
    color: #626262;
  }
  
  #team .team-block .team-content ul li a .fa {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.3s;
  }
  
  #team .team-block .team-content ul li a .fa:hover {
    color: #71c55d;
  }
  
  #team .team-block .team-content ul>span {
    display: inline-block;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  #team .team-block:hover .team-content {
    bottom: 0px;
    transition: all 0.5s ease-in-out 0s;
  }
 
  @media (max-width: 991px) {
    .d-lg-inline-block {
        display: inline-block !important;
    }
}

.custom-section {
        background-color: #f8f9fa; /* Light background for custom section */
        border-radius: 10px; /* Rounded corners */
    }

    .project-img {
        height: auto; /* Maintain aspect ratio */
        width: 100%; /* Responsive image */
    }
 
.client-box:nth-child(2) { background: linear-gradient(135deg, #6c757d, #adb5bd); }
.client-box:nth-child(3) { background: linear-gradient(135deg, #ffc107, #ffdd57); color: #000; }
.client-box:nth-child(4) { background: linear-gradient(135deg, #28a745, #85e489); }
.client-box:nth-child(5) { background: linear-gradient(135deg, #dc3545, #f76878); }
.client-box:nth-child(6) { background: linear-gradient(135deg, #6f42c1, #b077e6); }

/* Course Cards */
.course-card {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9; /* Updated background for consistency */
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Combined consistent hover shadow */
}

.course-card h3, .course-card h4 {
    color: var(--primary-blue); /* Using variable for consistency */
    font-size: 1.25rem;
    font-weight: bold; /* Adding bold for titles */
}

.course-card p {
    font-size: 1rem;
    color: #7f8c8d;
}

.course-card a.btn {
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
}

.course-card a.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.course-card a.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: var(--white); /* Consistent hover style */
}

.container {
    max-width: 1200px;
}

.row {
    margin-top: 40px;
}

.highlight-text {
    color: #ffffff; /* Change to white or a high-contrast color */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adds a shadow for better readability */
    background-color: rgba(0, 0, 139, 0.6); /* Optional: Add a semi-transparent dark blue background */
    padding: 10px; /* Optional: Add padding to make the text stand out */
    font-size: 2.5rem; /* Adjust size if necessary */
    line-height: 1.4; /* Better line spacing for readability */
}

.project-block .project-img {
    width: 100%; /* Ensures the image spans the width of the parent container */
    height: 250px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image is cropped proportionally to fill the dimensions */
    border-radius: 5px; /* Optional: keeps the rounded corners */
}



:root {
    --primary-blue: #0057B3;     /* Matches logo blue */
    --secondary-blue: #4A90E2;   /* Lighter blue for contrast */
    --accent-teal: #80D6FF;      /* Complementary teal for accents */
    --highlight-yellow: #FFC857; /* Subtle yellow for CTAs */
    --background-light: #F5F5F5; /* Neutral background */
    --text-dark: #333333;        /* Dark text for readability */
    --white: #FFFFFF;            /* White for clean design */
}

/* Updated Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--highlight-yellow);
    color: var(--white);
    border: none;
}

.btn-success:hover {
    background-color: var(--accent-teal);
    color: var(--white);
}

/* Section Styles */
section {
    background-color: var(--background-light); /* Neutral background */
    padding: 50px 0;
}

/* Text and Highlight Adjustments */
h1, h2, h3, h4 {
    color: var(--primary-blue);
}

p, span {
    color: var(--text-dark);
}

/* Link Hover */
a:hover {
    color: var(--accent-teal);
    text-decoration: none;
}

