/* 
   BZYazilim - Premium Design System 
   Theme: Dark, Professional, Tech-focused (ASP.NET Core Vibes)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-bg-dark: #0a0a0f;
    --color-bg-card: #13131f;
    --color-primary: #ef4444;
    /* Indigo/Blurple */
    --color-primary-glow: rgba(99, 102, 241, 0.4);
    --color-accent: #a855f7;
    /* Purple */
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 1) 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center !important;
}

.text-start {
    text-align: left !important;
}

/* About Section Specifics */
#about .about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
}

#about .about-content p {
    margin-bottom: 24px;
    /* Increased spacing */
}

/* Make subtitle (h3 usually) match paragraph style */
#about .about-content h3 {
    font-size: 1.1rem;
    /* Same as container */
    font-weight: 500;
    /* Slightly bolder or normal, user said "same" but let's keep it readable as a subtitle */
    color: var(--color-text-muted);
    /* Match text color */
    margin-bottom: 24px;
    margin-top: 0;
}

#about h2.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 10px 20px -5px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px var(--color-primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border initially */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: white;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.15), transparent 25%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Code Mockup specific styles */
.code-block-mockup {
    background: #1e1e2e;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 500px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-block-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background: #27c93f;
}

pre {
    color: #a9b7c6;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}


/* =========================================
   Sections General
   ========================================= */
.hero-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.4), transparent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent);
    bottom: -10%;
    right: -5%;
    animation-delay: 7s;
}

.gradient-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
    top: 40%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(239, 68, 68, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
    background: rgba(168, 85, 247, 0.6);
}

.particle:nth-child(3) {
    left: 40%;
    top: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 60%;
    top: 60%;
    animation-delay: 6s;
    background: rgba(168, 85, 247, 0.6);
}

.particle:nth-child(5) {
    left: 80%;
    top: 30%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    left: 90%;
    top: 70%;
    animation-delay: 10s;
    background: rgba(99, 102, 241, 0.6);
}

.particle:nth-child(7) {
    left: 30%;
    top: 10%;
    animation-delay: 12s;
    background: rgba(99, 102, 241, 0.6);
}

.particle:nth-child(8) {
    left: 70%;
    top: 90%;
    animation-delay: 14s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: #ef4444;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

/* Hero Brand */
.hero-brand {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-text {
    color: var(--color-text-main);
}

.brand-highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-underline {
    height: 6px;
    background: var(--gradient-main);
    border-radius: 3px;
    margin-top: 16px;
    animation: expandWidth 1s ease-out forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

/* Enhanced Button Animations */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-glow span,
.btn-shimmer span {
    position: relative;
    z-index: 1;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-shimmer:hover::after {
    transform: translateX(100%);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: fit-content;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Enhanced Code Mockup */
.code-block-mockup {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 16px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 550px;
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.code-block-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background: #27c93f;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: 'Consolas', monospace;
}

.file-name i {
    color: #ef4444;
}

.code-wrapper {
    display: flex;
    padding: 20px 0;
}

.line-numbers {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    text-align: right;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.line-numbers span {
    line-height: 1.6;
}

pre {
    margin: 0;
    padding: 0 20px;
    color: #a9b7c6;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    flex: 1;
}

pre code {
    display: block;
    line-height: 1.6;
}

/* Syntax Highlighting */
.keyword {
    color: #cc7832;
    font-weight: 600;
}

.class-name {
    color: #a9b7c6;
    font-weight: 600;
}

.interface-name {
    color: #6897bb;
}

.string {
    color: #6a8759;
}

.method {
    color: #ffc66d;
}

.comment {
    color: #808080;
    font-style: italic;
}

/* Code Glow Effect */
.code-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(239, 68, 68, 0.3), transparent);
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
}

/* =========================================
   Sections General
   ========================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* =========================================
   Services Grid
   ========================================= */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 50px;
    /* Increased from 30px to make glass larger */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Glass Effect for Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.3);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent 50%);
    opacity: 0;
    transition: 0.3s;
    z-index: 0;
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
}

.service-card * {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   Contact & Footer
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Give form more space */
    gap: 30px;
    /* Reduce gap */
    padding: 30px;
    /* Custom padding instead of p-5 */
}

/* Flex Utilities */
.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.contact-info {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Explicitly center items */
    justify-content: center;
    text-align: center;
}

.contact-details p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Red Icons for Contact */
.contact-details i {
    color: #ff4757;
    /* Bright Red */
    font-size: 1.1rem;
}

.contact-form-wrapper {
    /* No specialized background */
    width: 100%;
}

.contact-form {
    padding: 0;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background: #111116;
    /* Very dark input bg */
    border: 1px solid #22222a;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #16161c;
}

.btn-sm {
    padding: 8px 24px;
    font-size: 0.9rem;
}

/* Responsive Overrides */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Form Status Message */
.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: none;
    /* Hidden by default */
    text-align: center;
    transition: var(--transition-fast);
}

.form-status.success {
    background: rgba(16, 185, 129, 0.2);
    /* Green tint */
    border: 1px solid #10b981;
    color: #34d399;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    background-color: #20BA5A;
}

/* Scroll to Top Button */
/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 95px;
    /* Above WhatsApp button */
    right: 30px;
    /* Aligned center with WhatsApp */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.scroll-top-btn svg {
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    border-color: transparent;
}

.scroll-top-btn:hover svg {
    transform: translateY(-3px);
}

/* Language Toggle */
.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 15px;
    backdrop-filter: blur(5px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    background: #0a0a0f;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 24px;
    /* Increased spacing */
    align-items: center;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    /* Added slight bg for better touch target */
}

.social-links a:hover {
    color: white;
    background: var(--color-primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ========================================= */

/* Mobile Navigation - Show hamburger menu */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
    }

    .mobile-toggle span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation when active */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Navigation List - Mobile Full Screen Overlay */
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-list.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-list.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-list.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-list.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-list.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-list.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-list.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 15px 30px;
        display: block;
    }

    .nav-list .btn {
        margin-top: 20px;
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}

/* Small Screens (< 768px) */
@media (max-width: 768px) {

    /* Container Adjustments */
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header {
        height: 70px;
    }

    .logo span:first-child {
        font-size: 1.5rem !important;
    }

    .logo span:last-child {
        font-size: 1.2rem !important;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn,
    .hero-buttons .cta-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
        width: 100%;
    }

    .code-block-mockup {
        max-width: 100%;
        transform: none;
        font-size: 0.75rem;
    }

    .code-block-mockup:hover {
        transform: none;
    }

    .code-block-mockup pre {
        font-size: 0.7rem;
        overflow-x: auto;
    }

    /* Section Titles */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Services Grid */
    .grid-services {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }

    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .contact-info {
        padding: 20px 0;
    }

    /* Footer */
    footer {
        padding: 30px 0;
        margin-top: 40px;
    }

    .footer-content {
        gap: 15px;
    }

    .social-links {
        gap: 16px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }

    /* Floating Buttons - Adjust for mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 85px;
        right: 25px;
    }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .icon-box {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {

    .btn:hover,
    .cta-btn:hover,
    .glass-card:hover,
    .service-card:hover,
    .nav-link:hover {
        transform: none;
    }

    .nav-link {
        padding: 12px;
    }
}