@import url('https://fonts.googleapis.com/css2?family=BioRhyme:wght@400;700;800&family=Roboto+Flex:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
    -webkit-font-smoothing: antialiased;
    font-family: "Roboto Flex", sans-serif;
    background: #050505;
    scroll-behavior: smooth;
}

/* Prevent layout shifts from scrollbars */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #13E813;
    border-radius: 10px;
}

#bg-3d-container {
    overflow: hidden !important;
}

.heading-font {
    font-family: "BioRhyme", serif;
}

.primary-color {
    color: #F3F3F3;
}

.accent-color {
    color: #13E813;
}

.bg-primary {
    background-color: #F3F3F3;
}

.bg-accent {
    background-color: #13E813;
}

.bg-dark {
    background-color: rgba(5, 5, 5, 0.7);
}

.bg-dark-gradient {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.7) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.grid-pattern {
    background-image: linear-gradient(rgba(19, 232, 19, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 232, 19, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.nav-item {
    position: relative;
    transition: all 0.3s ease;
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #13E813;
    transition: all 0.3s ease;
    transform: translatex(-50%);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: #13E813;
    transform: translatey(-2px);
}

/* Current Page Active State */
.nav-item.active {
    color: #13E813;
}

.nav-item.active::after {
    width: 100%;
}

.search-box {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.3s ease;
}

.search-box:hover {
    border-color: rgba(19, 232, 19, 0.5);
    box-shadow: 0 0 20px rgba(19, 232, 19, 0.1);
}

.search-box:focus-within {
    border-color: rgba(19, 232, 19, 0.6);
    box-shadow: 0 0 25px rgba(19, 232, 19, 0.2);
}

.cta-button {
    background: linear-gradient(135deg, #13E813 0%, #0eb80e 100%);
    box-shadow: 0 4px 15px rgba(19, 232, 19, 0.3);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.cta-button:hover {
    transform: translatey(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(19, 232, 19, 0.5);
}

.cta-button-secondary {
    background: transparent;
    border: 1px solid #13E813;
    box-shadow: 0 4px 15px rgba(19, 232, 19, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button-secondary:hover {
    background: rgba(19, 232, 19, 0.1);
    transform: translatey(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(19, 232, 19, 0.2);
}

.header-container {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(19, 232, 19, 0.3), transparent);
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05) translatey(-2px);
    filter: drop-shadow(0 5px 15px rgba(19, 232, 19, 0.3));
}

.floating-icon {
    animation: float 4s ease-in-out infinite;
    transform-style: preserve-3d;
    animation-delay: calc(var(--delay) * 0.5s);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-15px) rotateX(10deg) rotateY(10deg);
    }
}

.pulse-icon {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.stat-card {
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translatey(-3px);
    border-color: rgba(19, 232, 19, 0.4);
    box-shadow: 0 5px 15px rgba(19, 232, 19, 0.2);
}

.glass-card {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.1);
}

.service-card {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 232, 19, 0.1) 0%, rgba(19, 232, 19, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: perspective(1000px) rotateY(10deg) scale(1.05) translatey(-10px);
    border-color: rgba(19, 232, 19, 0.4);
    box-shadow: 0 20px 40px rgba(19, 232, 19, 0.3);
}

.benefit-card {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.7) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translatey(-5px);
    border-color: rgba(19, 232, 19, 0.3);
    box-shadow: 0 10px 25px rgba(19, 232, 19, 0.2);
}

.process-step {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
    transform: scale(1.08) translatey(-5px);
    border-color: rgba(19, 232, 19, 0.5);
    box-shadow: 0 15px 30px rgba(19, 232, 19, 0.3);
}

.arrow-icon {
    animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(5px);
    }
}

.success-card {
    background: linear-gradient(135deg, rgba(19, 232, 19, 0.15) 0%, rgba(5, 5, 5, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(19, 232, 19, 0.3);
    box-shadow: 0 10px 30px rgba(19, 232, 19, 0.2);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.success-card:hover {
    transform: translatey(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(19, 232, 19, 0.3);
}

.offering-item {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.7) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.1);
    transition: all 0.3s ease;
}

.offering-item:hover {
    border-color: rgba(19, 232, 19, 0.3);
    transform: translatex(5px);
}

.category-badge {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: rgba(19, 232, 19, 0.1);
    border-color: rgba(19, 232, 19, 0.4);
    transform: translatey(-3px);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(19, 232, 19, 0.15) 0%, rgba(19, 232, 19, 0.05) 100%);
    backdrop-filter: blur(5px);
    animation: floatShape 8s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }

    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.95);
    }

    75% {
        transform: translateY(-25px) translateX(5px) scale(1.02);
    }
}

.contact-card {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    box-shadow: 0 10px 30px rgba(19, 232, 19, 0.15);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translatey(-10px) scale(1.02);
    border-color: rgba(19, 232, 19, 0.4);
    box-shadow: 0 20px 50px rgba(19, 232, 19, 0.25);
}

.social-icon {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    background: rgba(19, 232, 19, 0.15);
    border-color: rgba(19, 232, 19, 0.5);
    transform: scale(1.15) translatey(-5px);
    box-shadow: 0 10px 20px rgba(19, 232, 19, 0.3);
}

.footer-link {
    color: #F3F3F3;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-link:hover {
    opacity: 1;
    color: #13E813;
    transform: translatex(5px);
}

.newsletter-input {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: rgba(19, 232, 19, 0.5);
    box-shadow: 0 0 20px rgba(19, 232, 19, 0.1);
}

.subscribe-btn {
    background: linear-gradient(135deg, #13E813 0%, #0eb80e 100%);
    box-shadow: 0 4px 15px rgba(19, 232, 19, 0.3);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.subscribe-btn:hover {
    transform: translatey(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(19, 232, 19, 0.5);
}

.footer-container {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
}

.footer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(19, 232, 19, 0.3), transparent);
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #13E813;
    transform: translatex(3px);
}

.material-icons {
    width: 1em;
    direction: ltr;
    /* Fixed RTL issue */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.floating-sidebar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.floating-sidebar-icon:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* WhatsApp Specific */
.whatsapp-icon {
    background: #25D366;
    color: white;
    font-size: 28px;
    animation: wa-pulse 2s infinite;
    position: relative;
    overflow: visible;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: wa-wave 1.5s infinite;
}

.whatsapp-icon:hover {
    background: #128C7E;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 20px #25D366;
    animation: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes wa-wave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Scroll Tools */
.scroll-icon {
    background: rgba(5, 5, 5, 0.8);
    color: #13E813;
    font-size: 24px;
    opacity: 0.7;
}

.scroll-icon:hover {
    background: #13E813;
    color: #050505;
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-sidebar {
        left: 10px;
        bottom: 10px;
        gap: 10px;
    }

    .floating-sidebar-icon {
        width: 40px;
        height: 40px;
    }

    .whatsapp-icon {
        font-size: 20px;
    }

    .scroll-icon {
        font-size: 20px;
    }
}

/* 3D Job Card Styles */
.job-card-container {
    perspective: 1000px;
}

.job-card {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 232, 19, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 232, 19, 0.1) 0%, rgba(19, 232, 19, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.job-card:hover {
    transform: rotateX(5deg) rotateY(5deg) scale(1.02) translateY(-10px);
    border-color: rgba(19, 232, 19, 0.5);
    box-shadow: 0 20px 40px rgba(19, 232, 19, 0.2);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card-content {
    transform: translateZ(20px);
}

.job-tag {
    background: rgba(19, 232, 19, 0.1);
    color: #13E813;
    border: 1px solid rgba(19, 232, 19, 0.2);
    transition: all 0.3s ease;
}

.job-tag:hover {
    background: rgba(19, 232, 19, 0.2);
    border-color: rgba(19, 232, 19, 0.5);
}

/* Filter Styles */
.filter-select {
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid rgba(19, 232, 19, 0.2);
    color: #F3F3F3;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: #13E813;
    outline: none;
    box-shadow: 0 0 15px rgba(19, 232, 19, 0.2);
}

/* Client Slider Styles */
.client-slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.client-slider-track {
    display: flex;
    gap: 40px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.client-slider-track:hover {
    animation-play-state: paused;
}

.client-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(19, 232, 19, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 240px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.client-card:hover {
    background: rgba(19, 232, 19, 0.1);
    border-color: rgba(19, 232, 19, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.client-initial-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(19, 232, 19, 0.2), rgba(19, 232, 19, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13E813;
    font-weight: bold;
    font-size: 18px;
    border: 1px solid rgba(19, 232, 19, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assuming duplicated content makes it double width, scroll half looks seamless */
}

/* Job Card Logo Styles */
.job-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(19, 232, 19, 0.2), rgba(19, 232, 19, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13E813;
    font-weight: bold;
    font-size: 24px;
    border: 1px solid rgba(19, 232, 19, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

/* 
   MOBILE MENU OVERRIDE: Mimic Desktop View 
   Force header elements to stack: Logo Top Center -> Nav Below Center
*/
@media (max-width: 1024px) {

    /* Main Header Container Flex Adjustment */
    .header-container .max-w-7xl {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* Logo Styling */
    .header-container>div>a {
        margin: 0 auto !important;
        transform: scale(0.9);
        /* Slightly smaller logo */
    }

    /* Force Desktop Nav Visibility */
    .header-container nav.hidden.lg\:flex {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
        /* Smaller gap */
        width: 100%;
    }

    /* Nav Items Sizing */
    .header-container nav .nav-item {
        font-size: 13px !important;
        /* Readable size */
        padding: 5px;
        white-space: nowrap;
    }

    /* Hide Hamburger & Get Started Container */
    .header-container .flex.items-center.gap-4 {
        display: none !important;
    }

    /* Dropdown Interaction for Touch */
    .header-container .group:active .absolute,
    .header-container .group:focus-within .absolute,
    .header-container .group:hover .absolute {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        position: absolute;
        /* Keep absolute positioning */
        left: 50%;
        transform: translateX(-50%) !important;
        /* Center dropdown */
        margin-top: 10px;
    }
}

/* 
   MOBILE FOOTER CENTER OVERRIDE 
   Center all footer content on mobile screens
*/
@media (max-width: 768px) {
    .footer-container {
        text-align: center !important;
    }

    .footer-container .grid {
        text-align: center;
        justify-items: center;
    }

    /* Force flex containers to center justify */
    .footer-container .flex {
        justify-content: center !important;
    }

    /* Fix column flex direction items alignment */
    .footer-container .flex-col {
        align-items: center !important;
    }

    /* Contact items specific alignment */
    .footer-container .contact-item {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Reset text alignments */
    .footer-container .text-left,
    .footer-container .text-right,
    .footer-container .lg\:text-right {
        text-align: center !important;
    }

    /* Ensure icons in headers are centered correctly (override flex-row-reverse if needed or just align) */
    .footer-container .flex-row-reverse {
        flex-direction: row !important;
        /* Reset specific reverses if they look weird, or just let justify-center handle it */
    }
}
/* Globe 3D Styles */
#globe-3d-container {
    cursor: grab;
    z-index: 5;
    transition: transform 0.3s ease;
}

#globe-3d-container:active {
    cursor: grabbing;
}

#globe-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 0 30px rgba(19, 232, 19, 0.2));
}

#globe-3d-container:hover {
    transform: scale(1.05);
}
