/* Responsive Styles for App Development Section */
.talent-hero-section {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

/* Arch Overlay Base Styles */
.arch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.arch-line {
    position: absolute;
    width: 200%;
    left: -50%;
    border-radius: 50%;
    transform-origin: center;
    animation: archPulse 4s ease-in-out infinite;
}

/* Logo Container Styles */
.hero-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    perspective: 1000px;
}

.flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.hero-logo-container:hover .flipper {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back {
    transform: rotateY(180deg);
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
}

/* Content Styles */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
    opacity: 0;
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.hero-title .text-green {
    background: linear-gradient(120deg, #2dc653, #4CAF50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    animation: zoomBounce 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: scale(0.5);
}

.hero-title .text-cyan {
    background: linear-gradient(120deg, #00d457, #03A9F4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    animation: zoomBounce 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(40px) skewY(3deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
        filter: blur(0);
    }
}

@keyframes zoomBounce {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: blur(5px);
    }
    70% {
        transform: scale(0.95);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        /* text-shadow: 0 0 20px rgba(255,255,255,0.3); */
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Platform Badges Styles */
.platform-badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.platform-badge {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
}

.platform-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.platform-badge:hover::before {
    left: 100%;
}

.platform-badge:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 198, 83, 0.5);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15),
        rgba(45, 198, 83, 0.08)
    );
    box-shadow: 
        0 8px 20px 0 rgba(0, 0, 0, 0.25),
        0 0 20px rgba(45, 198, 83, 0.2);
}

.platform-badge i {
    font-size: 1.2rem;
    color: #57ce68;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.platform-badge span {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.platform-badge .framework-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.platform-badges-container .platform-badge:nth-child(1) { animation: floatBadge 3s ease-in-out infinite; }
.platform-badges-container .platform-badge:nth-child(2) { animation: floatBadge 3s ease-in-out infinite 0.2s; }
.platform-badges-container .platform-badge:nth-child(3) { animation: floatBadge 3s ease-in-out infinite 0.4s; }
.platform-badges-container .platform-badge:nth-child(4) { animation: floatBadge 3s ease-in-out infinite 0.6s; }
.platform-badges-container .platform-badge:nth-child(5) { animation: floatBadge 3s ease-in-out infinite 0.8s; }
.platform-badges-container .platform-badge:nth-child(6) { animation: floatBadge 3s ease-in-out infinite 1s; }

/* Modern Tech Edge Section */
.services-section {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.tech-edge-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.tech-edge-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tech-card {
    background: linear-gradient(135deg, rgb(10 24 20 / 90%), rgba(13, 12, 34, 0.7));
    padding: 1.5rem 1.25rem;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 198, 83, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: 0 8px 32px 0 rgba(13, 12, 34, 0.1);
    background-image: radial-gradient(rgba(45, 198, 83, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    background-position: -15px -15px;
    margin: 0 auto;
}

/* First card - Curved top right - Shortest */
.tech-card:nth-child(1) {
    border-radius: 16px 60px 16px 16px;
    width: 85%;
}

/* Second card - Curved bottom left - Medium */
.tech-card:nth-child(2) {
    border-radius: 16px 16px 16px 60px;
    width: 92%;
}

/* Third card - Curved top left and bottom right - Longest */
.tech-card:nth-child(3) {
    border-radius: 60px 16px 60px 16px;
    width: 100%;
}

/* Hover effects unique to each card */
.tech-card:nth-child(1):hover {
    transform: translateY(-5px) rotate(-1deg);
}

.tech-card:nth-child(2):hover {
    transform: translateY(-5px) rotate(1deg);
}

.tech-card:nth-child(3):hover {
    transform: translateY(-5px) scale(1.02);
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(var(--gradient-angle, 45deg), transparent, var(--border-color, #2dc653), transparent);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Unique gradient angles for each card */
.tech-card:nth-child(1) {
    --gradient-angle: 135deg;
    background: linear-gradient(135deg, rgba(6, 21, 11, 0.9), rgba(13, 12, 34, 0.7));
}

.tech-card:nth-child(2) {
    --gradient-angle: 45deg;
    background: linear-gradient(45deg, rgba(6, 21, 11, 0.9), rgba(13, 12, 34, 0.7));
}

.tech-card:nth-child(3) {
    --gradient-angle: 90deg;
    background: linear-gradient(90deg, rgba(6, 21, 11, 0.9), rgba(13, 12, 34, 0.7));
}

.tech-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, 
        rgba(13, 12, 34, 0.9) 0%,
        rgba(45, 198, 83, 0.1) 100%
    );
    border-color: rgba(45, 198, 83, 0.3);
    box-shadow: 0 12px 40px 0 rgba(45, 198, 83, 0.1);
    background-image: radial-gradient(rgba(45, 198, 83, 0.15) 2px, transparent 2px);
    background-size: 30px 30px;
    background-position: -15px -15px;
    animation: moveDots 3s linear infinite;
}

.tech-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 3.25rem;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tech-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-align: center;
}

.tech-card-icon {
    position: relative;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    gap: 1.25rem;
}

.tech-card-icon::before,
.tech-card-icon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: circleRotate 8s linear infinite;
}

.tech-card-icon::before {
    inset: 8px;
    border: 2px dashed rgba(45, 198, 83, 0.3);
    animation-duration: 15s;
}

.tech-card-icon::after {
    inset: 0;
    border: 2px dashed rgba(29, 150, 252, 0.2);
    animation-duration: 20s;
    animation-direction: reverse;
}

.tech-card-icon i {
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
}

/* First Card Icons */
.tech-card:nth-child(1) .tech-card-icon i:first-child {
    background: linear-gradient(135deg, #3DDC84, #2DC653, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.95;
}

.tech-card:nth-child(1) .tech-card-icon i:last-child {
    background: linear-gradient(135deg, #A3AAAE, #8E8E93, #555555);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.95;
}

/* Second Card Icons */
.tech-card:nth-child(2) .tech-card-icon i:first-child {
    background: linear-gradient(135deg, #42A5F5, #2196F3, #0D47A1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tech-card:nth-child(2) .tech-card-icon i:last-child {
    background: linear-gradient(135deg, #61DAFB, #00B0FF, #0091EA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Third Card Icons */
.tech-card:nth-child(3) .tech-card-icon i:first-child {
    background: linear-gradient(135deg, #FF9900, #FFA726, #FB8C00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tech-card:nth-child(3) .tech-card-icon i:last-child {
    background: linear-gradient(135deg, #FFCB2B, #FFA000, #FF6F00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hover Effects */
.tech-card:hover .tech-card-icon i {
    transform: scale(1.12);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
    opacity: 1;
}

/* Individual hover glows */
.tech-card:nth-child(1):hover .tech-card-icon i:first-child {
    filter: drop-shadow(0 0 12px rgba(61, 220, 132, 0.6));
}
.tech-card:nth-child(1):hover .tech-card-icon i:last-child {
    filter: drop-shadow(0 0 12px rgba(163, 170, 174, 0.6));
}
.tech-card:nth-child(2):hover .tech-card-icon i {
    filter: drop-shadow(0 0 12px rgba(33, 150, 243, 0.6));
}
.tech-card:nth-child(3):hover .tech-card-icon i {
    filter: drop-shadow(0 0 12px rgba(255, 153, 0, 0.6));
}

.tech-card:hover .tech-card-icon i {
    transform: scale(1.12);
    filter: drop-shadow(0 0 12px rgba(45, 198, 83, 0.4));
}

@keyframes circleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveDots {
    0% {
        background-position: -15px -15px;
    }
    100% {
        background-position: 15px 15px;
    }
}

.service-heading {
    color: #ffffff;
    font-weight: 600;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .arch-line {
        width: 250%;
        left: -75%;
    }
}

@media (max-width: 992px) {
    .talent-hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .arch-line {
        width: 300%;
        left: -100%;
    }
    
    .services-section {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .arch-line {
        width: 400%;
        left: -150%;
    }
    
    .service-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .talent-hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-logo-container {
        width: 100px;
        height: 100px;
    }
    
    .arch-line {
        width: 500%;
        left: -200%;
    }
    
    .services-section {
        margin-top: 2rem;
    }
    
    .service-heading {
        font-size: 1.2rem;
    }
}

/* Enhanced Arch Line Animations */
.arch-line.line-1 { height: 600px; top: -300px; animation-delay: 0s; }
.arch-line.line-2 { height: 500px; top: -250px; animation-delay: 0.5s; }
.arch-line.line-3 { height: 400px; top: -200px; animation-delay: 1s; }
.arch-line.line-4 { height: 300px; top: -150px; animation-delay: 1.5s; }
.arch-line.line-5 { height: 200px; top: -100px; animation-delay: 2s; }

@keyframes archPulse {
    0% {
        opacity: 0.3;
        transform: scaleX(1) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.05) translateY(-10px);
    }
    100% {
        opacity: 0.3;
        transform: scaleX(1) translateY(0);
    }
}

/* Accent Colors */
.text-green {
    color: #2dc653;
    text-shadow: 0 0 20px rgba(45, 198, 83, 0.3);
}

.text-cyan {
    color: #1e96fc;
    text-shadow: 0 0 20px rgba(30, 150, 252, 0.3);
}


        .store-btn {
            background-color: #ffffff;
            color: #000000;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: background-color 0.3s;
        }

        .store-btn:hover {
            background-color: #e0e0e0;
        }

        .store-btn svg {
            width: 24px;
            height: 24px;
        }

        .visual-assets-container {
            position: relative;
            margin-top: 80px;
            height: 600px; /* Adjust height as needed to contain all elements */
        }

        /* --- Floating UI Elements --- */
        .ui-element {
            position: absolute;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .iphone-mockup {
            width: 320px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }
        
        .iphone-back {
            top: 20px;
            left: calc(50% + 40px);
            transform: translateX(-50%) rotate(5deg);
            z-index: 5;
        }

        .iphone-front {
            top: 40px;
            left: 50%;
            transform: translateX(-50%) rotate(-5deg);
            z-index: 15;
        }
        
        /* Specific UI Elements Positioning */
        .translation-card {
            top: 0;
            left: 15%;
            width: 250px;
            background-color: #1e1e1e;
            border-radius: 18px;
            padding: 20px;
            z-index: 20;
            color: white;
        }
        
        .translation-card .form-check-input {
            width: 48px;
            height: 28px;
            background-color: #4c4c4e;
            border: none;
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/%3e%3c/svg%3e");
        }

        .translation-card .form-check-input:checked {
            background-color: #8b5cf6;
        }
        
        .translation-card img {
            width: 30px;
            border-radius: 50%;
        }

        .voice-input {
            top: 300px;
            left: 5%;
            width: 280px;
            background-color: white;
            padding: 15px;
            border-radius: 50px;
            z-index: 20;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .voice-input .mic-icon {
            background-color: #f0f0f0;
            border-radius: 50%;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chat-bubble {
            padding: 15px 20px;
            border-radius: 25px;
            color: white;
            display: flex;
            align-items: center;
            gap: 15px;
            max-width: 300px;
        }
        
        .chat-bubble img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .bubble-mary {
            top: 450px;
            left: 10%;
            background-color: #1d4ed8;
            border-bottom-left-radius: 5px;
            z-index: 20;
        }
        
        .bubble-jacob {
             top: 50px;
             right: 18%;
             background-color: #a78bfa;
             padding: 10px 20px;
             z-index: 20;
        }
        .bubble-jacob .badge {
            background-color: #1e1b4b;
        }
        
        .bubble-alex {
            top: 150px;
            right: 12%;
            background-color: #7c3aed;
            border-top-right-radius: 5px;
            flex-direction: column;
            align-items: flex-start;
            z-index: 20;
        }

        .new-message-notif {
            bottom: -20px;
            left: 25%;
            background-color: #e9d5ff;
            color: #2e2e2e;
            padding: 8px 18px;
            border-radius: 50px;
            font-weight: 500;
            z-index: 20;
        }

        .speak-card {
            bottom: 30px;
            right: 15%;
            background-color: #1e1e1e;
            border-radius: 18px;
            padding: 20px;
            width: 200px;
            text-align: center;
            color: #777;
            z-index: 20;
        }


        .store-btn {
            background-color: #ffffff;
            color: #000000;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: background-color 0.3s;
        }

        .store-btn:hover {
            background-color: #e0e0e0;
        }

        .store-btn svg {
            width: 24px;
            height: 24px;
        }

        .visual-assets-container {
            position: relative;
            margin-top: 80px;
            height: 600px; /* Adjust height as needed to contain all elements */
        }

        /* --- Floating UI Elements --- */
        .ui-element {
            position: absolute;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .iphone-mockup {
            width: 320px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }
        
        .iphone-back {
            top: 20px;
            left: calc(50% + 40px);
            transform: translateX(-50%) rotate(5deg);
            z-index: 5;
        }

        .iphone-front {
            top: 40px;
            left: 50%;
            transform: translateX(-50%) rotate(-5deg);
            z-index: 15;
        }
        
        /* Specific UI Elements Positioning */
        .translation-card {
            top: 0;
            left: 15%;
            width: 250px;
            background-color: #1e1e1e;
            border-radius: 18px;
            padding: 20px;
            z-index: 20;
            color: white;
        }
        
        .translation-card .form-check-input {
            width: 48px;
            height: 28px;
            background-color: #4c4c4e;
            border: none;
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/%3e%3c/svg%3e");
        }

        .translation-card .form-check-input:checked {
            background-color: #8b5cf6;
        }
        
        .translation-card img {
            width: 30px;
            border-radius: 50%;
        }

        .voice-input {
            top: 300px;
            left: 5%;
            width: 280px;
            background-color: white;
            padding: 15px;
            border-radius: 50px;
            z-index: 20;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .voice-input .mic-icon {
            background-color: #f0f0f0;
            border-radius: 50%;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chat-bubble {
            padding: 15px 20px;
            border-radius: 25px;
            color: white;
            display: flex;
            align-items: center;
            gap: 15px;
            max-width: 300px;
        }
        
        .chat-bubble img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .bubble-mary {
            top: 450px;
            left: 10%;
            background-color: #1d4ed8;
            border-bottom-left-radius: 5px;
            z-index: 20;
        }
        
        .bubble-jacob {
             top: 50px;
             right: 18%;
             background-color: #a78bfa;
             padding: 10px 20px;
             z-index: 20;
        }
        .bubble-jacob .badge {
            background-color: #1e1b4b;
        }
        
        .bubble-alex {
            top: 150px;
            right: 12%;
            background-color: #7c3aed;
            border-top-right-radius: 5px;
            flex-direction: column;
            align-items: flex-start;
            z-index: 20;
        }

        .new-message-notif {
            bottom: -20px;
            left: 25%;
            background-color: #e9d5ff;
            color: #2e2e2e;
            padding: 8px 18px;
            border-radius: 50px;
            font-weight: 500;
            z-index: 20;
        }

        .speak-card {
            bottom: 30px;
            right: 15%;
            background-color: #1e1e1e;
            border-radius: 18px;
            padding: 20px;
            width: 200px;
            text-align: center;
            color: #777;
            z-index: 20;
        }


