/* ----- GENERAL STYLES ----- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #2563eb, #60a5fa);
    --gradient-secondary: linear-gradient(135deg, #10b981, #34d399);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(37, 99, 235, 0.95));
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    --border-radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

section {
    padding: 100px 0;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
    border-radius: var(--border-radius-full);
}

.btn:hover::before {
    transform: scale(1.5);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Animated Button */
.animated-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.animated-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.animated-btn:hover::after {
    width: 300%;
    height: 300%;
}

/* ----- SECTION HEADERS ----- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin: 25px auto 0;
    max-width: 700px;
}

/* ----- HEADER & NAVIGATION ----- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

header.sticky {
    background-color: rgba(15, 23, 42, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

header.sticky .logo-img {
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.5)) brightness(0) invert(1);
}

header.sticky .nav-links a {
    color: white;
}

header.sticky .nav-links a:hover {
    color: var(--primary-light);
}

header.sticky .mobile-menu-btn {
    color: white;
}

header.sticky .lang-btn {
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 30px;
    margin-left: 30px;
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 60px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)) brightness(0) invert(1);
    transition: var(--transition);
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 1.05rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

.nav-links a:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background-color: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-full);
    padding: 5px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1001;
}

.mobile-lang {
    display: none;
}

.lang-btn {
    border: none;
    background: none;
    color: white;
    font-weight: 600;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.lang-btn.active {
    background-color: rgba(255, 255, 255, 0.25);
}

/* ----- HERO SECTION ----- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    background-color: var(--dark);
    overflow: hidden;
    padding: 0;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

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

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-shape.shape-1 {
    background-color: rgba(16, 185, 129, 0.1);
    width: 500px;
    height: 500px;
    right: -200px;
    bottom: -200px;
    animation: floatAnimation 8s ease-in-out infinite alternate;
}

.hero-shape.shape-2 {
    background-color: rgba(37, 99, 235, 0.1);
    width: 400px;
    height: 400px;
    top: -150px;
    right: 200px;
    animation: floatAnimation 12s ease-in-out infinite alternate-reverse;
}

.hero-shape.shape-3 {
    background-color: rgba(255, 255, 255, 0.05);
    width: 300px;
    height: 300px;
    bottom: 150px;
    left: -100px;
    animation: floatAnimation 10s ease-in-out infinite alternate;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%;
    }
    100% {
        transform: translateY(20px) rotate(-5deg);
        border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%;
    }
}

/* Code Animation Styles */
.code-animation {
    position: relative;
    max-width: 550px;
    width: 100%;
    margin-left: auto;
}

.code-editor {
    background-color: #1a1e2d;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.2);
    height: 400px;
    position: relative;
    opacity: 0.95;
    transition: var(--transition);
    transform: perspective(1000px) rotateY(5deg);
}

.code-editor:hover {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.4);
}

.code-header {
    background-color: #15182a;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2c3454;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff5f56;
}

.code-dot:nth-child(2) {
    background-color: #ffbd2e;
}

.code-dot:nth-child(3) {
    background-color: #27c93f;
}

.code-title {
    color: #a6accd;
    font-size: 0.9rem;
    font-weight: 500;
}

.code-body {
    padding: 20px;
    height: calc(100% - 50px);
    overflow: auto;
}

.code-body pre {
    margin: 0;
    font-family: 'Fira Code', 'Source Code Pro', monospace;
    color: #a6accd;
    font-size: 0.95rem;
    line-height: 1.7;
}

.code-comment {
    color: #676e95;
}

.code-keyword {
    color: #c792ea;
}

.code-function {
    color: #82aaff;
}

.code-variable {
    color: #ffcb6b;
}

.code-string {
    color: #c3e88d;
}

.code-number {
    color: #f78c6c;
}

.code-operator {
    color: #89ddff;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #a6accd;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

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

/* Update hero section layout */
#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ----- SERVICES SECTION ----- */
#services {
    background-color: white;
    position: relative;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Floating animation for service cards */
.floating {
    animation: float 5s ease-in-out infinite;
}

.service-card:nth-child(2) {
    animation-delay: 1s;
}

.service-card:nth-child(3) {
    animation-delay: 2s;
}

.service-card:nth-child(4) {
    animation-delay: 1.5s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 2.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    background: var(--gradient-primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    transition: var(--transition);
}

.service-desc {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ----- ABOUT SECTION ----- */
#about {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-text {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
}

.about-img {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.about-img-wrapper:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
    z-index: 1;
    transition: var(--transition);
}

.about-img-wrapper:hover::before {
    opacity: 0;
}

.about-img img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background-color: white;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    display: inline-block;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* ----- TEAM SECTION ----- */
#team {
    background-color: white;
    position: relative;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: var(--border-radius-full);
    background-color: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

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

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.team-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ----- EXPERTISE SECTION (formerly PROJECTS) ----- */
#expertise {
    background-color: var(--light);
    position: relative;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-full);
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    border-color: transparent;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-overlay .project-link {
    background: white;
    color: var(--primary);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    transition-delay: 0.1s;
    text-decoration: none;
}

.project-overlay .project-link i {
    transition: var(--transition);
}

.project-card:hover .project-overlay .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay .project-link:hover {
    background: var(--primary);
    color: white;
}

.project-overlay .project-link:hover i {
    transform: translateX(5px);
}

.project-info {
    padding: 25px 20px;
}

.project-category {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dark);
}

.project-desc {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ----- CONTACT SECTION ----- */
#contact {
    background: white;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-text {
    color: var(--gray);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-value {
    color: var(--gray);
}

.contact-form {
    background-color: var(--light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ----- FOOTER ----- */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.footer-logo img {
    height: 80px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3)) brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
    opacity: 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links a:hover::before {
    width: 15px;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    #hero .container {
        grid-template-columns: 1fr;
    }
    
    .code-animation {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .code-editor {
        height: 300px;
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .projects-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .header-container {
        padding: 10px 0;
    }

    .logo-img {
        height: 50px;
    }
	    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    /* Position language switcher left of mobile menu button */
    .language-switcher {
        order: 1;
    }
    
    .mobile-menu-btn {
        order: 2;
    }
	 .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .nav-container {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }
    
    .mobile-lang {
        display: flex;
    }
    
    .desktop-lang {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(15, 23, 42, 0.95);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        gap: 0;
        z-index: 999;
    }
    
    .nav-links.active {
        height: 320px;
        padding: 30px 0;
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    header.sticky .nav-links,
    .nav-links {
        top: 60px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 80%;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .team-container {
        grid-template-columns: 1fr;
    }

    .code-editor {
        height: 250px;
    }
}

/* Ensure animations work on mobile */
@media screen and (max-width: 768px) {
    .floating {
        animation: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    /* Make animations less resource-intensive on mobile */
    [data-aos] {
        pointer-events: auto !important;
    }

    html:not(.no-js) [data-aos^=fade][data-aos^=fade] {
        opacity: 1 !important;
    }

    html:not(.no-js) [data-aos=fade-up] {
        transform: none !important;
    }
    
    html:not(.no-js) [data-aos=fade-down] {
        transform: none !important;
    }
    
    html:not(.no-js) [data-aos=fade-right] {
        transform: none !important;
    }
    
    html:not(.no-js) [data-aos=fade-left] {
        transform: none !important;
    }
    
    html:not(.no-js) [data-aos=zoom-in] {
        transform: none !important;
    }
    
    html:not(.no-js) [data-aos=flip-left] {
        transform: none !important;
    }
}

/* ----- ENHANCED CONTENT STYLES ----- */
.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-full);
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature i {
    color: var(--primary-light);
}

.services-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--gray);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.about-feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.about-feature h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--gray);
    font-size: 0.9rem;
}

.expertise-intro {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.expertise-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.expertise-stat i {
    color: var(--primary);
    font-size: 2rem;
}

.expertise-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.expertise-stat p {
    color: var(--gray);
    font-weight: 500;
}

.contact-benefits {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: var(--primary);
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.contact-benefit i {
    font-size: 1.2rem;
}

/* Mobile Responsiveness for Enhanced Content */
@media (max-width: 768px) {
    .hero-features {
        gap: 1rem;
    }
    
    .hero-feature {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .services-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-feature {
        padding: 1rem;
    }
    
    .expertise-intro {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .expertise-stat {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-benefit {
        padding: 0.75rem 1rem;
    }
}