/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f6df5;
    --secondary: #7b64ff;
    --accent: #ff7eb5;
    --dark: #2d3748;
    --darker: #1a202c;
    --light: #f8fafc;
    --lighter: #ffffff;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --text-dark: #1a202c;
    --text-bold: #000000;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--lighter);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--text-bold);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 109, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) rotateX(5deg) scale(1.05);
    box-shadow: 0 15px 35px rgba(79, 109, 245, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px) rotateX(3deg) scale(1.03);
    box-shadow: 0 10px 25px rgba(79, 109, 245, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 50px;
}

.sitename {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-bold);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover:after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 109, 245, 0.3);
}

.cta-btn:after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-bold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--text-bold);
    padding-top: 80px;
    perspective: 2000px;
    transform-style: preserve-3d;
    animation: heroBackgroundShift 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    transform-style: preserve-3d;
    animation: heroFloat 8s ease-in-out infinite, heroPulse 4s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 900;
    transform: translateZ(80px);
    animation: titleGlow 3s ease-in-out infinite alternate, titleRotate 10s linear infinite;
    text-shadow: 0 0 30px rgba(79, 109, 245, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    transform: translateZ(30px);
    perspective: 1000px;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 600;
    color: var(--text-dark);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 109, 245, 0.1), rgba(123, 100, 255, 0.1));
    animation: float3D 20s infinite linear, floatingPulse 4s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 0 30px rgba(79, 109, 245, 0.1);
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: -100px;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 70%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

@keyframes float3D {
    0% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    25% {
        transform: translateY(-50px) rotateX(90deg) rotateY(90deg) rotateZ(90deg);
    }

    50% {
        transform: translateY(-100px) rotateX(180deg) rotateY(180deg) rotateZ(180deg);
    }

    75% {
        transform: translateY(-50px) rotateX(270deg) rotateY(270deg) rotateZ(270deg);
    }

    100% {
        transform: translateY(0) rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-10px) rotateX(2deg);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(79, 109, 245, 0.3);
        transform: translateZ(50px) scale(1);
    }

    100% {
        text-shadow: 0 0 30px rgba(79, 109, 245, 0.5);
        transform: translateZ(60px) scale(1.02);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: translateZ(20px) scale(1);
        box-shadow: 0 5px 15px rgba(79, 109, 245, 0.3);
    }

    50% {
        transform: translateZ(25px) scale(1.05);
        box-shadow: 0 8px 25px rgba(79, 109, 245, 0.4);
    }
}

@keyframes heroBackgroundShift {

    0%,
    100% {
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    }

    25% {
        background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    }

    50% {
        background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    }

    75% {
        background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    }
}

@keyframes heroPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes titleRotate {
    0% {
        transform: translateZ(80px) rotateY(0deg);
    }

    25% {
        transform: translateZ(80px) rotateY(2deg);
    }

    50% {
        transform: translateZ(80px) rotateY(0deg);
    }

    75% {
        transform: translateZ(80px) rotateY(-2deg);
    }

    100% {
        transform: translateZ(80px) rotateY(0deg);
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-5px) rotateX(1deg);
    }
}

@keyframes teamCardFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateY(-3px) rotateX(1deg) rotateY(0.5deg);
    }

    50% {
        transform: translateY(-6px) rotateX(0deg) rotateY(0deg);
    }

    75% {
        transform: translateY(-3px) rotateX(-1deg) rotateY(-0.5deg);
    }
}

@keyframes floatingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 5px;
}

.feature-text h4 {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--text-bold);
}

.feature-text p {
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Services Section */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-20px) rotateX(8deg) rotateY(8deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    animation-play-state: paused;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 109, 245, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transform: translateZ(20px);
    transition: all 0.3s ease;
    animation: iconPulse 3s ease-in-out infinite;
}

.service-card h3 {
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--text-bold);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--gray);
    font-weight: 500;
}

.service-card ul {
    margin-bottom: 25px;
    padding-left: 20px;
    flex-grow: 1;
}

.service-card li {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 10px;
    color: var(--secondary);
}

/* Solutions Section */
.tab-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.solution-image {
    border-radius: 12px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-image:hover img {
    transform: scale(1.05);
}

.solution-text h3 {
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-bold);
}

.solution-text p {
    margin-bottom: 25px;
    color: var(--gray);
    font-weight: 500;
}

.solution-text ul {
    margin-bottom: 30px;
}

.solution-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.solution-text li i {
    color: var(--primary);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info h3 {
    color: white;
    margin-bottom: 5px;
    font-weight: 800;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.portfolio-links {
    display: flex;
    gap: 15px;
}

.portfolio-links a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Team Section */
.team {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: teamCardFloat 8s ease-in-out infinite;
    position: relative;
}

.team-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    animation-play-state: paused;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(79, 109, 245, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.team-card:hover::after {
    opacity: 1;
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
}

.team-position {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.team-description {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-skills span {
    padding: 6px 12px;
    background: var(--light);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    position: relative;
    margin-bottom: 30px;
}

.testimonial-text i {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-text p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-weight: 800;
    color: var(--text-bold);
}

.author-info p {
    color: var(--gray);
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stars {
    color: #FFD700;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn.active,
.testimonial-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-weight: 800;
    color: var(--text-bold);
}

.contact-details p {
    color: var(--gray);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 109, 245, 0.1);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:not([value=""])+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: white;
    padding: 0 5px;
    color: var(--primary);
    font-weight: 600;
}

.form-group select option[value=""][disabled] {
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-label {
    position: static;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit.loading .btn-loader {
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Careers Section Styles */
.careers {
    background-color: var(--light);
    padding: 100px 0;
}

.careers-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.careers-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.open-positions h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-bold);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.position-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.position-header h4 {
    font-size: 1.3rem;
    color: var(--text-bold);
    margin: 0;
}

.position-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.position-badge.full-time {
    background: rgba(79, 109, 245, 0.1);
    color: var(--primary);
}

.position-details {
    margin-bottom: 20px;
}

.position-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.position-details i {
    color: var(--primary);
    width: 16px;
}

.position-description {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Benefits Section */
.careers-benefits {
    margin: 60px 0;
    padding: 60px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.careers-benefits h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-bold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.benefit-item h4 {
    margin-bottom: 10px;
    color: var(--text-bold);
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Careers CTA */
.careers-cta {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

.careers-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-bold);
}

.careers-cta p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Application Form Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.application-form {
    background: white;
    border-radius: 20px;
    padding: 50px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.application-form h3 {
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-bold);
    font-size: 2rem;
}

.application-form h3 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
}

.close-modal:hover {
    color: var(--primary);
    background: var(--gray-light);
    transform: rotate(90deg);
}

.file-upload {
    display: block;
    position: relative;
    width: 100%;
    padding: 15px;
    border: 2px dashed var(--primary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(79, 109, 245, 0.02), rgba(123, 100, 255, 0.02));
}


.form-group .file-upload {
    margin-bottom: 5px;
}


.file-upload:hover {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(79, 109, 245, 0.08), rgba(123, 100, 255, 0.08));
    transform: translateY(-2px);
}

.help-text {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

.form-group.error .file-upload {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.form-group.success .file-upload {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
}

.form-actions .btn-secondary {
    background: var(--gray-light);
    color: var(--text-dark);
    border: none;
}

.form-actions .btn-secondary:hover {
    background: var(--gray);
    color: white;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    text-align: center;
    padding: 0 20px;
}

.file-label i {
    font-size: 1.5rem;
}

.file-preview {
    margin-top: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.file-preview.show {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 100px;
    }
}

.file-preview i {
    font-size: 2rem;
    color: var(--primary);
}

.file-preview-info {
    flex: 1;
}

.file-preview-name {
    font-weight: 700;
    color: var(--text-bold);
    margin-bottom: 4px;
}

.file-preview-size {
    font-size: 0.85rem;
    color: var(--gray);
}

.file-preview-remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.file-preview-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

/* Success Message Styles */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    border-left: 5px solid #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message i {
    font-size: 2rem;
    color: #28a745;
}

.success-message strong {
    color: #0f5132;
    font-weight: 800;
}

.form-feedback {
    margin-top: 20px;
}

.error-alert {
    background: linear-gradient(135deg, #f8d7da, #f1aeb5);
    color: #721c24;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.error-alert i {
    font-size: 2rem;
    color: #dc3545;
}

/* Responsive Styles for Careers Section */
@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .careers-benefits {
        padding: 30px 20px;
    }

    .careers-cta {
        padding: 30px 20px;
    }

    .application-form {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .application-form h3 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .close-modal {
        top: 15px;
        right: 15px;
    }
}

/* Footer */
.footer {
    background: var(--darker);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-copyright p {
    color: white !important;
    font-weight: bold !important;
    margin: 0;
    padding: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 3s infinite linear;
    margin: 0 auto 20px;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(79, 109, 245, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.cube-front {
    transform: translateZ(30px);
}

.cube-back {
    transform: translateZ(-30px) rotateY(180deg);
}

.cube-right {
    transform: translateX(30px) rotateY(90deg);
}

.cube-left {
    transform: translateX(-30px) rotateY(-90deg);
}

.cube-top {
    transform: translateY(-30px) rotateX(90deg);
}

.cube-bottom {
    transform: translateY(30px) rotateX(-90deg);
}

@keyframes rotate-cube {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.loader p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .solution-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .portfolio-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .service-card,
    .contact-form {
        padding: 20px;
    }

    .testimonial-item {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* AOS Animation Adjustments */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Additional CSS for JavaScript functionality */

/* No scroll when menu is open */
body.no-scroll,
body.modal-open {
    overflow: hidden;
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
}

.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #ef4444;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Portfolio filter animation */
.portfolio-item {
    transition: all 0.3s ease;
}

.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
}

/* Loading animation for buttons */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit.loading .btn-loader {
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* AOS animation delays for staggered effects */
[data-aos-delay] {
    transition-delay: 0;
}

[data-aos-delay="100"] {
    transition-delay: 100ms;
}

[data-aos-delay="200"] {
    transition-delay: 200ms;
}

[data-aos-delay="300"] {
    transition-delay: 300ms;
}

[data-aos-delay="400"] {
    transition-delay: 400ms;
}

[data-aos-delay="500"] {
    transition-delay: 500ms;
}

/* Hero button initial state */
.hero-buttons .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Testimonial slider transitions */
.testimonial-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Service card hover enhancements */
.service-card {
    transition: all 0.3s ease;
}

/* Mobile menu transitions */
.nav-menu {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        transform: translateX(-100%);
    }

    .nav-menu.active {
        transform: translateX(0);
    }
}

/* Back to top button transition */
.back-to-top {
    transition: all 0.3s ease;
}