  /* CSS Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
       
        body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: #2d2d2d;
            background-color: #ffffff;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
        }

        /* San Francisco Font Classes */
.sf-display-bold {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    font-weight: 700;
}

.sf-text-semibold {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-weight: 600;
}

.sf-text-medium {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-weight: 500;
}

.sf-text-regular {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-weight: 400;
}
        
        /* Header Styles */
.header {
   background: #ffffff;
   padding: 16px 0;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   position: sticky;
   top: 0;
   z-index: 100;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

.nav {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.logo {
   display: flex;
   align-items: center;
   font-weight: 600;
   font-size: 20px;
   color: #1f3bb3;
   margin-top: 7px;
}

.logo-image {
   height: 42px;
   width: auto;
   margin-right: 12px;
}

.nav-menu {
   display: flex;
   list-style: none;
   gap: 32px;
}

.nav-menu a {
   text-decoration: none;
   color: #2d2d2d;
   font-weight: 500;
   transition: color 0.2s;
}

.nav-menu a:hover {
   color: #1f3bb3;
}

.language-selector {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 8px 12px;
   border: 1px solid #E5E7EB;
   border-radius: 6px;
   cursor: pointer;
   position: relative;
}

.nav-menu a.active,
.footer-column ul li a.active {
   color: #1f3bb3 !important;
}

 /* Flag Icons */
.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    position: relative;
}

.flag-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid 
#E5E7EB;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
}

.language-selector.open .language-dropdown {
    display: block;
}

.language-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.language-option:hover {
    background: 
#F3F4F6;
}

/* Country Flag Variations */
.flag-uk { 
        background: 
        linear-gradient(90deg, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
        linear-gradient(0deg, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
        #ffffff
}
.flag-portugal { background: linear-gradient(to right, 
#006600 40%, 
#FF0000 40%); }
.flag-germany { background: linear-gradient(to bottom, #000 33%, 
#FF0000 33%, 
#FF0000 66%, 
#FFCC00 66%); }
.flag-spain { background: linear-gradient(to bottom, 
#AA151B 25%, 
#F1BF00 25%, 
#F1BF00 75%, 
#AA151B 75%); }
.flag-belgium { background: linear-gradient(to right, #000 33%, 
#FFD700 33%, 
#FFD700 66%, 
#FF0000 66%); }
        
        /* Hero Section */
.hero {
    position: relative;
    color: rgb(255, 255, 255);
    padding: 80px 0 100px;
    overflow: hidden;
    min-height: 550px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.2) saturate(1.1); 

}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(58, 58, 58, 0.68);
   /* Remove mix-blend-mode: multiply; */
   z-index: 2;
}

.hero-overlay::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, #1f3bb3 0%, rgba(0, 0, 0, 0) 55%);
   opacity: 0.68;
   z-index: 3;
}

.hero-content {
   position: relative;
   z-index: 4;
   max-width: 700px;
   position: absolute;
    top: 50%;
    left: 150px; /* Adjust horizontal position as needed */
    transform: translateY(-50%);
}


.hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero h1 .bold-text {
    font-weight: 700; /* For "New World of Hiring" */
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.upload-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #1f3bb3;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
}

.upload-cv-btn:hover {
    transform: translateY(-2px);
}
        
        /* Social Icons Fixed */
        .social-fixed {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 50;
        }
        
        .social-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white;
            transition: transform 0.2s;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }
        
        .social-icon.linkedin {
            background: #0077B5;
        }
        
        .social-icon.instagram {
            background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
        }
        
        .social-icon.facebook {
            background: #1877F2;
        }

        .social-icon.tiktok {
            background: #000000;
        }
        
        /* Stats Section */
        .stats-section {
    background: #F9FAFB;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}
        
        .stats-header h2 {
            font-size: 32px;
            font-weight: 400;
            color: #2d2d2d;
            margin-bottom: 8px;
        }
        
        .stats-header h2 .highlight {
    font-weight: 700; /* Bold for "Driven By Results" */
}

        .stats-header .highlight {
            color: #1f3bb3;
        }
        
        .stats-header p {
            font-size: 18px;
            color: #595959;
            margin-bottom: 48px;
        }
        
        .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 24px;
    position: relative;
    transition: transform 0.3s ease, z-index 0.3s ease;
    /*cursor: pointer;*/
}

.stat-item:hover {
    transform: scale(1.1);
    z-index: 10;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: #D1D5DB;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #2d2d2d;
    display: block;
    margin-top: 8px;
    transition: font-size 0.3s ease;
}

.stat-item:hover .stat-number {
    font-size: 56px;
}

.stat-label {
    font-size: 16px;
    color: #595959;
    font-weight: 600;
    margin-bottom: 0;
    transition: font-size 0.3s ease;
}

.stat-item:hover .stat-label {
    font-size: 18px;
}
        
        /* Career Section */
.career-section {
    padding: 140px 0;
    background: white;
    overflow: hidden;
    overflow-x: hidden;
}

.career-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.career-text {
    position: relative;
    padding-left: 40px;
    max-width: 650px;
}

.career-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #D1D5DB;
    border-radius: 2px;
}

.career-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.2;
    margin-bottom: 16px;
}

.career-text .highlight {
    color: #1f3bb3;
}

.career-text p {
    font-size: 14px;
    color: #595959;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 100%
}

.search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    max-width: 100%;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    background: #eaecee;
    color: #2d2d2d;
     transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #717374;
}

.search-input:hover {
    transform: scale(1.05);  /* Same as job cards */
}

.search-btn {
    background: #1f3bb3;
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

/* Search dropdown styles */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 60px; /* Leave space for search button */
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
}

.search-result-item {
    padding: 12px 18px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f9fafb;
    transform: translateY(-1px)
}

.search-result-item:last-child {
    border-bottom: none;
}

.job-title {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 4px;
    font-size: 14px;
}

.job-details {
    font-size: 13px;
    color: #717374;
    margin-bottom: 2px;
}

.job-type {
    font-size: 12px;
    color: #9ca3af;
    margin-left:5px;
}

.search-loading, .no-results {
    padding: 16px 18px;
    text-align: center;
    color: #717374;
    font-size: 14px;
}

.job-language {
    font-size: 12px;
    color: #1f3bb3;
    margin-bottom: 2px;
    font-weight: 500;
   margin-left:5px;
}
        
.career-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 350px;
}

.decorative-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.decorative-circles::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 300px;
    background: transparent;
    border: 4px solid #D1D5DB;  /* Thin stroke */
    border-radius: 20%;
    top: 80px;
    right: 250px;
    z-index: 2;
    box-shadow: none;
}

.gray-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #E5E7EB;
    border-radius: 50%;
    top: 2px;
    right: 150px;
    z-index: 1;
}

.blue-semicircle {
    position: absolute;
    width: 480px;
    height: 480px;
    background: transparent;
    border: 25px solid #1f3bb3;
    border-radius: 50%;
    border-top: none;
    border-left: none;
    top: -200px;
    right: -80px;
    z-index: 2;
    transform: rotate(80deg);
}

.career-img {
    width: 200px;
    height: 320px;
    border-radius: 20%;
    object-fit: cover;
    position: relative;
    z-index: 3;
    transform: translateX(-130px);
    max-width: 350px;
    top: 10px;
}
/* Jobs Casousel */
.jobs-carousel-container {
    position: relative;
    overflow: visible;  /* Change from hidden to visible */
    max-width: none;
    margin: 0 auto;
    padding: 0;
    z-index: 5;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #2d2d2d;
    border: 1px solid #D1D5DB;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: #1f3bb3;
    color: white;
    border-color: #1f3bb3;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-arrow:disabled {
    background: #F3F4F6;
    color: #9CA3AF;
    border-color: #E5E7EB;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: #F3F4F6;
    color: #9CA3AF;
    border-color: #E5E7EB;
}
        
         /* Jobs Section */
.jobs-section {
    background: 
#F3F4F6;
    padding: 80px 0;
    text-align: center;
}

.jobs-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: 
#2d2d2d;
    margin-bottom: 12px;
}

.jobs-section p {
    color: 
#595959;
    margin-bottom: 48px;
}

.jobs-grid {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    transition: transform 0.3s ease;
    overflow: visible;
    justify-content: flex-start;
    position: relative;
    z-index: 6;
    padding: 0;
    animation: autoScroll 12s infinite ease-in-out;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes autoScroll {
      0%, 10% { transform: translateX(-140px); }
    /* Start position */
      14%, 24% { transform: translateX(0px); }
    /* Position 1: cards 0,1,2 */
      28%, 38% { transform: translateX(-140px); }
    /* Position 2: cards 1,2,3 */
      42%, 52% { transform: translateX(-280px); }      
    /* Position 3: cards 2,3,4 */
      56%, 66% { transform: translateX(-420px); }      
    /* Position 4: cards 3,4,5 */
      70%, 80% { transform: translateX(-560px); }      
    /* Position 5: cards 4,5,6 */
      84%, 94% { transform: translateX(-750px); }      
    /* Position 6: cards 5,6 (last) */
      98%, 100% { transform: translateX(-140px); }      
    /* Return to start */
}

.job-card {
    min-width: 250px;
    max-width: 250px;
    max-height: 320px;
    flex-shrink: 0;
    background: white;
    border-radius: 30px;
    padding: 0;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    /*cursor: pointer;*/
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    opacity: 0.3;
    transform: scale(0.8);  /* Make non-active cards smaller */
    margin-bottom: 48px;
}

.job-card.center {
    opacity: 1;
    transform: scale(1);
}

.job-card:hover {
    transform: scale(1.05);  /* Scale up instead of move up */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.job-card:not(.center):hover {
    transform: scale(0.85); /* Subtle increase from 0.8 to 0.85 for faded cards */
    opacity: 0.5; /* Slightly less faded on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.job-content {
    padding: 8px;
    flex-grow: 1;
    position: relative;
    padding-top: 40px;
}

.job-urgent {
    background: #fc3700;
    color: white;
    font-size: 14px;
    font-weight: Bold;
    padding: 8px 0;
    border-radius: 0;
    display: block;
    margin: 0 0 20px 0;
    text-align: center;
     width: calc(100% + 8px);
    position: absolute;
    top: 0;
    right: 0;
    left: -4px; 
}

.job-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 4px;
    margin-left: 5px;
}

.job-company {
    color: #595959; 
    font-size: 14px;
    margin-bottom: 12px;
    margin-left: 5px;
}

.job-vacancies {
    background: #1f3bb3;
    color: white;
    padding: 6px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
    margin-left: -16px;
    width: fit-content;
}

.job-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
    font-size: 12px;
    margin-bottom: 0;
    margin-left: 5px; /* Same as job-title and job-company */
    margin-right: 5px; /* Match the left margin */
}

.job-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.job-detail-label {
    color: #595959; 
    font-weight: bold;
    font-size: 14px;

}

.job-detail-value {    
     color: #2d2d2d;     
     font-size: 12px;     
     white-space: nowrap;     
     overflow: hidden;     
     text-overflow: ellipsis; /* Add ellipsis for long text */     
     max-width: 100%;   
    
    } 

.apply-btn {
    width: 100%;
    background:#9CA3AF;
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
    margin: 0;
    text-align: center;
    position: relative;
    font-weight: bold;
    text-decoration: none; 
    display: block;
}

.apply-btn:hover {
    background: 
#1f3bb3;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(31, 59, 179, 0.3);
    z-index: 10;
}

.view-all-btn {
    background: white;
    color: #2d2d2d;
    border: 1px solid #D1D5DB;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-all-btn:hover {
    background: #1f3bb3;
    color: white;
    border-color: #1f3bb3;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    background: #ffffff;
    padding: 80px 0 250px 0;  /* Top: 80px, Bottom: 120px */
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 200px;
    background: transparent;
    border: 15px solid #1f3bb3;
    border-top: none;
    border-radius: 0 0 250px 250px;
    top: -80px;
    left: -350px;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header h2 {
    font-size: 36px;
    font-weight: 400;
    color: #2d2d2d;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(80px);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.testimonials-header h2.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-header h2 .highlight {
    font-weight: 700; /* Bold for "Real Smiles." */
}

.testimonials-header .highlight {
    color: #1f3bb3;
}

.testimonials-header p {
    font-size: 16px;
    color: #595959;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(80px);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
    will-change: transform, opacity;
}

.testimonials-header p.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NEW: Group rotation container */
.cards-formation {
    position: relative;
    transition: transform 2.7s ease;
}

/* Group movement positions - entire formation moves together */
.cards-formation.rotation-0 { transform: translate(0px, 0px); }
.cards-formation.rotation-1 { transform: translate(-320px, -260px); }
.cards-formation.rotation-2 { transform: translate(-320px, 180px); }
.cards-formation.rotation-3 { transform: translate(300px, -250px); }
.cards-formation.rotation-4 { transform: translate(300px, 170px); }

/* Reverse counterclockwise rotations */
.cards-formation.reverse-rotation-0 { transform: translate(0px, 0px) !important; }
.cards-formation.reverse-rotation-1 { transform: translate(-320px, -260px) !important; }
.cards-formation.reverse-rotation-2 { transform: translate(-320px, 180px) !important; }
.cards-formation.reverse-rotation-3 { transform: translate(300px, -250px) !important; }
.cards-formation.reverse-rotation-4 { transform: translate(300px, 170px) !important; }

/* Hide cards on rotation-1 (clockwise) - keep only red (active) and green */
.cards-formation.rotation-1 .testimonial-card:nth-child(2) { /* Yellow */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.rotation-1 .testimonial-card:nth-child(4) { /* Blue */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.rotation-1 .testimonial-card:nth-child(5) { /* Purple */
    opacity: 0 !important; 
    visibility: hidden !important; 
}

/* Hide cards on reverse-rotation-1 - keep only red (active) and green */
.cards-formation.reverse-rotation-1 .testimonial-card:nth-child(2) { /* Yellow */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.reverse-rotation-1 .testimonial-card:nth-child(4) { /* Blue */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.reverse-rotation-1 .testimonial-card:nth-child(5) { /* Purple */
    opacity: 0 !important; 
    visibility: hidden !important; 
}

/* Hide all cards except blue on rotation-3 */
.cards-formation.rotation-3 .testimonial-card:nth-child(1) { /* Green */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.rotation-3 .testimonial-card:nth-child(2) { /* Yellow */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.rotation-3 .testimonial-card:nth-child(3) { /* Red */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.rotation-3 .testimonial-card:nth-child(5) { /* Purple */
    opacity: 0 !important; 
    visibility: hidden !important; 
}

/* Hide all cards except blue on reverse-rotation-3 */
.cards-formation.reverse-rotation-3 .testimonial-card:nth-child(1) { /* Green */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.reverse-rotation-3 .testimonial-card:nth-child(2) { /* Yellow */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.reverse-rotation-3 .testimonial-card:nth-child(3) { /* Red */
    opacity: 0 !important; 
    visibility: hidden !important; 
}
.cards-formation.reverse-rotation-3 .testimonial-card:nth-child(5) { /* Purple */
    opacity: 0 !important; 
    visibility: hidden !important; 
}

/* Hide only yellow card on rotation-4 */
.cards-formation.rotation-4 .testimonial-card:nth-child(2) { /* Yellow */
    opacity: 0 !important; 
    visibility: hidden !important; 
}

/* Hide only yellow card on reverse-rotation-4 */
.cards-formation.reverse-rotation-4 .testimonial-card:nth-child(2) { /* Yellow */
    opacity: 0 !important; 
    visibility: hidden !important; 
}

.testimonial-card {
    min-height: 300px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: absolute;
    max-width: 420px;
    transition: opacity 1.5s ease, visibility 1.5s ease, transform 2.7s ease;
}

/* Fixed positions for each card within the formation */
.testimonial-card:nth-child(1) { /* Green */
    top: 60px;
    left: 250px;
}

.testimonial-card:nth-child(2) { /* Yellow */
    top: -170px;
    left: 600px;
    margin-top: 40px;
    max-width: 370px;
}

.testimonial-card:nth-child(3) { /* Red */
    top: 300px;
    left: 600px;
    max-width: 400px;
}

.testimonial-card:nth-child(4) { /* Blue */
    top: 350px;
    left: -40px;
    margin-top: -40px;
    max-width: 370px;
}

.testimonial-card:nth-child(5) { /* Purple */
    top: -80px !important;
    left: -40px !important;
    margin-top: -40px !important;
    max-width: 400px !important;
}

/* Card states - only scale and opacity change */
.testimonial-card.active {
    transform: scale(1);
    opacity: 1;
    z-index: 5;
}

.testimonial-card.inactive {
    transform: scale(0.5);
    opacity: 0.3;
    z-index: -999 !important;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: #2d2d2d;
    margin-bottom: 20px;
    position: relative;
    margin-top: 40px;
    font-weight: 400;
    max-height: 9.6em; /* 6 lines × 1.6 line-height = 9.6em */
    overflow: hidden;
    display: block;
}

.testimonial-card::before {
    content: '\201C'; /* Unicode for left double quotation mark */
    font-size: 80px;
    color: #1f3bb3;
    position: absolute;
    top: 0px;
    left: 32px;
    font-family: "Times New Roman", serif;
    font-weight: normal;
    transition: color 0.3s ease;
}

.testimonial-card:nth-child(1)::before { color: #00C851; } /* Green - John Davis */
.testimonial-card:nth-child(3)::before { color: #FF4444; } /* Red - Maria Garcia */
.testimonial-card:nth-child(2)::before { color: #FFB800; } /* Yellow - David Wilson */
.testimonial-card:nth-child(4)::before { color: #4171EE; } /* Blue - Robert Brown */
.testimonial-card:nth-child(5)::before { color: #9C27B0; } /* Purple - Sarah Miller */

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    position: absolute;
    top: 220px; /* Fixed distance from top of card */
    left: 32px;
}

.star {
    color: #FFD700;
    font-size: 22px;
}

.star.empty {
    color: #E5E7EB;
}

.testimonial-date {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 14px;
    color: #595959;
}
.testimonial-carousel {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 300px;
    pointer-events: none;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-circle {
    position: absolute; /* Change from fixed to absolute */
    width: 450px;
    height: 450px;
    border: 3px solid #b5bddb;
    border-radius: 50%;
    border-right: none;
    background: transparent;
    top: -10%;
    right: -300px; /* Back to pixel values */
    z-index: 1;
    pointer-events: none;
}

.carousel-circle .carousel-nav {
    pointer-events: auto;
}

.carousel-gray-circle {
    position: absolute; /* Change from fixed to absolute */
    width: 570px;
    height: 570px;
    border: 1px solid #b5bddb;
    border-radius: 50%;
    border-right: 1px solid transparent;
    background: transparent;
    top: -30%;
    right: -350px; /* Back to pixel values */
    z-index: 1;
    pointer-events: none;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 10 !important;  
    border: 0px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
    isolation: isolate;
    animation-fill-mode: forwards !important;
    pointer-events: auto;
}

/* Add a separate class for when using offset-path */
.testimonial-avatar.using-path {
    transition: none;
    offset-anchor: center;
}

.testimonial-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: 2;
}

.testimonial-avatar::before {
    content: '';
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
}

.avatar-1::before {
    background-image: url('../images/Blue.png');
}

.avatar-2::before {
    background-image: url('../images/Purple.png');
}

.avatar-3::before {
    background-image: url('../images/Green Icon.png');
}

.avatar-4::before {
    background-image: url('../images/Pinkish Red.png');
}

.avatar-5::before {
    background-image: url('../images/Yellow.png');
}

/* Avatar default colors */
.avatar-1 { background: 
#4171EE; }
.avatar-2 { background: 
#A047EF; }
.avatar-3 { background: 
#26A555; }
.avatar-4 { background: 
#DE0F41; }
.avatar-5 { background: 
#F3A917; }

/* Active avatar - more specific selectors to override individual colors */
.avatar-1.testimonial-avatar.active,
.avatar-2.testimonial-avatar.active,
.avatar-3.testimonial-avatar.active,
.avatar-4.testimonial-avatar.active,
.avatar-5.testimonial-avatar.active {
 background: #9CA3AF !important; /* Gray background for active */
    transform: scale(1.2);
    z-index: 10;
    transform-origin: center; /* Ensures it scales from center */
    transition: all 0.3s ease; 
}

/* Active avatars use inverted images */
.avatar-1.testimonial-avatar.active::before {
    background-image: url('../images/Inverted Blue.png') !important;
}

.avatar-2.testimonial-avatar.active::before {
    background-image: url('../images/Inverted Purple.png') !important;
}

.avatar-3.testimonial-avatar.active::before {
    background-image: url('../images/Inverted Green.png') !important;
}

.avatar-4.testimonial-avatar.active::before {
    background-image: url('../images/Inverted Red.png') !important;
}

.avatar-5.testimonial-avatar.active::before {
    background-image: url('../images/Inverted Yellow.png') !important;
}

.testimonial-avatar:hover::before {
    transform: scale(1.1);
}

/* Name Tooltip - Connected to Avatar */
.avatar-tooltip {
    position: absolute;
    left: 40px;  /* Closer to avatar */
    top: 50%;
    transform: translateY(-50%);
    min-width: 120px;
    color: white;
    padding: 6px 15px 6px 12px;
    border-radius: 8px 12px 12px 8px;  /* Only round left side to connect smoothly */
    font-size: 16px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;  /* Behind avatar */
    margin-right: -10px;
}

/* Remove the arrow since it's now connected */
.avatar-tooltip::after {
    display: none;  /* Remove arrow for seamless connection */
}

/* Color-specific tooltips */
.avatar-1 .avatar-tooltip { background: #4171EE; }
.avatar-2 .avatar-tooltip { background: #A047EF; }
.avatar-3 .avatar-tooltip { background: #26A555; }
.avatar-4 .avatar-tooltip { background: #DE0F41; }
.avatar-5 .avatar-tooltip { background: #F3A917; }

.testimonial-avatar:active .avatar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(0.909);  /* Add this line */
}

.avatar[data-position="1"]:hover,
.avatar[data-position="4"]:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.avatar[data-position="0"]:hover,
.avatar[data-position="2"]:hover,
.avatar[data-position="3"]:hover {
    cursor: default;
}

.carousel-nav {
    position: absolute;
    background: #E5E7EB;
    color: #595959;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background:  #1f3bb3;
    color: white;
}

.carousel-nav.up {
    top: 45%;
    right: 110px;
    transform: translateX(-50%);
}

.carousel-nav.down {
    bottom: 32%;
    right: 110px;
    transform: translateX(-50%);
}

.carousel-nav svg {
    width: 16px;
    height: 16px;
}

.gray-circle-1,
.gray-circle-2,
.gray-circle-3,
.gray-circle-4,
.gray-circle-5 {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gray-circle-1 {
    width: 20px;
    height: 20px;
    background: #E5E7EB;
    top: 170px;
    right: 210px; /* Adjusted for fixed positioning */
    opacity: 0.5;
}

.gray-circle-2 {
    width: 40px;
    height: 40px;
    background: #E5E7EB;
    top: 105px;
    left: 120px;
    opacity: 0.4;
}

.gray-circle-4 {
    width: 30px;
    height: 30px;
    background: #E5E7EB;
    top: 250px;
    right: 110px; /* Adjusted for fixed positioning */
    opacity: 0.5;
}

.gray-circle-5 {
    width: 30px;
    height: 30px;
    background: #E5E7EB;
    top: 250px;
    left: 290px;
    opacity: 0.5;
}

/* Newsletter Section */
.newsletter-section {
    background: #f0f0f0;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 400;
    color: #2d2d2d;
    margin-bottom: 12px;
}

.newsletter-content h2 .highlight {
    font-weight: 700; /* Bold for "Forward" */
}

.newsletter-content .highlight {
    color: #1f3bb3;
}

.newsletter-content p {
    font-size: 16px;
    color: #595959;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 20px;
}*/
.newsletter-form .ajax-newsletter {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 20px;
}
.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-btn {
    background: #1f3bb3;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.newsletter-disclaimer {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 15px;
    white-space: nowrap;
}

.forward-text {
    display: inline-block;
}

@keyframes slideRight {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(10px);
    }
}

/* Footer */
.footer {
    background: #1f3bb3;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    margin-left: -20px; /* Move more to the left */
}

.footer-logo {
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start */
    gap: 2px;
    margin-bottom: 12px;
    margin-top: -20px; /* Move up to align with headers */
}

.logo-img {
    width: 280px;
    height: 120px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.say-hello-btn {
    display: inline-block;
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    margin-left: 25px;
}

.footer-tagline {
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
    margin-left: 25px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #B5BDDB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;  
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

 .footer-newsletter input {
    padding: 8px 12px;
    border: 1px solid 
#B5BDDB;
    border-radius: 4px 0 0 4px;
    background: white;
    color: 
#2d2d2d;
    font-size: 12px;
}

.footer-newsletter input::placeholder {
    color: 
#9CA3AF;  /* Light gray placeholder text */
}

.footer-newsletter button {
    background: 
#1f3bb3;
    color: white;
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 0 4px 4px 0;  /* Only right side rounded */
    font-size: 12px;
    font-weight: 500;
}

.footer-help h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-help p {
    font-size: 12px;
    color: #B5BDDB;
    font-weight: 700;
}

.footer-help a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
}
/*newsletter message alignments*/
.newsletter-form .ajax-newsletter{flex-wrap:wrap;}
.newsletter-form .ajax-newsletter .alert-success, .newsletter-form .ajax-newsletter .alert-danger{padding:10px; font-size:14px; width:100%; text-align:left;}
.footer-newsletter .ajax-newsletter{display:inline-block !important;}
.footer-newsletter .ajax-newsletter .alert-success, .footer-newsletter .ajax-newsletter .alert-danger{margin-top:10px; padding:10px; font-size:14px;}

/* For larger screens */
@media (min-width: 1320px) {
    .blue-semicircle {
        position: absolute;
        width: 520px;
        height: 520px;
        background: transparent;
        border: 25px solid #1f3bb3;
        border-radius: 50%;
        border-top: none;
        border-left: none;
        top: -220px;
        right: -130px;
        z-index: 2;
        transform: rotate(80deg);
    }
}

@media (min-width: 1400px) {
     .blue-semicircle {
        position: absolute;
        width: 620px;
        height: 620px;
        background: transparent;
        border: 25px solid transparent; /* Make all transparent first */
        border-top: 25px solid #1f3bb3; /* Bottom border */
        border-left: 25px solid #1f3bb3;   /* Left border */
        border-right: 25px solid #1f3bb3;  /* Right border */
        border-radius: 50%;
        top: -300px;
        right: -220px;
        z-index: 2;
        transform: rotate(180deg);
    }
}

@media (min-width: 1465px) {
    .blue-semicircle {
        position: absolute;
        width: 630px;
        height: 630px;
        background: transparent;
        border: 25px solid transparent; /* Make all transparent first */
        border-top: 25px solid #1f3bb3; /* Bottom border */
        border-left: 25px solid #1f3bb3;   /* Left border */
        border-right: 25px solid #1f3bb3;  /* Right border */
        border-radius: 50%;
        top: -300px;
        right: -250px;
        z-index: 2;
        transform: rotate(180deg);
    }
}

/* For extra large screens */
@media (min-width: 1600px) {
     .blue-semicircle {
        position: absolute;
        width: 680px;
        height: 680px;
        background: transparent;
        border: 25px solid transparent; /* Make all transparent first */
        border-top: 25px solid #1f3bb3; /* Bottom border */
        border-left: 25px solid #1f3bb3;   /* Left border */
        border-right: 25px solid #1f3bb3;  /* Right border */
        border-radius: 50%;
        top: -300px;
        right: -260px;
        z-index: 2;
        transform: rotate(180deg);
    }
}


/* For ultra-wide screens */
@media (min-width: 1920px) {
    .blue-semicircle {
        position: absolute;
        width: 680px;
        height: 680px;
        background: transparent;
        border: 25px solid transparent; /* Make all transparent first */
        border-top: 25px solid #1f3bb3; /* Bottom border */
        border-left: 25px solid #1f3bb3;   /* Left border */
        border-right: 25px solid #1f3bb3;  /* Right border */
        border-radius: 50%;
        top: -300px;
        right: -260px;
        z-index: 2;
        transform: rotate(180deg);
    }
}

/* Mobile Responsive Design */

/* Mobile Menu Button (hidden by default, shown on mobile) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #2d2d2d;
    transition: all 0.3s ease;
}
#home .hero-content{left:auto; margin-left:55px;}
/* UNICEF Champion Section */
.unicef-section {
    background: white;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.unicef-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.unicef-curve-arrow {
   position: absolute;
   top: 5vw;
   left: 36vw;
   width: 60vw;
   height: 7vw;
   z-index: 1;
   transform: rotate(270deg) scale(10);
}

.unicef-curve-arrow svg {
    width: 100%;
    height: 100%;
}

.unicef-text {
    padding-left: 20px;
    max-width: 480px;
}

.unicef-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    margin-top: 40px;
}

.unicef-section h2.animate-in {
    opacity: 1;
    transform: translateY(0);
}


.unicef-section h2 .highlight {
    color: #1f3bb3 !important;
    font-weight: 700;
}

.unicef-tagline {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.1s;
}

.unicef-tagline.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.unicef-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}

.unicef-description.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.unicef-know-more-btn {
    background: white;
    color: #1f3bb3 !important;
    border: 1px solid #000000;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: 0.3s;
    margin-bottom: 70px;
}

.unicef-know-more-btn.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.unicef-know-more-btn:hover {
    color: #1f3bb3 !important;
    color: white;
}

/* Right Side Visual Content */
.unicef-visual {
    position: relative;
    height: 39vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.unicef-blue-background {
   position: absolute;
   right: -12.2vw;
   top: -6vw;
   width: 49vw;
   height: 50vw;
   background: #1f3bb3 !important;
   border-radius: 0;
   z-index: 0;
   overflow: hidden;
   opacity: 1 !important;
}

.unicef-content-wrapper.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.unicef-logo-badge {
   position: absolute;
   top: 120px;
   left: 580px;
   width: 280px;
   height: 280px;
   z-index: 10;
   transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   will-change: transform;
   filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.unicef-child-wrapper {
    position: absolute;
    top: 80px;
    right: 80px;
    width: 35vw; 
    height: 350px;
    min-width: 500px;
    z-index: 9;
    border: 15px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 0 100px 0 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.unicef-child-wrapper.animate-in {
   opacity: 1;
   transform: translateY(0);
}
.unicef-child-wrapper {
   opacity: 1;
   transform: translateY(0);
}
.unicef-child-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.unicef-logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00AEEF;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
    z-index: 4;

}

.unicef-figures {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.unicef-figures::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="%2300AEEF" opacity="0.6"><circle cx="20" cy="30" r="3"/><circle cx="40" cy="20" r="2.5"/><circle cx="60" cy="35" r="3.5"/><circle cx="80" cy="25" r="2"/><circle cx="30" cy="60" r="2.5"/><circle cx="70" cy="55" r="3"/><circle cx="15" cy="70" r="2"/><circle cx="85" cy="65" r="2.5"/><path d="M25 40 Q35 35 45 40" stroke="%2300AEEF" stroke-width="1" fill="none"/><path d="M55 50 Q65 45 75 50" stroke="%2300AEEF" stroke-width="1" fill="none"/></g></svg>') center/cover;
    opacity: 0.2;
}

/* Text animations */
.unicef-text-animate {
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.unicef-text-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Upward fade animation for floating elements */
.unicef-upward-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.unicef-upward-fade.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Container animation for the entire blue section */
.unicef-container-animate {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
    transition-delay: 0.5s;
}

.unicef-container-animate.animate-in {
    opacity: 1;
    transform: translateX(0);
}
.job-card{max-height:100%;}
.job-title{line-height:23px; margin-top:4px;}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) {
   .unicef-bottom-background {
       position: absolute;
       bottom: 0;
       left: 0;
       width: 100vw;
       height: 7.5vw;
       background: #1f3bb3;
       z-index: 0;
   }

   .unicef-curve-arrow {
       position: absolute;
       top: 5vw;
       left: 16vw;
       width: 60vw;
       height: 7vw;
       z-index: 1;
       transform: rotate(270deg) scale(10);
   }

   .unicef-blue-background {
       position: absolute;
       right: -12.2vw;
       top: -6vw;
       width: 49vw;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }
}

/* Tablet Landscape / Small Desktop */
@media (min-width: 1025px) and (max-width: 1366px) {

   .unicef-curve-arrow {
       position: absolute;
       top: -22vw;
       left: -17.5vw;
       width: 100vw;
       height: 11vw;
       z-index: 1;
       transform: rotate(270deg) scale(10);
   }

   .unicef-blue-background {
       position: absolute;
       right: -12.2vw;
       top: -6vw;
       width: 49vw;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }
}

@media (min-width: 1367px) and (max-width: 1600px) {
     .unicef-curve-arrow {
       position: absolute;
       top: -40vw;
       left: -4.5vw;
       width: 80vw;
       height: 14vw;
       z-index: 1;
       transform: rotate(270deg) scale(10);
   }

   .unicef-blue-background {
       position: absolute;
       right: -37.8vw;
       top: -6vw;
       width: 55vw;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }
   .unicef-logo-badge {
       position: absolute !important;
       top: 150px !important;
       left: auto;
       width: 300px !important;
       height: 300px !important;
       right: 27vw;
       margin-top: -15px;
       }

       .unicef-child-wrapper {
       position: absolute !important;
       top: 130px !important;
       right: 50px !important;
       width: 500px !important; 
       height: auto !important;
       min-width: 500px;
    }
}
@media (min-width: 1367px) and (max-width: 1489px) {
.unicef-blue-background{right: -30.8vw}
}
/* Standard Desktop */
@media (min-width: 1601px) and (max-width: 1920px) {

   .unicef-curve-arrow {
       position: absolute;
       top: -40vw;
       left: -4.5vw;
       width: 80vw;
       height: 14vw;
       z-index: 1;
       transform: rotate(270deg) scale(10);
   }

   .unicef-blue-background {
       position: absolute;
       right: -37.8vw;
       top: -6vw;
       width: 49vw;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }
   .unicef-logo-badge {
   position: absolute !important;
   top: 165px !important;
   /*left: 750px !important;*/
   left:auto !important;
   width: 300px !important;
   height: 300px !important;
   right:500px;
   }

   .unicef-child-wrapper {
   position: absolute !important;
   top: 130px !important;
   right: 80px !important;
   width: 55vw; 
  /* height: 320px !important;*/
    height:auto !important;
   min-width: 550px !important;
   width: 550px !important;
}
}

/* Large screens: 1600px - Scale up by 1.28x */
@media (min-width: 1600px) {
    .unicef-logo-badge {
        top: 154px;
        left: 780px;
        width: 358px;
        height: 358px;
    }
   
    .unicef-child-wrapper {
        top: 80px !important;
        right: 90px;
        width: 576px;
       /* height: 448px;*/
       height: auto;
    }

    .unicef-blue-background {
        /*right: -200px !important;*/
        right:-14.8vw !important;
        width: 450px !important;
    }
}

/* Large Desktop */
@media (min-width: 4000px){
 .unicef-blue-background {
       position: absolute;
       right: -39.2vw !important;
       top: -6vw;
       width: 45vw !important;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }

   .unicef-logo-badge {
        position: absolute !important;
        top: 150px !important;
        left: auto !important;
        width: 500px !important;
        height: 500px !important;
        right: 39vw;
        margin-top: -30px;
   }

   .unicef-child-wrapper {
          position: absolute !important;
        top: 250px !important;
        right: 25vw !important;
        width: 750px !important;
        height: auto !important;
        min-width: 750px;
      }
     .unicef-content{
     align-items: flex-start;
     margin-top: 84px;
   }
}

@media (min-width: 3000px){
 .unicef-blue-background {
       position: absolute;
       right: -39.2vw !important;
       top: -6vw;
       width: 45vw !important;
       height: 18vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }

   .unicef-logo-badge {
        position: absolute !important;
        top: 150px !important;
        left: auto !important;
        width: 500px !important;
        height: 500px !important;
        right: 40vw;
        margin-top: -30px;
   }

   .unicef-child-wrapper {
          position: absolute !important;
        top: 250px !important;
        right: 32vw !important;
        width: 750px !important;
        height: auto !important;
        min-width: 750px;
      }
     .unicef-content{
     align-items: flex-start;
     margin-top: 84px;
   }
.unicef-curve-arrow {
    position: absolute;
    top: -11.8vw;
    left: 32vw;
    width: 60vw;
    height: 7vw;
    z-index: 1;
    transform: rotate(270deg) scale(10);
}
.unicef-curve-arrow {
        top: -11.8vw;
        left: 26vw;
        width: 34vw;
        height: 4vw;
}
.unicef-visual{height: 15vw;}
}
@media (min-width: 2570px) and (max-width: 3000px) {

   .unicef-curve-arrow {
       position: absolute;
       top: -42vw;
       left: -16vw;
       width: 100vw;
       height: 14vw;
       z-index: 1;
       transform: rotate(270deg) scale(10);
   }

   .unicef-blue-background {
       position: absolute;
       right: -28.2vw !important;
       top: -6vw;
       width: 34vw !important;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }

   .unicef-logo-badge {
   position: absolute !important;
   top: 250px !important;
   left: 1400px !important;
   width: 500px !important;
   height: 500px !important;
   }

   .unicef-child-wrapper {
          position: absolute !important;
        top: 250px !important;
        right: 259px !important;
        width: 750px !important;
        height: auto !important;
        min-width: 750px;
      }
     .unicef-content{
     align-items: flex-start;
     margin-top: 84px;
   }
}

/* Large Desktop */
@media (min-width: 1921px) and (max-width: 2560px) {

   .unicef-curve-arrow {
       position: absolute;
       top: -42vw;
       left: -16vw;
       width: 100vw;
       height: 14vw;
       z-index: 1;
       transform: rotate(270deg) scale(10);
   }

   /*.unicef-blue-background {
       position: absolute;
       right: -20.2vw !important;
       top: -6vw;
       width: 49vw;
       height: 50vw;
       background: #1f3bb3 !important;
       border-radius: 0;
       z-index: 0;
       overflow: hidden;
       opacity: 1 !important;
   }*/
   .unicef-blue-background {
    position: absolute;
        right: -18.2vw !important;
        top: -6vw;
        width: 32vw !important;
        height: 50vw;
        background: #1f3bb3 !important;
        border-radius: 0;
        z-index: 0;
        overflow: hidden;
        opacity: 1 !important;
    }
   .unicef-logo-badge {
   position: absolute !important;
   top: 250px !important;
   left: auto !important;
   width: 400px !important;
   height: 400px !important;
   right: 27vw;
   }

   .unicef-child-wrapper {
   position: absolute !important;
   top: 250px !important;
   right: 80px !important;
   width: 650px !important;
   height: auto !important;
   min-width: 650px;
}
}

@media (max-width:1199px){
.unicef-child-wrapper{min-width:300px; height:auto;}
.unicef-curve-arrow{display:none;}
    .unicef-logo-badge {
        top: 100px !important;
        width: 200px;
        height: 200px;
        left: auto;
        right: 31vw;
    }
  .unicef-blue-background{
   right: -18.2vw;
        top: -16vw;
        width: 58vw;
  }
}

@media (max-width:1024px){
.unicef-child-wrapper{min-width:300px; height:auto;}
.unicef-curve-arrow{display:none;}
    .unicef-logo-badge {
        top: 100px !important;
        width: 200px;
        height: 200px;
        left: auto;
        right: 31vw;
    }
  .unicef-blue-background{
   right: -18.2vw;
        top: -16vw;
        width: 58vw;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .unicef-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .unicef-text {
        padding-left: 0;
        text-align: center;
    }
    
    .unicef-section h2 {
        font-size: 28px;
    }
    
    .unicef-visual {
        height: 400px;
        margin-top: 20px;
    }
    
    .unicef-blue-background {
        right: -200px;
        width: 400px;
    }
    
    .unicef-content-wrapper {
        max-width: 100%;
        margin: 0 20px;
    }
    
    .unicef-child-image {
        width: 140px;
        height: 160px;
        right: 15px;
    }
    
    .unicef-logo-badge {
        width: 100px;
        height: 100px;
        top: -25px;
    }
    
    .unicef-logo-text {
        font-size: 9px;
    }

 /* UNICEF Main Section - Mobile */
    .unicef-section {
        padding: 40px 0;
        background: white;
    }
    
    .unicef-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .unicef-text {
        padding-left: 0;
        max-width: 100%;
        text-align: center;
        order: 2;
    }
    
    .unicef-section h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .unicef-tagline {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .unicef-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .unicef-know-more-btn {
        margin-bottom: 20px;
    }
    
    /* Mobile images container */
    .unicef-visual {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        order: 1;
        overflow: visible;
    }
    
    /* Hide background elements on mobile */
    .unicef-blue-background {
        display: none;
    }
    
    .unicef-content-wrapper {
        display: none;
    }
    
    .unicef-curve-arrow {
        display: none;
    }
    
    .unicef-bottom-background {
        display: none;
    }
    
    /* Mobile UNICEF images */
    .unicef-logo-badge {
        position: static;
        display: block;
        width: 350px;
        height: 350px;
        margin:15px auto 0;
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    }
    
    .unicef-child-wrapper {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        border: 8px solid white;
        border-radius: 0 30px 0 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Large desktops: gentle size tweaks without breaking the column */
@media (min-width:1367px){
  /*.unicef-child-wrapper{ top: 100px !important; width: min(100%, 680px) !important; }*/
  .unicef-child-wrapper{ top: 100px !important; width: min(100%, 680px); }
  .unicef-logo-badge{ top: 150px !important; }
}

@media (max-width:1289px){
.jobs-section{overflow:hidden;}
}
@media (max-width:1289px){
.career-text{max-width:80%;}
  .search-form .search-input{max-width:40%;}
}
@media (max-width:1024px){
.unicef-child-wrapper{min-width:300px; height:auto;}
.unicef-curve-arrow{display:none;}
.unicef-logo-badge{top:255px; width:200px; height:200px;}
}

/* Large Mobile Devices (430px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        border-radius: 0 0 8px 8px;
        gap: 0;
    }
    
    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #E5E7EB;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        display: block;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-image {
        height: 30px;
        margin-right: 8px;
    }
    
    .language-selector {
        padding: 6px 8px;
        font-size: 14px;
    }

        .language-dropdown {
        left: auto;
        right: 0;
        min-width: 120px;
    }
    
    .language-option {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0 80px;
        min-height: 450px;
    }
    
    .hero-content {
        max-width: 100%;
        left: 20px;
        right: 20px;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .upload-cv-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Social Icons */
        .social-fixed {
        display: flex !important;
        position: fixed;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 10px;
        z-index: 100;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        transition: transform 0.2s ease;
        font-size: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .social-icon:hover {
        transform: scale(1.1);
    }
    
    .social-icon.linkedin {
        background: #0077B5;
    }
    
    .social-icon.instagram {
        background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    }
    
    .social-icon.facebook {
        background: #1877F2;
    }

        /* Stats Section */
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-header h2 {
        font-size: 24px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .stats-header p {
        font-size: 16px;
        margin-bottom: 32px;
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
        padding: 0 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .stat-item:not(:last-child)::after {
        display: none; /* Remove vertical dividers */
    }
    
    .stat-number {
        font-size: 36px;
        margin-top: 4px;
    }
    
    .stat-item:hover .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .stat-item:hover .stat-label {
        font-size: 16px;
    }
    
    /* Career Section */
   .career-section {
        padding: 40px 0 130px 0; /* No top padding, 60px bottom padding */
    }

    .career-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .career-text {
        padding-left: 0;
        max-width: 100%;
        order: 2;
    }
    
    .career-text::before {
        display: none; /* Remove left border */
    }
    
    .career-text h2 {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .career-text p {
        font-size: 15px;
        margin-bottom: 24px;
        padding: 0 15px;
    }
    
    .search-form {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
        padding: 0 15px;
    }
    
    .search-input {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .search-btn {
        width: 100%;
        padding: 12px 18px;
        justify-content: center;
    }
    
    .search-results-dropdown {
        right: 0; /* Full width when stacked */
        margin: 0 15px;
        margin-top: 8px;
    }
    
    /* Career Image */
    .career-image {
        order: 1;
        height: 300px;
        width: 100%;
        margin: 0 auto;
    }
    
    .decorative-circles::before {
        width: 150px;
        height: 200px;
        top: 80px;
        right: 200px;
    }
    
    .gray-circle {
        width: 100px;
        height: 100px;
        top: 10px;
        right: 120px;
    }
    
    .blue-semicircle {
        width: 300px;
        height: 300px;
        border-width: 15px;
        top: -120px;
        right: -40px;
    }
    
    .career-img {
        width: 150px;
        height: 220px;
        border-radius: 40px;
        transform: translateX(-80px);
    }
    
    /* Jobs Carousel */
    .jobs-carousel-container {
        padding: 0 15px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-arrow.prev {
        left: 5px;
    }
    
    .carousel-arrow.next {
        right: 5px;
    }

    /* Jobs Section */
    .jobs-section {
        padding: 60px 0;
    }
    
    .jobs-section h2 {
        font-size: 24px;
        margin-bottom: 8px;
        padding: 0 15px;
    }
    
    .jobs-section p {
        margin-bottom: 32px;
        padding: 0 15px;
        font-size: 16px;
    }
    
    /* Hide carousel buttons completely on mobile */
    .carousel-arrow {
        display: none !important;
    }
    
    /* Enable horizontal scrolling for mobile */
    .jobs-carousel-container {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding: 0 15px;
    }
    
    /* Hide scrollbar */
    .jobs-carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    /* Jobs Grid - Mobile Swipe */
    .jobs-grid {
        display: flex !important;
        gap: 16px;
        margin-top: 30px;
        padding: 0;
        justify-content: flex-start;
        overflow: visible;
        scroll-snap-type: x mandatory;
        width: auto;
    }
    
    /* Job Cards */
    .job-card {
        min-width: 280px;
        max-width: 280px;
        max-height: 340px;
        margin-bottom: 32px;
        opacity: 1 !important; /* Show all cards on mobile */
        transform: scale(1) !important; /* Reset scale */
        scroll-snap-align: start;
        flex: 0 0 auto; /* Don't shrink, don't grow */
    }
    
    .job-card.center {
        opacity: 1;
        transform: scale(1);
    }
    
    .job-card:hover {
        transform: scale(1.02); /* Subtle hover on mobile */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }
    
    .job-card:not(.center):hover {
        transform: scale(1.02);
        opacity: 1;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }
    
    .job-content {
        padding: 10px;
        padding-top: 40px;
    }
    
    .job-urgent {
        font-size: 13px;
        padding: 6px 0;
        width: calc(100% + 10px);
        left: -5px;
    }
    
    .job-title {
        font-size: 16px;
        margin-left: 8px;
        line-height: 1.3;
    }
    
    .job-company {
        font-size: 13px;
        margin-bottom: 10px;
        margin-left: 8px;
    }
    
    .job-vacancies {
        padding: 5px 14px;
        font-size: 11px;
        margin-left: -14px;
        margin-bottom: 14px;
    }
    
    .job-details {
        gap: 8px 8px;
        font-size: 11px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .job-detail-label {
        font-size: 13px;
    }
    
    .job-detail-value {
        font-size: 11px;
    }
    
    .apply-btn {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 0 0 30px 30px;
    }
    
    .apply-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(31, 59, 179, 0.25);
    }
    
    .view-all-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 20px;
    }
    
    .view-all-btn:hover {
        transform: translateY(-1px);
    }
    
    /* Show swipe hint */
    .jobs-section::after {
        content: "← Swipe to see more jobs →";
        display: block;
        text-align: center;
        color: #9CA3AF;
        font-size: 12px;
        margin-top: 16px;
        font-style: italic;
    }

        /* Testimonials Section */
    .testimonials-section {
        padding: 60px 0 180px 0;
        min-height: 600px;
    }
    
    .testimonials-section::before {
        width: 300px;
        height: 120px;
        border-width: 8px;
        top: -50px;
        left: -200px;
        border-radius: 0 0 150px 150px;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .testimonials-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .testimonials-header p {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .testimonials-container {
        padding: 0 10px;
        transform: scale(0.65);
        transform-origin: center top;
        margin-top: -40px;
    }
    
    /* Keep formation movements but scale them down */
    .cards-formation.rotation-0 { transform: translate(-270px, 120px) scale(0.8); }
    .cards-formation.rotation-1 { transform: translate(-460px, -80px) scale(0.8); }
    .cards-formation.rotation-2 { transform: translate(-450px, 260px) scale(0.8); }
    .cards-formation.rotation-3 { transform: translate(-110px, -100px) scale(0.8); }
    .cards-formation.rotation-4 { transform: translate(-110px, 240px) scale(0.8); }
    
    .cards-formation.reverse-rotation-0 { transform: translate(-270px, 120px) scale(0.8) !important; }
    .cards-formation.reverse-rotation-1 { transform: translate(-460px, -80px) scale(0.8) !important; }
    .cards-formation.reverse-rotation-2 { transform: translate(-450px, 260px) scale(0.8) !important; }
    .cards-formation.reverse-rotation-3 { transform: translate(-110px, -100px) scale(0.8) !important; }
    .cards-formation.reverse-rotation-4 { transform: translate(-110px, 240px) scale(0.8) !important; }
    
    /* Scale down testimonial cards but keep positioning */
        .testimonial-card {
        min-height: 280px;
        padding: 24px;
        border-radius: 12px;
        width: 350px;           /* Fixed width for all cards */
        height: 240px;          /* Fixed height for all cards */
    }
    
    .testimonial-card:nth-child(1) { /* Green */
        top: 60px;
        left: 180px;
        /* Remove max-width override - use default 350px */
    }
    
    .testimonial-card:nth-child(2) { /* Yellow */
        top: -170px;
        left: 420px;
        /* Remove max-width override - use default 350px */
    }
    
    .testimonial-card:nth-child(3) { /* Red */
        top: 300px;
        left: 420px;
        /* Remove max-width override - use default 350px */
    }
    
    .testimonial-card:nth-child(4) { /* Blue */
        top: 350px;
        left: -20px;
        /* Remove max-width override - use default 350px */
    }
    
    .testimonial-card:nth-child(5) { /* Purple */
        top: -80px !important;
        left: -20px !important;
        /* Remove max-width override - use default 350px */
    }

    .testimonial-card.inactive {
    transform: scale(0.3);
    opacity: 0.3;
    z-index: -999 !important;
    }
    
    .testimonial-quote {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 30px;
        margin-bottom: 16px;
        max-height: 7.5em;
    }
    
    .testimonial-card::before {
        font-size: 60px;
        top: 0px;
        left: 24px;
    }
    
    .testimonial-rating {
        top: 180px;
        left: 24px;
    }
    
    .star {
        font-size: 18px;
    }
    
    .testimonial-date {
        top: 24px;
        right: 24px;
        font-size: 12px;
    }
    
    /* Scale down carousel but keep functionality */
    .testimonial-carousel {
        right: 30px;
        width: 150px;
        height: 180px;
        transform: translateY(-50%) scale(0.8);
    }
    
    .carousel-circle {
        width: 320px;
        height: 320px;
        border-width: 2px;
        top: -10%;
        right: -220px;
    }
    
    .carousel-gray-circle {
        width: 400px;
        height: 400px;
        top: -30%;
        right: -260px;
    }
    
    .testimonial-avatar {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .carousel-nav {
        width: 30px;
        height: 20px;
    }
    
    .carousel-nav svg {
        width: 12px;
        height: 12px;
    }
    
    .carousel-nav.up {
        right: 40px;
    }
    
    .carousel-nav.down {
        right: 40px;
    }
    
    /* Scale down gray circles */
    .gray-circle-1 {
        width: 15px;
        height: 15px;
        top: 160px;
        right: 160px;
    }
    
    .gray-circle-2 {
        width: 30px;
        height: 30px;
        top: 90px;
        left: 10px;
    }
    
    .gray-circle-4 {
        width: 20px;
        height: 20px;
        top: 200px;
        right: 80px;
    }
    
    .gray-circle-5 {
        width: 20px;
        height: 20px;
        top: 200px;
        left: 220px;
    }
    
    /* Adjust avatar tooltips */
    .avatar-tooltip {
        left: 30px;
        font-size: 14px;
        padding: 4px 12px 4px 8px;
        border-radius: 6px 10px 10px 6px;
        min-width: 100px;
    }

        /* Newsletter Section */
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-content h2 {
        font-size: 24px;
        margin-bottom: 8px;
        padding: 0 15px;
        line-height: 1.3;
    }
    
    .newsletter-content p {
        font-size: 15px;
        margin-bottom: 24px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        margin: 0 15px 16px;
    }
    
    .newsletter-input {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .newsletter-disclaimer {
        font-size: 11px;
        margin-top: 12px;
        padding: 0 15px;
        white-space: normal;
        line-height: 1.4;
    }
    
    /* Footer */
    .footer {
        padding: 35px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
    }
    
    .footer-left {
        margin-left: 0;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
        margin-top: 0;
    }
    
    .logo-img {
        width: 220px;
        height: 95px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .say-hello-btn {
        font-size: 12px;
        padding: 8px 20px;
        margin-left: 0;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .footer-tagline {
        font-size: 18px;
        margin-left: 0;
        margin-bottom: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        width: 100%;
        align-items: center;
    }
    
    .footer-column {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 15px;
        color: white;
    }
    
    .footer-column ul li {
        margin-bottom: 8px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-newsletter {
        flex-direction: column;
        gap: 10px;
        max-width: 280px;
        margin: 0 auto 18px;
    }
    
    .footer-newsletter input {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 13px;
        border: 1px solid #B5BDDB;
    }
    
    .footer-newsletter button {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 13px;
        background: #ffffff;
        color: #1f3bb3;
        border: 2px solid #ffffff;
        font-weight: 600;
    }
    
    .footer-help {
        text-align: center;
    }
    
    .footer-help h5 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .footer-help p {
        font-size: 11px;
    }
   .ajax-newsletter{
    flex-direction: column;
    gap: 12px;
    display: flex;
   }
  .footer-newsletter .ajax-newsletter{
    flex-direction: column;
        gap: 10px;
   }
  .career-text{max-width:100%;}
  .search-form .search-input{max-width:100%;}
   #home .hero-content {
    left: 20px;
    margin-left: 0px;
   }
.newsletter-form .ajax-newsletter {
    gap: 12px;
    max-width: 100%;
    margin: 0 auto 20px;
    flex-direction: column;
}
 .search-form .search-results-dropdown{text-align: left;  touch-action: pan-y;  -webkit-overflow-scrolling: touch;}
.search-form .search-results-dropdown .job-title{margin-left:5px;}
.search-form .search-results-dropdown .job-details{margin-left:5px;}
.footer-newsletter input{margin-bottom:10px;}
}
/*@media (max-width:480px){
 .testimonial-card:nth-child(1) {
     top: 230px !important;
    }
    .testimonial-card:nth-child(2) {
        top:-460px !important;
    }
   .testimonial-card:nth-child(3) {
        top: 524px !important
    }
    .testimonial-card:nth-child(4) {
        top: 430px !important;
    }
    .testimonial-card:nth-child(5) {
        top: -10px !important;
    }
}*/

/* Mobile-specific optimizations */
@media (max-width: 430px) {
    /* Newsletter animation adjustments */
    .forward-text {
        display: inline-block;
    }
    
    @keyframes slideRight {
        0% {
            transform: translateX(0px);
        }
        100% {
            transform: translateX(5px); /* Reduced movement for mobile */
        }
    }
    
    /* Form validation states for mobile */
    .newsletter-input:focus {
        outline: none;
        border-color: #1f3bb3;
        box-shadow: 0 0 0 2px rgba(31, 59, 179, 0.1);
    }
    
    .newsletter-btn:active {
        transform: translateY(1px);
    }
    
    /* Footer link hover states for mobile */
    .footer-column ul li a:hover {
        color: white;
        transition: color 0.2s ease;
    }
    
    .say-hello-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transition: background 0.2s ease;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .newsletter-btn {
        min-height: 44px; /* Better touch target */
    }
    
    .newsletter-input {
        min-height: 44px;
    }
    
    .footer-newsletter input,
    .footer-newsletter button {
        min-height: 40px;
    }
    
    .say-hello-btn {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .newsletter-btn:hover,
    .footer-column ul li a:hover,
    .say-hello-btn:hover {
        background: inherit;
        color: inherit;
    }
    
    .newsletter-btn:active {
        background: #1a3399;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 430px) and (orientation: landscape) {
    .newsletter-section {
        padding: 25px 0;
    }
    
    .newsletter-content h2 {
        font-size: 22px;
    }
    
    .newsletter-form {
        flex-direction: row;
        max-width: 350px;
        margin: 0 auto 12px;
    }
    
    .newsletter-input {
        flex: 1;
    }
    
    .newsletter-btn {
        width: auto;
        min-width: 100px;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-newsletter {
        flex-direction: row;
        max-width: 300px;
    }
 .footer-newsletter .ajax-newsletter{
         display: flex;
        flex-direction: row;
        max-width: 300px;
        gap: 10px;
    }
    
    .footer-newsletter input {
        flex: 1;
    }
    
    .footer-newsletter button {
        width: auto;
    }
.footer-newsletter #newsletter-email {
        margin-bottom: 0px;
        flex: 1;
    }
}

/* Additional accessibility improvements for mobile */
@media (max-width: 430px) {
    .newsletter-input::placeholder {
        color: #9CA3AF;
        opacity: 1;
    }
    
    .footer-newsletter input::placeholder {
        font-size: 12px;
    }
    
    /* Ensure sufficient contrast on small screens */
    .newsletter-disclaimer {
        color: #6B7280;
    }
    
    .footer-help p {
        color: #D1D5DB;
    }
}

/* Print styles for mobile */
@media print {
    .newsletter-section,
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .newsletter-btn,
    .footer-newsletter button,
    .say-hello-btn {
        background: #1f3bb3 !important;
        color: white !important;
    }
}

/* Maintain animation performance on mobile */
@media (max-width: 430px) {
    .cards-formation {
        transition: transform 2.5s ease; /* Slightly faster for mobile */
    }
    
    .testimonial-card {
        transition: opacity 1.3s ease, visibility 1.3s ease, transform 2.5s ease;
    }
    
    .testimonial-avatar {
        animation-duration: 2.5s; /* Match formation transition */
    }
}

/* Touch device optimizations while keeping animations */
@media (hover: none) and (pointer: coarse) {
    .testimonial-avatar:hover::before {
        transform: none; /* Disable hover scale on touch */
    }
    
    .carousel-nav:hover {
        background: #1f3bb3;
        color: white;
    }
    
    /* Make touch targets larger */
    .carousel-nav {
        min-width: 35px;
        min-height: 35px;
    }
    
    .testimonial-avatar {
        min-width: 35px;
        min-height: 35px;
    }
}

/* Landscape orientation - keep animations but adjust spacing */
@media (max-width: 430px) and (orientation: landscape) {
    .testimonials-section {
        padding: 30px 0 100px 0;
        min-height: 400px;
    }
    
    .testimonials-container {
        transform: scale(0.6);
        margin-top: -30px;
    }
}
/* Mobile-specific adjustments for animation and interaction */
@media (max-width: 430px) {
    /* Disable complex animations on mobile for better performance */
    @keyframes autoScroll {
        0%, 100% { transform: translateX(0); }
    }
    
    /* Override carousel behavior on mobile */
    .jobs-grid {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }
    
    .jobs-grid::-webkit-scrollbar {
        display: none; /* WebKit */
    }
    
    .job-card {
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    /* Mobile carousel navigation hint */
    .jobs-section::after {
        content: "← Swipe to see more jobs →";
        display: block;
        text-align: center;
        color: #9CA3AF;
        font-size: 12px;
        margin-top: 16px;
        font-style: italic;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .job-card:hover,
    .job-card:not(.center):hover {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .apply-btn:hover {
        transform: none;
        box-shadow: none;
        background: #1f3bb3;
    }
    
    .view-all-btn:hover {
        transform: none;
        background: #1f3bb3;
        color: white;
        border-color: #1f3bb3;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 430px) and (orientation: landscape) {
    .jobs-section {
        padding: 30px 0;
    }
    
    .jobs-section h2 {
        font-size: 22px;
    }
    
    .job-card {
        max-height: 280px;
    }
    
    .job-content {
        padding-top: 25px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .stat-item:hover,
    .stat-item:hover .stat-number,
    .stat-item:hover .stat-label {
        transform: none;
        font-size: inherit;
    }
    
    .search-input:hover {
        transform: none;
    }
    
    .carousel-arrow:hover {
        background: white;
        color: #2d2d2d;
        border-color: #D1D5DB;
    }
}

/* Additional responsive adjustments for hover effects on mobile */
@media (max-width: 430px) {
    .stat-item:hover {
        transform: scale(1.05); /* Reduced scale for mobile */
    }
    
    .search-input:hover {
        transform: scale(1.02); /* Reduced scale for mobile */
    }
    
    .search-result-item:hover {
        transform: none; /* Remove transform on mobile for better touch experience */
        background-color: #f9fafb;
    }
 /* UNICEF Main Section - Mobile */
    .unicef-section {
        padding: 40px 0;
        background: white;
    }
    
    .unicef-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .unicef-text {
        padding-left: 0;
        max-width: 100%;
        text-align: center;
        order: 2;
    }
    
    .unicef-section h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .unicef-tagline {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .unicef-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .unicef-know-more-btn {
        margin-bottom: 20px;
    }
    
    /* Mobile images container */
    .unicef-visual {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        order: 1;
        overflow: visible;
    }
    
    /* Hide background elements on mobile */
    .unicef-blue-background {
        display: none;
    }
    
    .unicef-content-wrapper {
        display: none;
    }
    
    .unicef-curve-arrow {
        display: none;
    }
    
    .unicef-bottom-background {
        display: none;
    }
    
    /* Mobile UNICEF images */
    .unicef-logo-badge {
        position: static;
        display: block;
        width: 150px;
        height: 150px;
        margin: 0 auto;
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    }
    
    .unicef-child-wrapper {
        position: static;
        display: block;
        /*width: 220px;
        height: 210px;*/
        width: 100%;
        height: auto;
        margin: 0 auto;
        border: 8px solid white;
        border-radius: 0 30px 0 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
/* UNICEF Main Section - Mobile */
    .unicef-section {
        padding: 40px 0;
        background: white;
    }
    
    .unicef-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .unicef-text {
        padding-left: 0;
        max-width: 100%;
        text-align: center;
        order: 2;
    }
    
    .unicef-section h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .unicef-tagline {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .unicef-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .unicef-know-more-btn {
        margin-bottom: 20px;
    }
    
    /* Mobile images container */
    .unicef-visual {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        order: 1;
        overflow: visible;
    }
    
    /* Hide background elements on mobile */
    .unicef-blue-background {
        display: none;
    }
    
    .unicef-content-wrapper {
        display: none;
    } 
    
    .unicef-curve-arrow {
        display: none;
    }
    
    .unicef-bottom-background {
        display: none;
    }
    
    /* Mobile UNICEF images */
    .unicef-logo-badge {
        position: static;
        display: block;
        width: 150px;
        height: 150px;
        margin: 0 auto;
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    }
    
    .unicef-child-wrapper {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        border: 8px solid white;
        border-radius: 0 30px 0 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
   .testimonial-carousel{right:0;}
  .footer-newsletter .ajax-newsletter{display:flex !important; flex-wrap:wrap;}
  
}
@media (max-width:375px){
.testimonial-card{width:315px;}

 /*.testimonial-card:nth-child(1) {
     top: 230px !important;
    }
    .testimonial-card:nth-child(2) {
        top:-460px !important;
    }
   .testimonial-card:nth-child(3) {
        top: 524px !important
    }
    .testimonial-card:nth-child(4) {
        top: 430px !important;
    }
    .testimonial-card:nth-child(5) {
        top: -10px !important;
    }*/
}