:root {
    --primary-red: #E31837;    
    --secondary-red: #f54d69;   
    --dark-red: #b31329;        
    --text-dark: #4b4643;
    --text-gray: #666666;
    --background-light: #F5F5F5;   
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5rem;
}

mark {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
        to right,
        rgba(227, 24, 55, 0.08),  
        rgba(227, 24, 55, 0.4) 4%,  
        rgba(227, 24, 55, 0.15) 
    );
    box-decoration-break: slice;
    -webkit-box-decoration-break: slice;
}

/* Header Styles */
header {
    padding: 2rem 0;
    background: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    background: white;
    text-align: left;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    min-height: 600px;
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-image {
    flex: 1;
    min-height: 600px;
    background-color: #f0f0f0;
    background-image: url('images/imploi-man-waiting.png');
    background-size: 80% auto;
    background-position: 80% center;
    background-repeat: no-repeat;
    clip-path: circle(30% at 60% center);
    margin-right: -50px;
    margin-top: -3rem;  /* Add this line to move image up */
    transform: translateX(-1rem);  /* Add this line to move image in */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    margin-top: -2rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: left;
}

.hero p {
    font-size: 1.75rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.hero p.mid-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 2rem 0;
}

.hero-email-container {
    display: flex;
    align-items: center;
    width: 400px;
    background: white;
    border-radius: 25px;
    padding: 5px;
    border: 1px solid #e0e0e0;
    margin: 0;
    margin-bottom: 0rem;
}

.hero-email-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.hero-email-input::placeholder {
    color: #666666;  /* Default state - darker */
    transition: color 0.2s ease;
}

.hero-email-input:focus::placeholder {
    color: #CCCCCC;  /* Light gray when focused */
}

.hero-join-button {
    background: #0096C7;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-join-button:hover {
    background: #3BB273;
    opacity: 0.7;  
    box-shadow: inset 0 0 0 2px white;  
}

.shimmer-text {
    display: inline-block;
    position: relative;
    color: #2C1810;
    background: linear-gradient(
        90deg,
        #2C1810 33%,
        #E31837 50%,
        #2C1810 67%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; 
    animation-delay: 2s; 
}

/* Expertise */
.expertise-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    margin-top: 8rem;
}

.expertise {
    font-size: 1.55rem;
    color: var(--text-gray);
    font-weight: 600;
    margin: 0;
    text-align: left;
    white-space: nowrap; 
}

/* Trust Badges */
.trust-badges-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    margin-bottom: 0rem;
    margin-top: 4rem;
}

.trust-badges-line .badge {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badges-line .badge-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #ddd;
    display: inline-block;
}

/* Solution Box */
.solution-wrapper {
    width: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/gradient3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
    margin-top: -2rem;
}

.solution-box {
    width: 100%;
    position: relative;
}

.solution-box .solution-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.solution-box .solution-content::after {
    content: '';
    position: absolute;
    top: -8px;     /* Increased from -4px */
    left: -8px;    /* Increased from -4px */
    right: -8px;   /* Increased from -4px */
    bottom: -8px;  /* Increased from -4px */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;  /* Increased to maintain curve with larger offset */
    pointer-events: none;
}

.solution-box .solution-content .solution-graphic {
    width: 100%;
    height: 300px;
    margin-top: 2rem;
    border-radius: 12px !important;
    border: 2px solid #e0e0e0 !important;
    object-fit: cover; 
    display: block;
    object-position: center 65%;
}

.solution-box h2 {
    font-size: 2rem;
    color: var(--text-dark); 
    margin-bottom: 1.5rem;
}

.solution-box p {
    font-size: 1.25rem;
    color: var(--text-gray); 
    margin-bottom: 2rem;
}

/* Social Proof */
.social-proof {
    padding: 2rem 0;
    background: transparent;
    margin-top: 4rem;
}

.presence-title {
    text-align: center;
    color: #bbb;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.countries-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.country-item:hover {
    transform: translateY(-3px);
}

.country-image {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.4;
}

.country-name {
    color: #bbb;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Clearfix */
.clearfix::before {
    content: '';
    display: table;
}

/* Services Introduction Section */
.services-intro-section {
    padding: 4rem 0;  /* Changed from 1.5rem */
    background: transparent;  /* Changed from #ffffff */
    position: relative;  /* Add this */
    z-index: 1;  /* Add this */
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: center;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.services-intro p {
    font-size: 1.25rem;
    color: var(--text-gray); 
    line-height: 1.6;
}

/* Hiring Features Section */
.hiring-wrapper {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('images/rotated_gradient3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    min-height: 100vh;
    display: block;
    margin: 0;         
    padding: 4rem 0;  
    overflow: visible; 
    z-index: 1;       
    padding-top: 1px; 
    margin-top: -1px;
}

.hiring-wrapper > .container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}
 
.hiring-features-section {
    padding: 0rem;
    margin-bottom: 8rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.hiring-placeholder {
    background-color: #f5f5f5;
    height: 400px;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hiring-placeholder img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 8px;
    position: absolute; 
    top: 0; 
    left: 0; 
}

.hiring-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 4rem;
}

.hiring-card {
    background: transparent;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.hiring-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    margin: 0 auto 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hiring-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hiring-card h3 {
    color: #2C1810;
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: normal;
}

.hiring-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Hiring Text Section */
.hiring-text-section {
    padding: 0;  /* Reduced from 40px */
    background-image: none;
    margin: 4rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.hiring-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hiring-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;  /* Reduced from 40px */
    line-height: 1.2;
}

.hiring-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;  /* Reduced from 40px */
}

.hiring-button {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 10px;  /* Reduced from 20px */
}

.hiring-btn {
    background: #0096C7;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.hiring-btn-primary {
    background: #0096C7;
    color: white;
    border: none;
}

.hiring-btn-primary:hover {
    background: #3BB273;
    opacity: 0.7; 
    box-shadow: inset 0 0 0 2px white;
}

/* Results Section */
.results-section {
    padding: 20px 0;
    margin-bottom: 10rem;
    margin-top: 4rem;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.result-column {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.separator {
    width: 1px;
    height: 48px;
    background-color: #ddd;
}

.result-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: inline-block;
    position: relative;
    color: #2C1810;
    margin-bottom: 10px;
    background: linear-gradient(
        90deg,
        #2C1810 33%,
        #E31837 50%,
        #2C1810 67%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; 
    animation-delay: 2s; 
}

.result-text {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

@keyframes shine {
    from {
        background-position: -200% center;
    }
    to {
        background-position: 200% center;
    }
}

/* Cards Section */
.card-title-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.card-title-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.2;
}

.ai-cards-container {
    height: 510px;
    margin: 0;
    display: grid;
    grid-template-rows: 425px 50px;
    grid-template-columns: 1fr 30px 30px 30px 30px 30px 1fr;
    align-items: center;
    justify-items: center;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

.ai-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 340px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgb(241, 235, 235);
    transition: all 0.25s linear;
    --r: calc(var(--position) - var(--offset));
    --abs: max(calc(var(--r) * -1), var(--r));
    transform: rotateY(calc(-10deg * var(--r)))
        translateX(calc(-340px * var(--r)));
    z-index: calc((var(--position) - var(--abs)));
    cursor: pointer;
}

.ai-card-image {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.ai-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* This maintains the same scale as the gradient had */
}

.ai-card-content {
    padding: 1.5rem;
}

.ai-card-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.ai-card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1.25rem;
}

.explore-button {
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    color: white;
    background:#c5c2c0;
    display: none;
}

.explore-button:hover {
    opacity: 0.9;
}

/* Carousel specific styles */
#carousel {
    grid-row: 1 / 2;
    grid-column: 1 / 8;
    width: 100vw;
    height: 425px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
    -webkit-transition: transform 0.3s ease-out;
    perspective: 600px;
    --items: 5;
    --middle: 3;
    --position: 1;
}

/* Radio button styles and positions */
input:nth-of-type(1) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

input:nth-of-type(1):checked ~ main#carousel {
    --position: 1;
}

input:nth-of-type(2) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

input:nth-of-type(2):checked ~ main#carousel {
    --position: 2;
}

input:nth-of-type(3) {
    grid-column: 4 /5;
    grid-row: 2 / 3;
}

input:nth-of-type(3):checked ~ main#carousel {
    --position: 3;
}

input:nth-of-type(4) {
    grid-column: 5 / 6;
    grid-row: 2 / 3;
}

input:nth-of-type(4):checked ~ main#carousel {
    --position: 4;
}

input:nth-of-type(5) {
    grid-column: 6 / 7;
    grid-row: 2 / 3;
}

input:nth-of-type(5):checked ~ main#carousel {
    --position: 5;
}

input[type="radio"] {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

input[type="radio"]:checked {
    background: #E31837;
}

input[type="radio"]:hover {
    background: #b31329;
}

/* Individual card offsets */
.ai-card:nth-of-type(1) {
    --offset: 1;
}

.ai-card:nth-of-type(2) {
    --offset: 2;
}

.ai-card:nth-of-type(3) {
    --offset: 3;
}

.ai-card:nth-of-type(4) {
    --offset: 4;
}

.ai-card:nth-of-type(5) {
    --offset: 5;
}

/* Focus Section */
.focus-areas {
    background: white;
    padding: 1rem 0;
    margin-top:5rem;
}

.focus-areas h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.2;
}

.focus-areas p {
    font-size: 1.75rem;
    color: var(--text-gray);
}

/* About Section */
.about-section {
    padding: 1rem 0;
    background: white;
    margin-bottom:6rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-grid p {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Footer Section */
.footer-image {
    max-width: 300px;
    height: auto;
    justify-self: center;
}

.footer {
    background-color: #f3f1f1;
    padding: 64px 0 32px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 64px;
}

.footer-brand {
    flex: 0 1 400px;
    max-width: 400px;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #E31837;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 64px;
    margin-left: auto;
}

.footer-col h3 {
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #000;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
 }

.legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: #000;
}

.social-links {
    display: flex;
    gap: 16px;
 }

 .social-copyright-wrapper {  
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 16px;
 }

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

.social-icon:hover {
    background-color: #E31837;
}

.social-icon img {
    width: 16px;  /* Adjust this size as needed */
    height: 16px;  /* Adjust this size as needed */
}

.copyright {
    color: #666;
    font-size: 0.85rem;
    margin: 0;  /* Remove any default margins */
 }

/* Modal Section */
 .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-email-container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 5px;
    border: 1px solid #e0e0e0;
}

.modal-email-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.modal-email-input::placeholder {
    color: #666666;  /* Default state - darker */
    transition: color 0.2s ease;
}

.modal-email-input:focus::placeholder {
    color: #CCCCCC;  /* Light gray when focused */
}
.modal-join-button {
    background: #0096C7;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.modal-join-button:hover {
    background: #3BB273;
    opacity: 0.7;
    box-shadow: inset 0 0 0 1px white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .countries-grid {
        gap: 3rem;
    }
    .country-image {
        width: 45px;
        height: 45px;
    }
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .results-container {
        max-width: 90%;
        gap: 20px;
    }
    .ai-card {
        width: 280px;  
        height: 320px;
        cursor: grab;
    }
    .ai-card:active {
        cursor: grabbing;
    }
 }
 
 @media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero-content {
        flex-direction: column;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.5rem;
        white-space: normal;
        order: 1;
    }
    .hero p:not(.mid-text):not(.expertise) {
        order: 2;
    }
    .hero p.mid-text {
        order: 3;
        position: relative;
    }
    .hero-image {
        display: none; 
    }
    .hero p.mid-text::after {
        content: '';
        display: block;
        width: 100%;
        height: 200px;
        background-image: url('images/imploi-man-waiting.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin: 1rem 0;
        clip-path: circle(40% at 50% center);
    }
    .expertise-container {
        order: 5;
        margin-top: 2rem;
    }
    .expertise {
        font-size: 1.2rem;
        line-height: 1.3;
        white-space: normal;
   }
    .hero-email-container {
        width: 100%;
        max-width: 320px;    
        transform: scale(0.9);
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }  
    .hero-join-button {
        padding: 8px 14px; 
        font-size: 10px; 
    }
    .hero-email-input {
        padding: 8px 14px;
        font-size: 11px;
    }
    .container {
        padding: 0 1rem; 
    }
    .trust-badges-line {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 4rem;
        margin-bottom: 0rem;
    }
    .trust-badges-line .badge {
        font-size: 0.7rem;
    }
    .trust-badges-line .badge-separator {
        width: 3px;
        height: 3px;
        opacity: 0.6;
        display: inline-block;
    }
    .solution-box .container {
        padding: 0;  
        width: 100%;
    }
    .solution-box .solution-content {
        padding: 1.5rem;
        margin: 2rem;
        max-width: 90%;
        margin-bottom: 2rem;
    }
    .solution-box {
        padding: 0; 
        width: 100%;
    }
    .solution-content {
        max-width: 100%;  
        padding: 0.5rem 0;  
    }
    .solution-content p {
        padding: 0 0.5rem;  
        margin: 0.5rem 0;
        margin-top: 1rem;  
    }
    .solution-box .solution-graphic {
        height: auto;
        width: 100%;  
        margin-top: 1rem;  
    }
    .social-proof {
        padding: 1.5rem 0;
    }
    .presence-title {
        font-size: 1.25rem;
        margin-top: 2rem;
    }
    .countries-grid {
        gap: 2rem;
    }
    .country-image {
        width: 40px;
        height: 40px;
    }
    .results-container {
        flex-direction: column;
        gap: 40px;
    }
    .results-section {
        margin-top: 4rem;
        margin-bottom: 6rem;  
    }
    .separator {
        display: none;
    }
    .hiring-wrapper.clearfix {
        width: 100vw !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }
    .hiring-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
    .hiring-wrapper > .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
    .hiring-text-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
    .hiring-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .hiring-text {
        width: 100% !important;
        max-width: none !important;
        padding: 0 1rem !important;
    }
    .hiring-text h2 {
        width: 100% !important;
        max-width: none !important;
        white-space: normal !important;
    }
    .hiring-text p {
        width: 100% !important;
        max-width: none !important;
        white-space: normal !important;
    }
    .hiring-categories {
        grid-template-columns: 1fr;
        gap: 2rem;  /* Reduced from whatever the current gap is */
    }
    .hiring-card {
        padding: 10px;  /* Reduced padding if there is any */
    }
    .hiring-button {
        padding-bottom: 3rem;  /* Add space below the button */
    }
    .result-column {
        padding: 0;
    }
    .result-number {
        font-size: 2rem;
    }
    .result-text {
        font-size: 1rem;
    }
    .focus-areas {
        margin-top: 8rem;
        padding: 1rem 0;
    }
    .ai-cards-container {
        height: 450px;
    }
    .card-title-text h2{
        margin-bottom: 0rem;
    }
    #carousel {
        margin-top: -3rem;
        height: 380px;
    }
    .ai-card {
        width: 240px; 
        height: 300px;
    }
    .ai-card-content {
        padding: 1rem;
    }
    .ai-card-content h2 {
        font-size: 1.1rem;
    }
    .ai-card-content p {
        font-size: 0.8rem;
    }
    .ai-cards-container input[type="radio"] {
        margin-top: -7rem;
        position: relative;  
    }
    .footer-content {
        flex-direction: column;
        gap: 32px;          
        margin-bottom: 40px; 
    }
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    .footer-links {
        display: flex;
        flex-direction: column;  
        width: 100%;             
        align-items: center;     
        gap: 20px;               
        margin-left: 0;          
        text-align: center;    
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer {
        padding: 40px 0 24px;
    }
    .footer-col {
        flex: 1;
        width: 100%;
        min-width: auto; 
        margin-bottom: 16px; 
    }
    .footer-col h3 {
        margin-bottom: 16px;
    }
    .social-copyright-wrapper {
        width: 100%;
        align-items: center;
        margin-top: 24px;
    }
    .social-links {
        justify-content: center;
    }
    .copyright {
        text-align: center;
        margin-top: 16px;
    }
    .legal-links {
        justify-content: center;
    }
}
 
 @media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero-image {
        min-height: 200px;
        clip-path: circle(30% at 50% center);  
    }
    .hero p.mid-text {
        font-size: 1rem;
    }
    .expertise {
        font-size: 1.2rem;
        text-align: center;
    }
    .expertise-container {
        margin-top: 3rem;
    }
    .solution-content {
        max-width: 95%; 
        padding: 0.25rem;
    }
    .solution-box .solution-graphic {
        width: 95%;
        border-radius: 6px;
    }
    .solution-box .solution-content {
        padding: 1.5rem;
    }
    .countries-grid {
        gap: 1.5rem;
    }
    .country-image {
        width: 35px;
        height: 35px;
    }
    .country-name {
        font-size: 0.9rem;
    }
    .hiring-categories {
        grid-template-columns: 1fr;
    }
    .results-section {
        margin-bottom: 4rem;
        padding: 16px 0;      
    }
    .result-number {
        font-size: 1.8rem;
    }
    .hiring-text-section {
        margin-top: 4rem;  
        margin-bottom: 1rem;  
    }
    .hiring-text h2 {
        font-size: 2rem;  
    }
    .ai-cards-container {
        height: 400px;
    }
    .ai-card {
        width: 200px;  
        height: 280px;
    }
    .card-title-text {
        margin-top: 2rem;  
    }
    .card-title-text h2 {
        font-size: 2rem;  
        margin-bottom: 24px;  
    }
    .footer {
        padding: 32px 0 20px;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        margin-bottom: 24px;
    }
    .footer-links {
        flex-direction: column;  
        gap: 24px;             
        width: 100%;           
        text-align: center;    
    }
    .footer-col {
        width: 100%;
    }
    .footer-col ul li {
        margin-bottom: 10px;
    }
    .footer-col h3 {
        margin-bottom: 16px;
    }
    .footer-brand {
        flex: none;
        max-width: 100%;
    }
    .footer-brand p {
        margin: 0;  
        padding: 0; 
    }
    .social-links {
        gap: 24px;
    }
    .social-icon {
        width: 40px;
        height: 40px;
    }
    .social-icon img {
        width: 20px;
        height: 20px;
    }
    .social-copyright-wrapper {
        margin-top: 16px;
    }
    .footer > .container > :last-child {
        margin-bottom: 0;
    }
 }

.shimmer-text {
    display: inline-block;
    position: relative;
    color: #2C1810;
    background: linear-gradient(
        90deg,
        #2C1810 33%,
        #E31837 50%,
        #2C1810 67%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; 
    animation-delay: 2s; 
}

.shimmer-text-alt {
    display: inline-block;
    position: relative;
    color: #2C1810;
    background: linear-gradient(
        90deg,
        #2C1810 33%,
        #E31837 50%,  /* You can change this color */
        #2C1810 67%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;  /* Changed timing to 4s */
    animation-delay: 1s;  /* Changed delay to 1s */
}