/* Modern Dark Executive Recruitment Website CSS */

:root {
    --dark: #0a0a0a;
    --darker: #050505;
    --accent: #a855f7;
    --accent-light: #c084fc;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --orange: #f97316;
    --cyan: #06b6d4;
    --green: #10b981;
    --blue: #3b82f6;
    --text-white: #ffffff;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--dark);
}

html, body {
    overflow-x: clip;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-space-grotesk {
    font-family: 'Space Grotesk', monospace;
}

.bg-dark {
    background-color: var(--dark);
}

.bg-darker {
    background-color: var(--darker);
}

.text-accent {
    color: var(--accent);
}

/* Animated Background Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--purple), var(--pink));
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 10%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-50px) rotate(90deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
    75% {
        transform: translateY(-50px) rotate(270deg);
    }
}

/* Navigation */
.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Services Section */
.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, var(--purple), var(--pink));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

.featured-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--purple), var(--pink));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, var(--purple), var(--pink));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', monospace;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 14px;
}

.service-features i {
    color: var(--green);
    font-size: 16px;
}

.service-cta {
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-gradient {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    color: white;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

/* Process Section */
.process-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', monospace;
    margin-bottom: 16px;
}

.process-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.process-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, var(--purple)/80, var(--pink)/80);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-image:hover .process-overlay {
    opacity: 1;
}

.process-image:hover img {
    transform: scale(1.1);
}

/* Portfolio Section */
.portfolio-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, var(--dark)/90, var(--darker)/90);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    text-align: center;
    color: white;
}

.portfolio-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-light);
}

.portfolio-content {
    padding: 32px;
}

.portfolio-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', monospace;
}

.portfolio-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    background: linear-gradient(90deg, var(--purple)/20, var(--pink)/20);
    border: 1px solid var(--purple)/30;
    color: var(--accent-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Team Section */
.team-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, var(--purple)/90, var(--pink)/90);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    display: flex;
    gap: 16px;
}

.team-social a {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', monospace;
}

.team-role {
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.team-experience {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.team-specialties span {
    background: linear-gradient(90deg, var(--purple)/20, var(--pink)/20);
    border: 1px solid var(--purple)/30;
    color: var(--accent-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-swiper {
    padding-bottom: 60px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    height: auto;
    margin: 0 12px;
}

.quote-mark {
    font-size: 4rem;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    font-family: 'Space Grotesk', monospace;
}

.author-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.rating i {
    color: #fbbf24;
    font-size: 14px;
}

/* Swiper Custom Styles */
.testimonials-swiper .swiper-pagination-bullet {
    background: var(--accent);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(90deg, var(--purple), var(--pink));
}

/* Contact Section */
.contact-form-container {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 20px;
    }

    .text-6xl {
        font-size: 3rem;
    }

    .text-8xl {
        font-size: 4rem;
    }

    .process-number {
        font-size: 3rem;
    }

    .grid.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .grid.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }

    .text-6xl {
        font-size: 2.5rem;
    }

    .text-8xl {
        font-size: 3rem;
    }

    .service-card,
    .portfolio-card,
    .team-card,
    .testimonial-card,
    .contact-form-container {
        margin: 0 10px;
    }

    .process-number {
        font-size: 2.5rem;
    }

    .portfolio-image,
    .team-image {
        height: 200px;
    }

    .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flex.lg\\:flex-row {
        flex-direction: column;
    }

    .flex.lg\\:flex-row-reverse {
        flex-direction: column;
    }

    .lg\\:w-1\\/2 {
    width: 100%;
}

    .lg\\:text-right {
        text-align: left;
    }

    .lg\\:text-left {
        text-align: left;
    }

    .space-y-32 > * + * {
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .py-32 {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .px-6 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .service-card,
    .portfolio-card,
    .team-card,
    .testimonial-card,
    .contact-form-container {
        padding: 24px;
        margin: 0 5px;
    }

    .text-xl {
        font-size: 18px;
    }

    .text-2xl {
        font-size: 20px;
    }

    .process-image,
    .portfolio-image,
    .team-image {
        height: 180px;
    }

    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gap-8 {
        gap: 16px;
    }

    .gap-12 {
        gap: 20px;
    }

    .gap-16 {
        gap: 24px;
    }

    .gap-20 {
        gap: 30px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--purple), var(--pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--purple), var(--orange));
}

/* Selection Color */
::selection {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    color: white;
}

/* Loading Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

/* Enhanced Button Styles */
.btn-primary-modern {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary-modern:hover::before {
    left: 100%;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

/* Enhanced Card Animations */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: rotateX(5deg) rotateY(5deg) translateZ(20px);
}

/* Particle Animation */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Advanced Grid Layouts */
.masonry-grid {
    columns: 3;
    column-gap: 24px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .masonry-grid {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        columns: 1;
    }
}

/* Enhanced Typography */
.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--orange), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

.smooth-transform {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-shapes .shape {
        animation: none;
    }
}

/* Focus States for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .floating-shapes,
    .particles,
    .shape {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .service-card,
    .portfolio-card,
    .team-card,
    .testimonial-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
