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

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #DBEAFE;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --text: #1F2937;
    --text-light: #6B7280;
    --background: #0F172A;
    --background-light: #1E293B;
    --border: #334155;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(59, 130, 246, 0.4);
    --glow-strong: 0 0 40px rgba(59, 130, 246, 0.6);
    --neon-glow: 0 0 30px rgba(59, 130, 246, 0.7);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #E2E8F0;
    background: var(--background);
    position: relative;
    overflow-x: hidden;
}

/* Neon Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    pointer-events: none;
    z-index: -2;
}

/* Animated Grid Lines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

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

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

/* Typography with Glow */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.3),
                     0 0 20px rgba(59, 130, 246, 0.2),
                     0 0 30px rgba(59, 130, 246, 0.1);
    }
    100% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.5),
                     0 0 40px rgba(59, 130, 246, 0.3),
                     0 0 60px rgba(59, 130, 246, 0.2);
    }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60A5FA);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60A5FA);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    margin-bottom: 1.5rem;
    color: #CBD5E1;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.bg-light {
    background: var(--background-light);
    position: relative;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* Enhanced Glowing Effects */
.neon-border {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    background: var(--background-light);
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary) 0%,
        #60A5FA 25%,
        var(--primary) 50%,
        #60A5FA 75%,
        var(--primary) 100%);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.7;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Buttons with Neon Glow */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::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:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow), var(--neon-glow);
    border: 2px solid rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), var(--glow-strong);
    border-color: rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #60A5FA;
    border: 2px solid #60A5FA;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 25px rgba(96, 165, 250, 0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.7);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: #E2E8F0;
    transition: var(--transition);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #60A5FA);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

.logo:hover::after {
    width: 100%;
}

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

.logo svg {
    flex-shrink: 0;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.logo:hover svg {
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8));
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #E2E8F0;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #60A5FA);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

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

.nav-links a:hover {
    color: #60A5FA;
    background: rgba(59, 130, 246, 0.1);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius);
    transition: var(--transition);
    color: #E2E8F0;
}

.mobile-menu-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    animation: slideDown 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu a {
    text-decoration: none;
    color: #E2E8F0;
    padding: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.mobile-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60A5FA;
    transform: translateX(10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 0.5;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 30%, #2563EB 70%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero h2 {
    font-size: 2.2rem;
    color: #60A5FA;
    margin-bottom: 2rem;
    font-family: 'Source Code Pro', monospace;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    color: #CBD5E1;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

.hero-image svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.4));
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.skills {
    margin-top: 3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tags span {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    color: #60A5FA;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-tags span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-tags span:hover::before {
    left: 100%;
}

.skill-tags span:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow), 0 0 25px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
    color: #93C5FD;
}

.about-stats {
    display: grid;
    gap: 2.5rem;
}

.stat {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(30, 41, 59, 0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 20px rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60A5FA, var(--primary));
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow), 0 0 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.stat svg {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.stat h4 {
    font-size: 3rem;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0 1rem;
}

.stat p {
    color: #CBD5E1;
    font-size: 1.1rem;
}

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

.service-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 20px rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60A5FA, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.service-card svg {
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transition: var(--transition);
}

.service-card:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 20px rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60A5FA, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.blog-image {
    overflow: hidden;
    height: 250px;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.8));
}

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-image svg {
    transform: scale(1.1);
}

.blog-content {
    padding: 2.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: #60A5FA;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.read-more:hover {
    gap: 15px;
    color: #93C5FD;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 15px rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-method:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow), 0 0 30px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.contact-method svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow), 0 0 15px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow), 0 0 30px rgba(59, 130, 246, 0.6);
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.2);
}

.social-links a:hover svg path {
    fill: #93C5FD;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: var(--transition);
    background: rgba(30, 41, 59, 0.8);
    color: #E2E8F0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94A3B8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    color: #E2E8F0;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA, #93C5FD, #60A5FA, #3B82F6);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo svg {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.footer p {
    color: #CBD5E1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: #E2E8F0;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: var(--radius);
    position: relative;
    font-weight: 600;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60A5FA, #93C5FD);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 80%;
}

.footer-links a:hover {
    opacity: 1;
    background: rgba(96, 165, 250, 0.1);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Copyright - Fixed and Enhanced */
.footer-copyright {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: rgba(203, 213, 225, 0.8);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
}

.footer-copyright::before {
    content: "© ";
    display: inline;
    color: #60A5FA;
}

.footer-copyright span {
    color: #60A5FA;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .hero .container {
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    h1::after,
    h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .stat h4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .skill-tags {
        gap: 0.8rem;
    }
    
    .skill-tags span {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card loading animations */
.service-card,
.blog-card,
.stat {
    animation: cardLoad 1s ease forwards;
    opacity: 0;
}

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

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), #60A5FA);
    border-radius: 6px;
    border: 2px solid rgba(30, 41, 59, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #60A5FA, #93C5FD);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Particle effects for extra glow */
.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
/* ============================================
   3D ANIMATED GIRL ON PICTURE BOARD
   ============================================ */

/* Floating Character Container */
.floating-character {
    position: absolute;
    top: 120px;
    right: 80px;
    width: 200px;
    height: 250px;
    z-index: 10;
    pointer-events: auto;
    animation: floatGirl 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes floatGirl {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    33% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
    66% {
        transform: translateY(10px) rotateX(-5deg) rotateY(-5deg);
    }
}

/* Picture Frame */
.picture-frame {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: frameTilt 8s ease-in-out infinite alternate;
}

@keyframes frameTilt {
    0% {
        transform: rotateY(-5deg);
    }
    100% {
        transform: rotateY(5deg);
    }
}

/* Frame Border (3D Effect) */
.frame-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(147, 197, 253, 0.8) 0%,
        rgba(96, 165, 250, 0.9) 50%,
        rgba(59, 130, 246, 1) 100%);
    border-radius: 20px;
    transform: translateZ(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(96, 165, 250, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Frame Content (Where the girl sits) */
.frame-content {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(240, 249, 255, 0.98) 100%);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(10px);
    box-shadow: 
        inset 0 0 20px rgba(59, 130, 246, 0.2),
        0 0 30px rgba(96, 165, 250, 0.4);
}

/* Lottie Animation Container */
#lottie-animation {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Frame Shadow */
.frame-shadow {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, 
        rgba(0, 0, 0, 0.4) 0%, 
        transparent 70%);
    filter: blur(10px);
    transform: rotateX(75deg) translateZ(-50px);
    animation: shadowMove 6s ease-in-out infinite;
}

@keyframes shadowMove {
    0%, 100% {
        transform: rotateX(75deg) translateZ(-50px) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: rotateX(75deg) translateZ(-50px) scale(0.8);
        opacity: 0.3;
    }
    66% {
        transform: rotateX(75deg) translateZ(-50px) scale(1.2);
        opacity: 0.5;
    }
}

/* Sparkle Effects */
.floating-character::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.8) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 11;
}

.floating-character::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, 
        rgba(147, 197, 253, 0.6) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite 1s;
    z-index: 11;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Hover Effects */
.floating-character:hover {
    animation-play-state: paused;
}

.floating-character:hover .picture-frame {
    animation: hoverFrame 0.5s ease-out forwards;
}

@keyframes hoverFrame {
    to {
        transform: rotateY(0deg) scale(1.05);
    }
}

.floating-character:hover .frame-border {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(96, 165, 250, 0.8),
        inset 0 0 40px rgba(255, 255, 255, 0.4);
}

/* Responsive Design for 3D Girl */
@media (max-width: 1200px) {
    .floating-character {
        right: 40px;
        width: 180px;
        height: 220px;
    }
}

@media (max-width: 992px) {
    .floating-character {
        position: relative;
        top: 0;
        right: 0;
        margin: 40px auto;
        order: 3;
        width: 200px;
        height: 250px;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .floating-character {
        order: 3;
    }
}

@media (max-width: 768px) {
    .floating-character {
        width: 160px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .floating-character {
        width: 140px;
        height: 180px;
    }
    
    .frame-border {
        border-radius: 15px;
    }
    
    .frame-content {
        border-radius: 12px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .floating-character:hover {
        animation-play-state: running;
    }
    
    .floating-character:hover .picture-frame {
        animation: none;
    }
}
