/* Modern 3D Website Design */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --dark-bg: #0a0a0a;
    --dark-surface: #111111;
    --dark-surface-2: #1a1a1a;
    --dark-text: #ffffff;
    --dark-text-secondary: #a1a1aa;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --shadow-3d: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.5);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    perspective: 1000px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 3D Background Elements */
.bg-3d-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px;
    animation: float3D 20s infinite linear;
    opacity: 0.1;
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotateX(45deg) rotateY(45deg);
}

.cube-2 {
    top: 60%;
    right: 15%;
    animation-delay: -7s;
    transform: rotateX(-30deg) rotateY(60deg);
}

.cube-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: -14s;
    transform: rotateX(60deg) rotateY(-45deg);
}

.floating-sphere {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    animation: float3D 15s infinite linear reverse;
    opacity: 0.08;
}

.sphere-1 {
    top: 30%;
    right: 25%;
    animation-delay: -5s;
}

.sphere-2 {
    bottom: 40%;
    right: 40%;
    animation-delay: -10s;
}

.floating-cylinder {
    position: absolute;
    width: 30px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    animation: float3D 25s infinite linear;
    opacity: 0.06;
    top: 50%;
    left: 80%;
    animation-delay: -12s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-3d {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Remove underline from clickable logo wrapper */
.logo-3d,
.logo-3d:link,
.logo-3d:visited,
.logo-3d:hover,
.logo-3d:active {
    text-decoration: none;
}

.logo-cube {
    width: 35px;
    height: 35px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateX(15deg) rotateY(15deg);
    box-shadow: var(--shadow-3d);
    transition: all 0.3s ease;
    animation: logoFloat 6s ease-in-out infinite;
    overflow: hidden;
}

.logo-cube:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.1);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-cube:hover .logo-image {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--dark-text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.nav-link:hover .nav-glow {
    opacity: 0.1;
    transform: scale(1);
}

.nav-link:hover .nav-text {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-container {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    position: relative;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.title-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark-text-secondary);
}

.subtitle-highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark-text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    position: relative;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.btn-3d {
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-3d);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn:hover .btn-glow {
    opacity: 0.2;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

/* Tech Orbit */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-cube {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-3d);
    animation: centerRotate 10s linear infinite;
    overflow: hidden;
}

.center-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    animation: orbitRotate 20s linear infinite;
}

.tech-icon-3d {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.tech-icon-3d:hover {
    transform: translateZ(20px) scale(1.2);
    background: var(--gradient-primary);
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    filter: blur(10px);
}

.tech-icon-3d:hover .icon-glow {
    opacity: 0.6;
}

.icon-1 { top: 0; left: 50%; transform: translateX(-50%); }
.icon-2 { top: 25%; right: 0; transform: translateY(-50%); }
.icon-3 { bottom: 25%; right: 0; transform: translateY(50%); }
.icon-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.icon-5 { bottom: 25%; left: 0; transform: translateY(50%); }
.icon-6 { top: 25%; left: 0; transform: translateY(-50%); }

/* Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; right: 30%; animation-delay: -2s; }
.particle:nth-child(3) { bottom: 30%; left: 40%; animation-delay: -4s; }
.particle:nth-child(4) { top: 60%; left: 60%; animation-delay: -6s; }
.particle:nth-child(5) { bottom: 20%; right: 20%; animation-delay: -8s; }

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.title-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--dark-surface);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--dark-text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--dark-text-secondary);
    font-size: 1.1rem;
}

.values-list i {
    color: var(--success-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.stat-item:hover {
    transform: translateY(-10px) rotateX(10deg);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-3d);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-text-secondary);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background: var(--dark-bg);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card-3d {
    position: relative;
    width: 100%;
    height: 300px;
    transform-style: preserve-3d;
    transition: all 0.6s ease;
    cursor: pointer;
}

/* Removed automatic hover flip - now controlled by JavaScript click events */

/* Flipped state for service cards */
.service-card-3d.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backface-visibility: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.card-face.back {
    transform: rotateY(180deg);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

.service-icon-3d {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    transform: translateZ(20px);
    box-shadow: var(--shadow-3d);
}

.icon-aura {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0;
    transition: all 0.3s ease;
    filter: blur(20px);
}

.service-icon-3d:hover .icon-aura {
    opacity: 0.3;
}

.card-face h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.card-face p {
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

.card-face.back h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-face.back ul {
    list-style: none;
    text-align: left;
}

.card-face.back li {
    color: var(--dark-text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.card-face.back li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    filter: blur(20px);
}

/* Card glow effect - controlled by hover and flipped state */
.service-card-3d:hover .card-glow {
    opacity: 0.1;
}

.service-card-3d.flipped .card-glow {
    opacity: 0.1;
}

/* Team Section */
.team {
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.team-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.team-member:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
    border-color: var(--primary-color);
}

.team-member:hover::before {
    opacity: 0.05;
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.team-photo-container {
    flex-shrink: 0;
    position: relative;
    transform-style: preserve-3d;
}

.team-photo-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-3d);
    transform: rotateX(15deg) rotateY(15deg);
}

.team-member:hover .team-photo-wrapper {
    transform: rotateX(0deg) rotateY(0deg) scale(1.1);
    border-color: var(--primary-color);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
}

.team-photo-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateZ(20px);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateZ(30px) scale(1.2);
    box-shadow: var(--shadow-3d);
}

.team-info {
    flex: 1;
}

.team-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.team-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-text-secondary);
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background: var(--dark-bg);
    position: relative;
}

.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.contact-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
}

.contact-card:hover::before {
    opacity: 0.05;
}

.contact-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: var(--shadow-3d);
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-large {
    transform: translateZ(30px) scale(1.1);
}

.contact-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.contact-description {
    color: var(--dark-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.contact-email {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateZ(20px);
    box-shadow: var(--shadow-3d);
}

.email-link:hover {
    transform: translateY(-5px) translateZ(30px) scale(1.05);
    box-shadow: var(--shadow-3d);
}

.contact-features {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-surface);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    gap: 0.5rem;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dark-text-secondary);
    position: relative;
    z-index: 1;
}

.developer-credit {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.developer-credit a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.developer-credit a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.developer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.developer-credit a:hover::after {
    width: 100%;
}

/* Animations */
@keyframes float3D {
    0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-20px) rotateX(90deg) rotateY(90deg); }
    50% { transform: translateY(-40px) rotateX(180deg) rotateY(180deg); }
    75% { transform: translateY(-20px) rotateX(270deg) rotateY(270deg); }
    100% { transform: translateY(0px) rotateX(360deg) rotateY(360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: rotateX(15deg) rotateY(15deg) translateY(0px); }
    50% { transform: rotateX(0deg) rotateY(0deg) translateY(-10px); }
}

@keyframes centerRotate {
    from { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateZ(360deg); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 6rem; /* Add top padding to account for fixed navbar */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2rem;
        position: relative;
        z-index: 10;
    }

    .hero-text-container {
        order: 1;
        position: relative;
        z-index: 10;
    }

    .hero-visual {
        order: 2;
        margin-top: 2rem;
        position: relative;
        z-index: 5;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .team-photo-wrapper {
        width: 150px;
        height: 150px;
    }

    .team-name {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .tech-orbit {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .center-cube {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .tech-icon-3d {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Reduce particle animation intensity on mobile */
    .hero-particles {
        opacity: 0.3;
    }

    .particle {
        width: 2px;
        height: 2px;
    }

    .contact-features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-item {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

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

    .team-photo-wrapper {
        width: 120px;
        height: 120px;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-title {
        font-size: 1rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-card h3 {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
    }

    /* Additional mobile fixes for hero section */
    .hero {
        min-height: auto;
        padding: 6rem 0 2rem 0; /* Add top padding to account for fixed navbar */
    }

    .btn {
        position: relative;
        z-index: 15;
        min-width: 140px;
        justify-content: center;
    }

    /* Ensure hero content is above animations */
    .hero-content {
        position: relative;
        z-index: 10;
    }

    /* Reduce animation intensity further on smaller screens */
    .floating-cube,
    .floating-sphere,
    .floating-cylinder {
        opacity: 0.03;
        transform: scale(0.7);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation for better UX */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ========================================
   CAREERS PREVIEW SECTION (HOME PAGE)
======================================== */

.careers-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.careers-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.careers-preview-content {
    position: relative;
    z-index: 2;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.career-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.career-card:hover::before {
    opacity: 1;
}

.career-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.career-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 2;
}

.career-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.career-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 8px;
}

.benefits li i {
    color: var(--accent-color);
    font-size: 12px;
}

.careers-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.careers-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.careers-cta:hover::before {
    opacity: 1;
}

.careers-cta h3 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.careers-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* ========================================
   CAREERS PREVIEW SECTION (HOME PAGE)
======================================== */

.careers-preview {
    padding: 100px 0;
    background: var(--dark-bg);
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.careers-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.careers-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.careers-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin: 0;
}

.title-line {
    display: block;
}

.careers-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.careers-body {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.join-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* ========================================
   MODERN CAREERS PAGE STYLES
======================================== */

/* Careers Hero Section */
.careers-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Global variant fixed behind the entire page */
.global-hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* first in DOM, content paints above */
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

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

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

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

.shape-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    right: 20%;
    animation-delay: -20s;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    animation: slideInDown 1s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideInUp 1s ease-out 0.2s both;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: slideInUp 1s ease-out 0.8s both;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotateY(10deg);
}

.icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0;
    transition: all 0.3s ease;
    filter: blur(20px);
}

.benefit-card:hover .icon-glow {
    opacity: 0.3;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.benefit-highlight {
    position: relative;
    z-index: 2;
}

.highlight-text {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Positions Section */
.positions-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.positions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.positions-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.position-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-5px) rotateX(2deg);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.position-card:hover::before {
    opacity: 1;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.position-type {
    display: flex;
    gap: 0.5rem;
}

.type-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.frontend {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.type-badge.backend {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.type-badge.design {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.type-badge.devops {
    background: rgba(139, 92, 246, 0.2);
    color: var(--secondary-color);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.type-badge.fullstack {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.type-badge.data {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.position-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.position-info {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.position-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.position-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.position-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    color: white;
}

.position-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.apply-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.details-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.career-form {
    padding: 0 30px 30px;
}

/* Modern Animations */
@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 1; }
    50% { transform: translateY(-40px) rotate(180deg); opacity: 0.8; }
    75% { transform: translateY(-20px) rotate(270deg); opacity: 1; }
    100% { transform: translateY(0px) rotate(360deg); opacity: 0.6; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes underlineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

/* AOS Animation Classes */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .careers-hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .position-card {
        padding: 1.5rem;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .position-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .position-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .apply-btn,
    .details-btn {
        width: 100%;
    }
    
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .modal-header,
    .career-form {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Careers Preview Section Mobile */
    .careers-preview {
        padding: 80px 0;
    }
    
    .careers-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .careers-left {
        gap: 1.5rem;
    }
    
    .careers-right {
        gap: 1.5rem;
        align-items: center;
    }
    
    .careers-title {
        font-size: 2.5rem;
    }
    
    .careers-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .careers-body {
        font-size: 1rem;
        text-align: center;
    }
    
    .join-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        align-self: center;
    }
}

/* ===============================
   Success Popup
=============================== */
.success-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.success-popup {
    background: var(--dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    max-width: 420px;
    width: calc(100% - 40px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.success-popup h4 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #fff;
}

.success-popup p {
    margin: 0 0 18px 0;
    color: rgba(255,255,255,0.85);
}

.success-popup .popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.success-popup .btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.success-popup .btn-secondary {
    background: transparent;
    color: rgba(255,255,255,0.9);
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

@media (max-width: 480px) {
    .careers-preview,
    .careers-hero,
    .benefits-section,
    .positions-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .position {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
}
    overflow: hidden;
}

.careers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.careers-intro {
    position: sticky;
    top: 100px;
}

.careers-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.careers-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.careers-card:hover::before {
    opacity: 1;
}

.careers-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.careers-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 2;
}

.careers-card h3 {
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.careers-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.benefit-item i {
    color: var(--accent-color);
    font-size: 18px;
}

/* Application Form Styles */
.application-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.application-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.application-form-container:hover::before {
    opacity: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.form-header h3 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.career-form {
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
}

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

.form-group select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-help {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 5px;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    cursor: pointer;
    padding: 10px 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-link,
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover,
.privacy-link:hover {
    color: var(--accent-color);
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.submit-btn,
.reset-btn {
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.reset-btn:hover {
    transform: translateY(-2px);
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: var(--accent-color);
}

/* Success Message */
.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-color);
    font-weight: 500;
}

/* Error Message */
.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    color: #ef4444;
    font-weight: 500;
}

/* Loading State */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-loading .submit-btn {
    background: rgba(99, 102, 241, 0.5);
}

/* Responsive Design for Careers Section */
@media (max-width: 1024px) {
    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .careers-intro {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .careers {
        padding: 60px 0;
    }
    
    .careers-card,
    .application-form-container {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 28px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .careers-card,
    .application-form-container {
        padding: 20px 15px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Hide scrollbar on mobile devices */
@media (max-width: 768px) {
    /* Hide scrollbar for webkit browsers */
    ::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }
    
    /* Hide scrollbar for Firefox */
    html {
        scrollbar-width: none;
    }
    
    /* Hide scrollbar for IE and Edge */
    body {
        -ms-overflow-style: none;
    }
    
    /* Ensure scrolling still works */
    body {
        overflow-y: scroll;
    }
}