:root {
    --header-height-desktop: 100px;
    --header-height-mobile: 70px;
    --primary-bg-color: rgba(255, 255, 255, 1);
    --color-text: rgba(50, 45, 41, 1);
    --color-background: rgba(255, 255, 255, 1);
    --transition-default: 0.3s ease
}

body {
    overflow-x: hidden;
}

.main-content {
    padding-top: var(--header-height-desktop);
    background-color: var(--primary-bg-color);
    overflow-x: hidden;
}

/* Naveen Prakash S */
/* Fullscreen Carousel CSS */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.fullpage-carousel {
    position: relative;
    width: 100vw;
    /* overflow: hidden; */
}
.desktop-carousel {
  display: block;
}
.mobile-carousel {
  display: none;
}

.carousel-track {
    display: flex;
    width: calc(100vw * 7); /* 7 slides */
    animation: scrollCarousel 42s ease-in-out infinite;
    overflow: hidden;
}

.carousel-item {
    width: 100vw;
    height: 44vw;
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

.carousel-item img.loaded {
    opacity: 1;
}

.carousel-caption-wrapper {
  position: absolute;
  top: 28%;
  left: 10%;
  z-index: 2;
  color: white;
  text-align: left;
}

.carousel-label {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 1vw;
  line-height: 120%;
  letter-spacing: 0%;
  font-family: 'Plus Jakarta Sans';
}

.carousel-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0%;
  font-family: 'Plus Jakarta Sans';
}

.mobile-carousel img {
  max-height: 100vh;
  max-width: 100vw;
}
.fullpage-carousel.mobile-carousel {
  height: auto;
  max-height: 100vh;
}

@media (max-width: 768px) {
  .desktop-carousel {
    display: none;
  }
  .mobile-carousel {
    display: block;
    max-height: 100vh;
    max-width: 100vw;
  }
}

@media (max-width: 768px){
    
        .impact-section {
    text-align: center;
    padding: 0rem 2rem !important;
}
}

@media (max-width: 480px) {
    .carousel-caption-wrapper {
    position: absolute;
    /* top: 80%; */
    left: 8%;
    z-index: 2;
    color: white;
    text-align: left;
    top:35%;
    }

    .carousel-label {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8vw;
    line-height: 115%;
    letter-spacing: 0%;
    font-family: 'Plus Jakarta Sans';
    }

    .carousel-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0%;
    font-family: 'Plus Jakarta Sans';
    /* margin-top: -10px; */
    margin-top: -19px;
    }
}

@media (max-width: 360px) {
        .carousel-caption-wrapper {
    position: absolute;
    /* top: 80%; */
    left: 8%;
    z-index: 2;
    color: white;
    text-align: left;
    top:35%;
    }

    .carousel-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8vw;
    line-height: 115%;
    letter-spacing: 0%;
    font-family: 'Plus Jakarta Sans';
    }

    .carousel-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0%;
    font-family: 'Plus Jakarta Sans';
    /* margin-top: -10px; */
    margin-top: -19px;
    }
} 
@keyframes scrollCarousel {
    0%, 10% {
        transform: translateX(0);
    }
    14.28%, 24.28% {
        transform: translateX(-100vw);
    }
    28.57%, 38.57% {
        transform: translateX(-200vw);
    }
    42.85%, 52.85% {
        transform: translateX(-300vw);
    }
    57.14%, 67.14% {
        transform: translateX(-400vw);
    }
    71.42%, 81.42% {
        transform: translateX(-500vw);
    }
    85.71%, 95.71% {
        transform: translateX(-600vw);
    }
    100% {
        transform: translateX(-600vw); /* stay here before reset */
    }
}

/* Responsive Handling */
@media (max-width: 768px) {
    .carousel-item img {
        object-fit: contain;
        height: auto;
        max-height: 100vh;
    }
    .carousel-item {
    width: 100vw !important;
    height: 75vw;
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
}

/* Allow page scroll below the carousel */
.after-carousel {
    padding: 1rem 1rem;
    background: #f9f9f9;
    text-align: center;
    font-size: 1.25rem;
    color: #333;
}

 /* Adjust spacing below carousel */
.talent-match {
    margin-top: 0; /* Remove any default margin */
    padding-top: 0.5rem; /* Minimal padding to transition smoothly */
}

.fullpage-carousel, .carousel-track, .carousel-item {
    margin: 0 !important;
    padding: 0 !important;
}
/* Naveen Prakash S */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-family: 'Plus Jakarta Sans';
}

.talent-match .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-banner-image {
    position: relative;
    flex: 1;
    transition: transform var(--transition-default);
}

/* .hero-banner-image:hover {
    transform: scale(1.02);
} */

.hero-banner-image .decorated {
    z-index: 300;
}

.hero-banner-image img {
    max-width: 98%;
    height: auto;
    display: block;
    z-index: 300;
}

/* .hero-banner-image img:hover {
    filter: brightness(1.05);
} */

.decorative-top-img {
    position: absolute;
    top: -20px;
    width: 100px;
    height: 100px;
    z-index: 1;
    transition: transform var(--transition-default);
}

/* .decorative-top-img:hover {
    transform: rotate(5deg) scale(1.1);
} */

.decorative-top-img:nth-child(2) {
    right: -20px;
    visibility: visible;
    background-size: contain;
}

.decorative-top-img:nth-child(3) {
    right: 60px;
    visibility: visible;
    background-size: contain;
}

.hero-banner-image.decorated::before {
    content: '';
}

.hero-banner-image.decorated::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 4px;
    width: 80px;
    height: 80px;
    background: rgba(76, 89, 208, 0.48);
    background: linear-gradient(90deg, rgba(111, 122, 216, 0.166) 0%, rgba(57, 72, 211, 0.708) 100%);
    border-radius: 50%;
    z-index: 290;
    transform: rotate(30deg);
    transition: transform var(--transition-default), background var(--transition-default);
}

.hero-banner-image.decorated:hover::after {
    transform: rotate(45deg) scale(1.1);
    background: linear-gradient(90deg, rgba(111, 122, 216, 0.2) 0%, rgba(57, 72, 211, 0.8) 100%);
}

.content {
    flex: 1;
    padding-right: 20px;
}

.talent-match .image {
    flex: 1 1 45%;
}

.talent-match .badge {
    background: rgba(234, 236, 250, 1);
    color: rgba(57, 73, 211, 1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 3%;
    display: inline-block;
    margin-bottom: 1rem;
}

.talent-match h1 {
    font-size: 44px;
    color: rgba(0, 0, 0, 1);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 63px;
    letter-spacing: 1%;
}

.talent-match .highlight {
    color: #4754f0;
}

.talent-match p {
    font-size: 20px;
    font-family: 'Plus Jakarta Sans';
    font-weight: 500;
    color: rgba(132, 134, 138, 1);
    line-height: 38px;
    letter-spacing: 2%;
}

.who-we-are-container {
    flex-direction: row-reverse;
    padding-right: 16px;
    padding-left: 16px;
}

.who-we-are .image {
    flex: 1 1 35%;
    transition: transform var(--transition-default);
}

.who-we-are .image:hover {
    transform: translateY(-5px);
}

.who-we-are .content {
    flex: 1 1 50%;
    padding: 16px;
}

.heading-who-we-are{
    padding-bottom: 8px;
    font-weight: 600;
    font-size: 20px;
}

.who-we-are .section-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(39, 53, 175, 1);
    display: flex;
    gap: 8px;
    /* margin-bottom: 0.75rem; */
    font-family: 'Plus Jakarta Sans';
}

.who-we-are h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 1);
    line-height: 48px;
    letter-spacing: 1%;
}

.who-we-are p {
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 2%;
    color: rgba(132, 134, 138, 1);
    margin-bottom: 1rem;
}

.who-we-are .feature {
    margin-top: 1rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.who-we-are .feature .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-we-are .feature h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 1);
}

.who-we-are .feature p {
    color: rgba(132, 134, 138, 1);
    font-size: 14px;
    line-height: 26px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans';
}

.footer__list a {
    display: flex;
    align-items: flex-start;
    font-family: 'Plus Jakarta Sans';
    font-size: 14px;
    font-weight: 500;
    /* gap: 0.5rem; */
}

.what-we-do {
    background-color: #f5f7ff;
    padding: 4rem 0;
}

.what-we-do .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.what-we-do .section-header {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-bottom: 3rem;
    max-width: 40%;
}

.what-we-do .section-label {
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: rgba(39, 53, 175, 1);
    display: flex;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.what-we-do h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1.5rem;
}

.what-we-do .section-header p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(132, 134, 138, 1);
    max-width: 650px;
}

.what-we-do .services-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: auto;
    justify-content: space-between;
}

.what-we-do .service-card {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    gap: 18px;
    max-width: 550px;
    transition: transform var(--transition-default), box-shadow var(--transition-default);
}

.what-we-do .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.center-service-card {
    margin-left: 79px;
}

.last-service-card {
    margin-left: 30px;
}

.what-we-do .service-icon {
    min-width: 40px;
    height: 36px;
    background-color: #f0f2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-default), transform var(--transition-default);
}

.what-we-do .service-card:hover .service-icon {
    background-color: #e0e5ff;
    transform: scale(1.1);
}

.what-we-do-icons {
    height: 30px;
    transition: transform var(--transition-default);
}

.what-we-do .service-card:hover .what-we-do-icons {
    transform: scale(1.1);
}

.service-content {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.what-we-do .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 12px;
    transition: color var(--transition-default);
}

.what-we-do .service-card:hover h3 {
    color: rgba(39, 53, 175, 1);
}

.what-we-do .service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.what-we-do .know-more {
    color: rgba(39, 53, 175, 1);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: color var(--transition-default);
}

.what-we-do .know-more:hover {
    color: rgba(57, 72, 211, 1);
}

@media (max-width: 992px) {

    .container {
        padding: 3rem 1rem;
        flex-wrap: wrap;
    }

    .what-we-do .services-cards {
        flex-wrap: wrap;
    }

    .what-we-do .service-card {
        flex: 1 1 calc(50% - 12px);
        max-width: none;
    }

    .what-we-do .section-header {
        margin-bottom: 0;
        max-width: 100%;
    }

    .what-we-do .service-card {
        max-width: 100%;
    }

    .center-service-card {
        margin-left: 0px;
    }

    .last-service-card {
        margin-left: 0px;
    }

    .decorative-top-img {
        display: none;
    }

    .decorative-top-img:nth-child(2) {
        right: -2px;
        visibility: hidden;
    }

    .decorative-top-img:nth-child(3) {
        right: 1px;
        visibility: hidden;
    }

    .hero-banner-image.decorated::after {
        position: absolute;
        bottom: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        transform: rotate(30deg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 0rem;
        gap: 1rem;
        flex-direction: column;
    }

    .what-we-do {
        padding: 1rem 0;
    }

    .what-we-do h2 {
        font-size: 32px;
    }

    .what-we-do .service-card {
        flex: 1 1 100%;
    }

    .what-we-do .services-cards {
        flex-direction: column;
    }

    .who-we-are h2,
    .what-we-do h2 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: -0.6rem;
        color: rgba(0, 0, 0, 1);
        line-height: 30px;
        letter-spacing: 1%;
        margin-top:0.4rem;
    }

    .talent-match .content,
    .who-we-are .content,
    .talent-match .image,
    .who-we-are .image {
        flex-direction: row;
    }

    .about-section-left-img {
        width: 100%;
        height: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .talent-match .badge {
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 3%;
        display: inline-block;
        margin-bottom: 0.4rem;
    }

    .talent-match h1 {
        width: 100%;
        font-size: 30px;
        color: rgba(0, 0, 0, 1);
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 42px;
        letter-spacing: 1%;
        text-align: justify;
    }

    .who-we-are .section-label,
    .what-we-do .section-label {
        font-size: 14px;
    }

    .who-we-are .feature {
        margin-top: 0.8rem;
        display: flex;
        align-items: start;
        gap: 0.8rem;
    }

    .who-we-are .feature h4 {
        font-size: 16px;
        margin-bottom: 0.5rem;
        line-height: 24px;
        color: rgba(0, 0, 0, 1);
    }

    .what-we-do .section-header p {
        font-size: 14px;
        line-height: 24px;
        max-width: 650px;
    }

    .who-we-are p,
    .talent-match p,
    .who-we-are .feature p,
    .what-we-do .section-header p {
        font-size: 16px;
        line-height: 24px;
    }

    .what-we-do .service-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

.section-hiring-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
@media (max-width: 768px) {
    .section-hiring-process-grid {
        grid-template-columns: 1fr; /* Force one column layout */
    }
}

.why-choose-us-grid-servicenow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .why-choose-us-grid-servicenow {
        grid-template-columns: 1fr; /* Force one column layout */
    }
}

@media (max-width: 768px) {
    .impact-title {
        font-size: 38px;
        font-weight: 700;
        margin-bottom: 1rem;
        margin-top: 140px;
    }
    .impact-subtitle {
        font-size: 16px;
        color: #777;
        margin-bottom: 2rem;
        font-weight: 400;
        font-family: 'Plus Jakarta Sans';
    }
}

@media (max-width: 480px) {
    .impact-title {
        font-size: 28px !important;
        font-weight: 700;
        margin-bottom: 1rem;
        /* margin-top: 18px; */
        margin-top: 45px;
    }
    .impact-subtitle {
        font-size: 14px !important;
        color: #777;
        margin-bottom: 2rem;
        font-weight: 400;
        font-family: 'Plus Jakarta Sans';
    }
}

.impact-section {
    text-align: center;
    padding: 4rem 2rem;
}

.impact-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.impact-subtitle {
    font-size: 20px;
    color: #777;
    margin-bottom: 2rem;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans';
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background-color: #2735AF;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    /* width: 200px; */
    width: 245px;
    box-sizing: border-box;
}

/* Add a vertical border to each stat except the last */
.stat:not(:last-child) {
    border-right: 2px solid white; /* Vertical line between stats */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: normal;
}

@media (max-width: 768px) {
    .impact-stats {
        /* flex-direction: column; */
        grid-template-columns: repeat(2, 1fr);
        /* gap: 1.5rem; */
    }
    .sg-img-size{
        position: fixed !important;
        top: 70% !important;
        left: 6% !important;
    }
    img .sg-img-size{
        width:50px !important;
        height:50px !important;
    } 

    .loader-gif {
        max-width: 90% !important;
    max-height: 90% !important;
    }
}

.dropdown-menu-platform{
    line-height: 23px;
    color:#000000CC;
}

.contact_info_block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 8px 0px;
    border-radius: 6px;
}

.contact_image_style {
    width: 18px;
    height: 18px;
    margin-top: 3px; /* align icon with top of text block */
}

.contact_email_list {
    display: flex;
    flex-direction: column;
}

.contact_into_sub_text {
    color: white;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.5;
}

.contact_into_sub_text:hover {
    text-decoration: underline;
}

/* Loader Styling */
.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.6); /* Slight white tint */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  backdrop-filter: blur(2px); 
}

/* Loader Hidden State */
.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* GIF Size */
.loader-gif {
  max-width: 60%;
  max-height: 60%;
}

/* Light blur on page content */
body.blur #pageContent {
  filter: blur(1.5px); /* Reduced from 5px to 1.5px */
  pointer-events: none;
}

.sg-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* background-color: #ffffff; */
    /* border: 0.2px solid rgba(0, 0, 0, 0.2); */
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.sg-img-size{
position: fixed;
    top: 61% ;
    left: 2% ;
}

.dropdown-nav-link {
    position: relative;
}

.dropdown-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.dropdown-nav-link:hover::after {
    transform: scaleX(1);
}