@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

/* Style for the body */
.nunito-body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* Default weight */
    font-style: normal;
}

body {
    overflow-x: hidden;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* Default weight */
    font-style: normal;
}

/* a tag underline remove  */

a {
    text-decoration: none !important;
}

.fs-18 {
    font-size: 18px !important;
}

.new-card-mt {
    margin-top: -65px;
}

/* Custom animations for smoother transitions */
.slide {
    transition: opacity 0.5s ease-in-out;
}

.slider-indicator {
    transition: all 0.3s ease;
}

.slider-indicator:hover {
    transform: scaleY(1.2);
}

.slider-indicator.active {
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.new-map-icon {
    margin-top: -145px;
}

.new-number-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to right,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(#000000 5%, transparent 70%);
}

.new-number-card::before {

    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(#000000 5%, transparent 70%);
}

.new-mm-0 {
    margin: 0 !important;
}

.slider {
    overflow: hidden;
    position: relative;
}

/* Flexible, library-free marquee track */
.slider-track {
    display: inline-flex;
    align-items: center;
    gap: var(--gap, 2.5rem);
    width: max-content;
    animation: scrollLeft var(--scroll-duration, 28s) linear infinite;
}

.slider-item {
    width: var(--logo-width, 12rem);
    flex: 0 0 auto;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.slider:hover .slider-track {
    animation-play-state: paused;
}

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .slider-track {
        animation-duration: 0s;
        animation-play-state: paused;
    }
}

/* Responsive logo sizing */
@media (max-width: 640px) {
    .slider-item {
        width: var(--logo-width-sm, 8rem);
    }
}

/* Fold 11: Blog hover popup + read-more reveal */
.blog-section-dark {
    background: radial-gradient(1200px 400px at 20% -10%, rgba(16, 1, 144, 0.25), transparent 60%),
                radial-gradient(1000px 380px at 90% 0%, rgba(111, 228, 252, 0.15), transparent 60%),
                #0b0a1f;
}

.blog-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.08);
}

.blog-card .blog-image img {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: none;
}

.blog-card-v2{
    transition: transform .35s ease;
}
.blog-card-v2:hover{ transform: none; }

/* Ensure no pseudo-elements are created for blog images */
.relative.h-56.m-4.rounded-2xl.overflow-hidden::after,
.relative.h-56.m-4.rounded-2xl.overflow-hidden::before {
    display: none !important;
    content: none !important;
}

/* Utility: line clamp if Tailwind plugin is unavailable */
.line-clamp-2{ display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3{ display:-webkit-box; -webkit-line-clamp:3; line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

.blog-readmore {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #F3F945;
    border-radius: 9999px;
    padding: 10px 16px;
    color: #0B2E3C;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    box-shadow: 0 10px 25px rgba(2, 6, 23, 0.18);
}

.blog-card:hover .blog-readmore {
    transform: translateY(0%);
    opacity: 1;
}


.rotate-clockwise-5 {
    transform: rotate(5deg);
}

.rotate-anticlockwise-5 {
    transform: rotate(-5deg);
}

.rounded-25 {
    border-radius: 25px !important;
}

/* Animated Light Lines */
.light-line {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #f3f945, transparent);
    animation: lightMove 3s ease-in-out infinite;
    opacity: 0.6;
}

.light-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.light-line:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.light-line:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

@keyframes lightMove {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Timeline Gradient Line */
.timeline-gradient-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%) !important;
}


.font-outline {
    font-weight: 700;
    -webkit-text-stroke: 1px #2563eb;
    color: transparent;
}

.font-outline:hover {
    -webkit-text-stroke: 2px #2563eb;
    color: #2563eb;

}

.mask-shape {
    -webkit-mask-image: url('../images/background/Subtract.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url('../images/background/Subtract.svg');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    border-radius: 40px;
}

/* Mobile Header Styles */
.mobile-header {
    background: linear-gradient(135deg, rgba(27, 75, 240, 0.95) 0%, rgba(116, 148, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 75, 240, 0.1) 0%, rgba(116, 148, 250, 0.05) 100%);
    z-index: -1;
}

/* Mobile Menu Overlay */
#mobile-menu {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Mobile Accordion Animations */
.mobile-accordion-btn {
    transition: all 0.3s ease;
}

.mobile-accordion-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.mobile-accordion-btn.active {
    background: rgba(243, 247, 233, 0.1);
    border-radius: 8px 8px 0 0;
}

.mobile-accordion-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.mobile-accordion-content.hidden {
    transform: scaleY(0);
    opacity: 0;
}

.mobile-accordion-content:not(.hidden) {
    transform: scaleY(1);
    opacity: 1;
}

/* Mobile Navigation Links */
.mobile-accordion-content a {
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 2px 0;
}

.mobile-accordion-content a:hover {
    background: rgba(243, 247, 233, 0.1);
    transform: translateX(4px);
}

/* Mobile Menu Toggle Button */
#mobile-menu-toggle {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px;
}

#mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Mobile Close Button */
#mobile-menu-close {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px;
}

#mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Mobile Contact Button */
.mobile-header .bg-\[\#f3f945\] {
    box-shadow: 0 4px 15px rgba(243, 247, 69, 0.3);
    transition: all 0.3s ease;
}

.mobile-header .bg-\[\#f3f945\]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 247, 69, 0.4);
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
    .mobile-header .max-w-7xl {
        margin: 0 1rem;
    }

    .mobile-header .w-28 {
        width: 6rem;
    }

    /* keep intentional: no extra padding on small screens */
    #mobile-menu { padding: 0; }
}

/* Mobile Menu Scrollbar Styling */
.mobile-header nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-header nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.mobile-header nav::-webkit-scrollbar-thumb {
    background: rgba(243, 247, 69, 0.5);
    border-radius: 2px;
}

.mobile-header nav::-webkit-scrollbar-thumb:hover {
    background: rgba(243, 247, 69, 0.7);
}

/* Enhanced Mobile Menu Styles */
#mobile-menu .absolute {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu .absolute.translate-x-full {
    transform: translateX(100%);
}

#mobile-menu .absolute:not(.translate-x-full) {
    transform: translateX(0);
}

/* Mobile Accordion Button States */
.mobile-accordion-btn svg {
    transition: transform 0.3s ease;
}

.mobile-accordion-btn.active svg {
    transform: rotate(180deg);
}

/* Mobile Menu Content Transitions */
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-accordion-content:not(.hidden) {
    max-height: max-content;
}

/* Mobile Menu Hover Effects */
.mobile-accordion-content a:hover {
    background: rgba(27, 75, 240, 0.05);
    color: #1B4BF0;
    padding-left: 16px;
}

/* Mobile Menu Section Headers */
.mobile-accordion-content h4 {
    color: #1B4BF0;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(27, 75, 240, 0.1);
}

/* Mobile Menu List Items */
.mobile-accordion-content ul {
    margin-top: 0.5rem;
}

.mobile-accordion-content li {
    margin-bottom: 0.25rem;
}

/* Mobile Menu Link Styling */
.mobile-accordion-content a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6B7280;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* Mobile Menu Active States */
.mobile-accordion-btn.active {
    background: rgba(27, 75, 240, 0.1);
    color: #1B4BF0;
}

/* Mobile Menu Overlay Animation */
#mobile-menu {
    transition: opacity 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Content Shadow */
#mobile-menu .absolute {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Header Styling */
#mobile-menu .border-b {
    background: linear-gradient(135deg, #f3f7e9 0%, #ffffff 100%);
}

/* Mobile Menu Navigation Styling */
#mobile-menu nav {
    background: #ffffff;
}

/* Mobile Menu Scrollbar for Webkit */
#mobile-menu nav::-webkit-scrollbar {
    width: 6px;
}

#mobile-menu nav::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

#mobile-menu nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#mobile-menu nav::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Menu Responsive Adjustments */
@media (max-width: 480px) {
    #mobile-menu .absolute {
        width: 100%;
        right: 0;
    }

    .mobile-header .w-28 {
        width: 5rem;
    }

    .mobile-header .text-sm {
        font-size: 0.75rem;
    }

    .mobile-header .px-4 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Mobile Menu Animation Keyframes */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

/* Mobile Menu Entrance Animation */
#mobile-menu .absolute:not(.translate-x-full) {
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Exit Animation */
#mobile-menu .absolute.translate-x-full {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Marquee Animation Styles */
.marquee {
    overflow: hidden;
    position: relative;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-scroll var(--marquee-duration, 20s) linear infinite;
}

.marquee.play-left .marquee__track {
    animation-name: marquee-scroll-left;
}

.marquee.play-right .marquee__track {
    animation-name: marquee-scroll-right;
}

@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--marquee-width)));
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(calc(-1 * var(--marquee-width)));
    }
    100% {
        transform: translateX(0);
    }
}

.marquee__item {
    flex-shrink: 0;
}

/* Video styling for marquee - MP4 format */
.marquee__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MP4 video support - universal browser compatibility */
.marquee__item video[src$=".MP4"],
.marquee__item video[src$=".mp4"] {
    /* MP4 format is universally supported */
    background-color: transparent;
}

/* JPG image support - universal browser compatibility */
.marquee__item img[src$=".JPG"],
.marquee__item img[src$=".jpg"] {
    /* JPG format is universally supported */
    background-color: transparent;
}

/* Ensure consistent sizing for all marquee items */
.marquee__item img,
.marquee__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Video container styling */
.video-container {
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: scale(1.05);
}

.video-container .play-button {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-container:hover .play-button {
    opacity: 1;
    transform: scale(1.1);
}

/* Video element styling when playing */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    z-index: 10;
}

/* Hide play button when video is playing */
.video-container.playing .play-button {
    opacity: 0;
    pointer-events: none;
}

/* Pause marquee on hover */
.marquee:hover .marquee__track {
    animation-play-state: paused;
}

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation-duration: 0s;
        animation-play-state: paused;
    }
}

/* Footer Gradient Text Animation */
.footer-gradient-text {
    /* Default state: visible text with low opacity */
    color: rgba(255, 255, 255, 0.2) !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: linear-gradient(90deg, 
        rgba(27, 75, 240, 0) 0%, 
        rgba(27, 75, 240, 0) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-size: 0% 100% !important;
    background-repeat: no-repeat !important;
}

.footer-gradient-text:hover {
    background: linear-gradient(90deg, 
        #1B4BF0 0%, 
        #3B82F6 20%, 
        #06B6D4 40%, 
        #10B981 60%, 
        #F59E0B 80%, 
        #EF4444 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-size: 100% 100% !important;
    transform: scale(1.02) !important;
    filter: drop-shadow(0 0 20px rgba(27, 75, 240, 0.3)) !important;
}

/* Test hover effect - simple color change */
.footer-gradient-text:hover {
    color: #1B4BF0 !important;
}

/* Responsive adjustments for footer gradient text */
@media (max-width: 768px) {
    .footer-gradient-text {
        font-size: 3rem !important;
    }
}

@media (max-width: 640px) {
    .footer-gradient-text {
        font-size: 2.5rem !important;
    }
}

/* Service Page Styles */
.soft-glow-1 {
    box-shadow: 0 10px 30px rgba(16, 1, 144, 0.08);
}

.soft-glow-2 {
    box-shadow: 0 20px 40px rgba(34, 3, 244, 0.08);
}

.light-line {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #6FE4FC, transparent);
    animation: lightMove 3s ease-in-out infinite;
    opacity: 0.6;
}

.light-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.light-line:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.light-line:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

@keyframes lightMove {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Hiring Pages - People Collage Images */
.people-collage img {
    border: 6px solid #ffffff;
}

/* Hiring Pages - Hero Section Floating Cards */
.keyword-card {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: scale(1);
}

.floating-card-1 {
    animation: floatCard1 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: floatCard2 2.8s ease-in-out infinite;
}

.floating-card-3 {
    animation: floatCard3 3.2s ease-in-out infinite;
}

.floating-card-4 {
    animation: floatCard4 2.6s ease-in-out infinite;
}

.floating-card-5 {
    animation: floatCard5 3.4s ease-in-out infinite;
}

.floating-card-6 {
    animation: floatCard6 2.9s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatCard4 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-7px) rotate(-2deg);
    }
}

@keyframes floatCard5 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(1.5deg);
    }
}

@keyframes floatCard6 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1.5deg);
    }
}

.floating-card {
    animation: floatReverse 3.5s ease-in-out infinite;
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(10px);
    }
}