/* 
 * Appinity - Main Stylesheet
 * Digital Product Development Company
 */

/* Base Styles */
:root {
    --primary: #3c65ff;
    --primary-dark: #2a4cd8;
    --secondary: #1c1c1c;
    --accent: #11d192;
    --accent-android: #3ddc84; /* Android green */
    --accent-ios: #007aff; /* iOS blue */
    --text: #333333;
    --text-light: #767676;
    --light-bg: #f7f9fc;
    --white: #ffffff;
    --border: #e6e6e6;
    --gradient-primary: linear-gradient(45deg, #3c65ff, #6e52ff);
    --gradient-accent: linear-gradient(45deg, #11d192, #1fe9a1);
    --gradient-android: linear-gradient(45deg, #3ddc84, #32b86c);
    --gradient-ios: linear-gradient(45deg, #007aff, #5ac8fa);
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(60, 101, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(60, 101, 255, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(60, 101, 255, 0.05);
    color: var(--primary);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(17, 209, 146, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 6px 16px rgba(17, 209, 146, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-title p {
    max-width: 650px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
}

.logo-img {
    height: 30px; 
    width: auto; 
    margin-right: 8px; 
    vertical-align: middle; 
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    margin: 0 15px;
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover:after, 
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 220, 132, 0.1) 0%, rgba(61, 220, 132, 0) 70%);
    z-index: 1;
}

.hero:after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 101, 255, 0.08) 0%, rgba(60, 101, 255, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    gap: 8px;
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--accent-android);
    position: relative;
    display: inline-block;
}

.hero-title .highlight:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(61, 220, 132, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature i {
    color: var(--accent-android);
    font-size: 1.1rem;
}

.hero-feature span {
    font-weight: 500;
    color: var(--text);
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-brands {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-brands p {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.brands-logos {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.brands-logos img {
    height: 30px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brands-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Hero Right Side - Phones & Elements */
.hero-image-container {
    position: relative;
    height: 560px;
    width: 100%;
    z-index: 2;
}

.hero-phone {
    position: absolute;
    transition: var(--transition);
}

.hero-phone-main {
    top: 0;
    right: 30px;
    z-index: 3;
    transform: rotate(5deg);
}

.hero-phone-back {
    top: 60px;
    left: 30px;
    z-index: 2;
    transform: rotate(-8deg) scale(0.9);
    opacity: 0.9;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--secondary);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 35px;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: var(--secondary);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 4;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    box-shadow: var(--shadow);
    z-index: 4;
    gap: 15px;
    animation: float 5s ease-in-out infinite;
}

.card-1 {
    top: 80px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 100px;
    right: 20px;
    animation-delay: 1.5s;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-2 .card-icon {
    background: rgba(60, 101, 255, 0.1);
    color: var(--primary);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.floating-element {
    position: absolute;
    z-index: 4;
    animation: float 6s ease-in-out infinite;
}

.android-logo {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-android);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(61, 220, 132, 0.3);
    animation-delay: 2s;
}

/* Background Elements */
.blob {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
    opacity: 0.5;
}

.blob-1 {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(61, 220, 132, 0.3);
}

.blob-2 {
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(60, 101, 255, 0.2);
}

.circle-dots {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    background-color: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
    transition: var(--transition);
}

.featured-service {
    border: 2px solid rgba(61, 220, 132, 0.3);
    background: linear-gradient(145deg, #ffffff, #f9fffe);
}

.featured-service:before {
    background: var(--gradient-android);
    height: 8px;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-android);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(61, 220, 132, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: rotate(-5deg);
}

.featured-service .service-icon {
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
    transform: rotate(-8deg);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(0deg);
}

.featured-service:hover .service-icon {
    background: var(--accent-android);
    color: var(--white);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.featured-service .service-title {
    font-size: 1.6rem;
    color: var(--secondary);
}

.service-desc {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-badge {
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--accent-android);
    color: var(--white);
    transform: translateY(-2px);
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 0;
    position: relative;
}

.service-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.featured-service .service-link:after {
    background: var(--accent-android);
}

.service-link:hover:after {
    width: 100%;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-android);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-left: 45px;
}

.section-subtitle:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--accent-android);
    transform: translateY(-50%);
}

.animated-heading {
    font-size: clamp(2.2rem, 4vw, 3rem);
    background: linear-gradient(45deg, var(--accent-android), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
}

.animated-bar {
    width: 80px;
    height: 4px;
    background: var(--gradient-android);
    margin-bottom: 2rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.animated-bar:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.about-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.about-card:hover .about-card-icon {
    background: var(--accent-android);
    color: var(--white);
    transform: rotate(10deg);
}

.about-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.about-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.tech-showcase {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.tech-showcase h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.tech-showcase h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-android);
    border-radius: 3px;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(16.666% - 15px);
}

.tech-icon-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.tech-icon:hover .tech-icon-img {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.tech-icon span {
    font-size: 0.85rem;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-image-container {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    z-index: 2;
}

.main-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    background: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.badge-top {
    top: -20px;
    right: -20px;
    color: var(--accent-android);
}

.badge-top i {
    font-size: 1.2rem;
    color: var(--accent-android);
}

.badge-bottom {
    bottom: -15px;
    left: 30px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    color: var(--primary);
    line-height: 1.2;
}

.experience-count {
    position: absolute;
    right: -30px;
    bottom: 60px;
    background: var(--accent-android);
    color: var(--white);
    border-radius: var(--radius);
    padding: 15px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.count {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.count-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.shape-1 {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(-45deg, rgba(61, 220, 132, 0.15), rgba(61, 220, 132, 0));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: morphShape 8s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, rgba(60, 101, 255, 0.15), rgba(60, 101, 255, 0));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: morphShape 10s ease-in-out infinite reverse;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        border-radius: 30% 70% 70% 30% / 70% 30% 70% 30%;
    }
    75% {
        border-radius: 70% 30% 30% 70% / 30% 70% 30% 70%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Process Section */
.process {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.process:before {
    content: "";
    position: absolute;
    right: -200px;
    top: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 220, 132, 0.05) 0%, rgba(61, 220, 132, 0) 70%);
    z-index: 0;
}

.process:after {
    content: "";
    position: absolute;
    left: -200px;
    bottom: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 101, 255, 0.05) 0%, rgba(60, 101, 255, 0) 70%);
    z-index: 0;
}

.process-container {
    position: relative;
    z-index: 1;
}

.process-timeline {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 200px);
    background: linear-gradient(to bottom, var(--primary) 0%, var(--accent-android) 100%);
    border-radius: 4px;
}

.process-cards {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 30px 0;
}

.process-card {
    width: 100%;
    position: relative;
}

.process-card:nth-child(odd) .process-card-inner {
    margin-right: 50%;
    padding-right: 50px;
    text-align: right;
}

.process-card:nth-child(even) .process-card-inner {
    margin-left: 50%;
    padding-left: 50px;
}

.process-card:before {
    content: "";
    position: absolute;
    top: 50px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 0 5px rgba(60, 101, 255, 0.2);
}

.process-card:after {
    content: "";
    position: absolute;
    top: 60px;
    width: 50px;
    height: 2px;
    background: var(--primary);
    z-index: 2;
}

.process-card:nth-child(odd):after {
    right: 50%;
}

.process-card:nth-child(even):after {
    left: 50%;
}

.featured-card:before {
    border-color: var(--accent-android);
    box-shadow: 0 0 0 5px rgba(61, 220, 132, 0.2);
    width: 24px;
    height: 24px;
}

.featured-card:after {
    background: var(--accent-android);
    height: 3px;
}

.process-card-inner {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    max-width: 550px;
}

.featured-card .process-card-inner {
    background: linear-gradient(145deg, #ffffff, #f9fffe);
    border: 2px solid rgba(61, 220, 132, 0.2);
    box-shadow: 0 10px 30px rgba(61, 220, 132, 0.1);
}

.process-card:hover .process-card-inner {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.process-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-card:nth-child(odd) .process-icon {
    order: 2;
    margin-right: 0;
    margin-left: 20px;
}

.featured-card .process-icon {
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
}

.process-card:hover .process-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.featured-card:hover .process-icon {
    background: var(--accent-android);
}

.process-content {
    flex: 1;
}

.process-card:nth-child(odd) .process-content {
    text-align: right;
}

.step-badge {
    display: inline-block;
    background: rgba(60, 101, 255, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.step-badge.accent {
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-android);
}

.process-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.featured-card .process-content h3 {
    font-size: 1.6rem;
    color: var(--accent-android);
}

.process-features {
    list-style: none;
    margin-top: 15px;
}

.process-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-card:nth-child(odd) .process-features li {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.process-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.featured-card .process-features li i {
    color: var(--accent-android);
}

.tech-stack-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.process-card:nth-child(odd) .tech-stack-horizontal {
    justify-content: flex-end;
}

/* Projects Section */
.projects {
    background-color: var(--light-bg);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-category {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-block;
}

.project-desc {
    margin-bottom: 20px;
}

/* Testimonial Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-card:before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(60, 101, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-company {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-content {
    padding: 20px;
    text-align: center;
}

.member-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-block;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Call to Action */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta:before, 
.cta:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.cta:before {
    top: -100px;
    left: -100px;
}

.cta:after {
    bottom: -100px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.locations {
    margin-top: 2rem;
}

.locations h4 {
    margin-bottom: 1rem;
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-badge {
    background: var(--light-bg);
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.location-badge:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-form {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(60, 101, 255, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--white);
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Contact Form Styles */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--radius);
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(17, 209, 146, 0.1);
    color: var(--accent);
    border: 1px solid rgba(17, 209, 146, 0.3);
}

.form-status.error {
    display: block;
    background-color: rgba(255, 76, 76, 0.1);
    color: #ff4c4c;
    border: 1px solid rgba(255, 76, 76, 0.3);
}

/* Blog Section */
.blog {
    background-color: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-desc {
    margin-bottom: 20px;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--light-bg);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--light-bg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question.active + .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-link a i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.footer-link a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-icon {
    margin-right: 15px;
    color: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: var(--light-bg);
    padding: 130px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 220, 132, 0.05) 0%, rgba(61, 220, 132, 0) 70%);
    z-index: 1;
}

.page-header:after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 101, 255, 0.05) 0%, rgba(60, 101, 255, 0) 70%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    color: var(--secondary);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.breadcrumb-separator {
    font-size: 0.7rem;
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-image,
    .about-image-container {
        order: -1;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -80%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
        padding-left: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 1001;
    }   
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        margin: 15px 0;
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 1002;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-menu-btn:hover {
        color: var(--primary);
    }
    
    .hero {
        padding: 130px 0 60px;
        text-align: center;
    }
    
    .hero-text {
        margin: 0 auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .grid-2, 
    .grid-3, 
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .project-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        display: none;
    }
    
    .process-card:before,
    .process-card:after {
        display: none;
    }
    
    .process-card:nth-child(odd) .process-card-inner,
    .process-card:nth-child(even) .process-card-inner {
        margin: 0;
        padding: 20px;
        text-align: left;
    }
    
    .process-card:nth-child(odd) .process-icon {
        order: 0;
        margin-right: 20px;
        margin-left: 0;
    }
    
    .process-card:nth-child(odd) .process-content {
        text-align: left;
    }
    
    .process-card:nth-child(odd) .process-features li {
        justify-content: flex-start;
        flex-direction: row;
    }
    
    .process-card:nth-child(odd) .tech-stack-horizontal {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Simple menu-backdrop for outside clicks */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}
